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:
Jakub Michalski 2024-01-19 10:20:06 +01:00 committed by Henrik Brix Andersen
parent e92c04cbeb
commit fa314941a3

View file

@ -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>;
};
};
};