I want to remove device node on overlay dts , but it doesn't work.
sample code as belows:
a.dtsi:
&soc {
gpio_keys {
compatible = "gpio-keys";
label = "gpio-keys";
pinctrl-names = "default", "sleep";
pinctrl-0 = <&gpio_key_active>;
pinctrl-1 = <&gpio_key_suspend>;
vol_up {
label = "volume_up";
gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
linux,input-type = <1>;
linux,code = <115>;
gpio-key,wakeup;
debounce-interval = <15>;
linux,can-disable;
};
};
};
b.dts
#include "a.dtsi"
&soc {
/delete-node/ gpio_keys;
};
I want to remove gpio_keys node on b.dts. But it doesn't work.
Any fellows can explain the reason ?