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>
9 compatible = "ubnt,aircube-ac", "qca,ar9342";
10 model = "Ubiquiti airCube AC";
13 compatible = "gpio-keys";
17 linux,code = <KEY_RESTART>;
18 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
19 debounce-interval = <60>;
28 compatible = "jedec,spi-nor";
30 spi-max-frequency = <25000000>;
33 compatible = "fixed-partitions";
39 reg = <0x000000 0x040000>;
45 reg = <0x040000 0x010000>;
50 compatible = "denx,uimage";
52 reg = <0x050000 0xf60000>;
57 reg = <0xfb0000 0x040000>;
63 reg = <0xff0000 0x010000>;
66 compatible = "nvmem-cells";
70 macaddr_art_0: macaddr@0 {
74 calibration_art_1000: calibration@1000 {
78 calibration_art_5000: calibration@5000 {
87 clock-frequency = <40000000>;
94 compatible = "qcom,ath10k";
96 nvmem-cells = <&calibration_art_5000>;
97 nvmem-cell-names = "calibration";
104 phy0: ethernet-phy@0 {
108 qca,ar8327-initvals = <
109 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
110 0x7c 0x0000007e /* PORT0_STATUS */
118 /* default for ar934x, except for 1000M and 10M */
119 pll-data = <0x06000000 0x00000101 0x00001313>;
121 nvmem-cells = <&macaddr_art_0>;
122 nvmem-cell-names = "mac-address";
125 phy-handle = <&phy0>;
135 nvmem-cells = <&calibration_art_1000>;
136 nvmem-cell-names = "calibration";