Hi @doelken !
Sure
By default, Toradex’s device trees enable the spidev
for SPI interfaces on the modules. Colibri iMX6ULL also has this. This spidev
helps to make it easier evaluation and tests with SPI interface.
Using find_in_dt
is easy to see this:
[ 11:47 ] [ ~/linux-toradex(toradex_5.4-2.3.x-imx✔) ]
$ find-in-dt arch/arm/boot/dts/imx6ull-colibri-eval-v3.dts ecspi1 spidev "reg = <0>"
/mnt/Data/Git/linux-toradex
search_in: all, returning: all
searching in:
/mnt/Data/Git/linux-toradex/include/dt-bindings/pwm/pwm.h
....
/mnt/Data/Git/linux-toradex/arch/arm/boot/dts/imx6ull-colibri.dtsi
99 : &ecspi1 {
102 : pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
104 : spidev0: spidev@0 {
106 : reg = <0>;
356 : pinctrl_ecspi1_cs: ecspi1-cs-grp {
362 : pinctrl_ecspi1: ecspi1-grp {
364 : MX6UL_PAD_LCD_DATA20__ECSPI1_SCLK 0x000a0 /* SODIMM 88 */
365 : MX6UL_PAD_LCD_DATA22__ECSPI1_MOSI 0x000a0 /* SODIMM 92 */
366 : MX6UL_PAD_LCD_DATA23__ECSPI1_MISO 0x100a0 /* SODIMM 90 */
/mnt/Data/Git/linux-toradex/arch/arm/boot/dts/imx6ul.dtsi
46 : spi0 = &ecspi1;
....
As we can see above, by default, this spidev
has reg = <0>
, which collides with your adc3
node.
So, disabling spidev
node is needed. You can add this to your device tree/device tree overlay outside of any node:
&spidev {
status = "disabled";
};
Let us know if this solves your issue.
Best regards,