Im trying to delete button nodes but Im getting errors
devicetree error: /aliases: undefined node label 'button0'
Tried a bunch of different approaches. Deleting unwanted LEDs I managed following RE: nRF5340 + Zephyr cannot disable led node
If I delete directly from Devicetree i get
Property "gpios" is required
also there is pwm node that I also cant remove
pwmleds
no matter if I try to disable it or delete it, via dts or devicetree i get
Property "pwms" is required
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/ {
aliases {
/delete-property/ sw0;
/delete-property/ sw2;
/delete-property/ sw3;
};
/delete-node/ buttons;
buttons {
compatible = "gpio-keys";
button1: button_1 {
gpios = <&gpio0 24 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
label = "Push button 2";
zephyr,code = <INPUT_KEY_1>;
};
};
};