1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for NETGEAR ReadyNAS NV+ v2
5 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
10 #include "kirkwood.dtsi"
11 #include "kirkwood-6281.dtsi"
14 model = "NETGEAR MS2000 / MS2110 aka Stora";
15 compatible = "netgear,stora", "netgear,ms2000", "netgear,ms2110", "marvell,kirkwood-88f6281", "marvell,kirkwood";
18 device_type = "memory";
19 reg = <0x00000000 0x8000000>;
23 bootargs = "console=ttyS0,115200n8 earlyprintk";
28 pinctrl: pin-controller@10000 {
29 pmx_button_power: pmx-button-power {
30 marvell,pins = "mpp36";
31 marvell,function = "gpio";
34 pmx_button_reset: pmx-button-reset {
35 marvell,pins = "mpp38";
36 marvell,function = "gpio";
39 pmx_led_blue_power: pmx-led-blue-power {
40 marvell,pins = "mpp32";
41 marvell,function = "gpio";
44 pmx_led_green_disk1: pmx-led-green-disk1 {
45 marvell,pins = "mpp21";
46 marvell,function = "gpio";
49 pmx_led_green_disk2: pmx-led-green-disk2 {
50 marvell,pins = "mpp20";
51 marvell,function = "gpio";
54 pmx_led_red_disk1: pmx-led-red-disk1 {
55 marvell,pins = "mpp23";
56 marvell,function = "gpio";
59 pmx_led_red_disk2: pmx-led-red-disk2 {
60 marvell,pins = "mpp22";
61 marvell,function = "gpio";
64 pmx_poweroff: pmx-poweroff {
65 marvell,pins = "mpp40";
66 marvell,function = "gpio";
69 pmx_fan_tacho: pmx-fan-tacho {
70 marvell,pins = "mpp41";
71 marvell,function = "gpio";
76 pcf8563_clk: pcf8563-oscillator {
77 compatible = "fixed-clock";
79 clock-frequency = <2048>;
87 compatible = "microchip,tc654";
92 compatible = "national,lm75";
97 compatible = "nxp,pcf8563";
108 phy-names = "port0", "port1";
114 compatible = "gpio-leds";
115 pinctrl-0 = < &pmx_led_blue_power
116 &pmx_led_green_disk1 &pmx_led_green_disk2
117 &pmx_led_red_disk1 &pmx_led_red_disk2 >;
118 pinctrl-names = "default";
121 label = "status:blue:power_led";
122 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
123 linux,default-trigger = "default-on";
127 label = "status:green:disk1_led";
128 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
129 linux,default-trigger = "ata1";
133 label = "status:green:disk2_led";
134 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
135 linux,default-trigger = "ata2";
139 label = "status:red:disk1_fail_led";
140 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
144 label = "status:red:disk2_fail_led";
145 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
150 compatible = "gpio-keys";
151 pinctrl-0 = <&pmx_button_power &pmx_button_reset >;
152 pinctrl-names = "default";
155 label = "Power Button";
156 linux,code = <KEY_POWER>;
157 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
161 label = "Reset Button";
162 linux,code = <KEY_RESTART>;
163 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
168 compatible = "gpio-poweroff";
169 pinctrl-0 = <&pmx_poweroff>;
170 pinctrl-names = "default";
171 gpios = <&gpio0 40 GPIO_ACTIVE_LOW>;
181 reg = <0x0000000 0x180000>;
186 label = "u-boot-env";
187 reg = <0x0180000 0x020000>;
192 reg = <0x0200000 0xfe00000>;
199 ethphy0: ethernet-phy@0 { /* Marvell 88E1318 */
200 compatible = "marvell,88e1116";
209 phy-handle = <ðphy0>;