]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 10 Oct 2017 10:09:41 +0000 (13:09 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 10 Oct 2017 13:26:19 +0000 (15:26 +0200)
Add pin muxing for pwm0 and set it as disabled since it is in conflict
with the pins for leds.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts

index 4fcfc2ae662faf6fd587707f17e26e51c4adf422..7f80e8402807db434f526101a0c851357678d84b 100644 (file)
                        };
 
                        pwm0: pwm@f802c000 {
-                               status = "okay";
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>;
+                               status = "disabled"; /* Conflict with leds. */
                        };
 
                        flx1: flexcom@f8038000 {
                compatible = "gpio-leds";
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_led_gpio_default>;
-               status = "okay";
+               status = "okay"; /* Conflict with pwm0. */
 
                red {
                        label = "red";