2 * Device Tree common file for the Seagate Personal Cloud NAS 1 and 2-Bay
5 * Copyright (C) 2015 Seagate
7 * Author: Simon Guinot <simon.guinot@sequanux.org>
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
15 * TODO: add support for the white SATA LED.
18 #include "armada-370.dtsi"
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/input/input.h>
24 stdout-path = "serial0:115200n8";
28 device_type = "memory";
29 reg = <0x00000000 0x20000000>; /* 512 MB */
33 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
34 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
39 /* USB 3.0 Bridge ASM1042A */
46 coherency-fabric@20200 {
55 pinctrl-0 = <&mdio_pins>;
56 pinctrl-names = "default";
58 phy0: ethernet-phy@0 {
65 pinctrl-0 = <&ge1_rgmii_pins>;
66 pinctrl-names = "default";
68 phy-mode = "rgmii-id";
73 pinctrl-0 = <&spi0_pins2>;
74 pinctrl-names = "default";
80 compatible = "mxicy,mx25l8005", "jedec,spi-nor";
81 reg = <0>; /* Chip select 0 */
82 spi-max-frequency = <50000000>;
98 compatible = "simple-bus";
103 compatible = "regulator-fixed";
105 regulator-name = "USB Power";
106 regulator-min-microvolt = <5000000>;
107 regulator-max-microvolt = <5000000>;
110 gpio = <&gpio1 27 GPIO_ACTIVE_LOW>;
113 compatible = "regulator-fixed";
115 regulator-name = "SATA0 power";
116 regulator-min-microvolt = <5000000>;
117 regulator-max-microvolt = <5000000>;
121 gpio = <&gpio1 18 GPIO_ACTIVE_HIGH>;
126 compatible = "gpio-keys";
127 #address-cells = <1>;
131 label = "Power button";
132 linux,code = <KEY_POWER>;
133 gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
134 debounce-interval = <100>;
137 label = "Reset Button";
138 linux,code = <KEY_RESTART>;
139 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
140 debounce-interval = <100>;
143 label = "USB VBUS error";
144 linux,code = <KEY_UNKNOWN>;
145 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
146 debounce-interval = <100>;
151 compatible = "gpio-leds";
154 label = "cumulus:red:sata0";
155 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
156 default-state = "off";
161 compatible = "gpio-poweroff";
162 gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
167 pinctrl-0 = <&sata_led_pin>;
168 pinctrl-names = "default";
170 sata_led_pin: sata-led-pin {
171 marvell,pins = "mpp60";
172 marvell,function = "sata0";
174 gpio_led_pin: gpio-led-pin {
175 marvell,pins = "mpp60";
176 marvell,function = "gpio";