[PATCH 21/22] board: lsxl: disable eth0

Michael Walle michael at walle.cc
Wed Aug 17 21:38:08 CEST 2022


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 at 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 --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;
 };
-- 
2.30.2



More information about the U-Boot mailing list