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";
15 led-boot = &led_power_green;
16 led-failsafe = &led_power_red;
17 led-running = &led_power_green;
18 led-upgrade = &led_power_red;
22 bootargs-override = "console=ttyS0,115200";
23 linux,stdout-path = &serial0;
27 device_type = "memory";
31 compatible = "gpio-leds";
34 gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>;
35 label = "green:radio1";
36 linux,default-trigger = "phy0tpt";
40 gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>;
41 label = "green:radio2";
42 linux,default-trigger = "phy1tpt";
45 led_power_green: power_green {
46 gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
47 label = "green:power";
50 led_power_red: power_red {
51 gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
56 gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>;
61 gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>;
66 gpios = <&spi_gpio 7 GPIO_ACTIVE_HIGH>;
71 gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>;
77 compatible = "gpio-keys";
80 label = "Reset button";
81 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
86 lbc: localbus@ffe05000 {
87 reg = <0 0xffe05000 0 0x1000>;
88 ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
93 compatible = "cfi-flash";
94 reg = <0x0 0x0 0x4000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
104 compatible = "denx,fit";
105 reg = <0x0 0x3d60000>;
110 reg = <0x3d60000 0x20000>;
116 reg = <0x3d80000 0x80000>;
122 reg = <0x3e00000 0x100000>;
128 reg = <0x3f00000 0x20000>;
133 reg = <0x3f20000 0x20000>;
141 ranges = <0x0 0x0 0xffe00000 0x100000>;
143 gpio0: gpio-controller@fc00 {
147 phy0: ethernet-phy@0 {
148 /* interrupts = <3 1 0 0>; */
150 reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
151 reset-assert-us = <10000>;
152 reset-deassert-us = <10000>;
155 phy2: ethernet-phy@2 {
156 /* interrupts = <1 1 0 0>; */
158 reset-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
159 reset-assert-us = <10000>;
160 reset-deassert-us = <10000>;
172 enet0: ethernet@b0000 {
174 phy-handle = <&phy0>;
175 phy-connection-type = "rgmii-id";
178 enet1: ethernet@b1000 {
182 enet2: ethernet@b2000 {
184 phy-handle = <&phy2>;
185 phy-connection-type = "rgmii-id";
198 pci0: pcie@ffe09000 {
199 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
200 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
201 reg = <0 0xffe09000 0 0x1000>;
203 /* Filled by U-Boot */
204 bus-range = <0x00 0x01>;
205 dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000
206 0x00 0x100000 0x42000000 0x00 0x00 0x00
207 0x00 0x00 0x10000000>;
210 ranges = <0x2000000 0x0 0xa0000000
211 0x2000000 0x0 0xa0000000
220 pci1: pcie@ffe0a000 {
221 reg = <0 0xffe0a000 0 0x1000>;
222 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
223 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
225 /* Filled by U-Boot */
226 bus-range = <0x00 0x01>;
227 dma-ranges = <0x2000000 0x00 0xfff00000 0x00
228 0xffe00000 0x00 0x100000 0x42000000
229 0x00 0x00 0x00 0x00 0x00 0x10000000>;
232 ranges = <0x2000000 0x0 0x80000000
233 0x2000000 0x0 0x80000000
246 * This is currently non-functioning because the spi-gpio
247 * driver refuses to register when presented with this node.
249 compatible = "spi-gpio";
250 #address-cells = <1>;
253 sck-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
254 mosi-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
255 num-chipselects = <0>;
257 spi_gpio: led_gpio@0 {
258 compatible = "fairchild,74hc595";
262 registers-number = <1>;
263 spi-max-frequency = <100000>;
268 /include/ "fsl/p1020si-post.dtsi"
273 bus-frequency = <399999996>;
274 timebase-frequency = <50000000>;
275 clock-frequency = <799999992>;
276 d-cache-block-size = <0x20>;
277 d-cache-size = <0x8000>;
278 d-cache-sets = <0x80>;
279 i-cache-block-size = <0x20>;
280 i-cache-size = <0x8000>;
281 i-cache-sets = <0x80>;
282 cpu-release-addr = <0x0 0x0ffff280>;
284 enable-method = "spin-table";
288 bus-frequency = <399999996>;
289 timebase-frequency = <50000000>;
290 clock-frequency = <799999992>;
291 d-cache-block-size = <0x20>;
292 d-cache-size = <0x8000>;
293 d-cache-sets = <0x80>;
294 i-cache-block-size = <0x20>;
295 i-cache-size = <0x8000>;
296 i-cache-sets = <0x80>;
297 cpu-release-addr = <0x0 0x0ffff2a0>;
299 enable-method = "spin-table";
304 reg = <0x0 0x0 0x0 0x10000000>;
308 bus-frequency = <399999996>;
311 clock-frequency = <399999996>;
315 clock-frequency = <399999996>;
319 clock-frequency = <399999996>;
324 bus-frequency = <24999999>;
329 rx-stash-idx = <0x00>;
330 rx-stash-len = <0x60>;
335 rx-stash-idx = <0x00>;
336 rx-stash-len = <0x60>;
341 * For the OpenWrt 22.03 release, since Linux 5.10.138 now uses
342 * aliases to determine PCI domain numbers, drop aliases so as not to
343 * change the sysfs path of our wireless netdevs.
348 /delete-property/ pci0;
349 /delete-property/ pci1;