blob: 03ce3ab4e47605e72256c2ab49c9c79a7b1b4208 [file] [log] [blame]
Aleksandar Gerasimovski032bdbc2021-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 Gerasimovski4f8a0f82021-11-16 12:47:25 +000041 max-speed = <100>;
Aleksandar Gerasimovski032bdbc2021-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 {
Aleksandar Gerasimovski3d1a8d22021-11-16 13:11:17 +000086 label = "redenvred";
87 reg = <0x200000 0x20000>;
88 };
89 partition@220000 {
90 label = "redenv";
91 reg = <0x220000 0x20000>;
92 };
93 partition@240000 {
94 label = "redu-boot";
95 reg = <0x240000 0x100000>;
96 };
97 partition@340000 {
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +000098 label = "ubi0";
Aleksandar Gerasimovski3d1a8d22021-11-16 13:11:17 +000099 reg = <0x340000 0x03C00000>;
Aleksandar Gerasimovski032bdbc2021-02-22 18:18:11 +0000100 };
101 };
102};
103
104&mdio0 {
105 debug_phy: ethernet-phy@11 {
106 reg = <0x11>;
107 };
108
109 tbi0: tbi-phy@0xb {
110 reg = <0xb>;
111 device_type = "tbi-phy";
112 };
113};
114
115&mdio1 {
116 tbi1: tbi-phy@0xd {
117 reg = <0xd>;
118 device_type = "tbi-phy";
119 };
120};
121
122&uart0 {
123 status = "okay";
124};