ramips: mt7621-dts: fix switch@1f warnings
authorArınç ÜNAL <arinc.unal@arinc9.com>
Mon, 14 Feb 2022 07:00:38 +0000 (10:00 +0300)
committerPetr Štetiar <ynezz@true.cz>
Sat, 26 Feb 2022 12:36:30 +0000 (13:36 +0100)
commit2b202185d2ba1eeb3e176128a738240753ba194a
tree927c55acf349b8b45c108a8dd2e4466b07220773
parent65c28d7a6750b5f73328736414902e58339b0784
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>
target/linux/ramips/dts/mt7621.dtsi