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/ar9344_tplink_tl-wdr4300.dtsi | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi') diff --git a/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi b/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi index 558a763747..d2c88fc935 100644 --- a/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi +++ b/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi @@ -65,8 +65,6 @@ keys { compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; poll-interval = <20>; reset { @@ -85,7 +83,6 @@ gpio-export { compatible = "gpio-export"; - #size-cells = <0>; gpio_usb1_power { gpio-export,name = "tp-link:power:usb1"; @@ -131,8 +128,6 @@ status = "okay"; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <25000000>; @@ -163,9 +158,13 @@ }; &usb { + #address-cells = <1>; + #size-cells = <0>; status = "okay"; port@1 { + #address-cells = <1>; + #size-cells = <0>; reg = <1>; #trigger-source-cells = <0>; @@ -188,7 +187,7 @@ &pcie { status = "okay"; - ath9k: wifi@168c,0033 { + ath9k: wifi@0,0 { compatible = "pci168c,0033"; reg = <0x0000 0 0 0 0>; mtd-mac-address = <&uboot 0x1fc00>; -- cgit v1.2.3