summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-07 13:44:49 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-14 18:13:49 +0200
commitd76e38fcbf3d24bf9592a2482e80aab213ea3959 (patch)
tree8185477af3b51fc18134440387286226a8d50e7e /arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
parentdd4a9d1d313293fafe7d5f35ac4b0115b0803b79 (diff)
ARM: dts: colibri-imx6dl: improve spidev configuration
All Toradex Colibri family boards support the ecspi interface. Move the definition of spidev0 to the module devicetree and enable it by default. Colibri Eval board has a CAN SPI controller. Disable the spidev0 for this board to have the CAN controller been enabled by default. Related-to: ELB-3401 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts')
-rw-r--r--arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
index 5f22b31753e2..06f7f2d06069 100644
--- a/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
+++ b/arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts
@@ -91,8 +91,6 @@
/* Colibri SPI */
&ecspi4 {
- status = "okay";
-
mcp251x0: mcp251x@0 {
compatible = "microchip,mcp2515";
reg = <0>;
@@ -102,10 +100,11 @@
spi-max-frequency = <10000000>;
status = "okay";
};
+ /* To keep the CAN controller enabled by default,
+ * disable conflicting spidev. This spidev device
+ * enables with the devicetree overlay.
+ */
spidev0: spidev@0 {
- compatible = "toradex,evalspi";
- reg = <0>;
- spi-max-frequency = <23000000>;
status = "disabled";
};
};