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";
31 * This is currently non-functioning because the spi-gpio
32 * driver refuses to register when presented with this node.
34 compatible = "spi-gpio";
38 sck-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
39 mosi-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
40 num-chipselects = <0>;
42 spi_gpio: led_gpio@0 {
43 compatible = "fairchild,74hc595";
47 registers-number = <1>;
48 spi-max-frequency = <100000>;
53 compatible = "gpio-leds";
56 gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>;
57 label = "ws-ap3825i:green:radio1";
58 linux,default-trigger = "phy0tpt";
62 gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>;
63 label = "ws-ap3825i:green:radio2";
64 linux,default-trigger = "phy1tpt";
67 led_power_green: power_green {
68 gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
69 label = "ws-ap3825i:green:power";
72 led_power_red: power_red {
73 gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
74 label = "ws-ap3825i:red:power";
78 gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>;
79 label = "ws-ap3825i:red:eth0";
83 gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>;
84 label = "ws-ap3825i:green:eth0";
88 gpios = <&spi_gpio 7 GPIO_ACTIVE_HIGH>;
89 label = "ws-ap3825i:red:eth1";
93 gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>;
94 label = "ws-ap3825i:green:eth1";
99 compatible = "gpio-keys";
102 label = "Reset button";
103 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_RESTART>;
108 lbc: localbus@ffe05000 {
109 reg = <0 0xffe05000 0 0x1000>;
110 ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
113 #address-cells = <1>;
115 compatible = "cfi-flash";
116 reg = <0x0 0x0 0x4000000>;
121 compatible = "fixed-partitions";
122 #address-cells = <1>;
126 compatible = "denx,fit";
127 reg = <0x0 0x3d60000>;
132 reg = <0x3d60000 0x20000>;
138 reg = <0x3d80000 0x80000>;
144 reg = <0x3e00000 0x100000>;
150 reg = <0x3f00000 0x20000>;
156 reg = <0x3f20000 0x20000>;
165 ranges = <0x0 0x0 0xffe00000 0x100000>;
167 gpio0: gpio-controller@fc00 {
171 phy0: ethernet-phy@0 {
172 interrupts = <3 1 0 0>;
174 reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
177 phy2: ethernet-phy@2 {
178 interrupts = <1 1 0 0>;
180 reset-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
192 enet0: ethernet@b0000 {
194 phy-handle = <&phy0>;
195 phy-connection-type = "rgmii-id";
198 enet1: ethernet@b1000 {
202 enet2: ethernet@b2000 {
204 phy-handle = <&phy2>;
205 phy-connection-type = "rgmii-id";
218 pci0: pcie@ffe09000 {
219 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
220 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
221 reg = <0 0xffe09000 0 0x1000>;
223 ranges = <0x2000000 0x0 0xa0000000
224 0x2000000 0x0 0xa0000000
233 pci1: pcie@ffe0a000 {
234 reg = <0 0xffe0a000 0 0x1000>;
235 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
236 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
238 ranges = <0x2000000 0x0 0x80000000
239 0x2000000 0x0 0x80000000
249 /include/ "fsl/p1020si-post.dtsi"