ath79: harmonize appearance of ethX nodes in qca953x DTSes
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 12 Aug 2020 12:20:18 +0000 (14:20 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 12 Aug 2020 12:44:07 +0000 (14:44 +0200)
This harmonizes the appearance of ethX nodes in qca953x DTSes by:
- having the same order of nodes and properties
- removing redundant status property on eth1 (set in qca953x.dtsi)

This is meant to help both copy-pasters and reviewers, since
deviations and errors can be spotted easier.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
24 files changed:
target/linux/ath79/dts/qca9531_8dev_lima.dts
target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts
target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts
target/linux/ath79/dts/qca9531_comfast_cf-e5.dts
target/linux/ath79/dts/qca9531_comfast_cf-ew72.dts
target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts
target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
target/linux/ath79/dts/qca9531_glinet_gl-e750.dts
target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
target/linux/ath79/dts/qca9531_telco_t1.dts
target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts
target/linux/ath79/dts/qca9531_tplink_tl-mr3420-v3.dts
target/linux/ath79/dts/qca9531_yuncore_a770.dts
target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts
target/linux/ath79/dts/qca9533_tplink_cpe220-v3.dts
target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi
target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts
target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi
target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
target/linux/ath79/dts/qca9533_ubnt_acb-isp.dts
target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi

index 118704ab403d9f37e3f1c7bb8a4194c6ce9eeab0..c3bac88228eb5f8afb7c3b3e6d306017e8794755 100644 (file)
@@ -93,6 +93,7 @@
        status = "okay";
 
        phy-handle = <&swphy0>;
+
        mtd-mac-address = <&art 0x6>;
 
        gmac-config {
 };
 
 &eth1 {
-       status = "okay";
-
        mtd-mac-address = <&art 0x0>;
 };
 
index 433a7e9c5f3057309f6d225d270395a0e0f683cf..38201196626cfc7a1734b7d87a1ac9aa4c86660b 100644 (file)
 
 &eth0 {
        status = "okay";
+
        phy-handle = <&swphy0>;
+
        mtd-mac-address = <&art 0x1002>;
 
        gmac-config {
 };
 
 &eth1 {
-       status = "okay";
        mtd-mac-address = <&art 0x0>;
 };
 
index 192b7112a9b43460f3660f25f0a3a7663a69c083..5c83170cc112f5dec5b971f777fea9b7336afa9b 100644 (file)
 
 &eth0 {
        status = "okay";
-       mtd-mac-address = <&art 0x0>;
+
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
-       status = "okay";
        mtd-mac-address = <&art 0x6>;
 };
 
index 74a3554bcb57ef4fb478d0a3fa0597f7f13dead6..50d602fbb13dc141552e54829df568808bfcfadb 100644 (file)
 
 &eth0 {
        status = "okay";
-       mtd-mac-address = <&art 0x0>;
+
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
 };
 
index 06c8f0737ee2fb54d353e74a95aa24824f9894b9..5ed63e0b2691eb8880b6223ef0f9697ffd28b3dd 100644 (file)
        status = "okay";
 
        phy-handle = <&swphy4>;
+
        mtd-mac-address = <&art 0x0>;
        mtd-mac-address-increment = <1>;
 };
index 343a02e38ad72deb7eb8cd6601c8eafb4c28f0e2..4fb2f849511d9560c6c5df658e78dbcbeb65e215 100644 (file)
        };
 };
 
-&eth1 {
-       mtd-mac-address = <&uboot 0x2e018>;
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address = <&uboot 0x2e010>;
 };
 
+&eth1 {
+       mtd-mac-address = <&uboot 0x2e018>;
+};
+
 &wmac {
        status = "okay";
 
index 242dccdcf912dc3c287f49090bea9e4d3307330d..c8bfd2c8b88aad861c3f4b8dda83659c6242150e 100644 (file)
        phy-handle = <&swphy4>;
 };
 
-&eth1 {
-       status = "okay";
-};
-
 &wmac {
        status = "okay";
 
index d769225fd4c3e86da49b1c013b005d5830c16bc0..c65f81032a93caaab81f4ce3a1cb6605c39f4091 100644 (file)
 
 &eth0 {
        status = "okay";
-       mtd-mac-address = <&art 0x0>;
+
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
index dcffccf0a8d666f3f54d0cba7d3aec9ac11e3f86..2726d8ea0ac4472f105c160b9fcb69241b37a707 100644 (file)
 
 &eth0 {
        status = "okay";
-       mtd-mac-address = <&art 0x0>;
+
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
 };
index 1fc96bc1e560b1b1b783e4373f81133e9cb38f25..18769c9e09e9a8069d691b1c33ef757744800c0b 100644 (file)
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&art 0x0>;
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
index c845b5465acdae0187912ea6bec4490babef17a8..3582dd4acbc59a39ce78d2c9c4384031bbd6580b 100644 (file)
 
 &eth0 {
        status = "okay";
-       mtd-mac-address = <&art 0x0>;
+
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
 };
index 25a97edfca2d3890e66e080447ad6e0622689d50..bc2a0c48b57ef189b964a3fdd1a64053698dbe35 100644 (file)
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&art 0x0>;
-
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
index 3aa6bd1367b0e24d3930bfe7f5262a5b4cf24d08..0937a0b47d25bfdb13075345795d6a0bcb38acdb 100644 (file)
        };
 };
 
-&eth1 {
-       mtd-mac-address = <&romfile 0xf100>;
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address-increment = <1>;
 };
 
