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 compatible = "u-boot,env";
68 reg = <0x00150000 0x00010000>;
74 * redundant u-boot environment.
75 * has to be kept it in sync with the
76 * data in "u-boot-env".
78 label = "u-boot-env-redundant";
79 reg = <0x00160000 0x00010000>;
85 reg = <0x00170000 0x00010000>;
90 reg = <0x00180000 0x01e80000>;
106 /* Boot ROM is at 0x52-0x53, do not touch */
107 /* Unknown chip at 0x6e, not sure what it is */
113 phy-mode = "rgmii-id";
119 #address-cells = <1>;
123 compatible = "ethernet-phy-ieee802.3-c22";
131 compatible = "gpio-leds";
134 color = <LED_COLOR_ID_GREEN>;
135 function = LED_FUNCTION_POWER;
136 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
140 color = <LED_COLOR_ID_AMBER>;
141 function = LED_FUNCTION_FAULT;
142 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
147 color = <LED_COLOR_ID_GREEN>;
148 function = LED_FUNCTION_WAN;
149 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
153 color = <LED_COLOR_ID_GREEN>;
154 function = LED_FUNCTION_WLAN;
155 function-enumerator = <0>;
156 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
160 color = <LED_COLOR_ID_GREEN>;
161 function = LED_FUNCTION_WLAN;
162 function-enumerator = <1>;
163 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
167 color = <LED_COLOR_ID_GREEN>;
168 function = LED_FUNCTION_WLAN;
169 function-enumerator = <2>;
170 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
174 color = <LED_COLOR_ID_GREEN>;
175 function = LED_FUNCTION_WLAN;
176 function-enumerator = <3>;
177 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
182 compatible = "gpio-keys";
185 /* Label as per Meraki's "MR24 Installation Guide" */
186 label = "Factory Reset Button";
187 linux,code = <KEY_RESTART>;
188 interrupt-parent = <&UIC1>;
189 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
190 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
191 debounce-interval = <60>;
199 * relevant lspci topology:
201 * -+-[0000:40]---00.0-[41-7f]----00.0-[42-45]--+-02.0-[43]----00.0
202 * +-03.0-[44]----00.0
207 reg = <0x00400000 0 0 0 0>;
208 #address-cells = <3>;
213 /* IDT PES3T3 PCI Express Switch */
214 compatible = "pci111d,8039";
215 reg = <0x00410000 0 0 0 0>;
216 #address-cells = <3>;
221 compatible = "pci111d,8039";
222 reg = <0x00421000 0 0 0 0>;
223 #address-cells = <3>;
228 /* Atheros AR9380 2.4GHz */
229 compatible = "pci168c,0030";
230 reg = <0x00430000 0 0 0 0>;
231 interrupts = <3>; /* INTC 4.1.1 */
236 compatible = "pci111d,8039";
237 reg = <0x00421800 0 0 0 0>;
238 #address-cells = <3>;
243 /* Atheros AR9380 5GHz */
244 compatible = "pci168c,0030";
245 reg = <0x00440000 0 0 0 0>;
246 interrupts = <4>; /* INTD 4.1.1 */