forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/armada-385-turris-omnia.dts
....@@ -22,6 +22,12 @@
2222 stdout-path = &uart0;
2323 };
2424
25
+ aliases {
26
+ ethernet0 = &eth0;
27
+ ethernet1 = &eth1;
28
+ ethernet2 = &eth2;
29
+ };
30
+
2531 memory {
2632 device_type = "memory";
2733 reg = <0x00000000 0x40000000>; /* 1024 MB */
....@@ -291,7 +297,17 @@
291297 };
292298 };
293299
294
- /* port 6 is connected to eth0 */
300
+ ports@6 {
301
+ reg = <6>;
302
+ label = "cpu";
303
+ ethernet = <&eth0>;
304
+ phy-mode = "rgmii-id";
305
+
306
+ fixed-link {
307
+ speed = <1000>;
308
+ full-duplex;
309
+ };
310
+ };
295311 };
296312 };
297313 };
....@@ -307,7 +323,7 @@
307323 marvell,function = "spi0";
308324 };
309325
310
- spi0cs1_pins: spi0cs1-pins {
326
+ spi0cs2_pins: spi0cs2-pins {
311327 marvell,pins = "mpp26";
312328 marvell,function = "spi0";
313329 };
....@@ -342,7 +358,7 @@
342358 };
343359 };
344360
345
- /* MISO, MOSI, SCLK and CS1 are routed to pin header CN11 */
361
+ /* MISO, MOSI, SCLK and CS2 are routed to pin header CN11 */
346362 };
347363
348364 &uart0 {