From c0e50ebaf795fd392e4fda4978a48b1382fad5c9 Mon Sep 17 00:00:00 2001 From: Mieczyslaw Nalewaj Date: Sat, 27 Jul 2024 14:50:04 +0200 Subject: kernel: rtl8367b: use realtek,extif property Use realtek,extif property instead of realtek,extif0 to extif2 by extending it with the cpu_port parameter. The extif number is automatically calculated based on cpu_port. Signed-off-by: Mieczyslaw Nalewaj Link: https://github.com/openwrt/openwrt/pull/15749 Signed-off-by: Hauke Mehrtens --- target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts | 2 +- target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts | 2 +- target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts | 2 +- target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts | 2 +- target/linux/ramips/dts/mt7620a_zyxel_keenetic-viva.dts | 2 +- target/linux/ramips/dts/rt3662_dlink_dir-645.dts | 2 +- target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'target/linux/ramips/dts') diff --git a/target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts b/target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts index d95a4ad99d..19b1538241 100644 --- a/target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts +++ b/target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts @@ -77,7 +77,7 @@ compatible = "realtek,rtl8367b"; gpio-sda = <&gpio0 22 GPIO_ACTIVE_HIGH>; gpio-sck = <&gpio0 23 GPIO_ACTIVE_HIGH>; - realtek,extif1 = <1 0 1 1 1 1 1 1 2>; + realtek,extif = <6 1 0 1 1 1 1 1 1 2>; }; }; diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts index 06f3eba37b..feb619a0c0 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts @@ -55,7 +55,7 @@ rtl8367rb { compatible = "realtek,rtl8367b"; - realtek,extif1 = <1 0 1 1 1 1 1 1 2>; + realtek,extif = <6 1 0 1 1 1 1 1 1 2>; mii-bus = <&mdio0>; }; }; diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts index 855e06e9f6..91b3a255c1 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c5-v4.dts @@ -74,7 +74,7 @@ rtl8367s { compatible = "realtek,rtl8367b"; - realtek,extif2 = <1 0 1 1 1 1 1 1 2>; + realtek,extif = <7 1 0 1 1 1 1 1 1 2>; mii-bus = <&mdio0>; phy-id = <29>; }; diff --git a/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts b/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts index 7fc075aedd..a39455cf29 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_ec220-g5-v2.dts @@ -82,7 +82,7 @@ rtl8367s { compatible = "realtek,rtl8367b"; - realtek,extif2 = <1 0 1 1 1 1 1 1 2>; + realtek,extif = <7 1 0 1 1 1 1 1 1 2>; mii-bus = <&mdio0>; phy-id = <29>; }; diff --git a/target/linux/ramips/dts/mt7620a_zyxel_keenetic-viva.dts b/target/linux/ramips/dts/mt7620a_zyxel_keenetic-viva.dts index 0630e8a160..d095b45630 100644 --- a/target/linux/ramips/dts/mt7620a_zyxel_keenetic-viva.dts +++ b/target/linux/ramips/dts/mt7620a_zyxel_keenetic-viva.dts @@ -85,7 +85,7 @@ rtl8367rb { compatible = "realtek,rtl8367b"; - realtek,extif2 = <1 0 1 1 1 1 1 1 2>; + realtek,extif = <7 1 0 1 1 1 1 1 1 2>; mii-bus = <&mdio0>; }; }; diff --git a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts index 3d6479f44f..8cfa48e195 100644 --- a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts +++ b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts @@ -19,7 +19,7 @@ compatible = "realtek,rtl8367b"; gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; - realtek,extif1 = <1 0 1 1 1 1 1 1 2>; + realtek,extif = <6 1 0 1 1 1 1 1 1 2>; }; keys { diff --git a/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi b/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi index a2d1906b89..4d60bb3c05 100644 --- a/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi +++ b/target/linux/ramips/dts/rt3883_belkin_f9k110x.dtsi @@ -12,7 +12,7 @@ compatible = "realtek,rtl8367b"; gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; - realtek,extif1 = <1 0 1 1 1 1 1 1 2>; + realtek,extif = <5 1 0 1 1 1 1 1 1 2>; }; }; -- cgit v1.2.3