1// 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";
41	status = "okay";
42};
43
44&i2c0 {
45	status = "okay";
46};
47
48&ifc {
49	#address-cells = <2>;
50	#size-cells = <1>;
51	/* NOR Flash on board */
52	ranges = <0x0 0x0 0x60000000 0x04000000>;
53	status = "okay";
54
55	nor@0,0 {
56		#address-cells = <1>;
57		#size-cells = <1>;
58		compatible = "cfi-flash";
59		reg = <0x0 0x0 0x4000000>;
60		bank-width = <2>;
61		device-width = <1>;
62
63		partition@0 {
64			label = "rcw";
65			reg = <0x0 0x20000>;
66			read-only;
67		};
68		partition@20000 {
69			label = "qe";
70			reg = <0x20000 0x20000>;
71		};
72		partition@40000 {
73			label = "envred";
74			reg = <0x40000 0x20000>;
75		};
76		partition@60000 {
77			label = "env";
78			reg = <0x60000 0x20000>;
79		};
80		partition@100000 {
81			label = "u-boot";
82			reg = <0x100000 0x100000>;
83		};
84		partition@200000 {
85			label = "ubi0";
86			reg = <0x200000 0x3E00000>;
87		};
88	};
89};
90
91&mdio0 {
92	debug_phy: ethernet-phy@11 {
93		reg = <0x11>;
94	};
95
96	tbi0: tbi-phy@0xb {
97		reg = <0xb>;
98		device_type = "tbi-phy";
99	};
100};
101
102&mdio1 {
103	tbi1: tbi-phy@0xd {
104		reg = <0xd>;
105		device_type = "tbi-phy";
106	};
107};
108
109&uart0 {
110	status = "okay";
111};
112