1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 function = LED_FUNCTION_WPS;
22 color = <LED_COLOR_ID_RED>;
23 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
28 compatible = "gpio-keys";
32 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
34 debounce-interval = <60>;
39 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
41 debounce-interval = <60>;
46 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
48 linux,input-type = <EV_SW>;
49 debounce-interval = <60>;
58 compatible = "jedec,spi-nor";
60 spi-max-frequency = <25000000>;
62 partitions: partitions {
63 compatible = "fixed-partitions";
69 reg = <0x000000 0x040000>;
75 reg = <0x040000 0x010000>;
81 reg = <0x050000 0x020000>;
91 phy0: ethernet-phy@0 {
94 qca,ar8327-initvals = <
95 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
96 0x50 0xcf37cf37 /* LED_CTRL0 */
97 0x54 0x00000000 /* LED_CTRL1 */
98 0x58 0x00000000 /* LED_CTRL2 */
99 0x5c 0x03ffff00 /* LED_CTRL3 */
100 0x7c 0x0000007e /* PORT0_STATUS */
108 pll-data = <0x03000101 0x00000101 0x00001919>;
111 phy-handle = <&phy0>;