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 = "meraki,mr16", "qca,ar7161";
10 model = "Meraki MR16";
13 led-boot = &led_power_orange;
14 led-failsafe = &led_power_orange;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_orange;
20 compatible = "gpio-leds";
23 label = "green:wifi1";
24 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
28 label = "green:wifi2";
29 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 label = "green:wifi3";
34 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
38 label = "green:wifi4";
39 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
47 led_power_orange: power_orange {
48 label = "orange:power";
49 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
53 led_power_green: power_green {
54 label = "green:power";
55 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
60 compatible = "gpio-keys";
64 linux,code = <KEY_RESTART>;
65 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
73 ath9k0: wifi@0,11 { /* 2.4 GHz */
74 compatible = "pci168c,0029";
75 reg = <0x8800 0 0 0 0>;
77 nvmem-cells = <&macaddr_config_66>;
78 nvmem-cell-names = "mac-address";
79 mac-address-increment = <1>;
84 ath9k1: wifi@0,12 { /* 5 GHz */
85 compatible = "pci168c,0029";
86 reg = <0x9000 0 0 0 0>;
88 nvmem-cells = <&macaddr_config_66>;
89 nvmem-cell-names = "mac-address";
90 mac-address-increment = <2>;
99 phy0: ethernet-phy@0 {
106 nvmem-cells = <&macaddr_config_66>;
107 nvmem-cell-names = "mac-address";
109 pll-data = <0x00110000 0x00001099 0x00991099>;
112 phy-handle = <&phy0>;
119 compatible = "jedec,spi-nor";
121 spi-max-frequency = <25000000>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
130 reg = <0x000000 0x40000>;
135 label = "u-boot-env";
136 reg = <0x40000 0x40000>;
140 config: partition@80000 {
142 reg = <0x80000 0x20000>;
148 reg = <0xa0000 0xf40000>;
149 compatible = "denx,uimage";
154 reg = <0xfe0000 0x20000>;
162 compatible = "nvmem-cells";
163 #address-cells = <1>;
166 macaddr_config_66: macaddr@66 {