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 AsahiLinux#13)
t600x:
- WLAN (SMC PMU GPIO AsahiLinux#13)
- SD (SMC PMU GPIO AsahiLinux#26)

Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Nov 21, 2022
1 parent e3b6863 commit a979349
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 @@ -170,6 +170,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 @@ -182,6 +183,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 @@ -222,4 +224,5 @@
&port03 {
/* USB xHCI */
bus-range = <4 4>;
pwren-gpios = <&smc_gpio 20 GPIO_ACTIVE_HIGH>;
};

0 comments on commit a979349

Please sign in to comment.