1 From a1905aed89ee45f6662f03b77dc604ff1a169671 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <wahrenst@gmx.net>
3 Date: Tue, 17 Sep 2019 19:16:17 +0200
4 Subject: [PATCH] ARM: dts: bcm283x: Define MMC interfaces at board
7 commit e7774049ff255c8ba72bcee9c7ab307a95e8d7bc upstream.
9 Starting with RPi 4 this is the first board, which doesn't use sdhost
10 as default SD interface. So the MMC interfaces should be defined finally at
11 board level. Since all boards using sdhci already does this, we can drop the
12 pinctrl part from bcm2835-rpi.dtsi.
14 Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
15 Acked-by: Eric Anholt <eric@anholt.net>
17 arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 7 +++++++
18 arch/arm/boot/dts/bcm2835-rpi-a.dts | 7 +++++++
19 arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 7 +++++++
20 arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts | 7 +++++++
21 arch/arm/boot/dts/bcm2835-rpi-b.dts | 7 +++++++
22 arch/arm/boot/dts/bcm2835-rpi-cm1-io1.dts | 7 +++++++
23 arch/arm/boot/dts/bcm2835-rpi-zero-w.dts | 7 +++++++
24 arch/arm/boot/dts/bcm2835-rpi-zero.dts | 7 +++++++
25 arch/arm/boot/dts/bcm2835-rpi.dtsi | 13 -------------
26 arch/arm/boot/dts/bcm2836-rpi-2-b.dts | 7 +++++++
27 10 files changed, 63 insertions(+), 13 deletions(-)
29 --- a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
30 +++ b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
36 + pinctrl-names = "default";
37 + pinctrl-0 = <&sdhost_gpio48>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&uart0_gpio14>;
45 --- a/arch/arm/boot/dts/bcm2835-rpi-a.dts
46 +++ b/arch/arm/boot/dts/bcm2835-rpi-a.dts
52 + pinctrl-names = "default";
53 + pinctrl-0 = <&sdhost_gpio48>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&uart0_gpio14>;
61 --- a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
62 +++ b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
68 + pinctrl-names = "default";
69 + pinctrl-0 = <&sdhost_gpio48>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&uart0_gpio14>;
77 --- a/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
78 +++ b/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
84 + pinctrl-names = "default";
85 + pinctrl-0 = <&sdhost_gpio48>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&uart0_gpio14>;
93 --- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
94 +++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
100 + pinctrl-names = "default";
101 + pinctrl-0 = <&sdhost_gpio48>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&uart0_gpio14>;
109 --- a/arch/arm/boot/dts/bcm2835-rpi-cm1-io1.dts
110 +++ b/arch/arm/boot/dts/bcm2835-rpi-cm1-io1.dts
112 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
116 + pinctrl-names = "default";
117 + pinctrl-0 = <&sdhost_gpio48>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&uart0_gpio14>;
125 --- a/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
126 +++ b/arch/arm/boot/dts/bcm2835-rpi-zero-w.dts
132 + pinctrl-names = "default";
133 + pinctrl-0 = <&sdhost_gpio48>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>;
141 --- a/arch/arm/boot/dts/bcm2835-rpi-zero.dts
142 +++ b/arch/arm/boot/dts/bcm2835-rpi-zero.dts
144 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
148 + pinctrl-names = "default";
149 + pinctrl-0 = <&sdhost_gpio48>;
155 pinctrl-names = "default";
156 pinctrl-0 = <&uart0_gpio14>;
157 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
158 +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
164 - pinctrl-names = "default";
165 - pinctrl-0 = <&emmc_gpio48>;
170 - pinctrl-names = "default";
171 - pinctrl-0 = <&sdhost_gpio48>;
177 power-domains = <&power RPI_POWER_DOMAIN_USB>;
179 --- a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts
180 +++ b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts
186 + pinctrl-names = "default";
187 + pinctrl-0 = <&sdhost_gpio48>;
193 pinctrl-names = "default";
194 pinctrl-0 = <&uart0_gpio14>;