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 = "fixed-clock";
22 clock-output-names = "ref";
23 clock-frequency = <40000000>;
27 compatible = "gpio-leds";
30 label = "green:wifi1";
31 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
35 label = "green:wifi2";
36 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
40 label = "green:wifi3";
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
45 label = "green:wifi4";
46 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
54 led_power_orange: power_orange {
55 label = "orange:power";
56 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
60 led_power_green: power_green {
61 label = "green:power";
62 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-keys";
71 linux,code = <KEY_RESTART>;
72 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
80 ath9k0: wifi@0,11 { /* 2.4 GHz */
81 compatible = "pci168c,0029";
82 reg = <0x8800 0 0 0 0>;
84 mtd-mac-address = <&config 0x66>;
85 mtd-mac-address-increment = <1>;
90 ath9k1: wifi@0,12 { /* 5 GHz */
91 compatible = "pci168c,0029";
92 reg = <0x9000 0 0 0 0>;
94 mtd-mac-address = <&config 0x66>;
95 mtd-mac-address-increment = <2>;
110 phy0: ethernet-phy@0 {
117 mtd-mac-address = <&config 0x66>;
119 pll-data = <0x00110000 0x00001099 0x00991099>;
122 phy-handle = <&phy0>;
129 compatible = "jedec,spi-nor";
131 spi-max-frequency = <25000000>;
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
140 reg = <0x000000 0x40000>;
145 label = "u-boot-env";
146 reg = <0x40000 0x40000>;
150 config: partition@80000 {
152 reg = <0x80000 0x20000>;
158 reg = <0xa0000 0xf40000>;
159 compatible = "denx,uimage";
164 reg = <0xfe0000 0x20000>;