2 * Device Tree file for NETGEAR ReadyNAS 104
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 104";
18 compatible = "netgear,readynas-104", "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 FL1009 USB 3.0 controller */
42 /* Connected to Marvell 88SE9215 SATA controller */
51 clock-frequency = <200000000>;
57 marvell,pins = "mpp60";
58 marvell,function = "gpio";
61 backup_key_pin: backup-key-pin {
62 marvell,pins = "mpp52";
63 marvell,function = "gpio";
66 power_key_pin: power-key-pin {
67 marvell,pins = "mpp62";
68 marvell,function = "gpio";
71 backup_led_pin: backup-led-pin {
72 marvell,pins = "mpp63";
73 marvell,function = "gpo";
76 power_led_pin: power-led-pin {
77 marvell,pins = "mpp64";
78 marvell,function = "gpio";
81 reset_key_pin: reset-key-pin {
82 marvell,pins = "mpp65";
83 marvell,function = "gpio";
88 phy0: ethernet-phy@0 {
92 phy1: ethernet-phy@1 {
100 phy-mode = "rgmii-id";
106 phy-mode = "rgmii-id";
114 compatible = "marvell,mv64xxx-i2c";
115 clock-frequency = <100000>;
119 compatible = "gmt,g762";
121 clocks = <&g762_clk>; /* input clock */
131 #address-cells = <1>;
135 compatible = "fixed-clock";
137 clock-frequency = <8192>;
142 compatible = "gpio-leds";
143 pinctrl-0 = <&backup_led_pin &power_led_pin>;
144 pinctrl-names = "default";
147 label = "rn104:blue:backup";
148 gpios = <&gpio1 31 0>; /* GPIO 63 Active High */
149 default-state = "off";
153 label = "rn104:blue:pwr";
154 gpios = <&gpio2 0 1>; /* GPIO 64 Active Low */
155 linux,default-trigger = "keep";
160 compatible = "gpio-keys";
161 #address-cells = <1>;
163 pinctrl-0 = <&backup_key_pin
166 pinctrl-names = "default";
169 label = "Backup Button";
170 linux,code = <133>; /* KEY_COPY */
171 gpios = <&gpio1 20 1>;
175 label = "Power Button";
176 linux,code = <116>; /* KEY_POWER */
177 gpios = <&gpio1 30 0>;
181 label = "Reset Button";
182 linux,code = <0x198>; /* KEY_RESTART */
183 gpios = <&gpio2 1 1>;
188 compatible = "gpio-poweroff";
189 pinctrl-0 = <&poweroff>;
190 pinctrl-names = "default";
191 gpios = <&gpio1 28 1>;