armada-xp-netgear-rn2120.dts (279385) | armada-xp-netgear-rn2120.dts (295436) |
---|---|
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 { | 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"; | 56 stdout-path = "serial0:115200n8"; |
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 | 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>; | 66 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000 67 MBUS_ID(0x09, 0x09) 0 0 0xf8100000 0x10000 68 MBUS_ID(0x09, 0x05) 0 0 0xf8110000 0x10000>; |
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 { | 69 70 pcie-controller { 71 status = "okay"; 72 73 /* Connected to first Marvell 88SE9170 SATA controller */ 74 pcie@1,0 { 75 /* Port 0, Lane 0 */ 76 status = "okay"; --- 8 unchanged lines hidden (view full) --- 85 /* Connected to Fresco Logic FL1009 USB 3.0 controller */ 86 pcie@5,0 { 87 /* Port 1, Lane 0 */ 88 status = "okay"; 89 }; 90 }; 91 92 internal-regs { |
91 /* Two rear eSATA ports */ 92 sata@a0000 { 93 nr-ports = <2>; 94 status = "okay"; 95 }; | |
96 | 93 |
97 serial@12000 { 98 status = "okay"; | 94 /* RTC is provided by Intersil ISL12057 I2C RTC chip */ 95 rtc@10300 { 96 status = "disabled"; |
99 }; 100 | 97 }; 98 |
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 | 99 i2c@11000 { 100 compatible = "marvell,mv64xxx-i2c"; 101 clock-frequency = <400000>; 102 status = "okay"; 103 |
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 }; | 104 /* Controller for rear fan #1 of 3 (Protechnic 105 * MGT4012XB-O20, 8000RPM) near eSATA port */ 106 g762_fan1: g762@3e { 107 compatible = "gmt,g762"; 108 reg = <0x3e>; 109 clocks = <&g762_clk>; /* input clock */ 110 fan_gear_mode = <0>; 111 fan_startv = <1>; --- 20 unchanged lines hidden (view full) --- 132 pwm_polarity = <0>; 133 }; 134 135 /* Temperature sensor */ 136 g751: g751@4c { 137 compatible = "gmt,g751"; 138 reg = <0x4c>; 139 }; |
140 141 isl12057: isl12057@68 { 142 compatible = "isil,isl12057"; 143 reg = <0x68>; 144 wakeup-source; 145 }; |
|
175 }; 176 | 146 }; 147 |
148 serial@12000 { 149 status = "okay"; 150 }; 151 152 /* Front USB 2.0 port */ 153 usb@50000 { 154 status = "okay"; 155 }; 156 157 mdio { 158 phy0: ethernet-phy@0 { /* Marvell 88E1318 */ 159 reg = <0>; 160 }; 161 162 phy1: ethernet-phy@1 { /* Marvell 88E1318 */ 163 reg = <1>; 164 }; 165 }; 166 167 ethernet@70000 { 168 status = "okay"; 169 phy = <&phy0>; 170 phy-mode = "rgmii-id"; 171 }; 172 173 ethernet@74000 { 174 status = "okay"; 175 phy = <&phy1>; 176 phy-mode = "rgmii-id"; 177 }; 178 179 /* Two rear eSATA ports */ 180 sata@a0000 { 181 nr-ports = <2>; 182 status = "okay"; 183 }; 184 |
|
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 --- | 185 nand@d0000 { 186 status = "okay"; 187 num-cs = <1>; 188 marvell,nand-keep-config; 189 marvell,nand-enable-arbiter; 190 nand-on-flash-bbt; 191 192 /* Use Hardware BCH ECC */ --- 186 unchanged lines hidden --- |