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>
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-leds";
20 label = "elecom:red:wps";
21 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
26 compatible = "gpio-keys";
30 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
32 debounce-interval = <60>;
37 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
39 debounce-interval = <60>;
44 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
46 linux,input-type = <EV_SW>;
47 debounce-interval = <60>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <25000000>;
61 partitions: partitions {
62 compatible = "fixed-partitions";
68 reg = <0x000000 0x040000>;
74 reg = <0x040000 0x010000>;
80 reg = <0x050000 0x020000>;
90 phy0: ethernet-phy@0 {
93 qca,ar8327-initvals = <
94 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
95 0x50 0xcf37cf37 /* LED_CTRL0 */
96 0x54 0x00000000 /* LED_CTRL1 */
97 0x58 0x00000000 /* LED_CTRL2 */
98 0x5c 0x03ffff00 /* LED_CTRL3 */
99 0x7c 0x0000007e /* PORT0_STATUS */
107 pll-data = <0x03000101 0x00000101 0x00001919>;
109 mtd-mac-address = <&art 0x1002>;
110 mtd-mac-address-increment = <(-1)>;
112 phy-handle = <&phy0>;
121 mtd-cal-data = <&art 0x1000>;