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