ramips: mt7620: tidy up ethernet node in DTS files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 14 May 2020 13:41:31 +0000 (15:41 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 17 May 2020 16:28:03 +0000 (18:28 +0200)
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>
69 files changed:
target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts
target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts
target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts
target/linux/ramips/dts/mt7620a_buffalo_whr-300hp2.dts
target/linux/ramips/dts/mt7620a_buffalo_whr-600d.dts
target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts
target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts
target/linux/ramips/dts/mt7620a_dovado_tiny-ac.dts
target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
target/linux/ramips/dts/mt7620a_engenius_esr600.dts
target/linux/ramips/dts/mt7620a_glinet_gl-mt300a.dts
target/linux/ramips/dts/mt7620a_glinet_gl-mt300n.dts
target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts
target/linux/ramips/dts/mt7620a_head-weblink_hdrm200.dts
target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts
target/linux/ramips/dts/mt7620a_hiwifi_hc5x61.dtsi
target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts
target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts
target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
target/linux/ramips/dts/mt7620a_lb-link_bl-w1200.dts
target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dts
target/linux/ramips/dts/mt7620a_lenovo_newifi-y1s.dts
target/linux/ramips/dts/mt7620a_linksys_e1700.dts
target/linux/ramips/dts/mt7620a_microduino_microwrt.dts
target/linux/ramips/dts/mt7620a_ohyeah_oy-0001.dts
target/linux/ramips/dts/mt7620a_phicomm_k2g.dts
target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts
target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts
target/linux/ramips/dts/mt7620a_planex_cs-qr10.dts
target/linux/ramips/dts/mt7620a_planex_db-wrt01.dts
target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts
target/linux/ramips/dts/mt7620a_planex_mzk-ex300np.dts
target/linux/ramips/dts/mt7620a_planex_mzk-ex750np.dts
target/linux/ramips/dts/mt7620a_ralink_mt7620a-evb.dts
target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7530-evb.dts
target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7610e-evb.dts
target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts
target/linux/ramips/dts/mt7620a_sanlinking_d240.dts
target/linux/ramips/dts/mt7620a_sercomm_na930.dts
target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts
target/linux/ramips/dts/mt7620a_tplink_archer.dtsi
target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
target/linux/ramips/dts/mt7620a_youku_yk1.dts
target/linux/ramips/dts/mt7620a_yukai_bocco.dts
target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts
target/linux/ramips/dts/mt7620a_zbtlink_zbt-we826.dtsi
target/linux/ramips/dts/mt7620a_zte_q7.dts
target/linux/ramips/dts/mt7620a_zyxel_keenetic-viva.dts
target/linux/ramips/dts/mt7620n_asus_rt-n12p.dts
target/linux/ramips/dts/mt7620n_asus_rt-n14u.dts
target/linux/ramips/dts/mt7620n_buffalo_wmr-300.dts
target/linux/ramips/dts/mt7620n_dlink_dwr-116-a1.dts
target/linux/ramips/dts/mt7620n_elecom_wrh-300cr.dts
target/linux/ramips/dts/mt7620n_kingston_mlw221.dts
target/linux/ramips/dts/mt7620n_kingston_mlwg2.dts
target/linux/ramips/dts/mt7620n_nexx_wt3020.dtsi
target/linux/ramips/dts/mt7620n_vonets_var11n-300.dts
target/linux/ramips/dts/mt7620n_wrtnode_wrtnode.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-cpe102.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-wa05.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-wr8305rt.dts
target/linux/ramips/dts/mt7620n_zyxel_keenetic-omni-ii.dts
target/linux/ramips/dts/mt7620n_zyxel_keenetic-omni.dts

index a65654e..2afaf52 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 95bd9b5..329d78f 100644 (file)
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0x28>;
-       mediatek,portmap = "llllw";
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
+       mtd-mac-address = <&factory 0x28>;
+
+       mediatek,portmap = "llllw";
 };
 
 &gpio1 {
index 878c720..c9ecf78 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index c35abf2..927a150 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index e95daf9..fd36f16 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 9e60b42..8f6bf97 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x28>;
+
        mediatek,portmap = "llllw";
 };
 
index a01ef25..17df95b 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
 
index d795c06..c54c85c 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
-       mediatek,portmap = "wllll";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &mdio_pins>;
 
