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,mx60", "meraki,buckminster", "apm,bluestone";
24 led-failsafe = &failsafe;
25 led-running = &status;
26 led-upgrade = &status;
30 linux,stdout-path = "/plb/opb/serial@ef600400";
52 /* Buckminster has 1GiB of NAND */
61 reg = <0x00000000 0x00100000>;
67 reg = <0x00100000 0x00100000>;
73 reg = <0x00200000 0x00040000>;
78 reg = <0x00240000 0x3fdc0000>;
83 reg = <0x00000000 0x40000000>;
103 phy-handle = <&phy0>;
106 #address-cells = <1>;
108 phy0: ethernet-phy@0 {
109 compatible = "ethernet-phy-id004d.d034";
111 qca,ar8327-initvals = <
114 0x0004 0x07a00000 /* PAD0_MODE */
115 0x000c 0x01000000 /* PAD6_MODE */
116 0x007c 0x0000007e /* PORT0_STATUS */
124 compatible = "gpio-leds";
126 status: power-green {
127 label = "mx60:green:power";
128 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
131 failsafe: power-orange {
132 label = "mx60:orange:power";
133 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
137 label = "mx60:green:wan";
138 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
142 label = "mx60:orange:wan";
143 gpios = <&GPIO0 15 GPIO_ACTIVE_LOW>;
147 label = "mx60:green:lan1";
148 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
152 label = "mx60:green:lan2";
153 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
157 label = "mx60:green:lan3";
158 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
162 label = "mx60:green:lan4";
163 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
168 compatible = "gpio-keys-polled";
169 #address-cells = <1>;
171 poll-interval = <60>; /* 3 * 20 = 60ms */
175 label = "Reset button";
176 linux,code = <KEY_RESTART>;
177 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
183 /* Leave this enabled as u-boot on the MX60 will disable it for us */