1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Tree file for NETGEAR Stora (MS2000/2110)
5 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
6 * Copyright (C) 2021, Zoltan HERPAI <wigyori@uid0.hu>
11 #include "kirkwood.dtsi"
12 #include "kirkwood-6281.dtsi"
15 model = "NETGEAR Stora (MS2000/2110)";
16 compatible = "netgear,stora", "marvell,kirkwood-88f6281", "marvell,kirkwood";
19 device_type = "memory";
20 reg = <0x00000000 0x8000000>;
24 led-boot = &led_power;
25 led-failsafe = &led_power;
26 led-running = &led_power;
27 led-upgrade = &led_power;
31 bootargs = "console=ttyS0,115200n8 earlyprintk";
36 pinctrl: pin-controller@10000 {
37 pmx_button_power: pmx-button-power {
38 marvell,pins = "mpp36";
39 marvell,function = "gpio";
42 pmx_button_reset: pmx-button-reset {
43 marvell,pins = "mpp38";
44 marvell,function = "gpio";
47 pmx_led_blue_power: pmx-led-blue-power {
48 marvell,pins = "mpp31";
49 marvell,function = "gpio";
52 pmx_led_green_disk1: pmx-led-green-disk1 {
53 marvell,pins = "mpp21";
54 marvell,function = "gpio";
57 pmx_led_green_disk2: pmx-led-green-disk2 {
58 marvell,pins = "mpp20";
59 marvell,function = "gpio";
62 pmx_led_red_disk1: pmx-led-red-disk1 {
63 marvell,pins = "mpp23";
64 marvell,function = "gpio";
67 pmx_led_red_disk2: pmx-led-red-disk2 {
68 marvell,pins = "mpp22";
69 marvell,function = "gpio";
72 pmx_poweroff: pmx-poweroff {
73 marvell,pins = "mpp40";
74 marvell,function = "gpio";
77 pmx_fan_tacho: pmx-fan-tacho {
78 marvell,pins = "mpp41";
79 marvell,function = "gpio";
84 pcf8563_clk: pcf8563-oscillator {
85 compatible = "fixed-clock";
87 clock-frequency = <2048>;
95 compatible = "microchip,tc654";
100 compatible = "national,lm75";
105 compatible = "nxp,pcf8563";
116 phy-names = "port0", "port1";
122 compatible = "gpio-leds";
123 pinctrl-0 = < &pmx_led_blue_power
124 &pmx_led_green_disk1 &pmx_led_green_disk2
125 &pmx_led_red_disk1 &pmx_led_red_disk2 >;
126 pinctrl-names = "default";
129 label = "blue:power";
130 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
131 linux,default-trigger = "default-on";
135 label = "green:disk1";
136 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
137 linux,default-trigger = "ata1";
141 label = "green:disk2";
142 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
143 linux,default-trigger = "ata2";
147 label = "red:disk1_fail";
148 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
152 label = "red:disk2_fail";
153 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
158 compatible = "gpio-keys";
159 pinctrl-0 = <&pmx_button_power &pmx_button_reset >;
160 pinctrl-names = "default";
163 label = "Power Button";
164 linux,code = <KEY_POWER>;
165 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
169 label = "Reset Button";
170 linux,code = <KEY_RESTART>;
171 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
176 compatible = "gpio-poweroff";
177 pinctrl-0 = <&pmx_poweroff>;
178 pinctrl-names = "default";
179 gpios = <&gpio0 40 GPIO_ACTIVE_LOW>;
189 reg = <0x0000000 0x0e0000>;
194 label = "u-boot-env";
195 reg = <0x0e00000 0x020000>;
200 reg = <0x0100000 0xff00000>;
207 ethphy0: ethernet-phy@0 { /* Marvell 88E1318 */
208 compatible = "marvell,88e1116";
217 phy-handle = <ðphy0>;