OSDN Git Service

realtek: add support for ZyXEL GS1900-16
[immortalwrt/immortalwrt.git] / target / linux / realtek / dts-5.10 / rtl8382_zyxel_gs1900-16.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "rtl8380_zyxel_gs1900.dtsi"
4
5 / {
6         compatible = "zyxel,gs1900-16", "realtek,rtl838x-soc";
7         model = "ZyXEL GS1900-16";
8 };
9
10 &mdio {
11         EXTERNAL_PHY(16)
12         EXTERNAL_PHY(17)
13         EXTERNAL_PHY(18)
14         EXTERNAL_PHY(19)
15         EXTERNAL_PHY(20)
16         EXTERNAL_PHY(21)
17         EXTERNAL_PHY(22)
18         EXTERNAL_PHY(23)
19 };
20
21 &switch0 {
22         ports {
23                 SWITCH_PORT(16, 9, qsgmii)
24                 SWITCH_PORT(17, 10, qsgmii)
25                 SWITCH_PORT(18, 11, qsgmii)
26                 SWITCH_PORT(19, 12, qsgmii)
27                 SWITCH_PORT(20, 13, qsgmii)
28                 SWITCH_PORT(21, 14, qsgmii)
29                 SWITCH_PORT(22, 15, qsgmii)
30                 SWITCH_PORT(23, 16, qsgmii)
31         };
32 };
33
34 &gpio1 {
35         /delete-node/ poe_enable;
36 };