]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: dts: add phy-package to XGS1x10 series
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 8 Jun 2026 16:23:58 +0000 (18:23 +0200)
committerMarkus Stockhausen <markus.stockhausen@gmx.de>
Sat, 13 Jun 2026 14:21:12 +0000 (16:21 +0200)
Describe the RTL8218D packages in the device tree.

Link: https://github.com/openwrt/openwrt/pull/23711
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/dts/rtl9302_zyxel_xgs1x10-12-common.dtsi

index 6ca1f1d919024ade63361b71183679df7ae8f9a5..5abed94d505ec93db9ab87d48213d99ecf578f53 100644 (file)
         * reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
         * disabled because we do not know how to bring up again
         */
-       PHY_C22(0, 0)
-       PHY_C22(1, 1)
-       PHY_C22(2, 2)
-       PHY_C22(3, 3)
-       PHY_C22(4, 4)
-       PHY_C22(5, 5)
-       PHY_C22(6, 6)
-       PHY_C22(7, 7)
+       ethernet-phy-package@0 {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               reg = <0>;
+
+               PHY_C22(0, 0)
+               PHY_C22(1, 1)
+               PHY_C22(2, 2)
+               PHY_C22(3, 3)
+               PHY_C22(4, 4)
+               PHY_C22(5, 5)
+               PHY_C22(6, 6)
+               PHY_C22(7, 7)
+       };
 };
 
 &switch0 {