mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
ARM: dts: marvell: orion: drop incorrect address/size-cells in GPIO keys
Bindings do not allow address/size-cells in GPIO keys and the GPIO keys is not a bus, see dtbs_check warnings: orion5x-lacie-ethernet-disk-mini-v2.dtb: gpio-keys: '#address-cells', '#size-cells' do not match any of the regexes: '^(button|event|key|switch|... Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
parent
85860863a4
commit
7d751583a0
|
|
@ -48,8 +48,6 @@
|
|||
/ {
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-0 = <&pmx_power_switch>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,6 @@ gpio-keys {
|
|||
compatible = "gpio-keys";
|
||||
pinctrl-0 = <&pmx_buttons>;
|
||||
pinctrl-names = "default";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
button-front {
|
||||
label = "Front Push Button";
|
||||
|
|
|
|||
|
|
@ -39,9 +39,8 @@ gpio-keys {
|
|||
compatible = "gpio-keys";
|
||||
pinctrl-0 = <&pmx_power_button>;
|
||||
pinctrl-names = "default";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
button@1 {
|
||||
|
||||
button-1 {
|
||||
label = "Power-on Switch";
|
||||
linux,code = <KEY_POWER>;
|
||||
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
|
||||
|
|
|
|||
|
|
@ -74,8 +74,6 @@ gpio-keys {
|
|||
compatible = "gpio-keys";
|
||||
pinctrl-0 = <&pmx_buttons>;
|
||||
pinctrl-names = "default";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
key-func {
|
||||
label = "Function Button";
|
||||
|
|
|
|||
|
|
@ -35,8 +35,6 @@ gpio-keys {
|
|||
compatible = "gpio-keys";
|
||||
pinctrl-0 = <&pmx_buttons>;
|
||||
pinctrl-names = "default";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
key-power {
|
||||
label = "Power";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user