1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca9557.dtsi"
10 model = "EnGenius EPG5000";
11 compatible = "engenius,epg5000", "qca,qca9557";
14 bootargs = "console=ttyS0,115200n8";
19 led-failsafe = &power;
25 compatible = "gpio-leds";
28 label = "epg5000:amber:power";
29 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
34 label = "epg5000:blue:wlan2g";
35 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy1tpt";
40 label = "epg5000:blue:wlan5g";
41 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
46 label = "epg5000:amber:wps";
47 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
51 label = "epg5000:blue:wps";
52 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-keys-polled";
62 linux,code = <KEY_RESTART>;
63 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
64 debounce-interval = <60>;
69 linux,code = <KEY_WPS_BUTTON>;
70 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
71 debounce-interval = <60>;
80 pll-data = <0xa6000000 0x00000101 0x00001616>;
86 phy0: ethernet-phy@0 {
89 qca,ar8327-initvals = <
90 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
91 0x7c 0x0000007e /* PORT0_STATUS */
100 compatible = "pci168c,003c";
101 reg = <0x0000 0 0 0 0>;
111 compatible = "jedec,spi-nor";
113 spi-max-frequency = <25000000>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
122 reg = <0x000000 0x030000>;
127 label = "u-boot-env";
128 reg = <0x030000 0x010000>;
132 compatible = "denx,uimage";
134 reg = <0x040000 0xe50000>;
138 label = "manufacture";
139 reg = <0xe90000 0x100000>;
145 reg = <0xf90000 0x010000>;
151 reg = <0xfa0000 0x050000>;
157 reg = <0xff0000 0x010000>;