ipq40xx: use existing labels for MDIO node
authorRobert Marko <robimarko@gmail.com>
Tue, 7 May 2024 12:16:48 +0000 (14:16 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 9 May 2024 08:11:44 +0000 (10:11 +0200)
Some boards are still defining MDIO nodes under soc instead of using the
existing upstream labels to reference them so convert them.

Link: https://github.com/openwrt/openwrt/pull/15415
Signed-off-by: Robert Marko <robimarko@gmail.com>
43 files changed:
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-cs-w3-wd1200g-eup.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-ea6350v3.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-eap1300.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-emd1.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-emr3500.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-ex61x0v2.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-gl-ap1300.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-jalapeno.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-magic-2-wifi-next.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-nbg6617.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-rt-ac58u.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-sxtsq-5-ac.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-wre6606.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-cm520-79f.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-e2600ac.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-eap2200.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-fritzbox-7530.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-fritzrepeater-3000.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-gl-b2200.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-habanero-dvk.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-lhgg-60ad.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-map-ac2200.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-mf18a.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-mf282plus.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-mf286d.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-oap100.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-orbi.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-r619ac.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-rt-ac42u.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-rtl30vw.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-u4019.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-wpj419.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-x1pro.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-xx8300.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4028-wpj428.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-aruba-glenmorangie.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-gl-b1300.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-gl-s1300.dts
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-insect-common.dtsi
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ws-ap3915i.dts

index f87fef32f3614cb7543891df2117f45f9464c9b0..f2e2ed3f7f6c7dc044abdb8163e417c998b4dfa6 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
        phy-names = "usb2-phy";
 };
 
