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>
10 led-failsafe = &led_security;
11 led-upgrade = &led_diag;
15 compatible = "fixed-clock";
17 clock-frequency = <40000000>;
20 gpio2: gpio-extender {
21 compatible = "nxp,74hc153-gpio";
25 // GPIOs used by this node
26 gpio-s0 = <&gpio 9 GPIO_ACTIVE_HIGH>;
27 gpio-s1 = <&gpio 11 GPIO_ACTIVE_HIGH>;
28 gpio-1y = <&gpio 12 GPIO_ACTIVE_HIGH>;
29 gpio-2y = <&gpio 14 GPIO_ACTIVE_HIGH>;
33 compatible = "gpio-keys-polled";
38 linux,code = <KEY_WPS_BUTTON>;
39 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
40 debounce-interval = <60>;
45 linux,code = <KEY_RESTART>;
46 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
47 debounce-interval = <60>;
53 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
54 debounce-interval = <60>;
60 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
61 debounce-interval = <60>;
67 gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
68 debounce-interval = <60>;
72 label = "router_auto";
74 gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
75 debounce-interval = <60>;
81 gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
82 debounce-interval = <60>;
87 compatible = "cfi-flash";
88 reg = <0x1e000000 0x2000000>;
93 compatible = "fixed-partitions";
99 reg = <0x0000000 0x0040000>;
104 label = "u-boot-env";
105 reg = <0x0040000 0x0020000>;
110 compatible = "denx,uimage";
112 reg = <0x0060000 0x1f60000>;
116 label = "user_property";
117 reg = <0x1fc0000 0x0020000>;
121 art: partition@1fe0000 {
123 reg = <0x1fe0000 0x020000>;
130 compatible = "gpio-leds";
134 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
135 trigger-sources = <&hub_port>;
136 linux,default-trigger = "usbport";
141 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
145 label = "green:wireless";
146 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
147 linux,default-trigger = "phy0tpt";
150 led_security: security {
151 label = "amber:security";
152 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
156 label = "green:router";
157 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
164 gpio-sda = <&gpio 19 GPIO_ACTIVE_HIGH>;
165 gpio-sck = <&gpio 20 GPIO_ACTIVE_HIGH>;
171 #address-cells = <1>;
175 phy4: ethernet-phy@4 {
191 mtd-mac-address = <&art 0x1120c>;
206 compatible = "qca,ar9130-eth", "syscon";
207 reg = <0x1a000000 0x200
210 pll-reg = <0x4 0x18 22>;
214 phy-handle = <&phy4>;
218 mtd-mac-address = <&art 0x1120c>;
224 mtd-cal-data = <&art 0x11000>;
232 clocks = <&clock40mhz>;
238 #address-cells = <1>;
243 #trigger-source-cells = <0>;