Hi, all!
In my castom carrier board for Jetson TX2 I try change GPIO on TI TCA9539 i/o expander.
In file:
tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi
I add this section:
gpio@77 {
userout-rails {
gpio-hog;
gpios = <0 0 1 0>;
output-high;
label = “userout-1”,“userout-2”;
};
};
This is work fine. But when I add section:
gpio@77 {
uart-lsh-rails {
gpio-hog;
gpios = <12 0 13 0 14 0>;
output-high;
label = “uart1-lsh”,“uart2-lsh”,“uart7-lsh”;
};
};
work partially, only Pin 14 at gpio expander.
Then look at output of i2cdump -f -y 0 0x77 cat /sys/kernel/debug/gpio I see:
GPIOs 224-239, i2c/0-0077, tca9539, can sleep:
gpio-224 ( |userout-1 ) out hi
gpio-225 ( |userout-2 ) out hi
gpio-227 ( |en-vdd-sys ) out lo
gpio-233 ( |en-vdd-cam ) out lo
gpio-234 ( |en-vdd-cam-1v2 ) out lo
gpio-236 ( |uart1-lsh ) out hi
gpio-237 ( |uart2-lsh ) out hi
gpio-238 ( |uart7-lsh ) out hi
What wrong?