+&mdio {
+       status = "okay";
+
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &gmac {
        status = "okay";
 };
index 121d3430ea0e4db799bf15c7c3b20a10aa4417b1..8d09bfd0b7acf06570cba2865bab8ba2ce1f0a07 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <5000>;
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <5000>;
+};
+
 &gmac {
        status = "okay";
        nvmem-cells = <&macaddr_art_0>;
index 52ed1a07b2ab7bfc5bf1765eaa3b7f43e9923d51..e80a54024450c1864d041e7826b164589e038642 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index 528f54cee4c66515578191b9f14d3f55acad6440..52a96eae980184d300098973821c557e155ec1b8 100644 (file)
        compatible = "engenius,eap1300";
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &swport5 {
        status = "okay";
        label = "lan";
index 7aa439912a8f17bd0a17af856a08524c3fa38305..1ef63bdc98213803950fefd8ba90c5ea736ae1b2 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &wifi0 {
        status = "okay";
        qcom,ath10k-calibration-variant = "EnGenius-EMD1";
index 5c5a9f733dfbe1b6019599414ee956ce27731827..9d70501cb72597ff468cf470bc64219166180c8f 100644 (file)
        compatible = "engenius,emr3500";
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &wifi0 {
        status = "okay";
        qcom,ath10k-calibration-variant = "EnGenius-EMR3500";
index 0ea20530da8ceda9e51c720838c2605a5d8791d2..ca064837c86e18f66715bf7201f493a226135895 100644 (file)
        compatible = "netgear,ex61x0v2";
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        nvmem-cells = <&precal_art_5000>, <&macaddr_dnidata_c>;
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index 1f953ee16b697323c9961ea75f339013466b9a9a..b3617eb45eeed042ac2c8c564904f4ee766d66de 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &ethphy0 {
        gpio-controller;
        #gpio-cells = <2>;
index ff111d575ff0b5127a4dd3e3d1d6b6702a8975f8..bb197c2742777313fd167a49952f43a0aa6dad00 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index c52af9b1df6c8ddc73f2bc8ef620f8c0c7049fb9..9828b4b34efdbc807c54fd79f3c36d5e13c1396e 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &gmac {
        status = "okay";
 };
index ddbb5a79867faa158694858d4fe1d6005c2e7070..293bf3d20a0f1a14b3cd7ca046a9da02e8fa469d 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                gpio_export {
                        compatible = "gpio-export";
                        #size-cells = <0>;
        };
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &gmac {
        status = "okay";
 };
index 8575b504c89e1ab09946818c52a6a15594ceda84..f8e24ca53df299da982ec37b816b44384808ce93 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index 882d565bd1588d355d26bf357bba8c1ae9c6150c..4f31c8f283cf12a5fbbe3ea15ae653cca62f361f 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index fd797bd54880e0b1c7499e0716fb853730abeb4d..23e9457f029d0cb79a797c5b319804913e2793ac 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
index 211a45bde011cb117bc18c86e249def31368e29f..d59c41fab1b83246c6f96fb86ef6df274c7cfb29 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &wifi0 {
        status = "okay";
        qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";
index 64752805a0be4cf831a78645fb7de35db3298e65..3569d6e53ab7124e38e9001befed41013af2d08c 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <1000>;
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <1000>;
+};
+
 &gmac {
        status = "okay";
 
index e67d1ba7a8ec8ae01d76a51a6b548bfb6f48e949..119ba4b7fe5fd180868c199832090e4976115487 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
 &usb2_hs_phy {
        status = "okay";
 };
+
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
index 7ff350a22ce7af61b2de9b0ac412405be63b3eae..8bf86d40cd0138baf2a18ab4800d336d07e6a680 100644 (file)
                        gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
                };
        };
-
-       soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-       };
 };
 
 &watchdog {
        };
 };
 
+&mdio {
+       status = "okay";
+};
+
 &wifi0 {
        status = "okay";
        nvmem-cell-names = "pre-calibration";
index 6fd8b48874edeb1b049962593d0cc7387aa5543e..2344ae7bf89583a783781d5309eda4d0936fe431 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index 6a81d9628485b276d24db95339f61fff1efe18e1..e8daef63f1456e9cfe99693c2c46074ab257a43f 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index bc0b5c47a3c895a1cb85941fa8b281fce7553117..89ba523e57dc412b6816cb21abb8d186ef658627 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index 59dbf7f1b042d0800e1da55ff86265510a96dd12..c25b9ecf5bfffa672f8a961eccc8865298ced088 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
        };
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &gmac {
        status = "okay";
 };
index f0d1402c35d7a3cb08832f32e34cee6dbd3cd919..b3eb610b329f8cf69f82bb50fa6e7bf31a4d9f6a 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
        };
 };
 
+&mdio {
+       status = "okay";
+};
+
 &ethphy1 {
        status = "disabled";
 };
