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-16", "realtek,rtl838x-soc";
7 model = "D-Link DGS-1210-16";
12 compatible = "realtek,rtl838x-mdio";
13 regmap = <ðernet0>;
47 SWITCH_PORT(0, 1, qsgmii)
48 SWITCH_PORT(1, 2, qsgmii)
49 SWITCH_PORT(2, 3, qsgmii)
50 SWITCH_PORT(3, 4, qsgmii)
51 SWITCH_PORT(4, 5, qsgmii)
52 SWITCH_PORT(5, 6, qsgmii)
53 SWITCH_PORT(6, 7, qsgmii)
54 SWITCH_PORT(7, 8, qsgmii)
56 SWITCH_PORT(8, 9, internal)
57 SWITCH_PORT(9, 10, internal)
58 SWITCH_PORT(10, 11, internal)
59 SWITCH_PORT(11, 12, internal)
60 SWITCH_PORT(12, 13, internal)
61 SWITCH_PORT(13, 14, internal)
62 SWITCH_PORT(14, 15, internal)
63 SWITCH_PORT(15, 16, internal)
65 SWITCH_PORT(24, 17, qsgmii)
66 SWITCH_PORT(25, 18, qsgmii)
67 SWITCH_PORT(26, 19, qsgmii)
68 SWITCH_PORT(27, 20, qsgmii)
71 ethernet = <ðernet0>;
73 phy-mode = "internal";