From: Arınç ÜNAL Date: Sun, 28 Apr 2024 19:52:51 +0000 (+0300) Subject: ramips: mt7621-dts: describe switch PHYs and adjust PHY muxing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ea6125c501e3adc81227cc69fb9e28eec69f2b8;p=openwrt%2Fstaging%2Fthess.git ramips: mt7621-dts: describe switch PHYs and adjust PHY muxing Currently, the MT7530 DSA subdriver configures the MT7530 switch to provide direct access to switch PHYs, meaning, the switch PHYs listen on the MDIO bus the switch listens on. The PHY muxing feature makes use of this. This is problematic as the PHY may be attached before the switch is initialised, in which case, the PHY will fail to be attached. Since commit 91374ba537bd ("net: dsa: mt7530: support OF-based registration of switch MDIO bus") on mainline Linux, we can describe the switch PHYs on the MDIO bus of the switch on the device tree. When the PHY is described this way, the switch will be initialised first, then the switch MDIO bus will be registered. Only after these steps, the PHY will be attached. Describe the switch PHYs on mt7621.dtsi and remove defining the switch PHY on the SoC's mdio bus node. When the PHY muxing is in use, the interrupts for the muxed PHY won't work, therefore delete the "interrupts" property on the devices where the PHY muxing feature is in use. Signed-off-by: Arınç ÜNAL --- diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 086719a43d..54fe13123d 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -474,6 +474,36 @@ #interrupt-cells = <1>; interrupts = ; + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + reg = <0>; + interrupts = <0>; + }; + + ethphy1: ethernet-phy@1 { + reg = <1>; + interrupts = <1>; + }; + + ethphy2: ethernet-phy@2 { + reg = <2>; + interrupts = <2>; + }; + + ethphy3: ethernet-phy@3 { + reg = <3>; + interrupts = <3>; + }; + + ethphy4: ethernet-phy@4 { + reg = <4>; + interrupts = <4>; + }; + }; + ports { #address-cells = <1>; #size-cells = <0>; @@ -482,30 +512,35 @@ status = "disabled"; reg = <0>; label = "lan0"; + phy-handle = <ðphy0>; }; port@1 { status = "disabled"; reg = <1>; label = "lan1"; + phy-handle = <ðphy1>; }; port@2 { status = "disabled"; reg = <2>; label = "lan2"; + phy-handle = <ðphy2>; }; port@3 { status = "disabled"; reg = <3>; label = "lan3"; + phy-handle = <ðphy3>; }; port@4 { status = "disabled"; reg = <4>; label = "lan4"; + phy-handle = <ðphy4>; }; port@6 { diff --git a/target/linux/ramips/dts/mt7621_adslr_g7.dts b/target/linux/ramips/dts/mt7621_adslr_g7.dts index 6ca9eccd2d..2dea282bf5 100644 --- a/target/linux/ramips/dts/mt7621_adslr_g7.dts +++ b/target/linux/ramips/dts/mt7621_adslr_g7.dts @@ -136,10 +136,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts index 4f942f1602..f2f5719af2 100644 --- a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts +++ b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts @@ -155,10 +155,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts b/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts index 85fda96ce5..c0e208d33d 100644 --- a/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts +++ b/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts @@ -176,10 +176,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_ampedwireless_ally-r1900k.dts b/target/linux/ramips/dts/mt7621_ampedwireless_ally-r1900k.dts index 07e0d23788..6280a643a9 100644 --- a/target/linux/ramips/dts/mt7621_ampedwireless_ally-r1900k.dts +++ b/target/linux/ramips/dts/mt7621_ampedwireless_ally-r1900k.dts @@ -13,10 +13,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts b/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts index 48506907eb..4a5194c363 100644 --- a/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts +++ b/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts @@ -203,10 +203,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &pcie { diff --git a/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi b/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi index 78627b2157..ec9da152ce 100644 --- a/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi +++ b/target/linux/ramips/dts/mt7621_arcadyan_wg4xx223.dtsi @@ -185,10 +185,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi b/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi index edfdc9b173..2f03082688 100644 --- a/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi +++ b/target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi @@ -111,10 +111,8 @@ status = "okay"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &gmac0 { diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts b/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts index 4915f8125e..d5b46b14ee 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ac57u-v1.dts @@ -170,10 +170,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi b/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi index 5bccddec0b..bee8afdc90 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi +++ b/target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi @@ -166,10 +166,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts index faf58e0187..76645987b2 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts @@ -183,10 +183,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts index 7bb375cb29..972b3d5bd8 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts @@ -157,10 +157,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_asus_rt-n56u-b1.dts b/target/linux/ramips/dts/mt7621_asus_rt-n56u-b1.dts index b18bd113da..d73dfe9421 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-n56u-b1.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-n56u-b1.dts @@ -182,10 +182,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts b/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts index 12ff04ed28..e2fa019d07 100644 --- a/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts +++ b/target/linux/ramips/dts/mt7621_beeline_smartbox-giga.dts @@ -216,10 +216,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo-plus.dts b/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo-plus.dts index 84ec15b872..56080ff917 100644 --- a/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo-plus.dts +++ b/target/linux/ramips/dts/mt7621_beeline_smartbox-turbo-plus.dts @@ -209,10 +209,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_belkin_rt1800.dts b/target/linux/ramips/dts/mt7621_belkin_rt1800.dts index 25fc335c56..be519abf6e 100644 --- a/target/linux/ramips/dts/mt7621_belkin_rt1800.dts +++ b/target/linux/ramips/dts/mt7621_belkin_rt1800.dts @@ -162,10 +162,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts index c065997ea1..7b1cc64b50 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts +++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts @@ -174,10 +174,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts index 66b47d2fa0..fa90fba3d5 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts +++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.dts @@ -199,10 +199,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts index e3b165c640..00b2165836 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts +++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts @@ -208,10 +208,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_cudy_m1800.dts b/target/linux/ramips/dts/mt7621_cudy_m1800.dts index 12f5ce3ec9..1aa5821006 100644 --- a/target/linux/ramips/dts/mt7621_cudy_m1800.dts +++ b/target/linux/ramips/dts/mt7621_cudy_m1800.dts @@ -66,10 +66,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &pcie { diff --git a/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts b/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts index 9d5701a7cc..265b48143e 100644 --- a/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts +++ b/target/linux/ramips/dts/mt7621_cudy_wr1300-v1.dts @@ -193,10 +193,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_cudy_wr1300-v2v3.dtsi b/target/linux/ramips/dts/mt7621_cudy_wr1300-v2v3.dtsi index 55da73dcda..da62648bc9 100644 --- a/target/linux/ramips/dts/mt7621_cudy_wr1300-v2v3.dtsi +++ b/target/linux/ramips/dts/mt7621_cudy_wr1300-v2v3.dtsi @@ -153,10 +153,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_cudy_wr2100.dts b/target/linux/ramips/dts/mt7621_cudy_wr2100.dts index 5b21cff130..8278551267 100644 --- a/target/linux/ramips/dts/mt7621_cudy_wr2100.dts +++ b/target/linux/ramips/dts/mt7621_cudy_wr2100.dts @@ -208,10 +208,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_cudy_x6.dtsi b/target/linux/ramips/dts/mt7621_cudy_x6.dtsi index 81a34e9302..0542640f13 100644 --- a/target/linux/ramips/dts/mt7621_cudy_x6.dtsi +++ b/target/linux/ramips/dts/mt7621_cudy_x6.dtsi @@ -116,10 +116,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_dlink_covr-x1860-a1.dts b/target/linux/ramips/dts/mt7621_dlink_covr-x1860-a1.dts index 90a5c196fc..cf924cffb6 100644 --- a/target/linux/ramips/dts/mt7621_dlink_covr-x1860-a1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_covr-x1860-a1.dts @@ -184,10 +184,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-853-a1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-853-a1.dts index 7e5809ed3a..7bc3a3f186 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-853-a1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dir-853-a1.dts @@ -187,10 +187,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-853-a3.dts b/target/linux/ramips/dts/mt7621_dlink_dir-853-a3.dts index 434a6d9f1a..9d47674959 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-853-a3.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dir-853-a3.dts @@ -203,10 +203,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-853-r1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-853-r1.dts index a3753f37d4..25d2768d23 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-853-r1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dir-853-r1.dts @@ -120,10 +120,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts index 8939e523fe..589669c36a 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts +++ b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts @@ -144,10 +144,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi b/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi index 11d673dc87..0f5b4f0d90 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi +++ b/target/linux/ramips/dts/mt7621_dlink_dir-8xx.dtsi @@ -110,10 +110,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-xx60-a1.dtsi b/target/linux/ramips/dts/mt7621_dlink_dir-xx60-a1.dtsi index 57652fb278..d5adb8728c 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-xx60-a1.dtsi +++ b/target/linux/ramips/dts/mt7621_dlink_dir-xx60-a1.dtsi @@ -188,10 +188,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi b/target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi index d7309dbdfe..8e7652cac7 100644 --- a/target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi +++ b/target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi @@ -151,10 +151,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts index bbc135ad83..503ec40b50 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts @@ -85,10 +85,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi index 418b0cfa9a..cdb94dcdc1 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi @@ -124,10 +124,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-gs.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-gs.dtsi index dae247f4ce..4b61b9faf2 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-gs.dtsi +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-gs.dtsi @@ -94,10 +94,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_etisalat_s3.dts b/target/linux/ramips/dts/mt7621_etisalat_s3.dts index 2fb3aedaff..60452a63f4 100644 --- a/target/linux/ramips/dts/mt7621_etisalat_s3.dts +++ b/target/linux/ramips/dts/mt7621_etisalat_s3.dts @@ -209,10 +209,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts index 9030c051f1..a017baa1ba 100644 --- a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts +++ b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts @@ -144,10 +144,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts b/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts index 849074111b..e4b254ebce 100644 --- a/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts +++ b/target/linux/ramips/dts/mt7621_glinet_gl-mt1300.dts @@ -145,10 +145,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts index 7ef7201faf..2710aa6f3e 100644 --- a/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts +++ b/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts @@ -116,10 +116,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi b/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi index 88148c6759..1520aaf5b1 100644 --- a/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi +++ b/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi @@ -58,10 +58,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &nand { diff --git a/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi b/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi index 53c5912397..dd7b72707e 100644 --- a/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi +++ b/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi @@ -73,10 +73,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &nand { diff --git a/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts b/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts index cae9f717b1..195a12b7d1 100644 --- a/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts +++ b/target/linux/ramips/dts/mt7621_hilink_hlk-7621a-evb.dts @@ -77,10 +77,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts index 1bf6640137..5a8f32d723 100644 --- a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts +++ b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts @@ -153,10 +153,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts b/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts index a7610070de..e764139451 100644 --- a/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts +++ b/target/linux/ramips/dts/mt7621_huasifei_ws1208v2.dts @@ -169,10 +169,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_humax_e10.dts b/target/linux/ramips/dts/mt7621_humax_e10.dts index dfa91ad43a..39eac32d53 100644 --- a/target/linux/ramips/dts/mt7621_humax_e10.dts +++ b/target/linux/ramips/dts/mt7621_humax_e10.dts @@ -169,10 +169,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts index 4f84302417..9e64077e0c 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts @@ -174,10 +174,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts index 4543f45a9f..86d8a93da6 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts @@ -186,10 +186,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts index 9de7297405..bcb7e57678 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-dx1200gr.dts @@ -170,10 +170,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts index b055afc3ad..519c52065b 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts @@ -160,10 +160,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi b/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi index b3063a333e..07187d8bfe 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi +++ b/target/linux/ramips/dts/mt7621_iodata_wn-xx-xr.dtsi @@ -161,10 +161,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts b/target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts index 790668cc41..e322e4efdb 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts @@ -153,10 +153,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts b/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts index e8c7f12d01..bfb6207199 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts +++ b/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts @@ -130,10 +130,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts b/target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts index 6990d31e39..7c46635fb5 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts +++ b/target/linux/ramips/dts/mt7621_iptime_a3004ns-dual.dts @@ -134,10 +134,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iptime_a3004t.dts b/target/linux/ramips/dts/mt7621_iptime_a3004t.dts index a96e89b3f3..7b2465c14f 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a3004t.dts +++ b/target/linux/ramips/dts/mt7621_iptime_a3004t.dts @@ -135,10 +135,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iptime_a6004ns-m.dtsi b/target/linux/ramips/dts/mt7621_iptime_a6004ns-m.dtsi index 848891056a..6bfdffefb7 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a6004ns-m.dtsi +++ b/target/linux/ramips/dts/mt7621_iptime_a6004ns-m.dtsi @@ -152,10 +152,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts index 249904da6a..7f28d7af3f 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a8004t.dts +++ b/target/linux/ramips/dts/mt7621_iptime_a8004t.dts @@ -138,10 +138,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iptime_ax2004m.dts b/target/linux/ramips/dts/mt7621_iptime_ax2004m.dts index 88067a4fa5..8263c062dd 100644 --- a/target/linux/ramips/dts/mt7621_iptime_ax2004m.dts +++ b/target/linux/ramips/dts/mt7621_iptime_ax2004m.dts @@ -148,10 +148,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_iptime_t5004.dts b/target/linux/ramips/dts/mt7621_iptime_t5004.dts index f7a5e8ca17..4a7f9aaaa1 100644 --- a/target/linux/ramips/dts/mt7621_iptime_t5004.dts +++ b/target/linux/ramips/dts/mt7621_iptime_t5004.dts @@ -91,10 +91,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts b/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts index 05980caa6f..548ab7ba59 100644 --- a/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts +++ b/target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts @@ -168,10 +168,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_jcg_q20.dts b/target/linux/ramips/dts/mt7621_jcg_q20.dts index 49f51ded7f..a8892ac8b1 100644 --- a/target/linux/ramips/dts/mt7621_jcg_q20.dts +++ b/target/linux/ramips/dts/mt7621_jcg_q20.dts @@ -180,10 +180,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_jcg_y2.dts b/target/linux/ramips/dts/mt7621_jcg_y2.dts index 54141cc2a2..5012bc3d62 100644 --- a/target/linux/ramips/dts/mt7621_jcg_y2.dts +++ b/target/linux/ramips/dts/mt7621_jcg_y2.dts @@ -121,10 +121,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts b/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts index 35d09832f2..6ee20c29c5 100644 --- a/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts +++ b/target/linux/ramips/dts/mt7621_keenetic_kn-3010.dts @@ -201,10 +201,8 @@ }; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &gmac0 { diff --git a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts index 0323769990..3b6026f377 100644 --- a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts +++ b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts @@ -179,10 +179,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_linksys_e5600.dts b/target/linux/ramips/dts/mt7621_linksys_e5600.dts index a059fd0698..08fcbbc515 100644 --- a/target/linux/ramips/dts/mt7621_linksys_e5600.dts +++ b/target/linux/ramips/dts/mt7621_linksys_e5600.dts @@ -175,10 +175,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_linksys_e7350.dts b/target/linux/ramips/dts/mt7621_linksys_e7350.dts index 77c123720f..db7387ddec 100644 --- a/target/linux/ramips/dts/mt7621_linksys_e7350.dts +++ b/target/linux/ramips/dts/mt7621_linksys_e7350.dts @@ -156,10 +156,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts b/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts index 35a90ea070..83c86ee11d 100644 --- a/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts +++ b/target/linux/ramips/dts/mt7621_linksys_ea6350-v4.dts @@ -16,14 +16,12 @@ phy-handle = <ðphy4>; }; -&mdio { - ethernet-phy@0 { - status = "disabled"; - }; +ðphy0 { + interrupts = <0>; +}; - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi index 5804f21591..70cf425b2c 100644 --- a/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi +++ b/target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi @@ -203,10 +203,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_linksys_re6500.dts b/target/linux/ramips/dts/mt7621_linksys_re6500.dts index d269899980..3c026a41a5 100644 --- a/target/linux/ramips/dts/mt7621_linksys_re6500.dts +++ b/target/linux/ramips/dts/mt7621_linksys_re6500.dts @@ -148,10 +148,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts index aaa75b0573..c6fa3622ef 100644 --- a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts +++ b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts @@ -138,10 +138,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts b/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts index 2da7f983a9..ecce30330b 100644 --- a/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts +++ b/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts @@ -45,10 +45,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_meig_slt866.dts b/target/linux/ramips/dts/mt7621_meig_slt866.dts index 7c7d5e43c4..d4e040649e 100644 --- a/target/linux/ramips/dts/mt7621_meig_slt866.dts +++ b/target/linux/ramips/dts/mt7621_meig_slt866.dts @@ -199,10 +199,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts b/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts index fb14bd7829..145b0eeb40 100644 --- a/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts +++ b/target/linux/ramips/dts/mt7621_mercusys_mr70x-v1.dts @@ -145,10 +145,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts index aad8a6776d..faa4e53f09 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts @@ -42,10 +42,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts index 223d03b9fd..11171d9535 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts @@ -96,10 +96,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi index 6e225c0825..f8dc6ebdbf 100644 --- a/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi +++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi @@ -118,10 +118,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi index 61c3ec3761..c125bcc4e3 100644 --- a/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi +++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi @@ -184,10 +184,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi index 13ce338588..273bb9469c 100644 --- a/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi +++ b/target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi @@ -115,10 +115,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_netgear_wac104.dts b/target/linux/ramips/dts/mt7621_netgear_wac104.dts index 9c706530d4..01583e8887 100644 --- a/target/linux/ramips/dts/mt7621_netgear_wac104.dts +++ b/target/linux/ramips/dts/mt7621_netgear_wac104.dts @@ -170,10 +170,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_netgear_wax202.dts b/target/linux/ramips/dts/mt7621_netgear_wax202.dts index bf580de6b8..226c461543 100644 --- a/target/linux/ramips/dts/mt7621_netgear_wax202.dts +++ b/target/linux/ramips/dts/mt7621_netgear_wax202.dts @@ -244,10 +244,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_netis_wf2881.dts b/target/linux/ramips/dts/mt7621_netis_wf2881.dts index 58d2c70655..0baf9d6483 100644 --- a/target/linux/ramips/dts/mt7621_netis_wf2881.dts +++ b/target/linux/ramips/dts/mt7621_netis_wf2881.dts @@ -162,10 +162,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_oraybox_x3a.dts b/target/linux/ramips/dts/mt7621_oraybox_x3a.dts index 7b33efd6e6..b9bccf0f28 100644 --- a/target/linux/ramips/dts/mt7621_oraybox_x3a.dts +++ b/target/linux/ramips/dts/mt7621_oraybox_x3a.dts @@ -156,10 +156,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts index 6a733698d2..92c76d4206 100644 --- a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts +++ b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts @@ -146,10 +146,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_planex_vr500.dts b/target/linux/ramips/dts/mt7621_planex_vr500.dts index 4d281670ef..df12331e24 100644 --- a/target/linux/ramips/dts/mt7621_planex_vr500.dts +++ b/target/linux/ramips/dts/mt7621_planex_vr500.dts @@ -104,10 +104,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_raisecom_msg1500-x-00.dts b/target/linux/ramips/dts/mt7621_raisecom_msg1500-x-00.dts index 98a2ffad5f..f4d893a366 100644 --- a/target/linux/ramips/dts/mt7621_raisecom_msg1500-x-00.dts +++ b/target/linux/ramips/dts/mt7621_raisecom_msg1500-x-00.dts @@ -163,10 +163,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_renkforce_ws-wn530hp3-a.dts b/target/linux/ramips/dts/mt7621_renkforce_ws-wn530hp3-a.dts index b3aaffeafe..b567b14f8e 100644 --- a/target/linux/ramips/dts/mt7621_renkforce_ws-wn530hp3-a.dts +++ b/target/linux/ramips/dts/mt7621_renkforce_ws-wn530hp3-a.dts @@ -140,10 +140,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_rostelecom_rt-fe-1a.dts b/target/linux/ramips/dts/mt7621_rostelecom_rt-fe-1a.dts index 8afe5f5485..1c2cb42fa0 100644 --- a/target/linux/ramips/dts/mt7621_rostelecom_rt-fe-1a.dts +++ b/target/linux/ramips/dts/mt7621_rostelecom_rt-fe-1a.dts @@ -228,10 +228,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts b/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts index 5afed4c695..b5818a7e60 100644 --- a/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts +++ b/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts @@ -146,10 +146,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi b/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi index fd952cbc93..b13b621d2f 100644 --- a/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi +++ b/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi @@ -208,10 +208,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts index 6ea2c199e3..b287056bf1 100644 --- a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts +++ b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me1.dts @@ -90,10 +90,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &pcie { diff --git a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts index 3b474819e1..cd0e7465ff 100644 --- a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts +++ b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts @@ -112,10 +112,8 @@ status = "okay"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &gmac0 { diff --git a/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts b/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts index 3448db5f03..4497531aee 100644 --- a/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts +++ b/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts @@ -154,10 +154,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts index d1310ad954..42e39c3152 100644 --- a/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts +++ b/target/linux/ramips/dts/mt7621_tenbay_t-mb5eu-v01.dts @@ -125,10 +125,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_totolink_a7000r.dts b/target/linux/ramips/dts/mt7621_totolink_a7000r.dts index 8c0062973d..e4937c55c5 100644 --- a/target/linux/ramips/dts/mt7621_totolink_a7000r.dts +++ b/target/linux/ramips/dts/mt7621_totolink_a7000r.dts @@ -135,10 +135,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_totolink_x5000r.dts b/target/linux/ramips/dts/mt7621_totolink_x5000r.dts index 24606904e1..e2d706c5db 100644 --- a/target/linux/ramips/dts/mt7621_totolink_x5000r.dts +++ b/target/linux/ramips/dts/mt7621_totolink_x5000r.dts @@ -130,10 +130,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts b/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts index 71ef4bc6b6..ac03545eca 100644 --- a/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts @@ -181,10 +181,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts b/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts index e9879128a3..b1a3e3e1bc 100644 --- a/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_archer-c6u-v1.dts @@ -206,10 +206,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts index d814cba261..bc56b82cd1 100644 --- a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts @@ -189,10 +189,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts index 2aea6bbbc0..2694b3890f 100644 --- a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts @@ -182,10 +182,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tplink_ec330-g5u-v1.dts b/target/linux/ramips/dts/mt7621_tplink_ec330-g5u-v1.dts index 6203308515..02560669d5 100644 --- a/target/linux/ramips/dts/mt7621_tplink_ec330-g5u-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_ec330-g5u-v1.dts @@ -283,10 +283,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts b/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts index 33070ef6ca..b71b7ad914 100644 --- a/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts +++ b/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts @@ -155,11 +155,8 @@ }; }; - -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &state_default { diff --git a/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts b/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts index c501727ca8..d6f9a368e4 100644 --- a/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts @@ -219,10 +219,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts b/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts index db460b43b2..234202ba87 100644 --- a/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts +++ b/target/linux/ramips/dts/mt7621_tplink_mr600-v2-eu.dts @@ -198,13 +198,10 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; - &switch0 { ports { port@1 { diff --git a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts index 4665f04f02..80467c88e9 100644 --- a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts +++ b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts @@ -14,10 +14,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts b/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts index 0d6d500222..f2fb48cac2 100644 --- a/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts +++ b/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts @@ -73,10 +73,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi b/target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi index b193aed103..77c06545e8 100644 --- a/target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi +++ b/target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi @@ -64,10 +64,8 @@ phy-handle = <ðphy0>; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi b/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi index 42f6cea2d3..79deb7559d 100644 --- a/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi +++ b/target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi @@ -81,10 +81,8 @@ phy-handle = <ðphy4>; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts b/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts index f9e37bee6e..78bc0ba4b0 100644 --- a/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts +++ b/target/linux/ramips/dts/mt7621_wavlink_ws-wn572hp3-4g.dts @@ -166,10 +166,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts index f0c7646b26..96054135ae 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts @@ -224,10 +224,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts index 1dfded14b1..3b377fca7c 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts @@ -85,10 +85,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi index 61359e8b21..2d2bf3d699 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi +++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4a-3g-v2.dtsi @@ -47,10 +47,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-cr660x.dtsi b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-cr660x.dtsi index ef637278af..598fafe871 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-cr660x.dtsi +++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-cr660x.dtsi @@ -173,10 +173,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_xiaomi_router-ac2100.dtsi b/target/linux/ramips/dts/mt7621_xiaomi_router-ac2100.dtsi index 468f9456bf..e0950e7c64 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_router-ac2100.dtsi +++ b/target/linux/ramips/dts/mt7621_xiaomi_router-ac2100.dtsi @@ -45,10 +45,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts b/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts index f1227552e8..e04afc81ba 100644 --- a/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts +++ b/target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.dts @@ -111,10 +111,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts b/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts index c47e34a5d6..6475c142e7 100644 --- a/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts +++ b/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts @@ -165,10 +165,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts index 9f4e8cf1ce..9d2491f634 100644 --- a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts +++ b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts @@ -175,10 +175,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_yuncore_ax820.dts b/target/linux/ramips/dts/mt7621_yuncore_ax820.dts index 0cdad1bfe5..316c180098 100644 --- a/target/linux/ramips/dts/mt7621_yuncore_ax820.dts +++ b/target/linux/ramips/dts/mt7621_yuncore_ax820.dts @@ -174,10 +174,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_yuncore_fap640.dts b/target/linux/ramips/dts/mt7621_yuncore_fap640.dts index 2cc3435a89..536b45e03f 100644 --- a/target/linux/ramips/dts/mt7621_yuncore_fap640.dts +++ b/target/linux/ramips/dts/mt7621_yuncore_fap640.dts @@ -189,13 +189,10 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; - &switch0 { gpio-controller; #gpio-cells = <2>; diff --git a/target/linux/ramips/dts/mt7621_yuncore_g720.dts b/target/linux/ramips/dts/mt7621_yuncore_g720.dts index 4b88064b49..2170bc83ec 100644 --- a/target/linux/ramips/dts/mt7621_yuncore_g720.dts +++ b/target/linux/ramips/dts/mt7621_yuncore_g720.dts @@ -137,10 +137,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_z-router_zr-2660.dts b/target/linux/ramips/dts/mt7621_z-router_zr-2660.dts index 34b151be75..3acc1529e5 100644 --- a/target/linux/ramips/dts/mt7621_z-router_zr-2660.dts +++ b/target/linux/ramips/dts/mt7621_z-router_zr-2660.dts @@ -93,10 +93,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &nand { diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts index e15c676c8a..7dfe9a7699 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts +++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts @@ -109,10 +109,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts index dfa49a2bc5..31a4e4482a 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts +++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts @@ -133,10 +133,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi index bbf121036c..c3712fea7b 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi +++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602-v04.dtsi @@ -187,10 +187,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi index b0182ee896..dcad7b26d2 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi +++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1602.dtsi @@ -186,10 +186,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1608.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1608.dtsi index 321274bb15..fc8a91e398 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1608.dtsi +++ b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg1608.dtsi @@ -156,10 +156,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy4: ethernet-phy@4 { - reg = <4>; - }; +ðphy4 { + /delete-property/ interrupts; }; &switch0 { diff --git a/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts b/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts index b82a8669b3..6bf65a0218 100644 --- a/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts +++ b/target/linux/ramips/dts/mt7621_zyxel_wsm20.dts @@ -193,10 +193,8 @@ nvmem-cell-names = "mac-address"; }; -&mdio { - ethphy0: ethernet-phy@0 { - reg = <0>; - }; +ðphy0 { + /delete-property/ interrupts; }; &pcie {