2025-11-12 7:15 AM
Hello.
Is there any way to exclude some GPIOs from Linux, when I control them from M4 core and I don't want to give an ability to control them from Linux apps? I would like to exclude e.g. PG12. I tried this, which should be exactly for such use:
&gpiog {
gpio-reserved-ranges = <12 1>; /* Reserve PG12 for M4 */
};
But it doesn't help, still the GPIO is listed and possible to control under Linux.
We use OpenSTLinux custom Yocto build with kernel 5.15.67
Thanks