diff mbox series

[21/22] board: lsxl: disable eth0

Message ID 20220817193809.1059688-22-michael@walle.cc
State Accepted
Commit 5dbf2f0de79e8e36b61e2bff759d04447ba15b1a
Delegated to: Stefan Roese
Headers show
Series board: lsxl: major update and DM conversion | expand

Commit Message

Michael Walle Aug. 17, 2022, 7:38 p.m. UTC
The board has only one network interface. The linux kernel will
gracefully skip a the ethernet interface if no connected PHY could be
probed. u-boot on the other hand will throw an error message. The kernel
device tree is about to be fixed. For now, just disable the ethernet
interface in our -u-boot.dtsi.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 arch/arm/dts/kirkwood-lschlv2-u-boot.dtsi | 4 ++++
 arch/arm/dts/kirkwood-lsxhl-u-boot.dtsi   | 4 ++++
 2 files changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/kirkwood-lschlv2-u-boot.dtsi b/arch/arm/dts/kirkwood-lschlv2-u-boot.dtsi
index 208b02c9da..7fc2d7d3b4 100644
--- a/arch/arm/dts/kirkwood-lschlv2-u-boot.dtsi
+++ b/arch/arm/dts/kirkwood-lschlv2-u-boot.dtsi
@@ -1,5 +1,9 @@ 
 // SPDX-License-Identifier: GPL-2.0+
 
+&eth0 {
+	status = "disabled";
+};
+
 &hdd_power {
 	/delete-property/ regulator-always-on;
 };
diff --git a/arch/arm/dts/kirkwood-lsxhl-u-boot.dtsi b/arch/arm/dts/kirkwood-lsxhl-u-boot.dtsi
index 208b02c9da..7fc2d7d3b4 100644
--- a/arch/arm/dts/kirkwood-lsxhl-u-boot.dtsi
+++ b/arch/arm/dts/kirkwood-lsxhl-u-boot.dtsi
@@ -1,5 +1,9 @@ 
 // SPDX-License-Identifier: GPL-2.0+
 
+&eth0 {
+	status = "disabled";
+};
+
 &hdd_power {
 	/delete-property/ regulator-always-on;
 };