1b9925d59SBhupesh Sharma/*
2b9925d59SBhupesh Sharma * Device Tree file for Freescale LS2080a QDS Board.
3b9925d59SBhupesh Sharma *
4b9925d59SBhupesh Sharma * Copyright (C) 2015, Freescale Semiconductor
5b9925d59SBhupesh Sharma *
6b9925d59SBhupesh Sharma * Bhupesh Sharma <bhupesh.sharma@freescale.com>
7b9925d59SBhupesh Sharma *
8b9925d59SBhupesh Sharma * This file is dual-licensed: you can use it either under the terms
9b9925d59SBhupesh Sharma * of the GPLv2 or the X11 license, at your option. Note that this dual
10b9925d59SBhupesh Sharma * licensing only applies to this file, and not this project as a
11b9925d59SBhupesh Sharma * whole.
12b9925d59SBhupesh Sharma *
13b9925d59SBhupesh Sharma *  a) This library is free software; you can redistribute it and/or
14b9925d59SBhupesh Sharma *     modify it under the terms of the GNU General Public License as
15b9925d59SBhupesh Sharma *     published by the Free Software Foundation; either version 2 of the
16b9925d59SBhupesh Sharma *     License, or (at your option) any later version.
17b9925d59SBhupesh Sharma *
18b9925d59SBhupesh Sharma *     This library is distributed in the hope that it will be useful,
19b9925d59SBhupesh Sharma *     but WITHOUT ANY WARRANTY; without even the implied warranty of
20b9925d59SBhupesh Sharma *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21b9925d59SBhupesh Sharma *     GNU General Public License for more details.
22b9925d59SBhupesh Sharma *
23b9925d59SBhupesh Sharma * Or, alternatively,
24b9925d59SBhupesh Sharma *
25b9925d59SBhupesh Sharma *  b) Permission is hereby granted, free of charge, to any person
26b9925d59SBhupesh Sharma *     obtaining a copy of this software and associated documentation
27b9925d59SBhupesh Sharma *     files (the "Software"), to deal in the Software without
28b9925d59SBhupesh Sharma *     restriction, including without limitation the rights to use,
29b9925d59SBhupesh Sharma *     copy, modify, merge, publish, distribute, sublicense, and/or
30b9925d59SBhupesh Sharma *     sell copies of the Software, and to permit persons to whom the
31b9925d59SBhupesh Sharma *     Software is furnished to do so, subject to the following
32b9925d59SBhupesh Sharma *     conditions:
33b9925d59SBhupesh Sharma *
34b9925d59SBhupesh Sharma *     The above copyright notice and this permission notice shall be
35b9925d59SBhupesh Sharma *     included in all copies or substantial portions of the Software.
36b9925d59SBhupesh Sharma *
37b9925d59SBhupesh Sharma *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38b9925d59SBhupesh Sharma *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39b9925d59SBhupesh Sharma *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40b9925d59SBhupesh Sharma *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41b9925d59SBhupesh Sharma *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42b9925d59SBhupesh Sharma *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43b9925d59SBhupesh Sharma *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44b9925d59SBhupesh Sharma *     OTHER DEALINGS IN THE SOFTWARE.
45b9925d59SBhupesh Sharma */
46b9925d59SBhupesh Sharma
47b9925d59SBhupesh Sharma/dts-v1/;
48b9925d59SBhupesh Sharma
49b9925d59SBhupesh Sharma/include/ "fsl-ls2080a.dtsi"
50b9925d59SBhupesh Sharma
51b9925d59SBhupesh Sharma/ {
52b9925d59SBhupesh Sharma	model = "Freescale Layerscape 2080a QDS Board";
53b9925d59SBhupesh Sharma	compatible = "fsl,ls2080a-qds", "fsl,ls2080a";
54b9925d59SBhupesh Sharma
55b9925d59SBhupesh Sharma	aliases {
56b9925d59SBhupesh Sharma		serial0 = &serial0;
57b9925d59SBhupesh Sharma		serial1 = &serial1;
58b9925d59SBhupesh Sharma	};
59b9925d59SBhupesh Sharma
60b9925d59SBhupesh Sharma};
61b9925d59SBhupesh Sharma
62b9925d59SBhupesh Sharma&esdhc {
63b9925d59SBhupesh Sharma	status = "okay";
64b9925d59SBhupesh Sharma};
65b9925d59SBhupesh Sharma
66b9925d59SBhupesh Sharma&ifc {
67b9925d59SBhupesh Sharma	status = "okay";
68b9925d59SBhupesh Sharma	#address-cells = <2>;
69b9925d59SBhupesh Sharma	#size-cells = <1>;
70b9925d59SBhupesh Sharma	ranges = <0x0 0x0 0x5 0x80000000 0x08000000
71b9925d59SBhupesh Sharma		  0x2 0x0 0x5 0x30000000 0x00010000
72b9925d59SBhupesh Sharma		  0x3 0x0 0x5 0x20000000 0x00010000>;
73b9925d59SBhupesh Sharma
74b9925d59SBhupesh Sharma	nor@0,0 {
75b9925d59SBhupesh Sharma		#address-cells = <1>;
76b9925d59SBhupesh Sharma		#size-cells = <1>;
77b9925d59SBhupesh Sharma		compatible = "cfi-flash";
78b9925d59SBhupesh Sharma		reg = <0x0 0x0 0x8000000>;
79b9925d59SBhupesh Sharma		bank-width = <2>;
80b9925d59SBhupesh Sharma		device-width = <1>;
81b9925d59SBhupesh Sharma	};
82b9925d59SBhupesh Sharma
83b9925d59SBhupesh Sharma	nand@2,0 {
84b9925d59SBhupesh Sharma	     compatible = "fsl,ifc-nand";
85b9925d59SBhupesh Sharma	     reg = <0x2 0x0 0x10000>;
86b9925d59SBhupesh Sharma	};
87b9925d59SBhupesh Sharma
88b9925d59SBhupesh Sharma	cpld@3,0 {
89b9925d59SBhupesh Sharma	     reg = <0x3 0x0 0x10000>;
90b9925d59SBhupesh Sharma	     compatible = "fsl,ls2080aqds-fpga", "fsl,fpga-qixis";
91b9925d59SBhupesh Sharma	};
92b9925d59SBhupesh Sharma};
93b9925d59SBhupesh Sharma
94b9925d59SBhupesh Sharma&i2c0 {
95b9925d59SBhupesh Sharma	status = "okay";
96b9925d59SBhupesh Sharma	pca9547@77 {
97b9925d59SBhupesh Sharma		compatible = "nxp,pca9547";
98b9925d59SBhupesh Sharma		reg = <0x77>;
99b9925d59SBhupesh Sharma		#address-cells = <1>;
100b9925d59SBhupesh Sharma		#size-cells = <0>;
101b9925d59SBhupesh Sharma		i2c@0 {
102b9925d59SBhupesh Sharma			#address-cells = <1>;
103b9925d59SBhupesh Sharma			#size-cells = <0>;
104b9925d59SBhupesh Sharma			reg = <0x00>;
105b9925d59SBhupesh Sharma			rtc@68 {
106b9925d59SBhupesh Sharma				compatible = "dallas,ds3232";
107b9925d59SBhupesh Sharma				reg = <0x68>;
108b9925d59SBhupesh Sharma			};
109b9925d59SBhupesh Sharma		};
110b9925d59SBhupesh Sharma
111b9925d59SBhupesh Sharma		i2c@2 {
112b9925d59SBhupesh Sharma			#address-cells = <1>;
113b9925d59SBhupesh Sharma			#size-cells = <0>;
114b9925d59SBhupesh Sharma			reg = <0x02>;
115b9925d59SBhupesh Sharma
116b9925d59SBhupesh Sharma			ina220@40 {
117b9925d59SBhupesh Sharma				compatible = "ti,ina220";
118b9925d59SBhupesh Sharma				reg = <0x40>;
119b9925d59SBhupesh Sharma				shunt-resistor = <500>;
120b9925d59SBhupesh Sharma			};
121b9925d59SBhupesh Sharma
122b9925d59SBhupesh Sharma			ina220@41 {
123b9925d59SBhupesh Sharma				compatible = "ti,ina220";
124b9925d59SBhupesh Sharma				reg = <0x41>;
125b9925d59SBhupesh Sharma				shunt-resistor = <1000>;
126b9925d59SBhupesh Sharma			};
127b9925d59SBhupesh Sharma		};
128b9925d59SBhupesh Sharma
129b9925d59SBhupesh Sharma		i2c@3 {
130b9925d59SBhupesh Sharma			#address-cells = <1>;
131b9925d59SBhupesh Sharma			#size-cells = <0>;
132b9925d59SBhupesh Sharma			reg = <0x3>;
133b9925d59SBhupesh Sharma
134b9925d59SBhupesh Sharma			adt7481@4c {
135b9925d59SBhupesh Sharma				compatible = "adi,adt7461";
136b9925d59SBhupesh Sharma				reg = <0x4c>;
137b9925d59SBhupesh Sharma			};
138b9925d59SBhupesh Sharma		};
139b9925d59SBhupesh Sharma	};
140b9925d59SBhupesh Sharma};
141b9925d59SBhupesh Sharma
142b9925d59SBhupesh Sharma&i2c1 {
143b9925d59SBhupesh Sharma	status = "disabled";
144b9925d59SBhupesh Sharma};
145b9925d59SBhupesh Sharma
146b9925d59SBhupesh Sharma&i2c2 {
147b9925d59SBhupesh Sharma	status = "disabled";
148b9925d59SBhupesh Sharma};
149b9925d59SBhupesh Sharma
150b9925d59SBhupesh Sharma&i2c3 {
151b9925d59SBhupesh Sharma	status = "disabled";
152b9925d59SBhupesh Sharma};
153b9925d59SBhupesh Sharma
154b9925d59SBhupesh Sharma&dspi {
155b9925d59SBhupesh Sharma	status = "okay";
156b9925d59SBhupesh Sharma	dflash0: n25q128a {
157b9925d59SBhupesh Sharma		#address-cells = <1>;
158b9925d59SBhupesh Sharma		#size-cells = <1>;
159b9925d59SBhupesh Sharma		compatible = "st,m25p80";
160b9925d59SBhupesh Sharma		spi-max-frequency = <3000000>;
161b9925d59SBhupesh Sharma		reg = <0>;
162b9925d59SBhupesh Sharma	};
163b9925d59SBhupesh Sharma	dflash1: sst25wf040b {
164b9925d59SBhupesh Sharma		#address-cells = <1>;
165b9925d59SBhupesh Sharma		#size-cells = <1>;
166b9925d59SBhupesh Sharma		compatible = "st,m25p80";
167b9925d59SBhupesh Sharma		spi-max-frequency = <3000000>;
168b9925d59SBhupesh Sharma		reg = <1>;
169b9925d59SBhupesh Sharma	};
170b9925d59SBhupesh Sharma	dflash2: en25s64 {
171b9925d59SBhupesh Sharma		#address-cells = <1>;
172b9925d59SBhupesh Sharma		#size-cells = <1>;
173b9925d59SBhupesh Sharma		compatible = "st,m25p80";
174b9925d59SBhupesh Sharma		spi-max-frequency = <3000000>;
175b9925d59SBhupesh Sharma		reg = <2>;
176b9925d59SBhupesh Sharma	};
177b9925d59SBhupesh Sharma};
178b9925d59SBhupesh Sharma
179b9925d59SBhupesh Sharma&qspi {
180b9925d59SBhupesh Sharma	status = "okay";
181b9925d59SBhupesh Sharma	qflash0: s25fl008k {
182b9925d59SBhupesh Sharma		#address-cells = <1>;
183b9925d59SBhupesh Sharma		#size-cells = <1>;
184b9925d59SBhupesh Sharma		compatible = "st,m25p80";
185b9925d59SBhupesh Sharma		spi-max-frequency = <20000000>;
186b9925d59SBhupesh Sharma		reg = <0>;
187b9925d59SBhupesh Sharma	};
188b9925d59SBhupesh Sharma};
189b9925d59SBhupesh Sharma
190b9925d59SBhupesh Sharma&sata0 {
191b9925d59SBhupesh Sharma	status = "okay";
192b9925d59SBhupesh Sharma};
193b9925d59SBhupesh Sharma
194b9925d59SBhupesh Sharma&sata1 {
195b9925d59SBhupesh Sharma	status = "okay";
196b9925d59SBhupesh Sharma};
197b9925d59SBhupesh Sharma
198b9925d59SBhupesh Sharma&usb0 {
199b9925d59SBhupesh Sharma	status = "okay";
200b9925d59SBhupesh Sharma};
201b9925d59SBhupesh Sharma
202b9925d59SBhupesh Sharma&usb1 {
203b9925d59SBhupesh Sharma	status = "okay";
204b9925d59SBhupesh Sharma};
205