File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
arch/riscv/boot/dts/sophgo Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 31
31
#reset-cells = <1>;
32
32
};
33
33
34
+ mdio: mdio@3009800 {
35
+ compatible = "mdio-mux-mmioreg", "mdio-mux";
36
+ reg = <0x3009800 0x4>;
37
+ #address-cells = <1>;
38
+ #size-cells = <0>;
39
+ mdio-parent-bus = <&gmac0_mdio>;
40
+ mux-mask = <0x80>;
41
+ status = "disabled";
42
+
43
+ internal_mdio: mdio@0 {
44
+ #address-cells = <1>;
45
+ #size-cells = <0>;
46
+ reg = <0>;
47
+
48
+ internal_ephy: phy@0 {
49
+ compatible = "ethernet-phy-ieee802.3-c22";
50
+ reg = <1>;
51
+ };
52
+ };
53
+
54
+ external_mdio: mdio@80 {
55
+ #address-cells = <1>;
56
+ #size-cells = <0>;
57
+ reg = <0x80>;
58
+ };
59
+ };
60
+
34
61
gpio0: gpio@3020000 {
35
62
compatible = "snps,dw-apb-gpio";
36
63
reg = <0x3020000 0x1000>;
196
223
clock-names = "stmmaceth", "ptp_ref";
197
224
interrupts = <SOC_PERIPHERAL_IRQ(15) IRQ_TYPE_LEVEL_HIGH>;
198
225
interrupt-names = "macirq";
226
+ phy-handle = <&internal_ephy>;
227
+ phy-mode = "internal";
199
228
resets = <&rst RST_ETH0>;
200
229
reset-names = "stmmaceth";
201
230
rx-fifo-depth = <8192>;
You can’t perform that action at this time.
0 commit comments