602faf1a9beebcb00ddbc5e3354549e030e6e68b
[openwrt/staging/neocturne.git] /
1 From e6e199712008374edb4de979e74ae5acb1f40845 Mon Sep 17 00:00:00 2001
2 From: Gerd Hoffmann <kraxel@redhat.com>
3 Date: Mon, 19 Sep 2016 10:43:20 +0200
4 Subject: [PATCH] ARM: dts: bcm283x: add pinctrl group to &i2c0, 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>;
21 + brcm,pins = <2 3 4 5 7 8 9 10 11 14 15>;
22 brcm,function = <BCM2835_FSEL_ALT0>;
23 };
24
25 @@ -50,6 +50,8 @@
26 };
27
28 &i2c0 {
29 + pinctrl-names = "default";
30 + pinctrl-0 = <&i2c0_gpio0>;
31 status = "okay";
32 clock-frequency = <100000>;
33 };