diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-13 17:21:20 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-14 18:13:49 +0200 |
commit | dd4a9d1d313293fafe7d5f35ac4b0115b0803b79 (patch) | |
tree | 25fd48f41b6a46016e54bad6f39b154fb75375d4 /arch/arm/boot/dts/imx6ull-colibri.dtsi | |
parent | b96da16670fa746fbeda6154ca0b354f4665af62 (diff) |
ARM: dts: colibri-imx6ull: 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.
Colibri Aster board supports 2 spidev interfaces. Enable both of them
and fix the CS configuration.
Related-to: ELB-3401
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ull-colibri.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6ull-colibri.dtsi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ull-colibri.dtsi b/arch/arm/boot/dts/imx6ull-colibri.dtsi index ad6a96b7f5b8..63669c1177da 100644 --- a/arch/arm/boot/dts/imx6ull-colibri.dtsi +++ b/arch/arm/boot/dts/imx6ull-colibri.dtsi @@ -109,6 +109,13 @@ cs-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>; + + spidev0: spidev@0 { + compatible = "toradex,evalspi"; + reg = <0>; + spi-max-frequency = <23000000>; + status = "okay"; + }; }; &fec2 { |