arm64: dts: apple: t600x: Disable unused PCIe ports
authorJanne Grunau <j@jannau.net>
Tue, 14 Feb 2023 14:07:23 +0000 (15:07 +0100)
committerHector Martin <marcan@marcan.st>
Tue, 28 Mar 2023 11:07:02 +0000 (20:07 +0900)
The PCIe ports are unused (without devices) so disable them instead of
removing them.

Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
arch/arm64/boot/dts/apple/t600x-die0.dtsi
arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
arch/arm64/boot/dts/apple/t600x-j375.dtsi

index 1c41954..273d706 100644 (file)
                interrupt-parent = <&aic>;
                interrupts = <AIC_IRQ 0 1277 IRQ_TYPE_LEVEL_HIGH>;
                power-domains = <&ps_apcie_gp_sys>;
+               status = "disabled";
        };
 
        pcie0_dart_3: iommu@584008000 {
                interrupt-parent = <&aic>;
                interrupts = <AIC_IRQ 0 1280 IRQ_TYPE_LEVEL_HIGH>;
                power-domains = <&ps_apcie_gp_sys>;
+               status = "disabled";
        };
 
        pcie0: pcie@590000000 {
                                        <0 0 0 2 &port02 0 0 0 1>,
                                        <0 0 0 3 &port02 0 0 0 2>,
                                        <0 0 0 4 &port02 0 0 0 3>;
+                       status = "disabled";
                };
 
                port03: pci@3,0 {
                                        <0 0 0 2 &port03 0 0 0 1>,
                                        <0 0 0 3 &port03 0 0 0 2>,
                                        <0 0 0 4 &port03 0 0 0 3>;
+                       status = "disabled";
                };
        };
index 34906d5..356a73d 100644 (file)
                wp-inverted;
        };
 };
-
-&pcie0_dart_2 {
-       status = "disabled";
-};
-
-&pcie0_dart_3 {
-       status = "disabled";
-};
-
-/delete-node/ &port02;
-/delete-node/ &port03;
index 00d3a94..1e5a19e 100644 (file)
 &port02 {
        /* 10 Gbit Ethernet */
        bus-range = <3 3>;
+       status = "okay";
        ethernet0: ethernet@0,0 {
                reg = <0x30000 0x0 0x0 0x0 0x0>;
                /* To be filled by the loader */
 &port03 {
        /* USB xHCI */
        bus-range = <4 4>;
+       status = "okay";
+};
+
+
+&pcie0_dart_2 {
+       status = "okay";
+};
+
+&pcie0_dart_3 {
+       status = "okay";
 };