mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
98 lines
2.9 KiB
Diff
98 lines
2.9 KiB
Diff
From e1a42fe74f4db0536b104053abc6e28097803873 Mon Sep 17 00:00:00 2001
|
|
From: Hector Martin <marcan@marcan.st>
|
|
Date: Sun, 6 Feb 2022 21:22:29 +0900
|
|
Subject: [PATCH 029/171] arm64: dts: apple: Add PCI power enable GPIOs
|
|
|
|
t8103:
|
|
- WLAN (SMC PMU GPIO #13)
|
|
t600x:
|
|
- WLAN (SMC PMU GPIO #13)
|
|
- SD (SMC PMU GPIO #26)
|
|
|
|
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
---
|
|
arch/arm64/boot/dts/apple/t6001-j375c.dts | 3 +++
|
|
arch/arm64/boot/dts/apple/t6002-j375d.dts | 3 +++
|
|
arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi | 2 ++
|
|
3 files changed, 8 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/apple/t6001-j375c.dts b/arch/arm64/boot/dts/apple/t6001-j375c.dts
|
|
index 15d26674a310..561a9a4c2bc1 100644
|
|
--- a/arch/arm64/boot/dts/apple/t6001-j375c.dts
|
|
+++ b/arch/arm64/boot/dts/apple/t6001-j375c.dts
|
|
@@ -156,6 +156,7 @@ typec3_con_hs: endpoint {
|
|
&port00 {
|
|
/* WLAN */
|
|
bus-range = <1 1>;
|
|
+ pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
|
|
wifi0: wifi@0,0 {
|
|
compatible = "pci14e4,4433";
|
|
reg = <0x10000 0x0 0x0 0x0 0x0>;
|
|
@@ -168,6 +169,7 @@ wifi0: wifi@0,0 {
|
|
&port01 {
|
|
/* SD card reader */
|
|
bus-range = <2 2>;
|
|
+ pwren-gpios = <&smc_gpio 26 GPIO_ACTIVE_HIGH>;
|
|
sdhci0: mmc@0,0 {
|
|
compatible = "pci17a0,9755";
|
|
reg = <0x20000 0x0 0x0 0x0 0x0>;
|
|
@@ -189,6 +191,7 @@ ethernet0: ethernet@0,0 {
|
|
&port03 {
|
|
/* USB xHCI */
|
|
bus-range = <4 4>;
|
|
+ pwren-gpios = <&smc_gpio 20 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&wifi0 {
|
|
diff --git a/arch/arm64/boot/dts/apple/t6002-j375d.dts b/arch/arm64/boot/dts/apple/t6002-j375d.dts
|
|
index 4b84652e0334..72070e9a3277 100644
|
|
--- a/arch/arm64/boot/dts/apple/t6002-j375d.dts
|
|
+++ b/arch/arm64/boot/dts/apple/t6002-j375d.dts
|
|
@@ -210,6 +210,7 @@ typec5_con_hs: endpoint {
|
|
&port00 {
|
|
/* WLAN */
|
|
bus-range = <1 1>;
|
|
+ pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
|
|
wifi0: wifi@0,0 {
|
|
compatible = "pci14e4,4433";
|
|
reg = <0x10000 0x0 0x0 0x0 0x0>;
|
|
@@ -222,6 +223,7 @@ wifi0: wifi@0,0 {
|
|
&port01 {
|
|
/* SD card reader */
|
|
bus-range = <2 2>;
|
|
+ pwren-gpios = <&smc_gpio 26 GPIO_ACTIVE_HIGH>;
|
|
sdhci0: mmc@0,0 {
|
|
compatible = "pci17a0,9755";
|
|
reg = <0x20000 0x0 0x0 0x0 0x0>;
|
|
@@ -243,6 +245,7 @@ ethernet0: ethernet@0,0 {
|
|
&port03 {
|
|
/* USB xHCI */
|
|
bus-range = <4 4>;
|
|
+ pwren-gpios = <&smc_gpio 20 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
&wifi0 {
|
|
diff --git a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
|
|
index 0296506c043b..21608ca46a55 100644
|
|
--- a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
|
|
+++ b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
|
|
@@ -166,6 +166,7 @@ hid-transport@0 {
|
|
&port00 {
|
|
/* WLAN */
|
|
bus-range = <1 1>;
|
|
+ pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
|
|
wifi0: wifi@0,0 {
|
|
compatible = "pci14e4,4433";
|
|
reg = <0x10000 0x0 0x0 0x0 0x0>;
|
|
@@ -178,6 +179,7 @@ wifi0: wifi@0,0 {
|
|
&port01 {
|
|
/* SD card reader */
|
|
bus-range = <2 2>;
|
|
+ pwren-gpios = <&smc_gpio 26 GPIO_ACTIVE_HIGH>;
|
|
sdhci0: mmc@0,0 {
|
|
compatible = "pci17a0,9755";
|
|
reg = <0x20000 0x0 0x0 0x0 0x0>;
|
|
--
|
|
2.34.1
|
|
|