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 */
32 clock-frequency = <200000000>;
42 power_led_pin: power-led-pin {
43 marvell,pins = "mpp57";
44 marvell,function = "gpio";
46 sata1_led_pin: sata1-led-pin {
47 marvell,pins = "mpp15";
48 marvell,function = "gpio";
51 sata2_led_pin: sata2-led-pin {
52 marvell,pins = "mpp14";
53 marvell,function = "gpio";
56 backup_led_pin: backup-led-pin {
57 marvell,pins = "mpp56";
58 marvell,function = "gpio";
63 phy0: ethernet-phy@0 {
71 phy-mode = "rgmii-id";
79 compatible = "marvell,mv64xxx-i2c";
80 clock-frequency = <100000>;
84 compatible = "gmt,g762";
86 clocks = <&g762_clk>; /* input clock */
96 /* Connected to Marvell SATA controller */
102 /* Connected to FL1009 USB 3.0 controller */
112 #address-cells = <1>;
116 compatible = "fixed-clock";
118 clock-frequency = <8192>;
123 compatible = "gpio-leds";
124 pinctrl-0 = < &power_led_pin
128 pinctrl-names = "default";
131 label = "rn102:blue:pwr";
132 gpios = <&gpio1 25 1>; /* GPIO 57 Active Low */
133 linux,default-trigger = "heartbeat";
137 label = "rn102:green:sata1";
138 gpios = <&gpio0 15 1>; /* GPIO 15 Active Low */
139 default-state = "on";
143 label = "rn102:green:sata2";
144 gpios = <&gpio0 14 1>; /* GPIO 14 Active Low */
145 default-state = "on";
149 label = "rn102:green:backup";
150 gpios = <&gpio1 24 1>; /* GPIO 56 Active Low */
151 default-state = "on";
156 compatible = "gpio-keys";
157 #address-cells = <1>;
161 label = "Power Button";
162 linux,code = <116>; /* KEY_POWER */
163 gpios = <&gpio1 30 0>;
167 label = "Reset Button";
168 linux,code = <0x198>; /* KEY_RESTART */
169 gpios = <&gpio0 6 1>;
173 label = "Backup Button";
174 linux,code = <133>; /* KEY_COPY */
175 gpios = <&gpio1 26 1>;