diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-07 13:44:49 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-28 14:48:19 +0200 |
commit | 4e5732337d7e5c04ac9d6949666c569ce6344612 (patch) | |
tree | 982ab703e14b8d4fa2ae3ab74bee57e8fb99f33f /arch/arm/boot/dts/imx6dl-colibri-cam-eval-v3.dts | |
parent | b38a3c6439a39cd557c91e90797b9280a36163e6 (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.dts | 9 |
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"; }; }; |