2 * Device Tree file for NETGEAR ReadyNAS 102
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 "armada-370.dtsi"
17 model = "NETGEAR ReadyNAS 102";
18 compatible = "netgear,readynas-102", "marvell,armada370", "marvell,armada-370-xp";
21 bootargs = "console=ttyS0,115200 earlyprintk";
25 device_type = "memory";
26 reg = <0x00000000 0x20000000>; /* 512 MB */
30 ranges = <MBUS_ID(0xf0, 0x01) 0 0xd0000000 0x100000
31 MBUS_ID(0x01, 0xe0) 0 0xfff00000 0x100000>;
36 /* Connected to Marvell SATA controller */
42 /* Connected to FL1009 USB 3.0 controller */
51 clock-frequency = <200000000>;
61 power_led_pin: power-led-pin {
62 marvell,pins = "mpp57";
63 marvell,function = "gpio";
65 sata1_led_pin: sata1-led-pin {
66 marvell,pins = "mpp15";
67 marvell,function = "gpio";
70 sata2_led_pin: sata2-led-pin {
71 marvell,pins = "mpp14";
72 marvell,function = "gpio";
75 backup_led_pin: backup-led-pin {
76 marvell,pins = "mpp56";
77 marvell,function = "gpio";
81 marvell,pins = "mpp8";
82 marvell,function = "gpio";
87 phy0: ethernet-phy@0 {
95 phy-mode = "rgmii-id";
103 compatible = "marvell,mv64xxx-i2c";
104 clock-frequency = <100000>;
108 compatible = "gmt,g762";
110 clocks = <&g762_clk>; /* input clock */
120 #address-cells = <1>;
124 compatible = "fixed-clock";
126 clock-frequency = <8192>;
131 compatible = "gpio-leds";
132 pinctrl-0 = < &power_led_pin
136 pinctrl-names = "default";
139 label = "rn102:blue:pwr";
140 gpios = <&gpio1 25 1>; /* GPIO 57 Active Low */
141 linux,default-trigger = "heartbeat";
145 label = "rn102:green:sata1";
146 gpios = <&gpio0 15 1>; /* GPIO 15 Active Low */
147 default-state = "on";
151 label = "rn102:green:sata2";
152 gpios = <&gpio0 14 1>; /* GPIO 14 Active Low */
153 default-state = "on";
157 label = "rn102:green:backup";
158 gpios = <&gpio1 24 1>; /* GPIO 56 Active Low */
159 default-state = "on";
164 compatible = "gpio-keys";
165 #address-cells = <1>;
169 label = "Power Button";
170 linux,code = <116>; /* KEY_POWER */
171 gpios = <&gpio1 30 0>;
175 label = "Reset Button";
176 linux,code = <0x198>; /* KEY_RESTART */
177 gpios = <&gpio0 6 1>;
181 label = "Backup Button";
182 linux,code = <133>; /* KEY_COPY */
183 gpios = <&gpio1 26 1>;
188 compatible = "gpio-poweroff";
189 pinctrl-0 = <&poweroff>;
190 pinctrl-names = "default";
191 gpios = <&gpio0 8 1>;