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: pinctrl@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 */
116 pinctrl-0 = <&pmx_uart0>;
117 pinctrl-names = "default";
128 compatible = "gpio-leds";
129 pinctrl-0 = < &pmx_led_blue_power &pmx_led_blue_activity
130 &pmx_led_blue_disk1 &pmx_led_blue_disk2
131 &pmx_led_blue_backup >;
132 pinctrl-names = "default";
135 label = "status:blue:power_led";
136 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
137 default-state = "keep";
141 label = "status:blue:activity_led";
142 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
146 label = "status:blue:disk1_led";
147 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
151 label = "status:blue:disk2_led";
152 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
156 label = "status:blue:backup_led";
157 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
162 compatible = "gpio-keys";
163 pinctrl-0 = <&pmx_button_power &pmx_button_backup
165 pinctrl-names = "default";
168 label = "Power Button";
169 linux,code = <KEY_POWER>;
170 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
174 label = "Reset Button";
175 linux,code = <KEY_RESTART>;
176 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
180 label = "Backup Button";
181 linux,code = <KEY_COPY>;
182 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
187 compatible = "gpio-poweroff";
188 pinctrl-0 = <&pmx_poweroff>;
189 pinctrl-names = "default";
190 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
194 compatible = "simple-bus";
195 #address-cells = <1>;
198 usb3_regulator: usb3-regulator {
199 compatible = "regulator-fixed";
201 regulator-name = "USB 3.0 Power";
202 regulator-min-microvolt = <5000000>;
203 regulator-max-microvolt = <5000000>;
207 gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
217 reg = <0x0000000 0x180000>;
222 label = "u-boot-env";
223 reg = <0x180000 0x20000>;
228 reg = <0x0200000 0x600000>;
232 label = "minirootfs";
233 reg = <0x0800000 0x1000000>;
238 reg = <0x1800000 0x6800000>;
245 ethphy0: ethernet-phy@0 { /* Marvell 88E1318 */
253 phy-handle = <ðphy0>;