diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2023-04-25 15:35:34 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-05-02 11:50:23 +0200 |
commit | d953c678c758d4f2e27d8eb396290c590cd0a652 (patch) | |
tree | 62bf8085a54a80c5c7303d60941ad149d52e0c9d /arch/arm/dts | |
parent | f5d6ae54b31b5832c67bf38d5457021856c207c2 (diff) | |
download | barebox-d953c678c758d4f2e27d8eb396290c590cd0a652.tar.gz barebox-d953c678c758d4f2e27d8eb396290c590cd0a652.tar.xz |
ARM: vexpress: Disable non working devices
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@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@40000000/motherboard-bus@40000000/leds/ and /leds/ are a gpio-leds
devices which need a GPIO driver which doesn't exist in barebox
/bus@40000000/motherboard-bus@40000000/iofpga@7,00000000/compact-flash@1a000/
/bus@8000000/motherboard-bus@8000000/iofpga-bus@300000000/compact-flash@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.
Link: https://lore.barebox.org/20230425133535.273920-1-s.hauer@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/vexpress-v2p-ca15.dts | 8 | ||||
-rw-r--r-- | arch/arm/dts/vexpress-v2p-ca9.dts | 12 |
2 files changed, 20 insertions, 0 deletions
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@8000000/motherboard-bus@8000000/iofpga-bus@300000000/compact-flash@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@1e000600} { + status = "disabled"; +}; + +&{/bus@40000000/motherboard-bus@40000000/leds/} { + status = "disabled"; +}; + +&{/bus@40000000/motherboard-bus@40000000/iofpga@7,00000000/compact-flash@1a000/} { + status = "disabled"; +}; |