[Buildroot] Random Linux/device tree/GPIO question posted to the wrong list...

Patrick Doyle wpdster at gmail.com
Mon Jul 30 21:29:36 UTC 2018

But you folks all know about this sort of stuff anyway, so I figured
I'd start by asking here.

I was just shocked to learn that, although I allocated a pin to a
certain function in my device tree, I was able to override the
operation of that pin via /sys/class/gpio (and thus crash my board
when it could no longer access it's flash properly).

Can anybody here tell me how I can prevent the GPIO subsystem from
overriding the pinmux I specified in my device tree?  I guess I
thought that:

            pinctrl at fc038000 {
                pinctrl_nand_default: nand_default {
                                        pinmux = <PIN_PA8__NWE_NANDWE>,

would have done the trick (on my Microchip SAMA5D2x device).


More information about the buildroot mailing list