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 "qca9557.dtsi"
12 led-failsafe = &power;
18 bootargs = "console=ttyS0,115200n8";
22 compatible = "gpio-leds";
25 label = "iodata:green:power";
26 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 label = "iodata:green:eco";
32 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
36 label = "iodata:green:wlan5g";
37 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
42 label = "iodata:green:wlan2g";
43 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy1tpt";
48 label = "iodata:amber:notification";
49 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys-polled";
59 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
61 debounce-interval = <60>;
66 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
68 linux,input-type = <EV_SW>;
69 debounce-interval = <60>;
74 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_WPS_BUTTON>;
76 debounce-interval = <60>;
81 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
83 debounce-interval = <60>;
88 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
90 linux,input-type = <EV_SW>;
91 debounce-interval = <60>;
101 compatible = "jedec,spi-nor";
103 spi-max-frequency = <25000000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
112 reg = <0x000000 0x030000>;
117 label = "u-boot-env";
118 reg = <0x030000 0x010000>;
123 compatible = "denx,uimage";
125 reg = <0x040000 0xe50000>;
129 label = "manufacture";
130 reg = <0xe90000 0x100000>;
136 reg = <0xf90000 0x010000>;
142 reg = <0xfa0000 0x050000>;
146 art: partition@ff0000 {
148 reg = <0xff0000 0x010000>;
158 phy0: ethernet-phy@0 {
161 qca,ar8327-initvals = <
162 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
163 0x7c 0x0000007e /* PORT0_STATUS */
171 pll-data = <0xa6000000 0x00000101 0x00001616>;
172 phy-handle = <&phy0>;
179 compatible = "pci168c,003c";
180 reg = <0x0000 0 0 0 0>;