1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 compatible = "gpio-keys";
13 linux,code = <KEY_RESTART>;
14 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
15 debounce-interval = <60>;
19 linux,code = <KEY_WPS_BUTTON>;
20 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
21 debounce-interval = <60>;
29 /* default for ar934x, except for 1000M */
30 pll-data = <0x06000000 0x00000101 0x00001616>;
32 nvmem-cells = <&macaddr_lan>;
33 nvmem-cell-names = "mac-address-ascii";
42 phy0: ethernet-phy@0 {
44 qca,ar8327-initvals = <
45 /* GPL code drop (bsp.h & athrs17_phy.c) */
46 0x10 0xc1000000 /* PWS_REG_VALUE */
47 0x04 0x07600000 /* PORT0 PAD Mode */
48 0x0c 0x01000000 /* PORT6 PAD Mode */
49 0x7c 0x0000007e /* PORT0_STATUS */
50 0x94 0x0000007e /* PORT6_STATUS */
59 compatible = "pci168c,0030";
60 reg = <0x0000 0 0 0 0>;
61 /* "mac-address-ascii" currently does not work for
62 ath9k pci devices. these below are retained for future
64 /* nvmem-cells = <&macaddr_wan>, <&cal_art_5000>;
65 nvmem-cell-names = "mac-address-ascii", "calibration";
66 mac-address-increment = <1>; */
67 qca,no-eeprom; /* remove this when "mac-address-ascii" works */
74 clock-frequency = <40000000>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <25000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x010000>;
98 reg = <0x010000 0x010000>;
104 reg = <0x020000 0xF90000>;
105 compatible = "denx,uimage";
110 reg = <0xfb0000 0x030000>;
114 mac: partition@fe0000 {
116 reg = <0xfe0000 0x010000>;
119 compatible = "nvmem-cells";
120 #address-cells = <1>;
123 macaddr_lan: macaddr@4 {
127 macaddr_wan: macaddr@18 {
132 art: partition@ff0000 {
134 reg = <0xff0000 0x010000>;
137 compatible = "nvmem-cells";
138 #address-cells = <1>;
141 cal_art_1000: cal@1000 {
142 reg = <0x1000 0x440>;
145 cal_art_5000: cal@5000 {
146 reg = <0x5000 0x440>;
163 nvmem-cells = <&macaddr_lan>, <&cal_art_1000>;
164 nvmem-cell-names = "mac-address-ascii", "calibration";