[BUG] ARM: dts: imx6ull: phytec: segin: controlling some GPIOs does not work

Traut Manuel LCPF-CH Manuel.Traut at mt.com
Fri Sep 8 07:25:43 PDT 2023


Hi,

Phytec PhyBoard Segin i.MX6 ULL with PEB-EVAL-01 expansion board
is not able to control gpio 11 and 13 as an output with the latest linux kernel.

To ensure that the measurement is done on the correct pin of the expansion board,
some older barebox and kernel shipped as BSP from Phytec was used. There the test worked.

Test
---8<---
$ echo 13 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio13/direction
$ echo 1 > /sys/class/gpio/gpio13/value
---8<---

U-Boot: 2023.01
Kernel: 6.5.0-master1-12728-ga48fa7efaf11
Devicetree: imx6ull-phytec-segin-ff-rdk-nand.dtb 
Config: imx_v6_v7_defconfig
Toolchain: arm-linux-gnueabihf-gcc (Debian 13.2.0-2)

I will further investigate in this, by checking the pinctrl settings, clocks and power-supplies,
but would be glad for any hints or guesses.

Regards
Manuel



More information about the linux-arm-kernel mailing list