ARM: dts: bcm283x: add pinctrl group to &pwm, drop pins from &gpio
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 19 Sep 2016 08:43:19 +0000 (10:43 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 17 Oct 2016 16:55:45 +0000 (09:55 -0700)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
arch/arm/boot/dts/bcm2835-rpi.dtsi

index e9b47b2..5663772 100644 (file)
@@ -39,7 +39,7 @@
        };
 
        alt0: alt0 {
-               brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>;
+               brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15>;
                brcm,function = <BCM2835_FSEL_ALT0>;
        };
 
@@ -69,6 +69,8 @@
 };
 
 &pwm {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
        status = "okay";
 };