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 "qca955x.dtsi"
10 model = "EnGenius EPG5000";
11 compatible = "engenius,epg5000", "qca,qca9558";
14 bootargs = "console=ttyS0,115200n8";
18 led-boot = &led_power;
19 led-failsafe = &led_power;
20 led-running = &led_power;
21 led-upgrade = &led_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";
61 linux,code = <KEY_RESTART>;
62 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
63 debounce-interval = <60>;
68 linux,code = <KEY_WPS_BUTTON>;
69 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
70 debounce-interval = <60>;
79 pll-data = <0xa6000000 0x00000101 0x00001616>;
85 phy0: ethernet-phy@0 {
88 qca,ar8327-initvals = <
89 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
90 0x7c 0x0000007e /* PORT0_STATUS */
99 compatible = "pci168c,003c";
100 reg = <0x0000 0 0 0 0>;
110 compatible = "jedec,spi-nor";
112 spi-max-frequency = <25000000>;
115 compatible = "fixed-partitions";
116 #address-cells = <1>;
121 reg = <0x000000 0x030000>;
126 label = "u-boot-env";
127 reg = <0x030000 0x010000>;
131 compatible = "denx,uimage";
133 reg = <0x040000 0xe50000>;
137 label = "manufacture";
138 reg = <0xe90000 0x100000>;
144 reg = <0xf90000 0x010000>;
150 reg = <0xfa0000 0x050000>;
156 reg = <0xff0000 0x010000>;