1dc37374bSHongtao Jia/*
2dc37374bSHongtao Jia * Keymile kmcoge4 Device Tree Source, based on the P2041RDB DTS
3dc37374bSHongtao Jia *
4dc37374bSHongtao Jia * (C) Copyright 2014
5dc37374bSHongtao Jia * Valentin Longchamp, Keymile AG, valentin.longchamp@keymile.com
6dc37374bSHongtao Jia *
7dc37374bSHongtao Jia * Copyright 2011 Freescale Semiconductor Inc.
8dc37374bSHongtao Jia *
9dc37374bSHongtao Jia * This program is free software; you can redistribute  it and/or modify it
10dc37374bSHongtao Jia * under  the terms of  the GNU General  Public License as published by the
11dc37374bSHongtao Jia * Free Software Foundation;  either version 2 of the  License, or (at your
12dc37374bSHongtao Jia * option) any later version.
13dc37374bSHongtao Jia */
14dc37374bSHongtao Jia
15dc37374bSHongtao Jia/include/ "p2041si-pre.dtsi"
16dc37374bSHongtao Jia
17dc37374bSHongtao Jia/ {
18dc37374bSHongtao Jia	model = "keymile,kmcoge4";
19dc37374bSHongtao Jia	compatible = "keymile,kmcoge4", "keymile,kmp204x";
20dc37374bSHongtao Jia	#address-cells = <2>;
21dc37374bSHongtao Jia	#size-cells = <2>;
22dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
23dc37374bSHongtao Jia
24dc37374bSHongtao Jia	memory {
25dc37374bSHongtao Jia		device_type = "memory";
26dc37374bSHongtao Jia	};
27dc37374bSHongtao Jia
28dc37374bSHongtao Jia	reserved-memory {
29dc37374bSHongtao Jia		#address-cells = <2>;
30dc37374bSHongtao Jia		#size-cells = <2>;
31dc37374bSHongtao Jia		ranges;
32dc37374bSHongtao Jia
33dc37374bSHongtao Jia		bman_fbpr: bman-fbpr {
34dc37374bSHongtao Jia			size = <0 0x1000000>;
35dc37374bSHongtao Jia			alignment = <0 0x1000000>;
36dc37374bSHongtao Jia		};
37dc37374bSHongtao Jia		qman_fqd: qman-fqd {
38dc37374bSHongtao Jia			size = <0 0x400000>;
39dc37374bSHongtao Jia			alignment = <0 0x400000>;
40dc37374bSHongtao Jia		};
41dc37374bSHongtao Jia		qman_pfdr: qman-pfdr {
42dc37374bSHongtao Jia			size = <0 0x2000000>;
43dc37374bSHongtao Jia			alignment = <0 0x2000000>;
44dc37374bSHongtao Jia		};
45dc37374bSHongtao Jia	};
46dc37374bSHongtao Jia
47dc37374bSHongtao Jia	dcsr: dcsr@f00000000 {
48dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0x00000000 0x01008000>;
49dc37374bSHongtao Jia	};
50dc37374bSHongtao Jia
51dc37374bSHongtao Jia	bportals: bman-portals@ff4000000 {
52dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4000000 0x200000>;
53dc37374bSHongtao Jia	};
54dc37374bSHongtao Jia
55dc37374bSHongtao Jia	qportals: qman-portals@ff4200000 {
56dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4200000 0x200000>;
57dc37374bSHongtao Jia	};
58dc37374bSHongtao Jia
59dc37374bSHongtao Jia	soc: soc@ffe000000 {
60dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
61dc37374bSHongtao Jia		reg = <0xf 0xfe000000 0 0x00001000>;
62dc37374bSHongtao Jia		spi@110000 {
63dc37374bSHongtao Jia			flash@0 {
64dc37374bSHongtao Jia				#address-cells = <1>;
65dc37374bSHongtao Jia				#size-cells = <1>;
66dc37374bSHongtao Jia				compatible = "spansion,s25fl256s1";
67dc37374bSHongtao Jia				reg = <0>;
68dc37374bSHongtao Jia				spi-max-frequency = <20000000>; /* input clock */
69dc37374bSHongtao Jia			};
70dc37374bSHongtao Jia
71dc37374bSHongtao Jia			network_clock@1 {
72dc37374bSHongtao Jia				compatible = "zarlink,zl30343";
73dc37374bSHongtao Jia				reg = <1>;
74dc37374bSHongtao Jia				spi-max-frequency = <8000000>;
75dc37374bSHongtao Jia			};
76dc37374bSHongtao Jia
77dc37374bSHongtao Jia			flash@2 {
78dc37374bSHongtao Jia				#address-cells = <1>;
79dc37374bSHongtao Jia				#size-cells = <1>;
80dc37374bSHongtao Jia				compatible = "micron,m25p32";
81dc37374bSHongtao Jia				reg = <2>;
82dc37374bSHongtao Jia				spi-max-frequency = <15000000>;
83dc37374bSHongtao Jia			};
84dc37374bSHongtao Jia		};
85dc37374bSHongtao Jia
86dc37374bSHongtao Jia		i2c@119000 {
87dc37374bSHongtao Jia			status = "disabled";
88dc37374bSHongtao Jia		};
89dc37374bSHongtao Jia
90dc37374bSHongtao Jia		i2c@119100 {
91dc37374bSHongtao Jia			status = "disabled";
92dc37374bSHongtao Jia		};
93dc37374bSHongtao Jia
94dc37374bSHongtao Jia		usb0: usb@210000 {
95dc37374bSHongtao Jia			status = "disabled";
96dc37374bSHongtao Jia		};
97dc37374bSHongtao Jia
98dc37374bSHongtao Jia		usb1: usb@211000 {
99dc37374bSHongtao Jia			status = "disabled";
100dc37374bSHongtao Jia		};
101dc37374bSHongtao Jia
102dc37374bSHongtao Jia		sata@220000 {
103dc37374bSHongtao Jia			status = "disabled";
104dc37374bSHongtao Jia		};
105dc37374bSHongtao Jia
106dc37374bSHongtao Jia		sata@221000 {
107dc37374bSHongtao Jia			status = "disabled";
108dc37374bSHongtao Jia		};
109dc37374bSHongtao Jia	};
110dc37374bSHongtao Jia
111dc37374bSHongtao Jia	rio: rapidio@ffe0c0000 {
112dc37374bSHongtao Jia		status = "disabled";
113dc37374bSHongtao Jia	};
114dc37374bSHongtao Jia
115dc37374bSHongtao Jia	lbc: localbus@ffe124000 {
116dc37374bSHongtao Jia		reg = <0xf 0xfe124000 0 0x1000>;
117dc37374bSHongtao Jia		ranges = <0 0 0xf 0xffa00000 0x00040000		/* LB 0 */
118dc37374bSHongtao Jia			  1 0 0xf 0xfb000000 0x00010000		/* LB 1 */
119dc37374bSHongtao Jia			  2 0 0xf 0xd0000000 0x10000000		/* LB 2 */
120dc37374bSHongtao Jia			  3 0 0xf 0xe0000000 0x10000000>;	/* LB 3 */
121dc37374bSHongtao Jia
122dc37374bSHongtao Jia		nand@0,0 {
123dc37374bSHongtao Jia			#address-cells = <1>;
124dc37374bSHongtao Jia			#size-cells = <1>;
125dc37374bSHongtao Jia			compatible = "fsl,elbc-fcm-nand";
126dc37374bSHongtao Jia			reg = <0 0 0x40000>;
127dc37374bSHongtao Jia		};
128dc37374bSHongtao Jia
129dc37374bSHongtao Jia		board-control@1,0 {
130dc37374bSHongtao Jia			compatible = "keymile,qriox";
131dc37374bSHongtao Jia			reg = <1 0 0x80>;
132dc37374bSHongtao Jia		};
133dc37374bSHongtao Jia
134dc37374bSHongtao Jia		chassis-mgmt@3,0 {
135dc37374bSHongtao Jia			compatible = "keymile,bfticu";
136dc37374bSHongtao Jia			interrupt-controller;
137dc37374bSHongtao Jia			#interrupt-cells = <2>;
138dc37374bSHongtao Jia			reg = <3 0 0x100>;
139dc37374bSHongtao Jia			interrupt-parent = <&mpic>;
140dc37374bSHongtao Jia			interrupts = <6 1 0 0>;
141dc37374bSHongtao Jia		};
142dc37374bSHongtao Jia	};
143dc37374bSHongtao Jia
144dc37374bSHongtao Jia	pci0: pcie@ffe200000 {
145dc37374bSHongtao Jia		reg = <0xf 0xfe200000 0 0x1000>;
146dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
147dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
148dc37374bSHongtao Jia		pcie@0 {
149dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
150dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
151dc37374bSHongtao Jia				  0 0x20000000
152dc37374bSHongtao Jia
153dc37374bSHongtao Jia				  0x01000000 0 0x00000000
154dc37374bSHongtao Jia				  0x01000000 0 0x00000000
155dc37374bSHongtao Jia				  0 0x00010000>;
156dc37374bSHongtao Jia		};
157dc37374bSHongtao Jia	};
158dc37374bSHongtao Jia
159dc37374bSHongtao Jia	pci1: pcie@ffe201000 {
160dc37374bSHongtao Jia		status = "disabled";
161dc37374bSHongtao Jia	};
162dc37374bSHongtao Jia
163dc37374bSHongtao Jia	pci2: pcie@ffe202000 {
164dc37374bSHongtao Jia		reg = <0xf 0xfe202000 0 0x1000>;
165dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x20000000
166dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8010000 0 0x00010000>;
167dc37374bSHongtao Jia		pcie@0 {
168dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
169dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
170dc37374bSHongtao Jia				  0 0x20000000
171dc37374bSHongtao Jia
172dc37374bSHongtao Jia				  0x01000000 0 0x00000000
173dc37374bSHongtao Jia				  0x01000000 0 0x00000000
174dc37374bSHongtao Jia				  0 0x00010000>;
175dc37374bSHongtao Jia		};
176dc37374bSHongtao Jia	};
177dc37374bSHongtao Jia};
178dc37374bSHongtao Jia
179dc37374bSHongtao Jia/include/ "p2041si-post.dtsi"
180