1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for NETGEAR ReadyNAS Duo v2
5 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
10 #include "kirkwood.dtsi"
11 #include "kirkwood-6282.dtsi"
14 model = "NETGEAR ReadyNAS Duo v2";
15 compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,kirkwood";
18 device_type = "memory";
19 reg = <0x00000000 0x10000000>;
23 bootargs = "console=ttyS0,115200n8 earlyprintk";
28 pinctrl: pin-controller@10000 {
29 pmx_button_power: pmx-button-power {
30 marvell,pins = "mpp47";
31 marvell,function = "gpio";
34 pmx_button_backup: pmx-button-backup {
35 marvell,pins = "mpp45";
36 marvell,function = "gpio";
39 pmx_button_reset: pmx-button-reset {
40 marvell,pins = "mpp13";
41 marvell,function = "gpio";
44 pmx_led_blue_power: pmx-led-blue-power {
45 marvell,pins = "mpp31";
46 marvell,function = "gpio";
49 pmx_led_blue_activity: pmx-led-blue-activity {
50 marvell,pins = "mpp38";
51 marvell,function = "gpio";
54 pmx_led_blue_disk1: pmx-led-blue-disk1 {
55 marvell,pins = "mpp23";
56 marvell,function = "gpio";
59 pmx_led_blue_disk2: pmx-led-blue-disk2 {
60 marvell,pins = "mpp22";
61 marvell,function = "gpio";
64 pmx_led_blue_backup: pmx-led-blue-backup {
65 marvell,pins = "mpp29";
66 marvell,function = "gpio";
69 pmx_poweroff: pmx-poweroff {
70 marvell,pins = "mpp30";
71 marvell,function = "gpio";
76 g762_clk: g762-oscillator {
77 compatible = "fixed-clock";
79 clock-frequency = <8192>;
86 rs5c372a: rs5c372a@32 {
87 compatible = "ricoh,rs5c372a";
92 compatible = "gmt,g762";
94 clocks = <&g762_clk>; /* input clock */
112 compatible = "gpio-leds";
113 pinctrl-0 = < &pmx_led_blue_power &pmx_led_blue_activity
114 &pmx_led_blue_disk1 &pmx_led_blue_disk2
115 &pmx_led_blue_backup >;
116 pinctrl-names = "default";
119 label = "status:blue:power_led";
120 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
121 default-state = "keep";
125 label = "status:blue:activity_led";
126 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
130 label = "status:blue:disk1_led";
131 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
135 label = "status:blue:disk2_led";
136 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
140 label = "status:blue:backup_led";
141 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
146 compatible = "gpio-keys";
147 pinctrl-0 = <&pmx_button_power &pmx_button_backup
149 pinctrl-names = "default";
152 label = "Power Button";
153 linux,code = <KEY_POWER>;
154 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
158 label = "Reset Button";
159 linux,code = <KEY_RESTART>;
160 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
164 label = "Backup Button";
165 linux,code = <KEY_COPY>;
166 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
171 compatible = "gpio-poweroff";
172 pinctrl-0 = <&pmx_poweroff>;
173 pinctrl-names = "default";
174 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
178 compatible = "simple-bus";
179 #address-cells = <1>;
182 usb3_regulator: usb3-regulator@1 {
183 compatible = "regulator-fixed";
185 regulator-name = "USB 3.0 Power";
186 regulator-min-microvolt = <5000000>;
187 regulator-max-microvolt = <5000000>;
191 gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
201 reg = <0x0000000 0x180000>;
206 label = "u-boot-env";
207 reg = <0x180000 0x20000>;
212 reg = <0x0200000 0x600000>;
216 label = "minirootfs";
217 reg = <0x0800000 0x1000000>;
222 reg = <0x1800000 0x6800000>;
229 ethphy0: ethernet-phy@0 { /* Marvell 88E1318 */
237 phy-handle = <ðphy0>;