2 * Device Tree Source for Meraki MR24 (Ikarem)
4 * Copyright (C) 2016 Chris Blake <chrisrblake93@gmail.com>
6 * Based on Cisco Meraki GPL Release r23-20150601 MR24 DTS
8 * This file is licensed under the terms of the GNU General Public
9 * License version 2. This program is licensed "as is" without
10 * any warranty of any kind, whether express or implied.
15 #include "apm82181.dtsi"
18 model = "Meraki MR24 Access Point";
19 compatible = "meraki,mr24", "meraki,ikarem", "apm,bluestone";
24 led-failsafe = &failsafe;
25 led-running = &status;
26 led-upgrade = &status;
30 stdout-path = "/plb/opb/serial@ef600400";
48 /* Ikarem has 32MB of NAND */
51 /* 32 MiB NAND Flash */
55 reg = <0x00000000 0x00150000>;
61 * The u-boot environment size is one NAND
62 * block (16KiB). u-boot allocates four NAND
63 * blocks (64KiB) in order to have spares
64 * around for bad block management
67 reg = <0x00150000 0x00010000>;
73 * redundant u-boot environment.
74 * has to be kept it in sync with the
75 * data in "u-boot-env".
77 label = "u-boot-env-redundant";
78 reg = <0x00160000 0x00010000>;
84 reg = <0x00170000 0x00010000>;
89 reg = <0x00180000 0x01e80000>;
105 /* Boot ROM is at 0x52-0x53, do not touch */
106 /* Unknown chip at 0x6e, not sure what it is */
112 phy-mode = "rgmii-id";
118 #address-cells = <1>;
122 compatible = "ethernet-phy-ieee802.3-c22";
130 compatible = "gpio-leds";
132 status: power-green {
133 label = "mr24:green:power";
134 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
137 failsafe: power-orange {
138 label = "mr24:orange:power";
139 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
143 label = "mr24:green:wan";
144 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
148 label = "mr24:green:wifi1";
149 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
153 label = "mr24:green:wifi2";
154 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
158 label = "mr24:green:wifi3";
159 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
163 label = "mr24:green:wifi4";
164 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
169 compatible = "gpio-keys";
172 /* Label as per Meraki's "MR24 Installation Guide" */
173 label = "Factory Reset Button";
174 linux,code = <KEY_RESTART>;
175 interrupt-parent = <&UIC1>;
176 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
177 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;