edff9e4145a8ca7215dbfaa8f0e21d537068e30e
[openwrt/staging/jogo.git] /
1 From 14e0ea34058ce13794877206f05a6ab5034e147b Mon Sep 17 00:00:00 2001
2 From: Gerd Hoffmann <kraxel@redhat.com>
3 Date: Mon, 19 Sep 2016 10:43:19 +0200
4 Subject: [PATCH] ARM: dts: bcm283x: add pinctrl group to &pwm, drop pins from
5 &gpio
6
7 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
8 Signed-off-by: Eric Anholt <eric@anholt.net>
9 Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
10 ---
11 arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 +++-
12 1 file changed, 3 insertions(+), 1 deletion(-)
13
14 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
15 +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
16 @@ -39,7 +39,7 @@
17 };
18
19 alt0: alt0 {
20 - brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>;
21 + brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15>;
22 brcm,function = <BCM2835_FSEL_ALT0>;
23 };
24
25 @@ -69,6 +69,8 @@
26 };
27
28 &pwm {
29 + pinctrl-names = "default";
30 + pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
31 status = "okay";
32 };
33