blob: f2cadd7f0b8e9b5a3b47278485426078063c5990 [file] [log] [blame]
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2013-2015 Freescale Semiconductor, Inc.
4 * Copyright 2020 Hitachi Power Grids. All rights reserved.
5 */
6
7/dts-v1/;
8#include "ls1021a.dtsi"
9
10/ {
11 model = "Hitachi-Powergrids SELI8 Service Unit for XMC and FOX";
12
13 chosen {
14 stdout-path = &uart0;
15 };
16};
17
18&enet0 {
19 status = "okay";
20 tbi-handle = <&tbi0>;
21 phy-connection-type = "sgmii";
22 fixed-link {
23 speed = <1000>;
24 full-duplex;
25 };
26};
27
28&enet1 {
29 status = "okay";
30 tbi-handle = <&tbi1>;
31 phy-connection-type = "sgmii";
32 fixed-link {
33 speed = <1000>;
34 full-duplex;
35 };
36};
37
38&enet2 {
39 phy-handle = <&debug_phy>;
40 phy-connection-type = "rgmii-id";
Aleksandar Gerasimovski7539bb32021-11-16 12:47:25 +000041 max-speed = <100>;
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +000042 status = "okay";
43};
44
45&i2c0 {
46 status = "okay";
47};
48
49&ifc {
50 #address-cells = <2>;
51 #size-cells = <1>;
52 /* NOR Flash on board */
53 ranges = <0x0 0x0 0x60000000 0x04000000>;
54 status = "okay";
55
56 nor@0,0 {
57 #address-cells = <1>;
58 #size-cells = <1>;
59 compatible = "cfi-flash";
60 reg = <0x0 0x0 0x4000000>;
61 bank-width = <2>;
62 device-width = <1>;
63
64 partition@0 {
65 label = "rcw";
66 reg = <0x0 0x20000>;
67 read-only;
68 };
69 partition@20000 {
70 label = "qe";
71 reg = <0x20000 0x20000>;
72 };
73 partition@40000 {
74 label = "envred";
75 reg = <0x40000 0x20000>;
76 };
77 partition@60000 {
78 label = "env";
79 reg = <0x60000 0x20000>;
80 };
81 partition@100000 {
82 label = "u-boot";
83 reg = <0x100000 0x100000>;
84 };
85 partition@200000 {
86 label = "ubi0";
87 reg = <0x200000 0x3E00000>;
88 };
89 };
90};
91
92&mdio0 {
93 debug_phy: ethernet-phy@11 {
94 reg = <0x11>;
95 };
96
97 tbi0: tbi-phy@0xb {
98 reg = <0xb>;
99 device_type = "tbi-phy";
100 };
101};
102
103&mdio1 {
104 tbi1: tbi-phy@0xd {
105 reg = <0xd>;
106 device_type = "tbi-phy";
107 };
108};
109
110&uart0 {
111 status = "okay";
112};