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 */
58 reg = <0x00000000 0x00150000>;
64 * The u-boot environment size is one NAND
65 * block (16KiB). u-boot allocates four NAND
66 * blocks (64KiB) in order to have spares
67 * around for bad block management
70 reg = <0x00150000 0x00010000>;
76 * redundant u-boot environment.
77 * has to be kept it in sync with the
78 * data in "u-boot-env".
80 label = "u-boot-env-redundant";
81 reg = <0x00160000 0x00010000>;
87 reg = <0x00170000 0x00010000>;
92 reg = <0x00180000 0x01e80000>;
108 /* Boot ROM is at 0x52-0x53, do not touch */
109 /* Unknown chip at 0x6e, not sure what it is */
115 phy-mode = "rgmii-id";
121 #address-cells = <1>;
125 compatible = "ethernet-phy-ieee802.3-c22";
133 compatible = "gpio-leds";
135 status: power-green {
136 label = "mr24:green:power";
137 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
140 failsafe: power-orange {
141 label = "mr24:orange:power";
142 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
146 label = "mr24:green:wan";
147 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
151 label = "mr24:green:wifi1";
152 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
156 label = "mr24:green:wifi2";
157 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
161 label = "mr24:green:wifi3";
162 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
166 label = "mr24:green:wifi4";
167 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
172 compatible = "gpio-keys-polled";
173 #address-cells = <1>;
175 poll-interval = <60>; /* 3 * 20 = 60ms */
179 /* Label as per Meraki's "MR24 Installation Guide" */
180 label = "Factory Reset Button";
181 linux,code = <KEY_RESTART>;
182 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;