ipq40xx: use existing labels for MDIO node

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>
This commit is contained in:
Robert Marko 2024-05-07 14:16:48 +02:00
parent 90f9bc799f
commit 63c5d8bd72
43 changed files with 238 additions and 247 deletions

View file

@ -58,13 +58,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
counter@4a1000 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;
@ -327,6 +320,13 @@
phy-names = "usb2-phy"; phy-names = "usb2-phy";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -18,14 +18,6 @@
}; };
soc { 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 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -245,6 +237,14 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
reset-delay-us = <5000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";
nvmem-cells = <&macaddr_art_0>; nvmem-cells = <&macaddr_art_0>;

View file

@ -18,10 +18,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -96,6 +92,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -11,10 +11,6 @@
compatible = "engenius,eap1300"; compatible = "engenius,eap1300";
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -230,6 +226,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&swport5 { &swport5 {
status = "okay"; status = "okay";
label = "lan"; label = "lan";

View file

@ -18,10 +18,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -201,6 +197,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
qcom,ath10k-calibration-variant = "EnGenius-EMD1"; qcom,ath10k-calibration-variant = "EnGenius-EMD1";

View file

@ -11,10 +11,6 @@
compatible = "engenius,emr3500"; compatible = "engenius,emr3500";
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -202,6 +198,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
qcom,ath10k-calibration-variant = "EnGenius-EMR3500"; qcom,ath10k-calibration-variant = "EnGenius-EMR3500";

View file

@ -26,10 +26,6 @@
compatible = "netgear,ex61x0v2"; compatible = "netgear,ex61x0v2";
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -334,6 +330,10 @@
nvmem-cells = <&precal_art_5000>, <&macaddr_dnidata_c>; nvmem-cells = <&precal_art_5000>, <&macaddr_dnidata_c>;
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -19,10 +19,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -244,6 +240,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&ethphy0 { &ethphy0 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;

View file

@ -27,10 +27,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -269,6 +265,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -12,13 +12,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
counter@4a1000 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;
@ -226,6 +219,12 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -15,14 +15,6 @@
}; };
soc { 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 { gpio_export {
compatible = "gpio-export"; compatible = "gpio-export";
#size-cells = <0>; #size-cells = <0>;
@ -234,6 +226,14 @@
}; };
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -28,10 +28,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -273,6 +269,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -23,10 +23,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -291,6 +287,10 @@
}; };
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -28,10 +28,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
counter@4a1000 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;

View file

@ -37,10 +37,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -244,6 +240,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
qcom,ath10k-calibration-variant = "ZyXEL-WRE6606"; qcom,ath10k-calibration-variant = "ZyXEL-WRE6606";

View file

@ -18,14 +18,6 @@
}; };
soc { 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 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -348,6 +340,14 @@
}; };
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <1000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";

View file

@ -21,12 +21,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -243,3 +237,9 @@
&usb2_hs_phy { &usb2_hs_phy {
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};

View file

@ -68,12 +68,6 @@
gpios = <&tlmm 50 GPIO_ACTIVE_LOW>; gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
}; };
}; };
soc {
mdio@90000 {
status = "okay";
};
};
}; };
&watchdog { &watchdog {
@ -275,6 +269,10 @@
}; };
}; };
&mdio {
status = "okay";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration"; nvmem-cell-names = "pre-calibration";

View file

@ -22,10 +22,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -270,6 +266,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -18,10 +18,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -253,6 +249,10 @@
}; };
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -24,10 +24,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -356,6 +352,10 @@
}; };
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -20,13 +20,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
counter@4a1000 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;
@ -329,6 +322,12 @@
}; };
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -42,10 +42,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
counter@4a1000 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;
@ -245,6 +241,10 @@
}; };
}; };
&mdio {
status = "okay";
};
&ethphy1 { &ethphy1 {
status = "disabled"; status = "disabled";
}; };

View file

@ -19,10 +19,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -342,6 +338,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -97,14 +97,6 @@
}; };
soc { 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 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -229,6 +221,14 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";

View file

@ -80,14 +80,6 @@
}; };
soc { 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 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -212,6 +204,14 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";

View file

@ -73,14 +73,6 @@
}; };
soc { 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 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -205,6 +197,14 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";

View file

@ -21,12 +21,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -278,6 +272,12 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration"; nvmem-cell-names = "pre-calibration";

View file

@ -16,13 +16,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
counter@4a1000 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;
@ -274,6 +267,12 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -19,12 +19,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -282,6 +276,12 @@
}; };
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&ethphy0 { &ethphy0 {
qcom,single-led-1000; qcom,single-led-1000;
qcom,single-led-100; qcom,single-led-100;

View file

@ -23,10 +23,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -269,6 +265,10 @@
}; };
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -138,10 +138,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -376,6 +372,10 @@
qcom,ath10k-calibration-variant = "cellc,rtl30vw"; qcom,ath10k-calibration-variant = "cellc,rtl30vw";
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -9,14 +9,6 @@
compatible = "unielec,u4019","qcom,ipq4019"; compatible = "unielec,u4019","qcom,ipq4019";
soc { 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 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -204,6 +196,14 @@
}; };
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration"; nvmem-cell-names = "pre-calibration";

View file

@ -244,14 +244,6 @@
}; };
}; };
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <5000>;
};
tcsr@194b000 { tcsr@194b000 {
/* select hostmode */ /* select hostmode */
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
@ -360,6 +352,14 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <5000>;
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration"; nvmem-cell-names = "pre-calibration";

View file

@ -18,14 +18,6 @@
}; };
soc { 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 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -204,6 +196,14 @@
}; };
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration"; nvmem-cell-names = "pre-calibration";

View file

@ -27,10 +27,6 @@
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -296,6 +292,10 @@
}; };
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -35,14 +35,6 @@
}; };
soc { 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 { tcsr@194b000 {
/* select hostmode */ /* select hostmode */
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
@ -259,6 +251,14 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -22,15 +22,6 @@
}; };
soc { 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 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;
@ -442,6 +433,15 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
reset-gpios = <&tlmm 19 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>;
};
&gmac { &gmac {
status = "okay"; status = "okay";

View file

@ -12,16 +12,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
ethphy: ethernet-phy@5 {
reg = <0x5>;
};
};
counter@4a1000 { counter@4a1000 {
compatible = "qcom,qca-gcnt"; compatible = "qcom,qca-gcnt";
reg = <0x4a1000 0x4>; reg = <0x4a1000 0x4>;
@ -214,6 +204,16 @@
}; };
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
ethphy: ethernet-phy@5 {
reg = <0x5>;
};
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -38,10 +38,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -283,6 +279,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };

View file

@ -23,10 +23,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -348,6 +344,10 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration"; nvmem-cell-names = "pre-calibration";

View file

@ -33,12 +33,6 @@
}; };
soc { 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 /* It is a 56-bit counter that supplies the count to the ARM arch
timers and without upstream driver */ timers and without upstream driver */
counter@4a1000 { counter@4a1000 {
@ -403,6 +397,12 @@
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&gmac { &gmac {
status = "okay"; status = "okay";
nvmem-cells = <&mac_address 0>; nvmem-cells = <&mac_address 0>;

View file

@ -17,12 +17,6 @@
}; };
soc { soc {
mdio@90000 {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
@ -124,6 +118,12 @@
status = "okay"; status = "okay";
}; };
&mdio {
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
};
&gmac { &gmac {
status = "okay"; status = "okay";
}; };