Skip to content

Commit 7d75158

Browse files
krzkgclement
authored andcommitted
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 <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent 8586086 commit 7d75158

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

arch/arm/boot/dts/marvell/mvebu-linkstation-gpio-simple.dtsi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@
4848
/ {
4949
gpio_keys {
5050
compatible = "gpio-keys";
51-
#address-cells = <1>;
52-
#size-cells = <0>;
5351
pinctrl-0 = <&pmx_power_switch>;
5452
pinctrl-names = "default";
5553

arch/arm/boot/dts/marvell/orion5x-lacie-d2-network.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
compatible = "gpio-keys";
3636
pinctrl-0 = <&pmx_buttons>;
3737
pinctrl-names = "default";
38-
#address-cells = <1>;
39-
#size-cells = <0>;
4038

4139
button-front {
4240
label = "Front Push Button";

arch/arm/boot/dts/marvell/orion5x-lacie-ethernet-disk-mini-v2.dts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939
compatible = "gpio-keys";
4040
pinctrl-0 = <&pmx_power_button>;
4141
pinctrl-names = "default";
42-
#address-cells = <1>;
43-
#size-cells = <0>;
44-
button@1 {
42+
43+
button-1 {
4544
label = "Power-on Switch";
4645
linux,code = <KEY_POWER>;
4746
gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;

arch/arm/boot/dts/marvell/orion5x-lswsgl.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@
7474
compatible = "gpio-keys";
7575
pinctrl-0 = <&pmx_buttons>;
7676
pinctrl-names = "default";
77-
#address-cells = <1>;
78-
#size-cells = <0>;
7977

8078
key-func {
8179
label = "Function Button";

arch/arm/boot/dts/marvell/orion5x-maxtor-shared-storage-2.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
compatible = "gpio-keys";
3636
pinctrl-0 = <&pmx_buttons>;
3737
pinctrl-names = "default";
38-
#address-cells = <1>;
39-
#size-cells = <0>;
4038

4139
key-power {
4240
label = "Power";

0 commit comments

Comments
 (0)