hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/bcm958625hr.dts
....@@ -39,15 +39,11 @@
3939 model = "NorthStar Plus SVK (BCM958625HR)";
4040 compatible = "brcm,bcm58625", "brcm,nsp";
4141
42
- aliases {
43
- serial0 = &uart0;
44
- };
45
-
4642 chosen {
4743 stdout-path = "serial0:115200n8";
4844 };
4945
50
- memory {
46
+ memory@60000000 {
5147 device_type = "memory";
5248 reg = <0x60000000 0x20000000>;
5349 };
....@@ -58,6 +54,23 @@
5854 open-source;
5955 priority = <200>;
6056 };
57
+
58
+ sfp: sfp {
59
+ compatible = "sff,sfp";
60
+ i2c-bus = <&i2c0>;
61
+ mod-def0-gpios = <&gpioa 28 GPIO_ACTIVE_LOW>;
62
+ los-gpios = <&gpioa 24 GPIO_ACTIVE_HIGH>;
63
+ tx-fault-gpios = <&gpioa 30 GPIO_ACTIVE_HIGH>;
64
+ tx-disable-gpios = <&gpioa 26 GPIO_ACTIVE_HIGH>;
65
+ };
66
+};
67
+
68
+&i2c0 {
69
+ status = "okay";
70
+};
71
+
72
+&dma {
73
+ status = "okay";
6174 };
6275
6376 &amac0 {
....@@ -210,6 +223,14 @@
210223 reg = <4>;
211224 };
212225
226
+ port@5 {
227
+ label = "sfp";
228
+ phy-mode = "sgmii";
229
+ reg = <5>;
230
+ sfp = <&sfp>;
231
+ managed = "in-band-status";
232
+ };
233
+
213234 port@8 {
214235 ethernet = <&amac2>;
215236 label = "cpu";