boards: add switch nodes to rzt2m starter kit
Add onboard switch nodes to rzt2m starter kit Signed-off-by: Jakub Michalski <jmichalski@internships.antmicro.com>
This commit is contained in:
parent
e92c04cbeb
commit
fa314941a3
|
@ -20,6 +20,7 @@
|
|||
|
||||
aliases {
|
||||
led0 = &led0;
|
||||
sw0 = &sw1;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
@ -41,6 +42,18 @@
|
|||
label = "led3";
|
||||
};
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
sw1: sw1 {
|
||||
label = "sw1";
|
||||
gpios = <&gpio10 5 0>;
|
||||
};
|
||||
sw2: sw2 {
|
||||
label = "sw2";
|
||||
gpios = <&gpio16 3 0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue