[PATCH 1/2] ARM: vexpress: Disable non working devices

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 25 06:35:34 PDT 2023


Disable some non working devices in the vexpress dts files to
avoid error messages during runtime. vexpress_defconfig has the
drivers for these devices disabled, but with multi_v7_defconfig
the driver are enabled. To make vexpress more usable with
multi_v7_defconfig disable the non working devices in the device
tree.

/timer at 1e000600 doesn't work because our arm,cortex-a9-twd-timer
implementation needs a clock which the dts doesn't provide. We don't
need this as we use another timer anyway.

/bus at 40000000/motherboard-bus at 40000000/leds/ and /leds/ are a gpio-leds
devices which need a GPIO driver which doesn't exist in barebox

/bus at 40000000/motherboard-bus at 40000000/iofpga at 7,00000000/compact-flash at 1a000/
/bus at 8000000/motherboard-bus at 8000000/iofpga-bus at 300000000/compact-flash at 1a0000/
are ata-generic devices. The driver times out probing the device. While
it doesn't issue an error message it delays starting up the board for
several seconds.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/vexpress-v2p-ca15.dts |  8 ++++++++
 arch/arm/dts/vexpress-v2p-ca9.dts  | 12 ++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/arch/arm/dts/vexpress-v2p-ca15.dts b/arch/arm/dts/vexpress-v2p-ca15.dts
index 78d0025909..cdf7bd37d5 100644
--- a/arch/arm/dts/vexpress-v2p-ca15.dts
+++ b/arch/arm/dts/vexpress-v2p-ca15.dts
@@ -28,3 +28,11 @@
 		};
 	};
 };
+
+&{/leds} {
+	status = "disabled";
+};
+
+&{/bus at 8000000/motherboard-bus at 8000000/iofpga-bus at 300000000/compact-flash at 1a0000/} {
+	status = "disabled";
+};
diff --git a/arch/arm/dts/vexpress-v2p-ca9.dts b/arch/arm/dts/vexpress-v2p-ca9.dts
index a43628e7ce..113548bedb 100644
--- a/arch/arm/dts/vexpress-v2p-ca9.dts
+++ b/arch/arm/dts/vexpress-v2p-ca9.dts
@@ -91,3 +91,15 @@
 		};
 	};
 };
+
+&{/timer at 1e000600} {
+	status = "disabled";
+};
+
+&{/bus at 40000000/motherboard-bus at 40000000/leds/} {
+	status = "disabled";
+};
+
+&{/bus at 40000000/motherboard-bus at 40000000/iofpga at 7,00000000/compact-flash at 1a000/} {
+	status = "disabled";
+};
-- 
2.39.2




More information about the barebox mailing list