1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for Seagate Blackarmor NAS220
5 * Copyright (C) 2014 Evgeni Dobrev <evgeni@studio-punkt.com>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include "kirkwood.dtsi"
13 #include "kirkwood-6192.dtsi"
16 model = "Seagate Blackarmor NAS220";
17 compatible = "seagate,blackarmor-nas220","marvell,kirkwood-88f6192",
21 device_type = "memory";
22 reg = <0x00000000 0x8000000>;
26 bootargs = "console=ttyS0,115200n8";
31 compatible = "gpio-poweroff";
32 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 linux,code = <KEY_POWER>;
41 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
46 linux,code = <KEY_SLEEP>;
47 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-leds";
55 label = "nas220:blue:power";
56 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
57 linux,default-trigger = "default-on";
62 compatible = "simple-bus";
65 pinctrl-0 = <&pmx_power_sata0 &pmx_power_sata1>;
66 pinctrl-names = "default";
68 sata0_power: regulator@1 {
69 compatible = "regulator-fixed";
71 regulator-name = "SATA0 Power";
72 regulator-min-microvolt = <5000000>;
73 regulator-max-microvolt = <5000000>;
77 gpio = <&gpio0 24 GPIO_ACTIVE_LOW>;
80 sata1_power: regulator@2 {
81 compatible = "regulator-fixed";
83 regulator-name = "SATA1 Power";
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
89 gpio = <&gpio0 28 GPIO_ACTIVE_LOW>;
95 * Serial port routed to connector CN5
97 * pin 1 - TX (CPU's TX)
98 * pin 4 - RX (CPU's RX)
106 pinctrl-0 = <&pmx_button_reset &pmx_button_power>;
107 pinctrl-names = "default";
109 pmx_act_sata0: pmx-act-sata0 {
110 marvell,pins = "mpp15";
111 marvell,function = "sata0";
114 pmx_act_sata1: pmx-act-sata1 {
115 marvell,pins = "mpp16";
116 marvell,function = "sata1";
119 pmx_power_sata0: pmx-power-sata0 {
120 marvell,pins = "mpp24";
121 marvell,function = "gpio";
124 pmx_power_sata1: pmx-power-sata1 {
125 marvell,pins = "mpp28";
126 marvell,function = "gpio";
129 pmx_button_reset: pmx-button-reset {
130 marvell,pins = "mpp29";
131 marvell,function = "gpio";
134 pmx_button_power: pmx-button-power {
135 marvell,pins = "mpp26";
136 marvell,function = "gpio";
148 adt7476: thermal@2e {
149 compatible = "adi,adt7476";
161 ethphy0: ethernet-phy@8 {
170 phy-handle = <ðphy0>;