1 // SPDX-License-Identifier: GPL-2.0-or-later or MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
7 /include/ "fsl/p1010si-pre.dtsi"
10 model = "Enterasys WS-AP3715i";
11 compatible = "enterasys,ws-ap3715i";
14 led-boot = &led_power_green;
15 led-failsafe = &led_power_red;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_red;
21 bootargs = "console=ttyS0,115200";
25 device_type = "memory";
26 reg = <0x0 0x0 0x0 0x10000000>;
30 compatible = "gpio-leds";
33 gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>;
34 label = "green:radio1";
35 linux,default-trigger = "phy1tpt";
39 gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>;
40 label = "green:radio2";
41 linux,default-trigger = "phy0tpt";
44 led_power_green: power_green {
45 gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
46 function = LED_FUNCTION_POWER;
47 color = <LED_COLOR_ID_GREEN>;
50 led_power_red: power_red {
51 gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
52 function = LED_FUNCTION_POWER;
53 color = <LED_COLOR_ID_RED>;
57 gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>;
62 gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>;
67 gpios = <&spi_gpio 7 GPIO_ACTIVE_HIGH>;
72 gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>;
78 compatible = "gpio-keys";
81 label = "Reset button";
82 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_RESTART>;
88 ranges = <0x0 0x0 0xffe00000 0x100000>;
90 gpio0: gpio-controller@fc00 {
98 phy0: ethernet-phy@0 {
102 phy2: ethernet-phy@2 {
108 tbi_phy: tbi-phy@11 {
117 enet0: ethernet@b0000 {
118 phy-handle = <&phy0>;
119 phy-connection-type = "rgmii-id";
124 enet1: ethernet@b1000 {
125 phy-handle = <&phy2>;
126 phy-connection-type = "sgmii";
128 tbi-handle = <&tbi_phy>;
133 enet2: ethernet@b2000 {
145 pci0: pcie@ffe09000 {
146 reg = <0 0xffe09000 0 0x1000>;
147 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
148 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
150 ranges = <0x2000000 0x0 0xa0000000
151 0x2000000 0x0 0xa0000000
159 compatible = "pci168c,0033";
161 ieee80211-freq-limit = <2400000 2500000>;
166 pci1: pcie@ffe0a000 {
167 reg = <0 0xffe0a000 0 0x1000>;
168 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
169 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
171 ranges = <0x2000000 0x0 0x80000000
172 0x2000000 0x0 0x80000000
180 compatible = "pci168c,0033";
182 ieee80211-freq-limit = <5000000 6000000>;
190 compatible = "spi-gpio";
191 #address-cells = <1>;
194 sck-gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
195 mosi-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
196 num-chipselects = <0>;
198 spi_gpio: led_gpio@0 {
199 compatible = "fairchild,74hc595";
203 registers-number = <1>;
204 spi-max-frequency = <100000>;
210 compatible = "jedec,spi-nor";
212 spi-max-frequency = <25000000>;
215 compatible = "fixed-partitions";
216 #address-cells = <1>;
226 reg = <0xa0000 0xa0000>;
232 reg = <0x120000 0x10000>;
238 reg = <0x130000 0x10000>;
244 compatible = "denx,uimage";
245 reg = <0x140000 0x1d80000>;
250 reg = <0x1ec0000 0x100000>;
259 /include/ "fsl/p1010si-post.dtsi"
264 bus-frequency = <399999996>;
265 timebase-frequency = <50000000>;
266 clock-frequency = <799999992>;
267 d-cache-block-size = <0x20>;
268 d-cache-size = <0x8000>;
269 d-cache-sets = <0x80>;
270 i-cache-block-size = <0x20>;
271 i-cache-size = <0x8000>;
272 i-cache-sets = <0x80>;
277 bus-frequency = <399999996>;
280 clock-frequency = <399999996>;
285 clock-frequency = <399999996>;
289 clock-frequency = <399999996>;
295 * For the OpenWrt 22.03 release, since Linux 5.10.138 now uses
296 * aliases to determine PCI domain numbers, drop aliases so as not to
297 * change the sysfs path of our wireless netdevs.
302 /delete-property/ pci0;
303 /delete-property/ pci1;