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>
6 /include/ "fsl/p1010si-pre.dtsi"
9 model = "Enterasys WS-AP3715i";
10 compatible = "enterasys,ws-ap3715i";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_red;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_red;
20 bootargs = "console=ttyS0,115200";
24 device_type = "memory";
25 reg = <0x0 0x0 0x0 0x10000000>;
29 compatible = "gpio-leds";
32 gpios = <&spi_gpio 3 GPIO_ACTIVE_HIGH>;
33 label = "green:radio1";
34 linux,default-trigger = "phy1tpt";
38 gpios = <&spi_gpio 2 GPIO_ACTIVE_HIGH>;
39 label = "green:radio2";
40 linux,default-trigger = "phy0tpt";
43 led_power_green: power_green {
44 gpios = <&spi_gpio 0 GPIO_ACTIVE_HIGH>;
45 label = "green:power";
48 led_power_red: power_red {
49 gpios = <&spi_gpio 1 GPIO_ACTIVE_HIGH>;
54 gpios = <&spi_gpio 6 GPIO_ACTIVE_HIGH>;
59 gpios = <&spi_gpio 4 GPIO_ACTIVE_HIGH>;
64 gpios = <&spi_gpio 7 GPIO_ACTIVE_HIGH>;
69 gpios = <&spi_gpio 5 GPIO_ACTIVE_HIGH>;
75 compatible = "gpio-keys";
78 label = "Reset button";
79 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_RESTART>;
85 ranges = <0x0 0x0 0xffe00000 0x100000>;
87 gpio0: gpio-controller@fc00 {
95 phy0: ethernet-phy@0 {
99 phy2: ethernet-phy@2 {
105 tbi_phy: tbi-phy@11 {
114 enet0: ethernet@b0000 {
115 phy-handle = <&phy0>;
116 phy-connection-type = "rgmii-id";
121 enet1: ethernet@b1000 {
122 phy-handle = <&phy2>;
123 phy-connection-type = "sgmii";
125 tbi-handle = <&tbi_phy>;
130 enet2: ethernet@b2000 {
142 pci0: pcie@ffe09000 {
143 reg = <0 0xffe09000 0 0x1000>;
144 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
145 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
147 ranges = <0x2000000 0x0 0xa0000000
148 0x2000000 0x0 0xa0000000
156 compatible = "pci168c,0033";
158 ieee80211-freq-limit = <2400000 2500000>;
163 pci1: pcie@ffe0a000 {
164 reg = <0 0xffe0a000 0 0x1000>;
165 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
166 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
168 ranges = <0x2000000 0x0 0x80000000
169 0x2000000 0x0 0x80000000
177 compatible = "pci168c,0033";
179 ieee80211-freq-limit = <5000000 6000000>;
187 compatible = "spi-gpio";
188 #address-cells = <1>;
191 sck-gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
192 mosi-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
193 num-chipselects = <0>;
195 spi_gpio: led_gpio@0 {
196 compatible = "fairchild,74hc595";
200 registers-number = <1>;
201 spi-max-frequency = <100000>;
207 compatible = "jedec,spi-nor";
209 spi-max-frequency = <25000000>;
212 compatible = "fixed-partitions";
213 #address-cells = <1>;
223 reg = <0xa0000 0xa0000>;
229 reg = <0x120000 0x10000>;
235 reg = <0x130000 0x10000>;
241 compatible = "denx,uimage";
242 reg = <0x140000 0x1d80000>;
247 reg = <0x1ec0000 0x100000>;
256 /include/ "fsl/p1010si-post.dtsi"
261 bus-frequency = <399999996>;
262 timebase-frequency = <50000000>;
263 clock-frequency = <799999992>;
264 d-cache-block-size = <0x20>;
265 d-cache-size = <0x8000>;
266 d-cache-sets = <0x80>;
267 i-cache-block-size = <0x20>;
268 i-cache-size = <0x8000>;
269 i-cache-sets = <0x80>;
274 bus-frequency = <399999996>;
277 clock-frequency = <399999996>;
282 clock-frequency = <399999996>;
286 clock-frequency = <399999996>;
292 * For the OpenWrt 22.03 release, since Linux 5.10.138 now uses
293 * aliases to determine PCI domain numbers, drop aliases so as not to
294 * change the sysfs path of our wireless netdevs.
299 /delete-property/ pci0;
300 /delete-property/ pci1;