Skip to content

Commit 8eab0f2

Browse files
cpackham-atlnzNipaLocal
authored and
NipaLocal
committed
mips: dts: cameo-rtl9302c: Add switch block
Add the switch port and phys to the cameo-rtl9302c-2x-rtl8224-2xge board. Signed-off-by: Chris Packham <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent f1bf65e commit 8eab0f2

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

arch/mips/boot/dts/realtek/cameo-rtl9302c-2x-rtl8224-2xge.dts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,51 @@
7171
};
7272
};
7373
};
74+
75+
&switch0 {
76+
ethernet-ports {
77+
#address-cells = <1>;
78+
#size-cells = <0>;
79+
80+
port@0 {
81+
reg = <0>;
82+
phy-mode = "usxgmii";
83+
};
84+
port@1 {
85+
reg = <1>;
86+
phy-mode = "usxgmii";
87+
};
88+
port@2 {
89+
reg = <2>;
90+
phy-mode = "usxgmii";
91+
};
92+
port@3 {
93+
reg = <3>;
94+
phy-mode = "usxgmii";
95+
};
96+
port@16 {
97+
reg = <16>;
98+
phy-mode = "usxgmii";
99+
};
100+
port@17 {
101+
reg = <17>;
102+
phy-mode = "usxgmii";
103+
};
104+
port@18 {
105+
reg = <18>;
106+
phy-mode = "usxgmii";
107+
};
108+
port@19 {
109+
reg = <19>;
110+
phy-mode = "usxgmii";
111+
};
112+
port@24{
113+
reg = <24>;
114+
phy-mode = "10gbase-r";
115+
};
116+
port@25{
117+
reg = <25>;
118+
phy-mode = "10gbase-r";
119+
};
120+
};
121+
};

0 commit comments

Comments
 (0)