+       mediatek,portmap = "wllll";
+
        port@4 {
                status = "okay";
                phy-handle = <&phy0>;
index 71ed648..ee8a48a 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
-
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii2_pins &mdio_pins>;
+
        mediatek,portmap = "wllll";
 
        port@5 {
index ed98c60..6eab114 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
        mediatek,portmap = "llllw";
 
        port@4 {
index 1c9ffc8..977f0aa 100644 (file)
 };
 
 &ethernet {
-       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 {
index d50a770..966c47b 100644 (file)
 };
 
 &ethernet {
-       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 {
index 11cf9bb..4f27452 100644 (file)
 };
 
 &ethernet {
-       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>;
index d7dbb1b..92d9008 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &mdio_pins>;
+
        mtd-mac-address = <&iNIC_rf 0x4>;
 
        port@5 {
index 6fad06d..f414e31 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4000>;
+
        mediatek,portmap = "wllll";
 };
 
index 693a6bf..281ba36 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4000>;
+
        mediatek,portmap = "wllll";
 };
 
index 4e96163..a772bca 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4000>;
+
        mediatek,portmap = "llllw";
 };
 
index abc13ee..e52a564 100644 (file)
 };
 
 &ethernet {
-       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>;
index 83a3a67..8951044 100644 (file)
 };
 
 &ethernet {
-       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 {
index e3494f9..0676c6f 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 1cc59e4..60a67c6 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &mdio_pins>;
+
        mtd-mac-address = <&factory 0x4>;
 
        port@5 {
index 098aaa0..02f620f 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins>;
+
        mtd-mac-address = <&factory 0x4>;
 
        port@5 {
index c140650..b05a7a8 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
 
index a55550d..641b5ad 100644 (file)
 };
 
 &ethernet {
-       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 {
index 2b98d6c..88c747e 100644 (file)
@@ -54,6 +54,8 @@
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x28>;
+
        mediatek,portmap = "llllw";
 };
index de01b48..60cd501 100644 (file)
 };
 
 &ethernet {
-       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 {
index ed74068..2eb3033 100644 (file)
 };
 
 &ethernet {
-       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>;
index 037a885..b432bcf 100644 (file)
@@ -89,7 +89,9 @@
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 4a2006d..9992bb8 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x28>;
+
        mediatek,portmap = "llllw";
 };
 
index 382a1d7..a878c43 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii2_pins &mdio_pins>;
+
        mtd-mac-address = <&factory 0x28>;
+
        mediatek,portmap = "llllw";
 
        port@5 {
index 5ed0724..a0c7fe9 100644 (file)
@@ -99,7 +99,9 @@
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 0d9ef76..71cf56c 100644 (file)
@@ -44,7 +44,9 @@
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x28>;
+
        mediatek,portmap = "llllw";
 };
 
index 7f9fea2..2932b5a 100644 (file)
@@ -44,6 +44,8 @@
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x28>;
+
        mediatek,portmap = "llllw";
 };
index 4466c56..77a48e8 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index c38d1e5..29b235d 100644 (file)
@@ -90,7 +90,9 @@
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index dde7519..87a6f29 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 6eb3e85..05478f5 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 13a3ecd..a5e44cf 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 4a3de47..fbdec1b 100644 (file)
@@ -74,9 +74,9 @@
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
        mediatek,portmap = "llllw";
 
        port@4 {
index 89c5aed..ba1d415 100644 (file)
@@ -55,9 +55,9 @@
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
        mediatek,portmap = "llllw";
 
        port@5 {
index a589179..0660047 100644 (file)
@@ -71,9 +71,9 @@
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mediatek,portmap = "llllw";
 };
 
index ee148db..1baa3a7 100644 (file)
@@ -68,9 +68,9 @@
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
        mediatek,portmap = "llllw";
 
        port@4 {
index 52d4477..79649a5 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 9313e62..e90f5a4 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii1_pins &mdio_pins>;
+
        mediatek,portmap = "llllw";
 
        port@4 {
index 9681964..c0b2c1a 100644 (file)
 };
 
 &ethernet {
-       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>;
index 74908e0..184627b 100644 (file)
@@ -91,7 +91,9 @@
 
 &ethernet {
        pinctrl-names = "default";
+
        mtd-mac-address = <&rom 0xf100>;
+
        mediatek,portmap = "wllll";
 };
 
index 3857c4a..f3340b9 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x28>;
+
        mediatek,portmap = "llllw";
 };
 
index ee7bb37..f14b70d 100644 (file)
 
 &ethernet {
        pinctrl-names = "default";
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index e0a568f..b05fb17 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 959fce3..4aa4045 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 6cb67d4..9ebd10b 100644 (file)
@@ -75,6 +75,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 0303e3f..6933a86 100644 (file)
@@ -98,6 +98,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 2f648a2..c41d0a1 100644 (file)
 };
 
 &ethernet {
-       status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii2_pins &mdio_pins>;
+
        mtd-mac-address = <&factory 0x00004>;
 
        port@4 {
index e77615a..5e610be 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 423641d..76f728e 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 986903b..f84dda3 100644 (file)
@@ -98,6 +98,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 1c45c8e..3f75c76 100644 (file)
 };
 
 &ethernet {
-       mediatek,portmap = "llllw";
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
+       mediatek,portmap = "llllw";
 };
index deb1678..5a75e5a 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x2e>;
+
        mediatek,portmap = "llllw";
 };
 
index 2e37fdd..fbc751f 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 931f050..a4bc5c7 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 09df879..9762472 100644 (file)
@@ -44,6 +44,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 09e2cf2..135e048 100644 (file)
@@ -82,6 +82,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 2c905f7..35dc933 100644 (file)
@@ -87,6 +87,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 341a231..eff3842 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 9439b0c..7a111ff 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index f293082..e5d3cc0 100644 (file)
@@ -95,6 +95,7 @@
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index ee31792..675b426 100644 (file)
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
+
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };
 
index 7846bd9..00af10b 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "wllll";
 };
 
index 2e7a689..cbeabf4 100644 (file)
 
 &ethernet {
        mtd-mac-address = <&factory 0x4>;
+
        mediatek,portmap = "llllw";
 };