index fd7cd014d6dda77918c73d3133d9e97029e79f85..7ec3c6a9ae7c8c5e130425f7248a8495dc1d60de 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index e00385dbd7b87c67976661afcddf66b771922cca..7c0260ec3c531d6f1c59bad236d0cd5c68352399 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &gmac {
        status = "okay";
        nvmem-cell-names = "mac-address";
index 523c484e91a3987f56430d45cad6d14ef52d51f8..a4606dd21cbde900973fd9d1d7810daae42d81e4 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &gmac {
        status = "okay";
        nvmem-cell-names = "mac-address";
index 8f1a7f6551fbc0b3573811bfb5d84ecf9bcfa3b1..06d65b8944160e632ddd64a2e8118f4f31c0355e 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &gmac {
        status = "okay";
        nvmem-cell-names = "mac-address";
index 03b2f95965833b6456a5ffa2f0cefebf83d83409..752d7143930ca27ea37a709ca46a724a03070dc0 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &wifi0 {
        status = "okay";
        nvmem-cell-names = "pre-calibration";
index 5cfed9faa0d60d312e73126bde9b097129006260..bd7565ac02ec037b043e79966fd74d323cff7756 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &gmac {
        status = "okay";
 };
index 11046db9bb389aa8944b3269dc11233b17d713e0..0463c61236e80f92b8cc65e6081c2eb3fa70c1c3 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &ethphy0 {
        qcom,single-led-1000;
        qcom,single-led-100;
index 5feebce4859f6b486a2fcab8c5b462152af8cb8c..3cd8997a92597ee3091726ce1086dc8bf1958962 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index da8b8a1febbedbf8f3a3c58fcc57508665e46a87..7a13241b661f9e5859056fb61c2c40464c93c128 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        qcom,ath10k-calibration-variant = "cellc,rtl30vw";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index 23030b5e5882fce31901378d9f3e4ad2b737bbde..67d9f21f71ec017ac48e25552f75f34b46d7fba8 100644 (file)
@@ -9,14 +9,6 @@
        compatible = "unielec,u4019","qcom,ipq4019";
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &wifi0 {
        status = "okay";
        nvmem-cell-names = "pre-calibration";
index 74985b4b4366fa7f83a1411431c4d77711555f95..92b3fb399b4328c3d3d4c62190d48f2e5ed8efd3 100644 (file)
                        };
                };
 
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <5000>;
-               };
-
                tcsr@194b000 {
                        /* select hostmode */
                        compatible = "qcom,tcsr";
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <5000>;
+};
+
 &wifi0 {
        status = "okay";
        nvmem-cell-names = "pre-calibration";
index fd435dce8e40e3cf2538bf19f9dbd9cee133891b..b494d0ab1c7b734c2d7087b6cbdc4770eb76372c 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &wifi0 {
        status = "okay";
        nvmem-cell-names = "pre-calibration";
index 74d525afff4f6714169febbf76fc0025035b0035..ae2d88da9309b111ef84cc7da1002209eed7a8e0 100644 (file)
 
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        };
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index df562aa064407f3b8d75f0a3dc8a32d7685460a1..517d691d10552b425e9873ff479c670949f98acc 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-                       reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                tcsr@194b000 {
                        /* select hostmode */
                        compatible = "qcom,tcsr";
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+       reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &gmac {
        status = "okay";
 };
index fbc1616d7cd1510fe4158452be21da88b6c2edc6..823431dcf11d2f1fbc9f9e3a09e30a225c975966 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-
-                       reset-gpios = <&tlmm 19 GPIO_ACTIVE_LOW>;
-                       reset-delay-us = <2000>;
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+
+       reset-gpios = <&tlmm 19 GPIO_ACTIVE_LOW>;
+       reset-delay-us = <2000>;
+};
+
 &gmac {
        status = "okay";
 
index a9fe56f537e7f20277319fc4e87b7bf1398ff2b5..8c56c7d2f12326a51b40faddaf3676aa74d10595 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-
-                       ethphy: ethernet-phy@5 {
-                               reg = <0x5>;
-                       };
-               };
-
                counter@4a1000 {
                        compatible = "qcom,qca-gcnt";
                        reg = <0x4a1000 0x4>;
        };
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+
+       ethphy: ethernet-phy@5 {
+               reg = <0x5>;
+       };
+};
+
 &gmac {
        status = "okay";
 };
index d0f30eb86d4520133e372c867bd7e3836bdecf36..dfb639e2bbb2eaa6e98004801829c758571edc2f 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &gmac {
        status = "okay";
 };
index 857a2a551f08ee4e458a0b4ddf8ca8e967db4a66..e6d74da864de1e6a765c1b2ce5e372eec27205d0 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+};
+
 &wifi0 {
        status = "okay";
        nvmem-cell-names = "pre-calibration";
index bebad6f1e6ec61f1fc62cc02dc86209be878b028..da22d4a67139d9ea618e4100318b484bc203112e 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                /* It is a 56-bit counter that supplies the count to the ARM arch
                   timers and without upstream driver */
                counter@4a1000 {
        nvmem-cell-names = "mac-address";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &gmac {
        status = "okay";
        nvmem-cells = <&mac_address 0>;
index 0d3bae2dfa677838b6eaace02c21169157c9c56e..3bf9f8c42b0ca105f7b20f8fee6fd0e019a936e9 100644 (file)
        };
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        status = "okay";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+};
+
 &gmac {
        status = "okay";
 };