2 * Device Tree file for NETGEAR ReadyNAS Duo v2
4 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
14 #include "kirkwood.dtsi"
15 #include "kirkwood-6282.dtsi"
18 model = "NETGEAR ReadyNAS Duo v2";
19 compatible = "netgear,readynas-duo-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,kirkwood";
22 device_type = "memory";
23 reg = <0x00000000 0x10000000>;
27 bootargs = "console=ttyS0,115200n8 earlyprintk";
42 pinctrl: pin-controller@10000 {
43 pmx_button_power: pmx-button-power {
44 marvell,pins = "mpp47";
45 marvell,function = "gpio";
48 pmx_button_backup: pmx-button-backup {
49 marvell,pins = "mpp45";
50 marvell,function = "gpio";
53 pmx_button_reset: pmx-button-reset {
54 marvell,pins = "mpp13";
55 marvell,function = "gpio";
58 pmx_led_blue_power: pmx-led-blue-power {
59 marvell,pins = "mpp31";
60 marvell,function = "gpio";
63 pmx_led_blue_activity: pmx-led-blue-activity {
64 marvell,pins = "mpp38";
65 marvell,function = "gpio";
68 pmx_led_blue_disk1: pmx-led-blue-disk1 {
69 marvell,pins = "mpp23";
70 marvell,function = "gpio";
73 pmx_led_blue_disk2: pmx-led-blue-disk2 {
74 marvell,pins = "mpp22";
75 marvell,function = "gpio";
78 pmx_led_blue_backup: pmx-led-blue-backup {
79 marvell,pins = "mpp29";
80 marvell,function = "gpio";
83 pmx_poweroff: pmx-poweroff {
84 marvell,pins = "mpp30";
85 marvell,function = "gpio";
90 g762_clk: g762-oscillator {
91 compatible = "fixed-clock";
93 clock-frequency = <8192>;
100 rs5c372a: rs5c372a@32 {
101 compatible = "ricoh,rs5c372a";
106 compatible = "gmt,g762";
108 clocks = <&g762_clk>; /* input clock */
126 compatible = "gpio-leds";
127 pinctrl-0 = < &pmx_led_blue_power &pmx_led_blue_activity
128 &pmx_led_blue_disk1 &pmx_led_blue_disk2
129 &pmx_led_blue_backup >;
130 pinctrl-names = "default";
133 label = "status:blue:power_led";
134 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
135 default-state = "keep";
139 label = "status:blue:activity_led";
140 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
144 label = "status:blue:disk1_led";
145 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
149 label = "status:blue:disk2_led";
150 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
154 label = "status:blue:backup_led";
155 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
160 compatible = "gpio-keys";
161 pinctrl-0 = <&pmx_button_power &pmx_button_backup
163 pinctrl-names = "default";
166 label = "Power Button";
167 linux,code = <KEY_POWER>;
168 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
172 label = "Reset Button";
173 linux,code = <KEY_RESTART>;
174 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
178 label = "Backup Button";
179 linux,code = <KEY_COPY>;
180 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
185 compatible = "gpio-poweroff";
186 pinctrl-0 = <&pmx_poweroff>;
187 pinctrl-names = "default";
188 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
192 compatible = "simple-bus";
193 #address-cells = <1>;
196 usb3_regulator: usb3-regulator {
197 compatible = "regulator-fixed";
199 regulator-name = "USB 3.0 Power";
200 regulator-min-microvolt = <5000000>;
201 regulator-max-microvolt = <5000000>;
205 gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
215 reg = <0x0000000 0x180000>;
220 label = "u-boot-env";
221 reg = <0x180000 0x20000>;
226 reg = <0x0200000 0x600000>;
230 label = "minirootfs";
231 reg = <0x0800000 0x1000000>;
236 reg = <0x1800000 0x6800000>;
243 ethphy0: ethernet-phy@0 { /* Marvell 88E1318 */
251 phy-handle = <ðphy0>;