1 // SPDX-License-Identifier: GPL-2.0-or-later or MIT
3 /include/ "fsl/p1020si-pre.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Extreme Networks WS-AP3825i";
10 compatible = "extreme-networks,ws-ap3825i";
18 led-boot = &led_power_green;
19 led-failsafe = &led_power_red;
20 led-running = &led_power_green;
21 led-upgrade = &led_power_red;
25 bootargs-override = "console=ttyS0,115200";
26 linux,stdout-path = &serial0;
30 device_type = "memory";
34 compatible = "gpio-leds";
37 gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>;
38 label = "green:radio1";
39 linux,default-trigger = "phy0tpt";
43 gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>;
44 label = "green:radio2";
45 linux,default-trigger = "phy1tpt";
48 led_power_green: power_green {
49 gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
50 label = "green:power";
53 led_power_red: power_red {
54 gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
59 gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>;
64 gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>;
69 gpios = <&spi_gpio 7 GPIO_ACTIVE_HIGH>;
74 gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>;
80 compatible = "gpio-keys";
83 label = "Reset button";
84 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_RESTART>;
89 lbc: localbus@ffe05000 {
90 reg = <0 0xffe05000 0 0x1000>;
91 ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
96 compatible = "cfi-flash";
97 reg = <0x0 0x0 0x4000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
107 compatible = "denx,fit";
108 reg = <0x0 0x3d60000>;
113 reg = <0x3d60000 0x20000>;
119 reg = <0x3d80000 0x80000>;
125 reg = <0x3e00000 0x100000>;
131 reg = <0x3f00000 0x20000>;
136 reg = <0x3f20000 0x20000>;
144 ranges = <0x0 0x0 0xffe00000 0x100000>;
146 gpio0: gpio-controller@fc00 {
150 phy0: ethernet-phy@0 {
151 /* interrupts = <3 1 0 0>; */
153 reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
154 reset-assert-us = <10000>;
155 reset-deassert-us = <10000>;
158 phy2: ethernet-phy@2 {
159 /* interrupts = <1 1 0 0>; */
161 reset-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
162 reset-assert-us = <10000>;
163 reset-deassert-us = <10000>;
175 enet0: ethernet@b0000 {
177 phy-handle = <&phy0>;
178 phy-connection-type = "rgmii-id";
181 enet1: ethernet@b1000 {
185 enet2: ethernet@b2000 {
187 phy-handle = <&phy2>;
188 phy-connection-type = "rgmii-id";
201 pci0: pcie@ffe09000 {
202 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
203 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
204 reg = <0 0xffe09000 0 0x1000>;
206 /* Filled by U-Boot */
207 bus-range = <0x00 0x01>;
208 dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000
209 0x00 0x100000 0x42000000 0x00 0x00 0x00
210 0x00 0x00 0x10000000>;
213 ranges = <0x2000000 0x0 0xa0000000
214 0x2000000 0x0 0xa0000000
223 pci1: pcie@ffe0a000 {
224 reg = <0 0xffe0a000 0 0x1000>;
225 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
226 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
228 /* Filled by U-Boot */
229 bus-range = <0x00 0x01>;
230 dma-ranges = <0x2000000 0x00 0xfff00000 0x00
231 0xffe00000 0x00 0x100000 0x42000000
232 0x00 0x00 0x00 0x00 0x00 0x10000000>;
235 ranges = <0x2000000 0x0 0x80000000
236 0x2000000 0x0 0x80000000
249 * This is currently non-functioning because the spi-gpio
250 * driver refuses to register when presented with this node.
252 compatible = "spi-gpio";
253 #address-cells = <1>;
256 sck-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
257 mosi-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
258 num-chipselects = <0>;
260 spi_gpio: led_gpio@0 {
261 compatible = "fairchild,74hc595";
265 registers-number = <1>;
266 spi-max-frequency = <100000>;
271 /include/ "fsl/p1020si-post.dtsi"
276 bus-frequency = <399999996>;
277 timebase-frequency = <50000000>;
278 clock-frequency = <799999992>;
279 d-cache-block-size = <0x20>;
280 d-cache-size = <0x8000>;
281 d-cache-sets = <0x80>;
282 i-cache-block-size = <0x20>;
283 i-cache-size = <0x8000>;
284 i-cache-sets = <0x80>;
285 cpu-release-addr = <0x0 0x0ffff280>;
287 enable-method = "spin-table";
291 bus-frequency = <399999996>;
292 timebase-frequency = <50000000>;
293 clock-frequency = <799999992>;
294 d-cache-block-size = <0x20>;
295 d-cache-size = <0x8000>;
296 d-cache-sets = <0x80>;
297 i-cache-block-size = <0x20>;
298 i-cache-size = <0x8000>;
299 i-cache-sets = <0x80>;
300 cpu-release-addr = <0x0 0x0ffff2a0>;
302 enable-method = "spin-table";
307 reg = <0x0 0x0 0x0 0x10000000>;
311 #address-cells = <2>;
315 cpu1-bootpage@e000000 {
316 /* Reserve upper 1 MB for second-core-bootpage */
317 reg = <0x0 0xff00000 0x0 0x100000>;
322 bus-frequency = <399999996>;
325 clock-frequency = <399999996>;
329 clock-frequency = <399999996>;
333 clock-frequency = <399999996>;
338 bus-frequency = <24999999>;
343 rx-stash-idx = <0x00>;
344 rx-stash-len = <0x60>;
349 rx-stash-idx = <0x00>;
350 rx-stash-len = <0x60>;
355 * For the OpenWrt 22.03 release, since Linux 5.10.138 now uses
356 * aliases to determine PCI domain numbers, drop aliases so as not to
357 * change the sysfs path of our wireless netdevs.
362 /delete-property/ pci0;
363 /delete-property/ pci1;