From 55ff2951eac8fd86c91b9673395325e393e357ac Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 6 Aug 2018 07:11:13 +0200 Subject: ath79: fix dts warnings Fix all issues found by the devicetree compiler like wrong address/size cells as well as wrong/missing/superfluous unit addresses. Signed-off-by: Mathias Kresin --- target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi') diff --git a/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi b/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi index 9d8dc7829e..afbb006d6b 100644 --- a/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi +++ b/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi @@ -11,25 +11,23 @@ keys { compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; poll-interval = <20>; pinctrl-names = "default"; pinctrl-0 = <&jtag_disable_pins>; - button@0 { + button0 { label = "reset"; linux,code = ; gpios = <&gpio 3 GPIO_ACTIVE_LOW>; }; - button@1 { + button1 { label = "button right"; linux,code = ; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; }; - button@3 { + button3 { label = "button left"; linux,code = ; gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; @@ -73,6 +71,8 @@ }; &usb0 { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; hub_port: port@1 { -- cgit v1.2.3