Skip to content

Commit 8d59efc

Browse files
jannaumarcan
authored andcommitted
arm64: dts: apple: t600x: Disable unused PCIe ports
The PCIe ports are unused (without devices) so disable them instead of removing them. Signed-off-by: Janne Grunau <[email protected]> Reviewed-by: Sven Peter <[email protected]> Signed-off-by: Hector Martin <[email protected]>
1 parent a0189fd commit 8d59efc

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

arch/arm64/boot/dts/apple/t600x-die0.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
interrupt-parent = <&aic>;
234234
interrupts = <AIC_IRQ 0 1277 IRQ_TYPE_LEVEL_HIGH>;
235235
power-domains = <&ps_apcie_gp_sys>;
236+
status = "disabled";
236237
};
237238

238239
pcie0_dart_3: iommu@584008000 {
@@ -242,6 +243,7 @@
242243
interrupt-parent = <&aic>;
243244
interrupts = <AIC_IRQ 0 1280 IRQ_TYPE_LEVEL_HIGH>;
244245
power-domains = <&ps_apcie_gp_sys>;
246+
status = "disabled";
245247
};
246248

247249
pcie0: pcie@590000000 {
@@ -338,6 +340,7 @@
338340
<0 0 0 2 &port02 0 0 0 1>,
339341
<0 0 0 3 &port02 0 0 0 2>,
340342
<0 0 0 4 &port02 0 0 0 3>;
343+
status = "disabled";
341344
};
342345

343346
port03: pci@3,0 {
@@ -357,5 +360,6 @@
357360
<0 0 0 2 &port03 0 0 0 1>,
358361
<0 0 0 3 &port03 0 0 0 2>,
359362
<0 0 0 4 &port03 0 0 0 3>;
363+
status = "disabled";
360364
};
361365
};

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,3 @@
101101
wp-inverted;
102102
};
103103
};
104-
105-
&pcie0_dart_2 {
106-
status = "disabled";
107-
};
108-
109-
&pcie0_dart_3 {
110-
status = "disabled";
111-
};
112-
113-
/delete-node/ &port02;
114-
/delete-node/ &port03;

arch/arm64/boot/dts/apple/t600x-j375.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
&port02 {
105105
/* 10 Gbit Ethernet */
106106
bus-range = <3 3>;
107+
status = "okay";
107108
ethernet0: ethernet@0,0 {
108109
reg = <0x30000 0x0 0x0 0x0 0x0>;
109110
/* To be filled by the loader */
@@ -114,4 +115,14 @@
114115
&port03 {
115116
/* USB xHCI */
116117
bus-range = <4 4>;
118+
status = "okay";
119+
};
120+
121+
122+
&pcie0_dart_2 {
123+
status = "okay";
124+
};
125+
126+
&pcie0_dart_3 {
127+
status = "okay";
117128
};

0 commit comments

Comments
 (0)