Skip to content

Commit ac79975

Browse files
thenguyenyffabiobaltieri
authored andcommitted
boards: renesas: disable unused button on ek_ra8p1
Set the button to disabled by default if not in use on each ek_ra8p1 cluster Signed-off-by: The Nguyen <[email protected]>
1 parent 4c2bc42 commit ac79975

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

boards/renesas/ek_ra8p1/ek_ra8p1.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@
3636
gpios = <&ioport0 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
3737
label = "Push button switch 1";
3838
zephyr,code = <INPUT_KEY_0>;
39+
status = "disabled";
3940
};
4041

4142
button1: s2 {
4243
gpios = <&ioport0 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
4344
label = "Push button switch 2";
4445
zephyr,code = <INPUT_KEY_1>;
46+
status = "disabled";
4547
};
4648
};
4749

boards/renesas/ek_ra8p1/ek_ra8p1_r7ka8p1kflcac_cm33.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
};
2626
};
2727

28+
&button1 {
29+
status = "okay";
30+
};
31+
2832
&sci9 {
2933
pinctrl-0 = <&sci9_default>;
3034
pinctrl-names = "default";

boards/renesas/ek_ra8p1/ek_ra8p1_r7ka8p1kflcac_cm85.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
};
2626
};
2727

28+
&button0 {
29+
status = "okay";
30+
};
31+
2832
&sci8 {
2933
pinctrl-0 = <&sci8_default>;
3034
pinctrl-names = "default";

0 commit comments

Comments
 (0)