2 * Device Tree file for Seagate Blackarmor NAS220
4 * Copyright (C) 2014 Evgeni Dobrev <evgeni@studio-punkt.com>
6 * Licensed under GPLv2 or later.
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include "kirkwood.dtsi"
14 #include "kirkwood-6192.dtsi"
17 model = "Seagate Blackarmor NAS220";
18 compatible = "seagate,blackarmor-nas220","marvell,kirkwood-88f6192",
22 device_type = "memory";
23 reg = <0x00000000 0x8000000>;
27 bootargs = "console=ttyS0,115200n8";
32 compatible = "gpio-poweroff";
33 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys";
41 linux,code = <KEY_POWER>;
42 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
47 linux,code = <KEY_SLEEP>;
48 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
53 compatible = "gpio-leds";
56 label = "nas220:blue:power";
57 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "default-on";
63 compatible = "simple-bus";
66 pinctrl-0 = <&pmx_power_sata0 &pmx_power_sata1>;
67 pinctrl-names = "default";
69 sata0_power: regulator@1 {
70 compatible = "regulator-fixed";
72 regulator-name = "SATA0 Power";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
78 gpio = <&gpio0 24 GPIO_ACTIVE_LOW>;
81 sata1_power: regulator@2 {
82 compatible = "regulator-fixed";
84 regulator-name = "SATA1 Power";
85 regulator-min-microvolt = <5000000>;
86 regulator-max-microvolt = <5000000>;
90 gpio = <&gpio0 28 GPIO_ACTIVE_LOW>;
96 * Serial port routed to connector CN5
98 * pin 1 - TX (CPU's TX)
99 * pin 4 - RX (CPU's RX)
107 pinctrl-0 = <&pmx_button_reset &pmx_button_power>;
108 pinctrl-names = "default";
110 pmx_act_sata0: pmx-act-sata0 {
111 marvell,pins = "mpp15";
112 marvell,function = "sata0";
115 pmx_act_sata1: pmx-act-sata1 {
116 marvell,pins = "mpp16";
117 marvell,function = "sata1";
120 pmx_power_sata0: pmx-power-sata0 {
121 marvell,pins = "mpp24";
122 marvell,function = "gpio";
125 pmx_power_sata1: pmx-power-sata1 {
126 marvell,pins = "mpp28";
127 marvell,function = "gpio";
130 pmx_button_reset: pmx-button-reset {
131 marvell,pins = "mpp29";
132 marvell,function = "gpio";
135 pmx_button_power: pmx-button-power {
136 marvell,pins = "mpp26";
137 marvell,function = "gpio";
149 adt7476: thermal@2e {
150 compatible = "adi,adt7476";
162 ethphy0: ethernet-phy@8 {
171 phy-handle = <ðphy0>;