1/*
2 * Device Tree file for NETGEAR ReadyNAS 2120
3 *
4 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
--- 39 unchanged lines hidden (view full) ---
48#include <dt-bindings/gpio/gpio.h>
49#include "armada-xp-mv78230.dtsi"
50
51/ {
52 model = "NETGEAR ReadyNAS 2120";
53 compatible = "netgear,readynas-2120", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
54
55 chosen {
56 bootargs = "console=ttyS0,115200 earlyprintk";
57 };
58
59 memory {
60 device_type = "memory";
61 reg = <0 0x00000000 0 0x80000000>; /* 2GB */
62 };
63
64 soc {
65 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
66 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
67
68 pcie-controller {
69 status = "okay";
70
71 /* Connected to first Marvell 88SE9170 SATA controller */
72 pcie@1,0 {
73 /* Port 0, Lane 0 */
74 status = "okay";
--- 8 unchanged lines hidden (view full) ---
83 /* Connected to Fresco Logic FL1009 USB 3.0 controller */
84 pcie@5,0 {
85 /* Port 1, Lane 0 */
86 status = "okay";
87 };
88 };
89
90 internal-regs {
91 /* Two rear eSATA ports */
92 sata@a0000 {
93 nr-ports = <2>;
94 status = "okay";
95 };
96
97 serial@12000 {
98 status = "okay";
99 };
100
101 mdio {
102 phy0: ethernet-phy@0 { /* Marvell 88E1318 */
103 reg = <0>;
104 };
105
106 phy1: ethernet-phy@1 { /* Marvell 88E1318 */
107 reg = <1>;
108 };
109 };
110
111 ethernet@70000 {
112 status = "okay";
113 phy = <&phy0>;
114 phy-mode = "rgmii-id";
115 };
116
117 ethernet@74000 {
118 status = "okay";
119 phy = <&phy1>;
120 phy-mode = "rgmii-id";
121 };
122
123 /* Front USB 2.0 port */
124 usb@50000 {
125 status = "okay";
126 };
127
128 i2c@11000 {
129 compatible = "marvell,mv64xxx-i2c";
130 clock-frequency = <400000>;
131 status = "okay";
132
133 isl12057: isl12057@68 {
134 compatible = "isil,isl12057";
135 reg = <0x68>;
136 isil,irq2-can-wakeup-machine;
137 };
138
139 /* Controller for rear fan #1 of 3 (Protechnic
140 * MGT4012XB-O20, 8000RPM) near eSATA port */
141 g762_fan1: g762@3e {
142 compatible = "gmt,g762";
143 reg = <0x3e>;
144 clocks = <&g762_clk>; /* input clock */
145 fan_gear_mode = <0>;
146 fan_startv = <1>;
--- 20 unchanged lines hidden (view full) ---
167 pwm_polarity = <0>;
168 };
169
170 /* Temperature sensor */
171 g751: g751@4c {
172 compatible = "gmt,g751";
173 reg = <0x4c>;
174 };
175 };
176
177 nand@d0000 {
178 status = "okay";
179 num-cs = <1>;
180 marvell,nand-keep-config;
181 marvell,nand-enable-arbiter;
182 nand-on-flash-bbt;
183
184 /* Use Hardware BCH ECC */
--- 186 unchanged lines hidden ---
2 * Device Tree file for NETGEAR ReadyNAS 2120
3 *
4 * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
--- 39 unchanged lines hidden (view full) ---
48#include <dt-bindings/gpio/gpio.h>
49#include "armada-xp-mv78230.dtsi"
50
51/ {
52 model = "NETGEAR ReadyNAS 2120";
53 compatible = "netgear,readynas-2120", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
54
55 chosen {
56 bootargs = "console=ttyS0,115200 earlyprintk";
57 };
58
59 memory {
60 device_type = "memory";
61 reg = <0 0x00000000 0 0x80000000>; /* 2GB */
62 };
63
64 soc {
65 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
66 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
67
68 pcie-controller {
69 status = "okay";
70
71 /* Connected to first Marvell 88SE9170 SATA controller */
72 pcie@1,0 {
73 /* Port 0, Lane 0 */
74 status = "okay";
--- 8 unchanged lines hidden (view full) ---
83 /* Connected to Fresco Logic FL1009 USB 3.0 controller */
84 pcie@5,0 {
85 /* Port 1, Lane 0 */
86 status = "okay";
87 };
88 };
89
90 internal-regs {
91 /* Two rear eSATA ports */
92 sata@a0000 {
93 nr-ports = <2>;
94 status = "okay";
95 };
96
97 serial@12000 {
98 status = "okay";
99 };
100
101 mdio {
102 phy0: ethernet-phy@0 { /* Marvell 88E1318 */
103 reg = <0>;
104 };
105
106 phy1: ethernet-phy@1 { /* Marvell 88E1318 */
107 reg = <1>;
108 };
109 };
110
111 ethernet@70000 {
112 status = "okay";
113 phy = <&phy0>;
114 phy-mode = "rgmii-id";
115 };
116
117 ethernet@74000 {
118 status = "okay";
119 phy = <&phy1>;
120 phy-mode = "rgmii-id";
121 };
122
123 /* Front USB 2.0 port */
124 usb@50000 {
125 status = "okay";
126 };
127
128 i2c@11000 {
129 compatible = "marvell,mv64xxx-i2c";
130 clock-frequency = <400000>;
131 status = "okay";
132
133 isl12057: isl12057@68 {
134 compatible = "isil,isl12057";
135 reg = <0x68>;
136 isil,irq2-can-wakeup-machine;
137 };
138
139 /* Controller for rear fan #1 of 3 (Protechnic
140 * MGT4012XB-O20, 8000RPM) near eSATA port */
141 g762_fan1: g762@3e {
142 compatible = "gmt,g762";
143 reg = <0x3e>;
144 clocks = <&g762_clk>; /* input clock */
145 fan_gear_mode = <0>;
146 fan_startv = <1>;
--- 20 unchanged lines hidden (view full) ---
167 pwm_polarity = <0>;
168 };
169
170 /* Temperature sensor */
171 g751: g751@4c {
172 compatible = "gmt,g751";
173 reg = <0x4c>;
174 };
175 };
176
177 nand@d0000 {
178 status = "okay";
179 num-cs = <1>;
180 marvell,nand-keep-config;
181 marvell,nand-enable-arbiter;
182 nand-on-flash-bbt;
183
184 /* Use Hardware BCH ECC */
--- 186 unchanged lines hidden ---