1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree common file for the Seagate Personal Cloud NAS 1 and 2-Bay
6 * Copyright (C) 2015 Seagate
8 * Author: Simon Guinot <simon.guinot@sequanux.org>
12 * TODO: add support for the white SATA LED.
15 #include "armada-370.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
21 stdout-path = "serial0:115200n8";
25 device_type = "memory";
26 reg = <0x00000000 0x20000000>; /* 512 MB */
30 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
31 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
34 coherency-fabric@20200 {
44 pinctrl-0 = <&ge1_rgmii_pins>;
45 pinctrl-names = "default";
47 phy-mode = "rgmii-id";
57 compatible = "simple-bus";
62 compatible = "regulator-fixed";
64 regulator-name = "USB Power";
65 regulator-min-microvolt = <5000000>;
66 regulator-max-microvolt = <5000000>;
69 gpio = <&gpio1 27 GPIO_ACTIVE_LOW>;
72 compatible = "regulator-fixed";
74 regulator-name = "SATA0 power";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
80 gpio = <&gpio1 18 GPIO_ACTIVE_HIGH>;
85 compatible = "gpio-keys";
90 label = "Power button";
91 linux,code = <KEY_POWER>;
92 gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
93 debounce-interval = <100>;
96 label = "Reset Button";
97 linux,code = <KEY_RESTART>;
98 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
99 debounce-interval = <100>;
102 label = "USB VBUS error";
103 linux,code = <KEY_UNKNOWN>;
104 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
105 debounce-interval = <100>;
110 compatible = "gpio-leds";
113 label = "cumulus:red:sata0";
114 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
115 default-state = "off";
120 compatible = "gpio-poweroff";
121 gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
128 /* USB 3.0 Bridge ASM1042A */
135 pinctrl-0 = <&mdio_pins>;
136 pinctrl-names = "default";
138 phy0: ethernet-phy@0 {
144 pinctrl-0 = <&sata_led_pin>;
145 pinctrl-names = "default";
147 sata_led_pin: sata-led-pin {
148 marvell,pins = "mpp60";
149 marvell,function = "sata0";
151 gpio_led_pin: gpio-led-pin {
152 marvell,pins = "mpp60";
153 marvell,function = "gpio";
159 pinctrl-0 = <&spi0_pins2>;
160 pinctrl-names = "default";
163 #address-cells = <1>;
166 compatible = "mxicy,mx25l8005", "jedec,spi-nor";
167 reg = <0>; /* Chip select 0 */
168 spi-max-frequency = <50000000>;
172 reg = <0x0 0x100000>;