diff options
Diffstat (limited to 'target/linux/realtek/dts-5.10')
3 files changed, 49 insertions, 1 deletions
diff --git a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts index 0fef52984c..bf43e412b1 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts +++ b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts @@ -6,3 +6,23 @@ compatible = "tplink,sg2008p-v1", "realtek,rtl838x-soc"; model = "TP-Link SG2008P v1"; }; + +&tps23861_20 { + status = "disabled"; +}; + +&phy24 { + status = "disabled"; +}; + +&phy26 { + status = "disabled"; +}; + +&port24 { + status = "disabled"; +}; + +&port26 { + status = "disabled"; +}; diff --git a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2210p-v3.dts b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2210p-v3.dts new file mode 100644 index 0000000000..4b0022c388 --- /dev/null +++ b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2210p-v3.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "rtl8380_tplink_sg2xxx.dtsi" + +/ { + compatible = "tplink,sg2210p-v3", "realtek,rtl838x-soc"; + model = "TP-Link SG2210P v3"; +}; + +&port24 { + label = "lan-sfp2"; +}; + +&port26 { + label = "lan-sfp1"; +}; diff --git a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2xxx.dtsi b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2xxx.dtsi index 8eb309d8a8..e727a9405a 100644 --- a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2xxx.dtsi +++ b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2xxx.dtsi @@ -51,7 +51,13 @@ #address-cells = <1>; #size-cells = <0>; - tps23861@28 { + tps23861_20: tps23861@20 { + compatible = "ti,tps23861"; + reg = <0x20>; + shunt-resistor-micro-ohms = <255000>; + }; + + tps23861_28: tps23861@28 { compatible = "ti,tps23861"; reg = <0x28>; shunt-resistor-micro-ohms = <255000>; @@ -140,6 +146,9 @@ INTERNAL_PHY(13) INTERNAL_PHY(14) INTERNAL_PHY(15) + + INTERNAL_PHY(24) + INTERNAL_PHY(26) }; }; @@ -157,6 +166,9 @@ SWITCH_PORT(9, 7, internal) SWITCH_PORT(8, 8, internal) + SWITCH_SFP_PORT(24, 9, 1000base-x) + SWITCH_SFP_PORT(26, 10, 1000base-x) + port@28 { ethernet = <ðernet0>; reg = <28>; |