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 0x00170000>;
64 reg = <0x00170000 0x00010000>;
69 reg = <0x00180000 0x01e80000>;
85 /* Boot ROM is at 0x52-0x53, do not touch */
86 /* Unknown chip at 0x6e, not sure what it is */
92 phy-mode = "rgmii-id";
102 compatible = "ethernet-phy-ieee802.3-c22";
110 compatible = "gpio-leds";
112 status: power-green {
113 label = "mr24:green:power";
114 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
117 failsafe: power-orange {
118 label = "mr24:orange:power";
119 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
123 label = "mr24:green:wan";
124 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
128 label = "mr24:green:wifi1";
129 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
133 label = "mr24:green:wifi2";
134 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
138 label = "mr24:green:wifi3";
139 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
143 label = "mr24:green:wifi4";
144 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
149 compatible = "gpio-keys-polled";
150 #address-cells = <1>;
152 poll-interval = <60>; /* 3 * 20 = 60ms */
156 /* Label as per Meraki's "MR24 Installation Guide" */
157 label = "Factory Reset Button";
158 linux,code = <KEY_RESTART>;
159 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;