1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "meraki,mr16", "qca,ar7161";
11 model = "Meraki MR16";
14 led-boot = &led_power_orange;
15 led-failsafe = &led_power_orange;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_orange;
21 compatible = "fixed-clock";
23 clock-output-names = "ref";
24 clock-frequency = <40000000>;
28 compatible = "gpio-leds";
31 label = "mr16:green:wifi1";
32 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
36 label = "mr16:green:wifi2";
37 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
41 label = "mr16:green:wifi3";
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 label = "mr16:green:wifi4";
47 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
51 label = "mr16:green:wan";
52 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
55 led_power_orange: power_orange {
56 label = "mr16:orange:power";
57 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
61 led_power_green: power_green {
62 label = "mr16:green:power";
63 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-keys";
72 linux,code = <KEY_RESTART>;
73 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
81 ath9k0: wifi@0,11 { /* 2.4 GHz */
82 compatible = "pci168c,0029";
83 reg = <0x8800 0 0 0 0>;
85 mtd-mac-address = <&config 0x66>;
86 mtd-mac-address-increment = <1>;
91 ath9k1: wifi@0,12 { /* 5 GHz */
92 compatible = "pci168c,0029";
93 reg = <0x9000 0 0 0 0>;
95 mtd-mac-address = <&config 0x66>;
96 mtd-mac-address-increment = <2>;
115 phy0: ethernet-phy@0 {
122 mtd-mac-address = <&config 0x66>;
124 pll-data = <0x00110000 0x00001099 0x00991099>;
127 phy-handle = <&phy0>;
135 compatible = "jedec,spi-nor";
137 spi-max-frequency = <25000000>;
140 compatible = "fixed-partitions";
141 #address-cells = <1>;
146 reg = <0x000000 0x40000>;
151 label = "u-boot-env";
152 reg = <0x40000 0x40000>;
156 config: partition@80000 {
158 reg = <0x80000 0x20000>;
164 reg = <0xa0000 0xf40000>;
165 compatible = "denx,uimage";
170 reg = <0xfe0000 0x20000>;