ramips: mt7620: tidy up ethernet node in DTS files
This tidies up the ethernet node in mt7620 DTS files by: - removing unnecessary status as it is not disabled - reordering properties consistently - adding empty lines to enhance readability This should make comparison and reviewing new PRs based on C/P easier. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -106,6 +106,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -80,10 +80,12 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
mediatek,portmap = "llllw";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -140,7 +140,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -140,7 +140,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -126,6 +126,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -155,7 +155,6 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
|
||||
@@ -153,11 +153,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mediatek,portmap = "wllll";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@4 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy0>;
|
||||
|
||||
@@ -91,10 +91,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -112,9 +112,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
|
||||
port@4 {
|
||||
|
||||
@@ -138,10 +138,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -123,10 +123,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -115,13 +115,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &mdio_pins &phy_reset_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,mdio-mode = <1>;
|
||||
|
||||
phy-reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
||||
|
||||
@@ -136,9 +136,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&iNIC_rf 0x4>;
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -138,6 +138,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -129,6 +129,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4000>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -122,12 +122,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@4 {
|
||||
status = "okay";
|
||||
phy-handle = <&phy4>;
|
||||
|
||||
@@ -71,10 +71,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -111,7 +111,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -139,6 +139,7 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -147,6 +147,7 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -110,7 +110,6 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
|
||||
@@ -93,11 +93,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -54,6 +54,8 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
@@ -78,10 +78,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
|
||||
port@4 {
|
||||
|
||||
@@ -105,11 +105,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
|
||||
@@ -89,7 +89,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -103,7 +103,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -103,7 +103,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -99,7 +99,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -44,7 +44,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -44,6 +44,8 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
@@ -130,7 +130,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -90,7 +90,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -110,7 +110,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -130,7 +130,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -135,7 +135,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -74,9 +74,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
|
||||
port@4 {
|
||||
|
||||
@@ -55,9 +55,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
|
||||
port@5 {
|
||||
|
||||
@@ -71,9 +71,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -68,9 +68,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
|
||||
port@4 {
|
||||
|
||||
@@ -170,6 +170,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -139,9 +139,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &mdio_pins>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
|
||||
port@4 {
|
||||
|
||||
@@ -129,11 +129,11 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
mtd-mac-address = <&rom 0xf100>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&rom 0xf100>;
|
||||
|
||||
port@5 {
|
||||
status = "okay";
|
||||
mediatek,fixed-link = <1000 1 1 1>;
|
||||
|
||||
@@ -91,7 +91,9 @@
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
|
||||
mtd-mac-address = <&rom 0xf100>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -130,7 +130,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x28>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -119,7 +119,9 @@
|
||||
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -149,7 +149,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -111,7 +111,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -136,9 +136,9 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii2_pins &mdio_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x00004>;
|
||||
|
||||
port@4 {
|
||||
|
||||
@@ -109,6 +109,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -122,6 +122,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -105,7 +105,8 @@
|
||||
};
|
||||
|
||||
ðernet {
|
||||
mediatek,portmap = "llllw";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
@@ -119,6 +119,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x2e>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -114,6 +114,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -114,6 +114,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -114,6 +114,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -95,6 +95,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -107,7 +107,9 @@
|
||||
ðernet {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ephy_pins>;
|
||||
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "wllll";
|
||||
};
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@
|
||||
|
||||
ðernet {
|
||||
mtd-mac-address = <&factory 0x4>;
|
||||
|
||||
mediatek,portmap = "llllw";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user