mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
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>
This commit is contained in:
parent
3db20586a2
commit
1f58a419c3
@ -501,8 +501,6 @@
|
|||||||
|
|
||||||
switch0: switch@1f {
|
switch0: switch@1f {
|
||||||
compatible = "mediatek,mt7621";
|
compatible = "mediatek,mt7621";
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
reg = <0x1f>;
|
reg = <0x1f>;
|
||||||
mediatek,mcm;
|
mediatek,mcm;
|
||||||
resets = <&rstctrl 2>;
|
resets = <&rstctrl 2>;
|
||||||
@ -511,7 +509,6 @@
|
|||||||
ports {
|
ports {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
reg = <0>;
|
|
||||||
|
|
||||||
port@0 {
|
port@0 {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
Loading…
Reference in New Issue
Block a user