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:copy";
32 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
36 label = "iodata:green:eco";
37 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
41 label = "iodata:green:wlan5g";
42 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
47 label = "iodata:green:wlan2g";
48 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
53 label = "iodata:amber:notification";
54 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-keys-polled";
64 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
66 debounce-interval = <60>;
71 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
73 linux,input-type = <EV_SW>;
74 debounce-interval = <60>;
79 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
81 debounce-interval = <60>;
86 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_WPS_BUTTON>;
88 debounce-interval = <60>;
93 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
94 linux,code = <KEY_RESTART>;
95 debounce-interval = <60>;
100 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
101 linux,code = <BTN_0>;
102 linux,input-type = <EV_SW>;
103 debounce-interval = <60>;
113 compatible = "jedec,spi-nor";
115 spi-max-frequency = <25000000>;
118 compatible = "fixed-partitions";
119 #address-cells = <1>;
124 reg = <0x000000 0x030000>;
129 label = "u-boot-env";
130 reg = <0x030000 0x010000>;
135 compatible = "denx,uimage";
137 reg = <0x040000 0xe50000>;
141 label = "manufacture";
142 reg = <0xe90000 0x100000>;
148 reg = <0xf90000 0x010000>;
154 reg = <0xfa0000 0x050000>;
158 art: partition@ff0000 {
160 reg = <0xff0000 0x010000>;
170 phy0: ethernet-phy@0 {
173 qca,ar8327-initvals = <
174 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
175 0x7c 0x0000007e /* PORT0_STATUS */
183 pll-data = <0xa6000000 0x00000101 0x00001616>;
184 phy-handle = <&phy0>;
191 compatible = "pci168c,003c";
192 reg = <0x0000 0 0 0 0>;