2 * Device Tree Source for Meraki MX60/MX60W (Buckminster)
4 * Copyright (C) 2016 Chris Blake <chrisrblake93@gmail.com>
6 * Based on Cisco Meraki DTS extracted from release wired-12-217818
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 MX60/MX60W Security Appliance";
19 compatible = "meraki,buckminster", "apm,bluestone";
24 led-failsafe = &failsafe;
25 led-running = &status;
26 led-upgrade = &status;
30 linux,stdout-path = "/plb/opb/serial@ef600400";
53 /* Buckminster has 1GiB of NAND */
62 reg = <0x00000000 0x00100000>;
68 reg = <0x00100000 0x00100000>;
74 reg = <0x00200000 0x00040000>;
79 reg = <0x00240000 0x3fdc0000>;
84 reg = <0x00000000 0x40000000>;
104 phy-handle = <&phy0>;
107 #address-cells = <1>;
109 phy0: ethernet-phy@0 {
110 device_type = "ethernet-phy";
112 qca,ar8327-initvals = <
115 0x0004 0x07a00000 /* PAD0_MODE */
116 0x000c 0x01000000 /* PAD6_MODE */
117 0x007c 0x0000007e /* PORT0_STATUS */
125 compatible = "gpio-leds";
127 status: power-green {
128 label = "mx60:green:power";
129 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
132 failsafe: power-orange {
133 label = "mx60:orange:power";
134 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
138 label = "mx60:green:wan";
139 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
143 label = "mx60:orange:wan";
144 gpios = <&GPIO0 15 GPIO_ACTIVE_LOW>;
148 label = "mx60:green:lan1";
149 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
153 label = "mx60:green:lan2";
154 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
158 label = "mx60:green:lan3";
159 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
163 label = "mx60:green:lan4";
164 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
169 compatible = "gpio-keys-polled";
170 #address-cells = <1>;
172 poll-interval = <60>; /* 3 * 20 = 60ms */
176 label = "Reset button";
177 linux,code = <KEY_RESTART>;
178 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
184 /* Leave this enabled as u-boot on the MX60 will disable it for us */