1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 compatible = "realtek,rtl838x-mdio";
49 SWITCH_PORT(0, 1, qsgmii)
50 SWITCH_PORT(1, 2, qsgmii)
51 SWITCH_PORT(2, 3, qsgmii)
52 SWITCH_PORT(3, 4, qsgmii)
53 SWITCH_PORT(4, 5, qsgmii)
54 SWITCH_PORT(5, 6, qsgmii)
55 SWITCH_PORT(6, 7, qsgmii)
56 SWITCH_PORT(7, 8, qsgmii)
58 SWITCH_PORT(8, 9, internal)
59 SWITCH_PORT(9, 10, internal)
60 SWITCH_PORT(10, 11, internal)
61 SWITCH_PORT(11, 12, internal)
62 SWITCH_PORT(12, 13, internal)
63 SWITCH_PORT(13, 14, internal)
64 SWITCH_PORT(14, 15, internal)
65 SWITCH_PORT(15, 16, internal)
67 SWITCH_PORT(16, 17, qsgmii)
68 SWITCH_PORT(17, 18, qsgmii)
69 SWITCH_PORT(18, 19, qsgmii)
70 SWITCH_PORT(19, 20, qsgmii)
71 SWITCH_PORT(20, 21, qsgmii)
72 SWITCH_PORT(21, 22, qsgmii)
73 SWITCH_PORT(22, 23, qsgmii)
74 SWITCH_PORT(23, 24, qsgmii)
76 SWITCH_PORT(24, 25, qsgmii)
77 SWITCH_PORT(25, 26, qsgmii)
78 SWITCH_PORT(26, 27, qsgmii)
79 SWITCH_PORT(27, 28, qsgmii)
82 ethernet = <ðernet0>;
84 phy-mode = "internal";