Skip to content

Commit e1a42fe

Browse files
committed
arm64: dts: apple: Add PCI power enable GPIOs
t8103: - WLAN (SMC PMU GPIO Rust-for-Linux#13) t600x: - WLAN (SMC PMU GPIO Rust-for-Linux#13) - SD (SMC PMU GPIO Rust-for-Linux#26) Signed-off-by: Hector Martin <[email protected]>
1 parent 114701e commit e1a42fe

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

arch/arm64/boot/dts/apple/t6001-j375c.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
&port00 {
157157
/* WLAN */
158158
bus-range = <1 1>;
159+
pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
159160
wifi0: wifi@0,0 {
160161
compatible = "pci14e4,4433";
161162
reg = <0x10000 0x0 0x0 0x0 0x0>;
@@ -168,6 +169,7 @@
168169
&port01 {
169170
/* SD card reader */
170171
bus-range = <2 2>;
172+
pwren-gpios = <&smc_gpio 26 GPIO_ACTIVE_HIGH>;
171173
sdhci0: mmc@0,0 {
172174
compatible = "pci17a0,9755";
173175
reg = <0x20000 0x0 0x0 0x0 0x0>;
@@ -189,6 +191,7 @@
189191
&port03 {
190192
/* USB xHCI */
191193
bus-range = <4 4>;
194+
pwren-gpios = <&smc_gpio 20 GPIO_ACTIVE_HIGH>;
192195
};
193196

194197
&wifi0 {

arch/arm64/boot/dts/apple/t6002-j375d.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210
&port00 {
211211
/* WLAN */
212212
bus-range = <1 1>;
213+
pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
213214
wifi0: wifi@0,0 {
214215
compatible = "pci14e4,4433";
215216
reg = <0x10000 0x0 0x0 0x0 0x0>;
@@ -222,6 +223,7 @@
222223
&port01 {
223224
/* SD card reader */
224225
bus-range = <2 2>;
226+
pwren-gpios = <&smc_gpio 26 GPIO_ACTIVE_HIGH>;
225227
sdhci0: mmc@0,0 {
226228
compatible = "pci17a0,9755";
227229
reg = <0x20000 0x0 0x0 0x0 0x0>;
@@ -243,6 +245,7 @@
243245
&port03 {
244246
/* USB xHCI */
245247
bus-range = <4 4>;
248+
pwren-gpios = <&smc_gpio 20 GPIO_ACTIVE_HIGH>;
246249
};
247250

248251
&wifi0 {

arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
&port00 {
167167
/* WLAN */
168168
bus-range = <1 1>;
169+
pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
169170
wifi0: wifi@0,0 {
170171
compatible = "pci14e4,4433";
171172
reg = <0x10000 0x0 0x0 0x0 0x0>;
@@ -178,6 +179,7 @@
178179
&port01 {
179180
/* SD card reader */
180181
bus-range = <2 2>;
182+
pwren-gpios = <&smc_gpio 26 GPIO_ACTIVE_HIGH>;
181183
sdhci0: mmc@0,0 {
182184
compatible = "pci17a0,9755";
183185
reg = <0x20000 0x0 0x0 0x0 0x0>;

0 commit comments

Comments
 (0)