diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2022-02-14 10:00:38 +0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-02-26 13:36:30 +0100 |
commit | 2b202185d2ba1eeb3e176128a738240753ba194a (patch) | |
tree | 927c55acf349b8b45c108a8dd2e4466b07220773 /target/linux | |
parent | 65c28d7a6750b5f73328736414902e58339b0784 (diff) | |
download | upstream-2b202185d2ba1eeb3e176128a738240753ba194a.tar.gz upstream-2b202185d2ba1eeb3e176128a738240753ba194a.tar.bz2 upstream-2b202185d2ba1eeb3e176128a738240753ba194a.zip |
ramips: mt7621-dts: fix switch@1f warnings
Remove reg property from ports node to fix this warning:
Warning (unit_address_vs_reg): /ethernet@1e100000/mdio-bus/switch@1f/ports: node has a reg or ranges property, but no unit name
Another warning surfaces afterwards. Remove #address-cells and #size-cells
from switch@1f node to fix this warning:
Warning (avoid_unnecessary_addr_size): /ethernet@1e100000/mdio-bus/switch@1f: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/dts/mt7621.dtsi | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index b784a9d60c..ec95223a62 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -481,8 +481,6 @@ switch0: switch@1f { compatible = "mediatek,mt7621"; - #address-cells = <1>; - #size-cells = <0>; reg = <0x1f>; mediatek,mcm; resets = <&rstctrl 2>; @@ -494,7 +492,6 @@ ports { #address-cells = <1>; #size-cells = <0>; - reg = <0>; port@0 { status = "disabled"; |