ARM: dts: at91: at91sam9x25ek: add pwm0
authorNicolas Ferre <nicolas.ferre@microchip.com>
Tue, 10 Oct 2017 10:09:48 +0000 (13:09 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 10 Oct 2017 13:26:20 +0000 (15:26 +0200)
Add the PWM0 interface and one output of channel 0 (on PC10) on this headless
board. The output conflicts with LCD and ISI, so only enable it for this
particular board of the series (ISI is enabled on at91sam9g25ek, as an example
but we can do the other way around).

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91sam9x25ek.dts

index f8360fb2310736960dafc4e79c9ab716e30c881c..f705a3165656de0b8058a56d7bad1bb02de19d83 100644 (file)
                                phy-mode = "rmii";
                                status = "okay";
                        };
+
+                       pwm0: pwm@f8034000 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pinctrl_pwm0_pwm0_1>;
+                               status = "okay";
+                       };
                };
        };
 };