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-14 18:13:49 +0200 |
commit | d76e38fcbf3d24bf9592a2482e80aab213ea3959 (patch) | |
tree | 8185477af3b51fc18134440387286226a8d50e7e /arch/arm/boot/dts/imx6qdl-colibri.dtsi | |
parent | dd4a9d1d313293fafe7d5f35ac4b0115b0803b79 (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/imx6qdl-colibri.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-colibri.dtsi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 2e51c2ab5a80..b9a1cf409c84 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -221,7 +221,13 @@ cs-gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi4>; - status = "disabled"; + status = "okay"; + + spidev0: spidev@0 { + compatible = "toradex,evalspi"; + reg = <0>; + spi-max-frequency = <23000000>; + }; }; &fec { |