arm64: dts: apple: t8103: Disable unused PCIe ports
[ Upstream commita0189fdfb7] The PCIe ports are unused (without devices) so disable them instead of removing them. Fixes:7c77ab91b3("arm64: dts: apple: Add missing M1 (t8103) devices") Signed-off-by: Janne Grunau <j@jannau.net> Reviewed-by: Sven Peter <sven@svenpeter.dev> Signed-off-by: Hector Martin <marcan@marcan.st> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
eb617ab023
commit
f977dbefea
@@ -33,10 +33,12 @@
|
|||||||
|
|
||||||
&port01 {
|
&port01 {
|
||||||
bus-range = <2 2>;
|
bus-range = <2 2>;
|
||||||
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&port02 {
|
&port02 {
|
||||||
bus-range = <3 3>;
|
bus-range = <3 3>;
|
||||||
|
status = "okay";
|
||||||
ethernet0: ethernet@0,0 {
|
ethernet0: ethernet@0,0 {
|
||||||
reg = <0x30000 0x0 0x0 0x0 0x0>;
|
reg = <0x30000 0x0 0x0 0x0 0x0>;
|
||||||
/* To be filled by the loader */
|
/* To be filled by the loader */
|
||||||
@@ -44,6 +46,14 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pcie0_dart_1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pcie0_dart_2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -21,21 +21,6 @@
|
|||||||
brcm,board-type = "apple,honshu";
|
brcm,board-type = "apple,honshu";
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* Remove unused PCIe ports and disable the associated DARTs.
|
|
||||||
*/
|
|
||||||
|
|
||||||
&pcie0_dart_1 {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
&pcie0_dart_2 {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
/delete-node/ &port01;
|
|
||||||
/delete-node/ &port02;
|
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -20,18 +20,3 @@
|
|||||||
&wifi0 {
|
&wifi0 {
|
||||||
brcm,board-type = "apple,shikoku";
|
brcm,board-type = "apple,shikoku";
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* Remove unused PCIe ports and disable the associated DARTs.
|
|
||||||
*/
|
|
||||||
|
|
||||||
&pcie0_dart_1 {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
&pcie0_dart_2 {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
/delete-node/ &port01;
|
|
||||||
/delete-node/ &port02;
|
|
||||||
|
|||||||
@@ -51,13 +51,23 @@
|
|||||||
|
|
||||||
&port01 {
|
&port01 {
|
||||||
bus-range = <2 2>;
|
bus-range = <2 2>;
|
||||||
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&port02 {
|
&port02 {
|
||||||
bus-range = <3 3>;
|
bus-range = <3 3>;
|
||||||
|
status = "okay";
|
||||||
ethernet0: ethernet@0,0 {
|
ethernet0: ethernet@0,0 {
|
||||||
reg = <0x30000 0x0 0x0 0x0 0x0>;
|
reg = <0x30000 0x0 0x0 0x0 0x0>;
|
||||||
/* To be filled by the loader */
|
/* To be filled by the loader */
|
||||||
local-mac-address = [00 10 18 00 00 00];
|
local-mac-address = [00 10 18 00 00 00];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&pcie0_dart_1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pcie0_dart_2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
&port02 {
|
&port02 {
|
||||||
bus-range = <3 3>;
|
bus-range = <3 3>;
|
||||||
|
status = "okay";
|
||||||
ethernet0: ethernet@0,0 {
|
ethernet0: ethernet@0,0 {
|
||||||
reg = <0x30000 0x0 0x0 0x0 0x0>;
|
reg = <0x30000 0x0 0x0 0x0 0x0>;
|
||||||
/* To be filled by the loader */
|
/* To be filled by the loader */
|
||||||
@@ -40,12 +41,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
&pcie0_dart_2 {
|
||||||
* Remove unused PCIe port and disable the associated DART.
|
status = "okay";
|
||||||
*/
|
|
||||||
|
|
||||||
&pcie0_dart_1 {
|
|
||||||
status = "disabled";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/delete-node/ &port01;
|
|
||||||
|
|||||||
@@ -428,6 +428,7 @@
|
|||||||
interrupt-parent = <&aic>;
|
interrupt-parent = <&aic>;
|
||||||
interrupts = <AIC_IRQ 699 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <AIC_IRQ 699 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
power-domains = <&ps_apcie_gp>;
|
power-domains = <&ps_apcie_gp>;
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie0_dart_2: iommu@683008000 {
|
pcie0_dart_2: iommu@683008000 {
|
||||||
@@ -437,6 +438,7 @@
|
|||||||
interrupt-parent = <&aic>;
|
interrupt-parent = <&aic>;
|
||||||
interrupts = <AIC_IRQ 702 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <AIC_IRQ 702 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
power-domains = <&ps_apcie_gp>;
|
power-domains = <&ps_apcie_gp>;
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
pcie0: pcie@690000000 {
|
pcie0: pcie@690000000 {
|
||||||
@@ -511,6 +513,7 @@
|
|||||||
<0 0 0 2 &port01 0 0 0 1>,
|
<0 0 0 2 &port01 0 0 0 1>,
|
||||||
<0 0 0 3 &port01 0 0 0 2>,
|
<0 0 0 3 &port01 0 0 0 2>,
|
||||||
<0 0 0 4 &port01 0 0 0 3>;
|
<0 0 0 4 &port01 0 0 0 3>;
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
port02: pci@2,0 {
|
port02: pci@2,0 {
|
||||||
@@ -530,6 +533,7 @@
|
|||||||
<0 0 0 2 &port02 0 0 0 1>,
|
<0 0 0 2 &port02 0 0 0 1>,
|
||||||
<0 0 0 3 &port02 0 0 0 2>,
|
<0 0 0 3 &port02 0 0 0 2>,
|
||||||
<0 0 0 4 &port02 0 0 0 3>;
|
<0 0 0 4 &port02 0 0 0 3>;
|
||||||
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user