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,mr12", "qca,ar7242";
10 model = "Meraki MR12";
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:link1";
31 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
35 label = "green:link2";
36 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
40 label = "green:link3";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 label = "green:link4";
46 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
54 led_power_orange: power_orange {
55 label = "orange:power";
56 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
60 led_power_green: power_green {
61 label = "green:power";
62 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-keys";
71 linux,code = <KEY_RESTART>;
72 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
81 compatible = "pci168c,002a";
82 reg = <0x0000 0 0 0 0>;
84 mtd-mac-address = <&config 0x66>;
85 mac-address-increment = <1>;
96 phy4: ethernet-phy@4 {
104 mtd-mac-address = <&config 0x66>;
106 pll-data = <0x02000000 0x00000101 0x00001313>;
108 phy-mode = "rgmii-id";
109 phy-handle = <&phy4>;
119 mtd-mac-address = <&config 0x66>;
126 compatible = "jedec,spi-nor";
128 spi-max-frequency = <50000000>;
131 compatible = "fixed-partitions";
132 #address-cells = <1>;
137 reg = <0x000000 0x40000>;
142 label = "u-boot-env";
143 reg = <0x40000 0x40000>;
147 config: partition@80000 {
149 reg = <0x80000 0x20000>;
155 reg = <0xa0000 0xf40000>;
156 compatible = "denx,uimage";
161 reg = <0xfe0000 0x20000>;