| NXP LPC32xx SoC GPIO controller |
| - compatible: must be "nxp,lpc3220-gpio" |
| - reg: Physical base address and length of the controller's registers. |
| - gpio-controller: Marks the device node as a GPIO controller. |
| - #gpio-cells: Should be 3: |
| - bit 0 specifies polarity (0 for normal, 1 for inverted) |
| - reg: Index of the GPIO group |
| compatible = "nxp,lpc3220-gpio"; |
| reg = <0x40028000 0x1000>; |
| #gpio-cells = <3>; /* bank, pin, flags */ |
| compatible = "gpio-leds"; |
| gpios = <&gpio 5 1 1>; /* GPO_P3 1, active low */ |
| linux,default-trigger = "heartbeat"; |
| gpios = <&gpio 5 14 1>; /* GPO_P3 14, active low */ |
| linux,default-trigger = "timer"; |