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";
49 /* Ikarem has 32MB of NAND */
52 /* 32 MiB NAND Flash */
59 reg = <0x00000000 0x00170000>;
65 reg = <0x00170000 0x00010000>;
70 reg = <0x00180000 0x01e80000>;
86 /* Boot ROM is at 0x52-0x53, do not touch */
87 /* Unknown chip at 0x6e, not sure what it is */
93 phy-mode = "rgmii-id";
100 compatible = "ethernet-phy-ieee802.3-c22";
108 compatible = "gpio-leds";
110 status: power-green {
111 label = "mr24:green:power";
112 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
115 failsafe: power-orange {
116 label = "mr24:orange:power";
117 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
121 label = "mr24:green:wan";
122 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
126 label = "mr24:green:wifi1";
127 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
131 label = "mr24:green:wifi2";
132 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
136 label = "mr24:green:wifi3";
137 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
141 label = "mr24:green:wifi4";
142 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
147 compatible = "gpio-keys-polled";
148 #address-cells = <1>;
150 poll-interval = <60>; /* 3 * 20 = 60ms */
154 label = "Reset button";
155 linux,code = <KEY_RESTART>;
156 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;