1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree Source for Meraki MX60/MX60W (Buckminster)
5 * Copyright (C) 2016 Chris Blake <chrisrblake93@gmail.com>
7 * Based on Cisco Meraki DTS extracted from release wired-12-217818
12 #include <dt-bindings/leds/common.h>
13 #include "apm82181.dtsi"
16 model = "Meraki MX60/MX60W Security Appliance";
17 compatible = "meraki,mx60", "meraki,buckminster", "apm,bluestone";
22 led-failsafe = &failsafe;
23 led-running = &status;
24 led-upgrade = &status;
28 stdout-path = "/plb/opb/serial@ef600400";
50 /* Buckminster has 1GiB of NAND */
58 reg = <0x00000000 0x00100000>;
64 reg = <0x00100000 0x00100000>;
70 reg = <0x00200000 0x00040000>;
75 reg = <0x00240000 0x3fdc0000>;
100 phy0: ethernet-phy@0 {
101 compatible = "ethernet-phy-id004d.d034";
103 qca,mib-poll-interval = <500>;
105 qca,ar8327-initvals = <
108 0x0004 0x07a00000 /* PAD0_MODE */
109 0x000c 0x01000000 /* PAD6_MODE */
110 0x007c 0x0000007e /* PORT0_STATUS */
118 compatible = "gpio-leds";
120 status: power-green {
121 label = "green:power";
122 function = LED_FUNCTION_POWER;
123 color = <LED_COLOR_ID_GREEN>;
124 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
127 failsafe: power-amber {
128 label = "amber:power";
129 function = LED_FUNCTION_FAULT;
130 color = <LED_COLOR_ID_AMBER>;
131 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
135 label = "eth0:green:wan";
136 function = LED_FUNCTION_WAN;
137 color = <LED_COLOR_ID_GREEN>;
138 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
142 label = "eth0:amber:wan";
143 function = LED_FUNCTION_WAN;
144 color = <LED_COLOR_ID_AMBER>;
145 gpios = <&GPIO0 15 GPIO_ACTIVE_LOW>;
149 label = "eth0:green:lan1";
150 function = LED_FUNCTION_LAN;
151 color = <LED_COLOR_ID_GREEN>;
152 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
156 label = "eth0:green:lan2";
157 function = LED_FUNCTION_LAN;
158 color = <LED_COLOR_ID_GREEN>;
159 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
163 label = "eth0:green:lan3";
164 function = LED_FUNCTION_LAN;
165 color = <LED_COLOR_ID_GREEN>;
166 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
170 label = "eth0:green:lan4";
171 function = LED_FUNCTION_LAN;
172 color = <LED_COLOR_ID_GREEN>;
173 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
178 compatible = "gpio-keys";
181 label = "Reset button";
182 linux,code = <KEY_RESTART>;
183 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
184 interrupt-parent = <&UIC1>;
185 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
186 debounce-interval = <60>;
192 /* Leave this enabled as u-boot on the MX60 will disable it for us */
196 * relevant lspci topology:
198 * -+-[0000:40]---00.0-[41-7f]----00.0
202 reg = <0x00400000 0 0 0 0>;
203 #address-cells = <3>;
208 /* Atheros AR9380 2.4/5GHz */
209 compatible = "pci168c,0030";
210 reg = <0x00410000 0 0 0 0>;
211 interrupts = <1>; /* INTA */