14 lines
174 B
Plaintext
14 lines
174 B
Plaintext
/ {
|
|
switches {
|
|
compatible = "gpio-keys";
|
|
sw0: switch_0 {
|
|
label = "User switch";
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
switch0 = &sw0;
|
|
};
|
|
};
|