+&eth1 {
+       mtd-mac-address = <&romfile 0xf100>;
+};
+
 &wmac {
        status = "okay";
 
index be0387830a5fc4d9e55c039590869c64a5640471..978ad859f39eb34cb5377683c35a7bdb0d614db5 100644 (file)
        };
 };
 
-&eth1 {
-       mtd-mac-address = <&uboot 0x1fc00>;
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address-increment = <1>;
 };
 
+&eth1 {
+       mtd-mac-address = <&uboot 0x1fc00>;
+};
+
 &wmac {
        status = "okay";
 
index 21283d98dfade5bb4e06161576f83c20b4b65043..1ff45e91c7d2db22f5e1ce12832f254eadeeb68f 100644 (file)
        };
 };
 
-&eth0 {
-       status = "okay";
-
-       phy-handle = <&swphy4>;
-       mtd-mac-address = <&art 0x0>;
-};
-
-&eth1 {
-       mtd-mac-address = <&art 0x6>;
-};
-
-&pcie0 {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
        status = "okay";
 };
 
+&eth0 {
+       status = "okay";
+
+       phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
+};
+
+&eth1 {
+       mtd-mac-address = <&art 0x6>;
+};
+
+&pcie0 {
+       status = "okay";
+};
+
 &wmac {
        status = "okay";
 
index 45e3727daad225df22b15b5d1fcab08989ce4b4a..074363b17f012cc05f7c108454f5cf86ce07885c 100644 (file)
 &eth0 {
        status = "okay";
 
-       mtd-mac-address = <&art 0x0>;
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
-       status = "okay";
-
        mtd-mac-address = <&art 0x1002>;
 
        gmac-config {
index dd90eb1c7d67a696687aa02dd6a7d68cbc10d85e..813430590f7cc1b4f6268df314e61a52a370ff65 100644 (file)
@@ -21,8 +21,6 @@
 };
 
 &eth1 {
-       status = "okay";
-
        mtd-mac-address = <&info 0x8>;
 
        gmac-config {
index fb805ff66ab89662f59ffb7a8a77bb8d60844a6e..1180cc46c412d92236de24a08656c8a92e956f27 100644 (file)
        };
 };
 
-&wmac {
+&eth0 {
        status = "okay";
 
-       mtd-cal-data = <&art 0x1000>;
+       phy-handle = <&swphy4>;
+
        mtd-mac-address = <&info 0x8>;
 };
 
-&eth0 {
+&wmac {
        status = "okay";
 
-       phy-handle = <&swphy4>;
-
+       mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&info 0x8>;
 };
index f2e2dee04f1208d626d6f5813d749779bae4a309..e103b66cbdd69ed5072639530bf6aa1d0ff3b4fa 100644 (file)
        };
 };
 
-&wmac {
-       status = "okay";
-
-       mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&config 0x10008>;
-};
-
 &eth0 {
        status = "okay";
 
 &eth1 {
        compatible = "syscon", "simple-mfd";
 };
+
+&wmac {
+       status = "okay";
+
+       mtd-cal-data = <&art 0x1000>;
+       mtd-mac-address = <&config 0x10008>;
+};
index df920c842f3a795f7ee4be6e25ad1bca76234e03..0fadab9f6f15135212974e769452cb443a11fdc3 100644 (file)
        };
 };
 
-&wmac {
-       status = "okay";
-
-       mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&uboot 0x1fc00>;
-};
-
 &eth0 {
        status = "okay";
 
 &eth1 {
        compatible = "syscon", "simple-mfd";
 };
+
+&wmac {
+       status = "okay";
+
+       mtd-cal-data = <&art 0x1000>;
+       mtd-mac-address = <&uboot 0x1fc00>;
+};
index ade5dec7185d2ef9e829da5257702f3b2eaae59c..249a3e1eefbf7267388621ebb352f8a507369c99 100644 (file)
        };
 };
 
-&eth1 {
-       mtd-mac-address = <&uboot 0x1fc00>;
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address-increment = <1>;
 };
 
+&eth1 {
+       mtd-mac-address = <&uboot 0x1fc00>;
+};
+
 &wmac {
        status = "okay";
 
index 497b0cd26cf3375083415de026d40b769762bf67..e169d98c8554847ffbc624d801438808385fa647 100644 (file)
        };
 };
 
-&eth1 {
-       mtd-mac-address = <&uboot 0x1fc00>;
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address-increment = <1>;
 };
 
+&eth1 {
+       mtd-mac-address = <&uboot 0x1fc00>;
+};
+
 &wmac {
        status = "okay";
 
index ded95f3a182554b5326e9bc2928c445463a490ee..e266066e2eadf31ca986ee0ea7d88fd091bd829f 100644 (file)
 
 &eth0 {
        status = "okay";
-       mtd-mac-address = <&art 0x0>;
+
        phy-handle = <&swphy4>;
+
+       mtd-mac-address = <&art 0x0>;
 };
 
 &eth1 {
-       status = "okay";
        mtd-mac-address = <&art 0x6>;
 
        gmac-config {
index fcfd82702cd8ceed112f61fd7bc02c20925d4d32..3b4b1a57ed2663769a369347e2b1856e64675d28 100644 (file)
        };
 };
 
-&eth1 {
-       mtd-mac-address = <&uboot 0x1fc00>;
-};
-
 &eth0 {
        status = "okay";
 
        mtd-mac-address-increment = <1>;
 };
 
+&eth1 {
+       mtd-mac-address = <&uboot 0x1fc00>;
+};
+
 &wmac {
        status = "okay";