1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree Source for Meraki MR24 (Ikarem)
5 * Copyright (C) 2016 Chris Blake <chrisrblake93@gmail.com>
7 * Based on Cisco Meraki GPL Release r23-20150601 MR24 DTS
12 #include <dt-bindings/leds/common.h>
13 #include "apm82181.dtsi"
16 model = "Meraki MR24 Access Point";
17 compatible = "meraki,mr24", "meraki,ikarem", "apm,bluestone";
24 stdout-path = "/plb/opb/serial@ef600400";
42 /* Ikarem has 32MB of NAND */
49 compatible = "fixed-partitions";
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";
133 color = <LED_COLOR_ID_GREEN>;
134 function = LED_FUNCTION_POWER;
135 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
139 color = <LED_COLOR_ID_AMBER>;
140 function = LED_FUNCTION_FAULT;
141 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
146 color = <LED_COLOR_ID_GREEN>;
147 function = LED_FUNCTION_WAN;
148 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
152 color = <LED_COLOR_ID_GREEN>;
153 function = LED_FUNCTION_WLAN;
154 function-enumerator = <0>;
155 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
159 color = <LED_COLOR_ID_GREEN>;
160 function = LED_FUNCTION_WLAN;
161 function-enumerator = <1>;
162 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
166 color = <LED_COLOR_ID_GREEN>;
167 function = LED_FUNCTION_WLAN;
168 function-enumerator = <2>;
169 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
173 color = <LED_COLOR_ID_GREEN>;
174 function = LED_FUNCTION_WLAN;
175 function-enumerator = <3>;
176 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
181 compatible = "gpio-keys";
184 /* Label as per Meraki's "MR24 Installation Guide" */
185 label = "Factory Reset Button";
186 linux,code = <KEY_RESTART>;
187 interrupt-parent = <&UIC1>;
188 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
189 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
190 debounce-interval = <60>;
198 * relevant lspci topology:
200 * -+-[0000:40]---00.0-[41-7f]----00.0-[42-45]--+-02.0-[43]----00.0
201 * +-03.0-[44]----00.0
206 reg = <0x00400000 0 0 0 0>;
207 #address-cells = <3>;
212 /* IDT PES3T3 PCI Express Switch */
213 compatible = "pci111d,8039";
214 reg = <0x00410000 0 0 0 0>;
215 #address-cells = <3>;
220 compatible = "pci111d,8039";
221 reg = <0x00421000 0 0 0 0>;
222 #address-cells = <3>;
227 /* Atheros AR9380 2.4GHz */
228 compatible = "pci168c,0030";
229 reg = <0x00430000 0 0 0 0>;
230 interrupts = <3>; /* INTC 4.1.1 */
235 compatible = "pci111d,8039";
236 reg = <0x00421800 0 0 0 0>;
237 #address-cells = <3>;
242 /* Atheros AR9380 5GHz */
243 compatible = "pci168c,0030";
244 reg = <0x00440000 0 0 0 0>;
245 interrupts = <4>; /* INTD 4.1.1 */