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 0>;
33 nvmem-cell-names = "mac-address";
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" currently does not work for
62 ath9k pci devices. these below are retained for future
64 /* nvmem-cells = <&macaddr_wan 1>, <&cal_art_5000>;
65 nvmem-cell-names = "mac-address", "calibration";
67 qca,no-eeprom; /* remove this when "mac-address" 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";
122 compatible = "fixed-layout";
123 #address-cells = <1>;
126 macaddr_lan: macaddr@4 {
127 compatible = "mac-base";
129 #nvmem-cell-cells = <1>;
132 macaddr_wan: macaddr@18 {
133 compatible = "mac-base";
135 #nvmem-cell-cells = <1>;
140 art: partition@ff0000 {
142 reg = <0xff0000 0x010000>;
145 compatible = "nvmem-cells";
146 #address-cells = <1>;
149 cal_art_1000: cal@1000 {
150 reg = <0x1000 0x440>;
153 cal_art_5000: cal@5000 {
154 reg = <0x5000 0x440>;
171 nvmem-cells = <&macaddr_lan 0>, <&cal_art_1000>;
172 nvmem-cell-names = "mac-address", "calibration";