summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-13 17:21:20 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-28 14:48:19 +0200
commitb38a3c6439a39cd557c91e90797b9280a36163e6 (patch)
tree88fb560dbfa55a89ab635634d58f37ad95a6fecf /arch/arm/boot/dts/imx6ull-colibri-aster.dtsi
parentdc5bf3370f4710a1a922623e9b90b6f5053c08f4 (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-aster.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6ull-colibri-aster.dtsi15
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi b/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi
index b18337d49606..ddb3146ff399 100644
--- a/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi
+++ b/arch/arm/boot/dts/imx6ull-colibri-aster.dtsi
@@ -83,19 +83,14 @@
status = "okay";
fsl,spi-num-chipselects = <2>;
- /* Note, gpio4 11 is muxed by hoggrp-4 */
+ /* Note: the gpio4 28 is muxed with pinctrl_gpio4 group, controlled
+ * by iomuxc.
+ */
cs-gpios = <
- &gpio3 26 GPIO_ACTIVE_HIGH
- &gpio4 28 GPIO_ACTIVE_HIGH
+ &gpio3 26 GPIO_ACTIVE_HIGH /* SODIMM_86 LCD_DATA21 */
+ &gpio4 28 GPIO_ACTIVE_HIGH /* SODIMM_65 CSI_DATA07 */
>;
- spidev0: spidev@0 {
- compatible = "toradex,evalspi";
- reg = <0>;
- spi-max-frequency = <23000000>;
- status = "okay";
- };
-
spidev1: spidev@1 {
compatible = "toradex,evalspi";
reg = <1>;