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-28 14:48:19 +0200 |
commit | b38a3c6439a39cd557c91e90797b9280a36163e6 (patch) | |
tree | 88fb560dbfa55a89ab635634d58f37ad95a6fecf /arch/arm/boot/dts/imx6ull-colibri.dtsi | |
parent | dc5bf3370f4710a1a922623e9b90b6f5053c08f4 (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 { |