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 ranges = <0x2000000 0x0 0xa0000000
204 0x2000000 0x0 0xa0000000
213 pci1: pcie@ffe0a000 {
214 reg = <0 0xffe0a000 0 0x1000>;
215 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
216 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
218 ranges = <0x2000000 0x0 0x80000000
219 0x2000000 0x0 0x80000000
232 * This is currently non-functioning because the spi-gpio
233 * driver refuses to register when presented with this node.
235 compatible = "spi-gpio";
236 #address-cells = <1>;
239 sck-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
240 mosi-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
241 num-chipselects = <0>;
243 spi_gpio: led_gpio@0 {
244 compatible = "fairchild,74hc595";
248 registers-number = <1>;
249 spi-max-frequency = <100000>;
254 /include/ "fsl/p1020si-post.dtsi"
259 bus-frequency = <399999996>;
260 timebase-frequency = <50000000>;
261 clock-frequency = <799999992>;
262 d-cache-block-size = <0x20>;
263 d-cache-size = <0x8000>;
264 d-cache-sets = <0x80>;
265 i-cache-block-size = <0x20>;
266 i-cache-size = <0x8000>;
267 i-cache-sets = <0x80>;
271 bus-frequency = <399999996>;
272 timebase-frequency = <50000000>;
273 clock-frequency = <799999992>;
274 d-cache-block-size = <0x20>;
275 d-cache-size = <0x8000>;
276 d-cache-sets = <0x80>;
277 i-cache-block-size = <0x20>;
278 i-cache-size = <0x8000>;
279 i-cache-sets = <0x80>;
284 reg = <0x0 0x0 0x0 0x10000000>;
288 bus-frequency = <399999996>;
291 clock-frequency = <399999996>;
295 clock-frequency = <399999996>;
299 clock-frequency = <399999996>;
305 * For the OpenWrt 22.03 release, since Linux 5.10.138 now uses
306 * aliases to determine PCI domain numbers, drop aliases so as not to
307 * change the sysfs path of our wireless netdevs.
312 /delete-property/ pci0;
313 /delete-property/ pci1;