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 linux,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";
99 compatible = "ethernet-phy-ieee802.3-c22";
107 compatible = "gpio-leds";
109 status: power-green {
110 label = "mr24:green:power";
111 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
114 failsafe: power-orange {
115 label = "mr24:orange:power";
116 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
120 label = "mr24:green:wan";
121 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
125 label = "mr24:green:wifi1";
126 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
130 label = "mr24:green:wifi2";
131 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
135 label = "mr24:green:wifi3";
136 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
140 label = "mr24:green:wifi4";
141 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
146 compatible = "gpio-keys-polled";
147 #address-cells = <1>;
149 poll-interval = <60>; /* 3 * 20 = 60ms */
153 label = "Reset button";
154 linux,code = <KEY_RESTART>;
155 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;