1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "rtl8382_d-link_dgs-1210.dtsi"
6 compatible = "d-link,dgs-1210-28", "realtek,rtl838x-soc";
7 model = "D-Link DGS-1210-28";
12 compatible = "realtek,rtl838x-mdio";
13 regmap = <ðernet0>;
56 SWITCH_PORT(0, 1, qsgmii)
57 SWITCH_PORT(1, 2, qsgmii)
58 SWITCH_PORT(2, 3, qsgmii)
59 SWITCH_PORT(3, 4, qsgmii)
60 SWITCH_PORT(4, 5, qsgmii)
61 SWITCH_PORT(5, 6, qsgmii)
62 SWITCH_PORT(6, 7, qsgmii)
63 SWITCH_PORT(7, 8, qsgmii)
65 SWITCH_PORT(8, 9, internal)
66 SWITCH_PORT(9, 10, internal)
67 SWITCH_PORT(10, 11, internal)
68 SWITCH_PORT(11, 12, internal)
69 SWITCH_PORT(12, 13, internal)
70 SWITCH_PORT(13, 14, internal)
71 SWITCH_PORT(14, 15, internal)
72 SWITCH_PORT(15, 16, internal)
74 SWITCH_PORT(16, 17, qsgmii)
75 SWITCH_PORT(17, 18, qsgmii)
76 SWITCH_PORT(18, 19, qsgmii)
77 SWITCH_PORT(19, 20, qsgmii)
78 SWITCH_PORT(20, 21, qsgmii)
79 SWITCH_PORT(21, 22, qsgmii)
80 SWITCH_PORT(22, 23, qsgmii)
81 SWITCH_PORT(23, 24, qsgmii)
83 SWITCH_PORT(24, 25, qsgmii)
84 SWITCH_PORT(25, 26, qsgmii)
85 SWITCH_PORT(26, 27, qsgmii)
86 SWITCH_PORT(27, 28, qsgmii)
89 ethernet = <ðernet0>;
91 phy-mode = "internal";