12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- From 35e482bb599df010b4869017ff576dbb7a4d4c2e Mon Sep 17 00:00:00 2001
- From: Frank Wunderlich <[email protected]>
- 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 <[email protected]>
- Link: https://lore.kernel.org/r/[email protected]
- Signed-off-by: Matthias Brugger <[email protected]>
- ---
- .../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>;
|