ad883b157a42e62be23a2c760f6cf6e8fe9f00ab
[openwrt/staging/linusw.git] /
1 From 4eb65cbfa721db9d7bbe2f76e8b1909fa0320273 Mon Sep 17 00:00:00 2001
2 From: Gerd Hoffmann <kraxel@redhat.com>
3 Date: Mon, 19 Sep 2016 10:43:21 +0200
4 Subject: [PATCH] ARM: dts: bcm283x: add pinctrl group to &i2c1, 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 ---
10 arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 +++-
11 1 file changed, 3 insertions(+), 1 deletion(-)
12
13 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
14 +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
15 @@ -39,7 +39,7 @@
16 };
17
18 alt0: alt0 {
19 - brcm,pins = <2 3 4 5 7 8 9 10 11 14 15>;
20 + brcm,pins = <4 5 7 8 9 10 11 14 15>;
21 brcm,function = <BCM2835_FSEL_ALT0>;
22 };
23
24 @@ -57,6 +57,8 @@
25 };
26
27 &i2c1 {
28 + pinctrl-names = "default";
29 + pinctrl-0 = <&i2c1_gpio2>;
30 status = "okay";
31 clock-frequency = <100000>;
32 };