Skip to content

Commit

Permalink
arm64: dts: apple: Add PCI power enable GPIOs
Browse files Browse the repository at this point in the history
t8103:
- WLAN (SMC PMU GPIO torvalds#13)
t600x:
- WLAN (SMC PMU GPIO torvalds#13)
- SD (SMC PMU GPIO torvalds#26)

Signed-off-by: Hector Martin <marcan@marcan.st>
  • Loading branch information
marcan authored and jannau committed Apr 9, 2024
1 parent b1ecc5d commit afafed2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
&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>;
Expand All @@ -197,6 +198,7 @@
&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>;
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/boot/dts/apple/t600x-j375.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
&port00 {
/* WLAN */
bus-range = <1 1>;
pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
wifi0: wifi@0,0 {
reg = <0x10000 0x0 0x0 0x0 0x0>;
compatible = "pci14e4,4433";
Expand All @@ -201,6 +202,7 @@
&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>;
Expand All @@ -223,6 +225,7 @@
&port03 {
/* USB xHCI */
bus-range = <4 4>;
pwren-gpios = <&smc_gpio 20 GPIO_ACTIVE_HIGH>;
status = "okay";
};

Expand Down

0 comments on commit afafed2

Please sign in to comment.