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";
26 device_type = "memory";
30 compatible = "gpio-leds";
33 gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>;
34 label = "ws-ap3825i:green:radio1";
35 linux,default-trigger = "phy0tpt";
39 gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>;
40 label = "ws-ap3825i:green:radio2";
41 linux,default-trigger = "phy1tpt";
44 led_power_green: power_green {
45 gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
46 label = "ws-ap3825i:green:power";
49 led_power_red: power_red {
50 gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
51 label = "ws-ap3825i:red:power";
55 gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>;
56 label = "ws-ap3825i:red:eth0";
60 gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>;
61 label = "ws-ap3825i:green:eth0";
65 gpios = <&spi_gpio 7 GPIO_ACTIVE_HIGH>;
66 label = "ws-ap3825i:red:eth1";
70 gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>;
71 label = "ws-ap3825i:green:eth1";
76 compatible = "gpio-keys";
79 label = "Reset button";
80 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_RESTART>;
85 lbc: localbus@ffe05000 {
86 reg = <0 0xffe05000 0 0x1000>;
87 ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
92 compatible = "cfi-flash";
93 reg = <0x0 0x0 0x4000000>;
98 compatible = "fixed-partitions";
103 compatible = "denx,fit";
104 reg = <0x0 0x3d60000>;
109 reg = <0x3d60000 0x20000>;
115 reg = <0x3d80000 0x80000>;
121 reg = <0x3e00000 0x100000>;
127 reg = <0x3f00000 0x20000>;
133 reg = <0x3f20000 0x20000>;
142 ranges = <0x0 0x0 0xffe00000 0x100000>;
144 gpio0: gpio-controller@fc00 {
148 phy0: ethernet-phy@0 {
149 interrupts = <3 1 0 0>;
151 reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
154 phy2: ethernet-phy@2 {
155 interrupts = <1 1 0 0>;
157 reset-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
169 enet0: ethernet@b0000 {
171 phy-handle = <&phy0>;
172 phy-connection-type = "rgmii-id";
175 enet1: ethernet@b1000 {
179 enet2: ethernet@b2000 {
181 phy-handle = <&phy2>;
182 phy-connection-type = "rgmii-id";
195 pci0: pcie@ffe09000 {
196 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
197 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
198 reg = <0 0xffe09000 0 0x1000>;
200 ranges = <0x2000000 0x0 0xa0000000
201 0x2000000 0x0 0xa0000000
210 pci1: pcie@ffe0a000 {
211 reg = <0 0xffe0a000 0 0x1000>;
212 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
213 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
215 ranges = <0x2000000 0x0 0x80000000
216 0x2000000 0x0 0x80000000
229 * This is currently non-functioning because the spi-gpio
230 * driver refuses to register when presented with this node.
232 compatible = "spi-gpio";
233 #address-cells = <1>;
236 sck-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
237 mosi-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
238 num-chipselects = <0>;
240 spi_gpio: led_gpio@0 {
241 compatible = "fairchild,74hc595";
245 registers-number = <1>;
246 spi-max-frequency = <100000>;
251 /include/ "fsl/p1020si-post.dtsi"