From: Rosen Penev Date: Fri, 1 Dec 2023 20:51:58 +0000 (-0800) Subject: ath79: fix avoid_unnecessary_addr_size warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2607e3fe247b87c193deb86d1c42930eb655cc54;p=openwrt%2Fopenwrt.git ath79: fix avoid_unnecessary_addr_size warnings Raised to dtc. Signed-off-by: Rosen Penev --- diff --git a/target/linux/ath79/dts/ar9344_qihoo_c301.dts b/target/linux/ath79/dts/ar9344_qihoo_c301.dts index 616036fcfc..bf6706716f 100644 --- a/target/linux/ath79/dts/ar9344_qihoo_c301.dts +++ b/target/linux/ath79/dts/ar9344_qihoo_c301.dts @@ -103,8 +103,6 @@ pinctrl-0 = <&pmx_spi_cs1>; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <25000000>; @@ -164,8 +162,6 @@ }; flash@1 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <1>; spi-max-frequency = <25000000>; diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi index 94dfde4125..98cd76629f 100644 --- a/target/linux/ath79/dts/ar934x.dtsi +++ b/target/linux/ath79/dts/ar934x.dtsi @@ -197,9 +197,6 @@ nand-ecc-mode = "hw"; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; }; diff --git a/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi b/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi index e7044b60a4..f17dd513e2 100644 --- a/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi +++ b/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi @@ -53,8 +53,6 @@ status = "okay"; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <25000000>; diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts index 762197f255..c3d42a8b35 100644 --- a/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts +++ b/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts @@ -95,8 +95,6 @@ status = "okay"; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <25000000>; diff --git a/target/linux/ath79/dts/qca955x.dtsi b/target/linux/ath79/dts/qca955x.dtsi index 13b051de20..c17a15c55e 100644 --- a/target/linux/ath79/dts/qca955x.dtsi +++ b/target/linux/ath79/dts/qca955x.dtsi @@ -313,9 +313,6 @@ nand-ecc-mode = "hw"; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; };