1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca956x.dtsi"
10 bootargs = "console=ttyS0,115200n8";
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 = "elecom:red:wps";
25 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
30 compatible = "gpio-keys";
34 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
36 debounce-interval = <60>;
41 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
43 debounce-interval = <60>;
48 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
50 linux,input-type = <EV_SW>;
51 debounce-interval = <60>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <25000000>;
65 partitions: partitions {
66 compatible = "fixed-partitions";
72 reg = <0x000000 0x040000>;
78 reg = <0x040000 0x010000>;
84 reg = <0x050000 0x020000>;
94 phy0: ethernet-phy@0 {
97 qca,ar8327-initvals = <
98 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
99 0x50 0xcf37cf37 /* LED_CTRL0 */
100 0x54 0x00000000 /* LED_CTRL1 */
101 0x58 0x00000000 /* LED_CTRL2 */
102 0x5c 0x03ffff00 /* LED_CTRL3 */
103 0x7c 0x0000007e /* PORT0_STATUS */
111 pll-data = <0x03000101 0x00000101 0x00001919>;
113 mtd-mac-address = <&art 0x1002>;
114 mtd-mac-address-increment = <(-1)>;
116 phy-handle = <&phy0>;
125 mtd-cal-data = <&art 0x1000>;