mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
659f4a13dd
With Linux 6.1 many of our downstream patches and out-of-tree files can be removed or at least replaced by backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [fix CMDLINE_OVERRIDE for arm64] Signed-off-by: Bjørn Mork <bjorn@mork.no>
44 lines
1.1 KiB
Diff
44 lines
1.1 KiB
Diff
From 35e482bb599df010b4869017ff576dbb7a4d4c2e Mon Sep 17 00:00:00 2001
|
|
From: Frank Wunderlich <frank-w@public-files.de>
|
|
Date: Fri, 21 Apr 2023 15:20:45 +0200
|
|
Subject: [PATCH 13/19] arm64: dts: mt7986: add PWM to BPI-R3
|
|
|
|
Add pwm node and pinctrl to BananaPi R3 devicetree.
|
|
|
|
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
|
|
Link: https://lore.kernel.org/r/20230421132047.42166-6-linux@fw-web.de
|
|
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
|
|
---
|
|
.../boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
|
|
@@ -275,6 +275,13 @@
|
|
};
|
|
};
|
|
|
|
+ pwm_pins: pwm-pins {
|
|
+ mux {
|
|
+ function = "pwm";
|
|
+ groups = "pwm0", "pwm1_0";
|
|
+ };
|
|
+ };
|
|
+
|
|
spi_flash_pins: spi-flash-pins {
|
|
mux {
|
|
function = "spi";
|
|
@@ -345,6 +352,12 @@
|
|
};
|
|
};
|
|
|
|
+&pwm {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&pwm_pins>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&spi0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spi_flash_pins>;
|