...
Device Tree Examples
Expand | ||
---|---|---|
| ||
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
P37_2 {
label = "GPIO Key WAKEUP";
linux,code = <143>;
wakeup-source;
interrupt-parent = <&pinctrl>;
interrupts = <RZG2L_GPIO(37, 2) IRQ_TYPE_EDGE_FALLING>;
debounce-interval = <50>;
};
}; |
Expand | ||
---|---|---|
| ||
test-gpio { gpio-hog; gpios = <RZG2L_GPIO(6, 0) (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; input; line-name = "test_gpio"; }; |
Linux Drivers
...
Linux Drivers
Notes
...