1 // SPDX-License-Identifier: GPL-2.0-or-later or MIT
3 #include <dt-bindings/gpio/gpio.h>
5 /include/ "fsl/p1010si-pre.dtsi"
8 model = "Sophos RED 15w Rev.1";
9 compatible = "sophos,red-15w-rev1";
12 led-boot = &system_green;
13 led-failsafe = &system_red;
14 led-running = &system_green;
15 led-upgrade = &system_red;
19 device_type = "memory";
23 compatible = "gpio-leds";
25 system_green: system_green {
26 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
27 label = "red-15w-rev1:green:system";
30 system_red: system_red {
31 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
32 label = "red-15w-rev1:red:system";
36 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
37 label = "red-15w-rev1:green:router";
41 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
42 label = "red-15w-rev1:green:internet";
46 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
47 label = "red-15w-rev1:green:tunnel";
52 ranges = <0x0 0x0 0xffe00000 0x100000>;
56 compatible = "st,24c256";
63 compatible = "atmel,24c01";
68 gpio0: gpio-controller@fc00 {
77 phy0: ethernet-phy@0 {
92 enet0: ethernet@b0000 {
93 phy-connection-type = "rgmii-id";
101 enet1: ethernet@b1000 {
102 phy-handle = <&phy0>;
103 phy-connection-type = "sgmii";
105 tbi-handle = <&tbi_phy>;
108 enet2: ethernet@b2000 {
118 reg = <0x0 0xffe1e000 0 0x2000>;
120 /* NOR, NAND Flashes and CPLD on board */
121 ranges = <0x0 0x0 0x0 0xee000000 0x02000000
122 0x1 0x0 0x0 0xff800000 0x00010000
123 0x3 0x0 0x0 0xffb00000 0x00000020>;
126 compatible = "fsl,ifc-nand";
127 reg = <0x1 0x0 0x10000>;
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
135 * Original partition layout:
136 * 0x000000000000-0x000000100000 : "NAND U-Boot Image"
137 * 0x000000100000-0x000000200000 : "NAND U-Boot Environment"
138 * 0x000000200000-0x000000300000 : "Provisioning"
140 * 0x000000300000-0x000000400000 : "fdt1"
141 * 0x000000400000-0x000000c00000 : "uimage1"
142 * 0x000000c00000-0x000001c00000 : "rootfs1"
144 * 0x000001c00000-0x000001d00000 : "fdt2"
145 * 0x000001d00000-0x000002500000 : "uimage2"
146 * 0x000002500000-0x000003500000 : "rootfs2"
148 * 0x000003500000-0x000008000000 : "data"
152 reg = <0x0 0x100000>;
158 reg = <0x100000 0x100000>;
159 label = "u-boot-env";
163 reg = <0x200000 0x100000>;
164 label = "provisioning";
169 reg = <0x300000 0x800000>;
174 reg = <0xb00000 0x7500000>;
178 oem-partition@300000 {
179 reg = <0x300000 0x1900000>;
180 label = "sophos-os1";
183 oem-partition@1c00000 {
184 reg = <0x1c00000 0x1900000>;
185 label = "sophos-os2";
188 oem-partition@3500000 {
189 reg = <0x3500000 0x4b00000>;
190 label = "sophos-data";
196 pci0: pcie@ffe09000 {
200 pci1: pcie@ffe0a000 {
201 reg = <0 0xffe0a000 0 0x1000>;
202 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
203 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
205 ranges = <0x2000000 0x0 0x80000000
206 0x2000000 0x0 0x80000000
216 /include/ "fsl/p1010si-post.dtsi"
219 * For the OpenWrt 22.03 release, since Linux 5.10.138 now uses
220 * aliases to determine PCI domain numbers, drop aliases so as not to
221 * change the sysfs path of our wireless netdevs.
226 /delete-property/ pci0;
227 /delete-property/ pci1;