1/*
2 * Device Tree file for Lenovo Iomega ix4-300d
3 *
4 * Copyright (C) 2014, Benoit Masson <yahoo@perenite.com>
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
--- 40 unchanged lines hidden (view full) ---
49#include "armada-xp-mv78230.dtsi"
50
51/ {
52 model = "Lenovo Iomega ix4-300d";
53 compatible = "lenovo,ix4-300d", "marvell,armadaxp-mv78230",
54 "marvell,armadaxp", "marvell,armada-370-xp";
55
56 chosen {
57 bootargs = "console=ttyS0,115200 earlyprintk";
58 stdout-path = &uart0;
59 };
60
61 memory {
62 device_type = "memory";
63 reg = <0 0x00000000 0 0x20000000>; /* 512MB */
64 };
65
66 soc {
67 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
68 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
69
70 pcie-controller {
71 status = "okay";
72
73 /* Quad port sata: Marvell 88SX7042 */
74 pcie@1,0 {
75 /* Port 0, Lane 0 */
76 status = "okay";
--- 68 unchanged lines hidden (view full) ---
145
146 nand@d0000 {
147 status = "okay";
148 num-cs = <1>;
149 marvell,nand-keep-config;
150 marvell,nand-enable-arbiter;
151 nand-on-flash-bbt;
152
153 partition@0 {
154 label = "u-boot";
155 reg = <0x0000000 0xe0000>;
156 read-only;
157 };
158
159 partition@e0000 {
160 label = "u-boot-env";
161 reg = <0xe0000 0x20000>;
162 read-only;
163 };
164
165 partition@100000 {
166 label = "u-boot-env2";
167 reg = <0x100000 0x20000>;
168 read-only;
169 };
170
171 partition@120000 {
172 label = "zImage";
173 reg = <0x120000 0x400000>;
174 };
175
176 partition@520000 {
177 label = "initrd";
178 reg = <0x520000 0x400000>;
179 };
180
181 partition@xE00000 {
182 label = "boot";
183 reg = <0xE00000 0x3F200000>;
184 };
185
186 partition@flash {
187 label = "flash";
188 reg = <0x0 0x40000000>;
189 };
190 };
191 };
192 };
193
194 gpio-keys {
195 compatible = "gpio-keys";
196 pinctrl-0 = <&power_button_pin &reset_button_pin
--- 130 unchanged lines hidden ---
2 * Device Tree file for Lenovo Iomega ix4-300d
3 *
4 * Copyright (C) 2014, Benoit Masson <yahoo@perenite.com>
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
--- 40 unchanged lines hidden (view full) ---
49#include "armada-xp-mv78230.dtsi"
50
51/ {
52 model = "Lenovo Iomega ix4-300d";
53 compatible = "lenovo,ix4-300d", "marvell,armadaxp-mv78230",
54 "marvell,armadaxp", "marvell,armada-370-xp";
55
56 chosen {
57 bootargs = "console=ttyS0,115200 earlyprintk";
58 stdout-path = &uart0;
59 };
60
61 memory {
62 device_type = "memory";
63 reg = <0 0x00000000 0 0x20000000>; /* 512MB */
64 };
65
66 soc {
67 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
68 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
69
70 pcie-controller {
71 status = "okay";
72
73 /* Quad port sata: Marvell 88SX7042 */
74 pcie@1,0 {
75 /* Port 0, Lane 0 */
76 status = "okay";
--- 68 unchanged lines hidden (view full) ---
145
146 nand@d0000 {
147 status = "okay";
148 num-cs = <1>;
149 marvell,nand-keep-config;
150 marvell,nand-enable-arbiter;
151 nand-on-flash-bbt;
152
153 partition@0 {
154 label = "u-boot";
155 reg = <0x0000000 0xe0000>;
156 read-only;
157 };
158
159 partition@e0000 {
160 label = "u-boot-env";
161 reg = <0xe0000 0x20000>;
162 read-only;
163 };
164
165 partition@100000 {
166 label = "u-boot-env2";
167 reg = <0x100000 0x20000>;
168 read-only;
169 };
170
171 partition@120000 {
172 label = "zImage";
173 reg = <0x120000 0x400000>;
174 };
175
176 partition@520000 {
177 label = "initrd";
178 reg = <0x520000 0x400000>;
179 };
180
181 partition@xE00000 {
182 label = "boot";
183 reg = <0xE00000 0x3F200000>;
184 };
185
186 partition@flash {
187 label = "flash";
188 reg = <0x0 0x40000000>;
189 };
190 };
191 };
192 };
193
194 gpio-keys {
195 compatible = "gpio-keys";
196 pinctrl-0 = <&power_button_pin &reset_button_pin
--- 130 unchanged lines hidden ---