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>;
67 compatible = "fixed-layout";
71 macaddr_art_0: macaddr@0 {
75 calibration_art_1000: calibration@1000 {
79 calibration_art_5000: calibration@5000 {
89 clock-frequency = <40000000>;
96 compatible = "qcom,ath10k";
98 nvmem-cells = <&calibration_art_5000>;
99 nvmem-cell-names = "calibration";
106 phy0: ethernet-phy@0 {
110 qca,ar8327-initvals = <
111 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
112 0x7c 0x0000007e /* PORT0_STATUS */
120 /* default for ar934x, except for 1000M and 10M */
121 pll-data = <0x06000000 0x00000101 0x00001313>;
123 nvmem-cells = <&macaddr_art_0>;
124 nvmem-cell-names = "mac-address";
127 phy-handle = <&phy0>;
137 nvmem-cells = <&calibration_art_1000>;
138 nvmem-cell-names = "calibration";