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