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 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 label = "epg5000:amber:power";
25 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
30 label = "epg5000:blue:wlan2g";
31 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy1tpt";
36 label = "epg5000:blue:wlan5g";
37 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
42 label = "epg5000:amber:wps";
43 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
47 label = "epg5000:blue:wps";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-keys";
57 linux,code = <KEY_RESTART>;
58 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
59 debounce-interval = <60>;
64 linux,code = <KEY_WPS_BUTTON>;
65 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
66 debounce-interval = <60>;
75 pll-data = <0xa6000000 0x00000101 0x00001616>;
81 phy0: ethernet-phy@0 {
84 qca,ar8327-initvals = <
85 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
86 0x7c 0x0000007e /* PORT0_STATUS */
95 compatible = "pci168c,003c";
96 reg = <0x0000 0 0 0 0>;
106 compatible = "jedec,spi-nor";
108 spi-max-frequency = <25000000>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
117 reg = <0x000000 0x030000>;
122 label = "u-boot-env";
123 reg = <0x030000 0x010000>;
127 compatible = "denx,uimage";
129 reg = <0x040000 0xe50000>;
133 label = "manufacture";
134 reg = <0xe90000 0x100000>;
140 reg = <0xf90000 0x010000>;
146 reg = <0xfa0000 0x050000>;
152 reg = <0xff0000 0x010000>;