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 stdout-path = "serial0:115200n8";
58 };
59
60 memory {
61 device_type = "memory";
62 reg = <0 0x00000000 0 0x20000000>; /* 512MB */
63 };
64
65 soc {
66 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
67 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
68 MBUS_ID(0x09, 0x09) 0 0 0xf8100000 0x10000
69 MBUS_ID(0x09, 0x05) 0 0 0xf8110000 0x10000>;
70
71 pcie-controller {
72 status = "okay";
73
74 /* Quad port sata: Marvell 88SX7042 */
75 pcie@1,0 {
76 /* Port 0, Lane 0 */
77 status = "okay";
--- 68 unchanged lines hidden (view full) ---
146
147 nand@d0000 {
148 status = "okay";
149 num-cs = <1>;
150 marvell,nand-keep-config;
151 marvell,nand-enable-arbiter;
152 nand-on-flash-bbt;
153
154 partitions {
155 #address-cells = <1>;
156 #size-cells = <1>;
157
158 partition@0 {
159 label = "u-boot";
160 reg = <0x00000000 0x000e0000>;
161 read-only;
162 };
163
164 partition@e0000 {
165 label = "u-boot-env";
166 reg = <0x000e0000 0x00020000>;
167 read-only;
168 };
169
170 partition@100000 {
171 label = "u-boot-env2";
172 reg = <0x00100000 0x00020000>;
173 read-only;
174 };
175
176 partition@120000 {
177 label = "zImage";
178 reg = <0x00120000 0x00400000>;
179 };
180
181 partition@520000 {
182 label = "initrd";
183 reg = <0x00520000 0x00400000>;
184 };
185
186 partition@e00000 {
187 label = "boot";
188 reg = <0x00e00000 0x3f200000>;
189 };
190 };
191 };
192 };
193 };
194
195 gpio-keys {
196 compatible = "gpio-keys";
197 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 stdout-path = "serial0:115200n8";
58 };
59
60 memory {
61 device_type = "memory";
62 reg = <0 0x00000000 0 0x20000000>; /* 512MB */
63 };
64
65 soc {
66 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xd0000000 0x100000
67 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
68 MBUS_ID(0x09, 0x09) 0 0 0xf8100000 0x10000
69 MBUS_ID(0x09, 0x05) 0 0 0xf8110000 0x10000>;
70
71 pcie-controller {
72 status = "okay";
73
74 /* Quad port sata: Marvell 88SX7042 */
75 pcie@1,0 {
76 /* Port 0, Lane 0 */
77 status = "okay";
--- 68 unchanged lines hidden (view full) ---
146
147 nand@d0000 {
148 status = "okay";
149 num-cs = <1>;
150 marvell,nand-keep-config;
151 marvell,nand-enable-arbiter;
152 nand-on-flash-bbt;
153
154 partitions {
155 #address-cells = <1>;
156 #size-cells = <1>;
157
158 partition@0 {
159 label = "u-boot";
160 reg = <0x00000000 0x000e0000>;
161 read-only;
162 };
163
164 partition@e0000 {
165 label = "u-boot-env";
166 reg = <0x000e0000 0x00020000>;
167 read-only;
168 };
169
170 partition@100000 {
171 label = "u-boot-env2";
172 reg = <0x00100000 0x00020000>;
173 read-only;
174 };
175
176 partition@120000 {
177 label = "zImage";
178 reg = <0x00120000 0x00400000>;
179 };
180
181 partition@520000 {
182 label = "initrd";
183 reg = <0x00520000 0x00400000>;
184 };
185
186 partition@e00000 {
187 label = "boot";
188 reg = <0x00e00000 0x3f200000>;
189 };
190 };
191 };
192 };
193 };
194
195 gpio-keys {
196 compatible = "gpio-keys";
197 pinctrl-0 = <&power_button_pin &reset_button_pin
--- 130 unchanged lines hidden ---