/ {
switches {
compatible = "gpio-keys";
sw0: switch_0 {
label = "User switch";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
aliases {
switch0 = &sw0;
Powered by TurnKey Linux.