Commit a0189fdf authored by Janne Grunau's avatar Janne Grunau Committed by Hector Martin
Browse files

arm64: dts: apple: t8103: Disable unused PCIe ports



The PCIe ports are unused (without devices) so disable them instead of
removing them.

Fixes: 7c77ab91 ("arm64: dts: apple: Add missing M1 (t8103) devices")
Signed-off-by: default avatarJanne Grunau <j@jannau.net>
Reviewed-by: default avatarSven Peter <sven@svenpeter.dev>
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
parent 2d5ce3fb
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -37,10 +37,12 @@

&port01 {
	bus-range = <2 2>;
	status = "okay";
};

&port02 {
	bus-range = <3 3>;
	status = "okay";
	ethernet0: ethernet@0,0 {
		reg = <0x30000 0x0 0x0 0x0 0x0>;
		/* To be filled by the loader */
@@ -48,6 +50,14 @@
	};
};

&pcie0_dart_1 {
	status = "okay";
};

&pcie0_dart_2 {
	status = "okay";
};

&i2c2 {
	status = "okay";
};
+0 −15
Original line number Diff line number Diff line
@@ -25,21 +25,6 @@
	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 {
	status = "okay";
};
+0 −15
Original line number Diff line number Diff line
@@ -24,18 +24,3 @@
&wifi0 {
	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;
+10 −0
Original line number Diff line number Diff line
@@ -55,13 +55,23 @@

&port01 {
	bus-range = <2 2>;
	status = "okay";
};

&port02 {
	bus-range = <3 3>;
	status = "okay";
	ethernet0: ethernet@0,0 {
		reg = <0x30000 0x0 0x0 0x0 0x0>;
		/* To be filled by the loader */
		local-mac-address = [00 10 18 00 00 00];
	};
};

&pcie0_dart_1 {
	status = "okay";
};

&pcie0_dart_2 {
	status = "okay";
};
+3 −8
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@

&port02 {
	bus-range = <3 3>;
	status = "okay";
	ethernet0: ethernet@0,0 {
		reg = <0x30000 0x0 0x0 0x0 0x0>;
		/* To be filled by the loader */
@@ -44,12 +45,6 @@
	};
};

/*
 * Remove unused PCIe port and disable the associated DART.
 */

&pcie0_dart_1 {
	status = "disabled";
&pcie0_dart_2 {
	status = "okay";
};

/delete-node/ &port01;
Loading