600426bb6e1e16a5104a018315bb150314ee1554
[openwrt/openwrt.git] / target / linux / mpc85xx / files / arch / powerpc / boot / dts / red-15w-rev1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later or MIT
2
3 /include/ "fsl/p1010si-pre.dtsi"
4
5 / {
6 model = "Sophos RED 15w Rev.1";
7 compatible = "sophos,red-15w-rev1";
8
9 memory {
10 device_type = "memory";
11 };
12
13 leds {
14 compatible = "gpio-leds";
15
16 system_green {
17 gpios = <&gpio0 7 0>;
18 label = "red-15w-rev1:green:system";
19 };
20
21 system_red {
22 gpios = <&gpio0 3 0>;
23 label = "red-15w-rev1:red:system";
24 };
25
26 router {
27 gpios = <&gpio0 5 1>;
28 label = "red-15w-rev1:green:router";
29 };
30
31 internet {
32 gpios = <&gpio0 4 1>;
33 label = "red-15w-rev1:green:internet";
34 };
35
36 tunnel {
37 gpios = <&gpio0 8 1>;
38 label = "red-15w-rev1:green:tunnel";
39 };
40 };
41
42 soc: soc@ffe00000 {
43 ranges = <0x0 0x0 0xffe00000 0x100000>;
44
45 i2c@3000 {
46 eeprom@50 {
47 compatible = "st,24c256";
48 reg = <0x50>;
49 };
50 };
51
52 i2c@3100 {
53 eeprom@52 {
54 compatible = "atmel,24c01";
55 reg = < 0x52 >;
56 };
57 };
58
59 gpio0: gpio-controller@fc00 {
60 };
61
62 usb@22000 {
63 phy_type = "utmi";
64 dr_mode = "host";
65 };
66
67 mdio@24000 {
68 phy0: ethernet-phy@0 {
69 reg = <0x0>;
70 };
71 };
72
73 mdio@25000 {
74 tbi_phy: tbi-phy@11 {
75 reg = <0x11>;
76 };
77 };
78
79 mdio@26000 {
80 status = "disabled";
81 };
82
83 enet0: ethernet@b0000 {
84 phy-connection-type = "rgmii-id";
85
86 fixed-link {
87 speed = <1000>;
88 full-duplex;
89 };
90 };
91
92 enet1: ethernet@b1000 {
93 phy-handle = <&phy0>;
94 phy-connection-type = "sgmii";
95
96 tbi-handle = <&tbi_phy>;
97 };
98
99 enet2: ethernet@b2000 {
100 status = "disabled";
101 };
102
103 sdhc@2e000 {
104 status = "disabled";
105 };
106 };
107
108 ifc: ifc@ffe1e000 {
109 reg = <0x0 0xffe1e000 0 0x2000>;
110
111 /* NOR, NAND Flashes and CPLD on board */
112 ranges = <0x0 0x0 0x0 0xee000000 0x02000000
113 0x1 0x0 0x0 0xff800000 0x00010000
114 0x3 0x0 0x0 0xffb00000 0x00000020>;
115
116 nand@1,0 {
117 compatible = "fsl,ifc-nand";
118 reg = <0x1 0x0 0x10000>;
119
120 partitions {
121 compatible = "fixed-partitions";
122 #address-cells = <1>;
123 #size-cells = <1>;
124
125 /*
126 * Original partition layout:
127 * 0x000000000000-0x000000100000 : "NAND U-Boot Image"
128 * 0x000000100000-0x000000200000 : "NAND U-Boot Environment"
129 * 0x000000200000-0x000000300000 : "Provisioning"
130 * - OS-Image 1
131 * 0x000000300000-0x000000400000 : "fdt1"
132 * 0x000000400000-0x000000c00000 : "uimage1"
133 * 0x000000c00000-0x000001c00000 : "rootfs1"
134 * - OS-Image 2
135 * 0x000001c00000-0x000001d00000 : "fdt2"
136 * 0x000001d00000-0x000002500000 : "uimage2"
137 * 0x000002500000-0x000003500000 : "rootfs2"
138 * - Empty
139 * 0x000003500000-0x000008000000 : "data"
140 */
141
142 partition@0 {
143 reg = <0x0 0x100000>;
144 label = "u-boot";
145 read-only;
146 };
147
148 partition@100000 {
149 reg = <0x100000 0x100000>;
150 label = "u-boot-env";
151 };
152
153 partition@200000 {
154 reg = <0x200000 0x100000>;
155 label = "provisioning";
156 read-only;
157 };
158
159 partition@300000 {
160 reg = <0x300000 0x800000>;
161 label = "kernel";
162 };
163
164 partition@b00000 {
165 reg = <0xb00000 0x7500000>;
166 label = "ubi";
167 };
168
169 oem-partition@300000 {
170 reg = <0x300000 0x1900000>;
171 label = "sophos-os1";
172 };
173
174 oem-partition@1c00000 {
175 reg = <0x1c00000 0x1900000>;
176 label = "sophos-os2";
177 };
178
179 oem-partition@3500000 {
180 reg = <0x3500000 0x4b00000>;
181 label = "sophos-data";
182 };
183 };
184 };
185 };
186
187 pci0: pcie@ffe09000 {
188 status = "disabled";
189 };
190
191 pci1: pcie@ffe0a000 {
192 reg = <0 0xffe0a000 0 0x1000>;
193 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
194 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
195 pcie@0 {
196 ranges = <0x2000000 0x0 0x80000000
197 0x2000000 0x0 0x80000000
198 0x0 0x20000000
199
200 0x1000000 0x0 0x0
201 0x1000000 0x0 0x0
202 0x0 0x100000>;
203 };
204 };
205 };
206
207 /include/ "fsl/p1010si-post.dtsi"