1c2f6a472SAbhimanyu Saini/*
2c2f6a472SAbhimanyu Saini * Device Tree file for Freescale LS2080A RDB Board.
3c2f6a472SAbhimanyu Saini *
48637f58bSLi Yang * Copyright 2016 Freescale Semiconductor, Inc.
58637f58bSLi Yang * Copyright 2017 NXP
6c2f6a472SAbhimanyu Saini *
7c2f6a472SAbhimanyu Saini * Abhimanyu Saini <abhimanyu.saini@nxp.com>
8c2f6a472SAbhimanyu Saini *
9c2f6a472SAbhimanyu Saini * This file is dual-licensed: you can use it either under the terms
10c2f6a472SAbhimanyu Saini * of the GPLv2 or the X11 license, at your option. Note that this dual
11c2f6a472SAbhimanyu Saini * licensing only applies to this file, and not this project as a
12c2f6a472SAbhimanyu Saini * whole.
13c2f6a472SAbhimanyu Saini *
14c2f6a472SAbhimanyu Saini *  a) This library is free software; you can redistribute it and/or
15c2f6a472SAbhimanyu Saini *     modify it under the terms of the GNU General Public License as
16c2f6a472SAbhimanyu Saini *     published by the Free Software Foundation; either version 2 of the
17c2f6a472SAbhimanyu Saini *     License, or (at your option) any later version.
18c2f6a472SAbhimanyu Saini *
19c2f6a472SAbhimanyu Saini *     This library is distributed in the hope that it will be useful,
20c2f6a472SAbhimanyu Saini *     but WITHOUT ANY WARRANTY; without even the implied warranty of
21c2f6a472SAbhimanyu Saini *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22c2f6a472SAbhimanyu Saini *     GNU General Public License for more details.
23c2f6a472SAbhimanyu Saini *
24c2f6a472SAbhimanyu Saini * Or, alternatively,
25c2f6a472SAbhimanyu Saini *
26c2f6a472SAbhimanyu Saini *  b) Permission is hereby granted, free of charge, to any person
27c2f6a472SAbhimanyu Saini *     obtaining a copy of this software and associated documentation
28c2f6a472SAbhimanyu Saini *     files (the "Software"), to deal in the Software without
29c2f6a472SAbhimanyu Saini *     restriction, including without limitation the rights to use,
30c2f6a472SAbhimanyu Saini *     copy, modify, merge, publish, distribute, sublicense, and/or
31c2f6a472SAbhimanyu Saini *     sell copies of the Software, and to permit persons to whom the
32c2f6a472SAbhimanyu Saini *     Software is furnished to do so, subject to the following
33c2f6a472SAbhimanyu Saini *     conditions:
34c2f6a472SAbhimanyu Saini *
35c2f6a472SAbhimanyu Saini *     The above copyright notice and this permission notice shall be
36c2f6a472SAbhimanyu Saini *     included in all copies or substantial portions of the Software.
37c2f6a472SAbhimanyu Saini *
38c2f6a472SAbhimanyu Saini *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39c2f6a472SAbhimanyu Saini *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40c2f6a472SAbhimanyu Saini *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41c2f6a472SAbhimanyu Saini *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42c2f6a472SAbhimanyu Saini *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43c2f6a472SAbhimanyu Saini *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44c2f6a472SAbhimanyu Saini *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45c2f6a472SAbhimanyu Saini *     OTHER DEALINGS IN THE SOFTWARE.
46c2f6a472SAbhimanyu Saini */
47c2f6a472SAbhimanyu Saini
48c2f6a472SAbhimanyu Saini&esdhc {
49c2f6a472SAbhimanyu Saini	status = "okay";
50c2f6a472SAbhimanyu Saini};
51c2f6a472SAbhimanyu Saini
52c2f6a472SAbhimanyu Saini&ifc {
53c2f6a472SAbhimanyu Saini	status = "okay";
54c2f6a472SAbhimanyu Saini	#address-cells = <2>;
55c2f6a472SAbhimanyu Saini	#size-cells = <1>;
56c2f6a472SAbhimanyu Saini	ranges = <0x0 0x0 0x5 0x80000000 0x08000000
57c2f6a472SAbhimanyu Saini		  0x2 0x0 0x5 0x30000000 0x00010000
58c2f6a472SAbhimanyu Saini		  0x3 0x0 0x5 0x20000000 0x00010000>;
59c2f6a472SAbhimanyu Saini
60c2f6a472SAbhimanyu Saini	nor@0,0 {
61c2f6a472SAbhimanyu Saini		#address-cells = <1>;
62c2f6a472SAbhimanyu Saini		#size-cells = <1>;
63c2f6a472SAbhimanyu Saini		compatible = "cfi-flash";
64c2f6a472SAbhimanyu Saini		reg = <0x0 0x0 0x8000000>;
65c2f6a472SAbhimanyu Saini		bank-width = <2>;
66c2f6a472SAbhimanyu Saini		device-width = <1>;
67c2f6a472SAbhimanyu Saini	};
68c2f6a472SAbhimanyu Saini
69c2f6a472SAbhimanyu Saini	nand@2,0 {
70c2f6a472SAbhimanyu Saini	     compatible = "fsl,ifc-nand";
71c2f6a472SAbhimanyu Saini	     reg = <0x2 0x0 0x10000>;
72c2f6a472SAbhimanyu Saini	};
73c2f6a472SAbhimanyu Saini
74c2f6a472SAbhimanyu Saini	cpld@3,0 {
75c2f6a472SAbhimanyu Saini	     reg = <0x3 0x0 0x10000>;
76c2f6a472SAbhimanyu Saini	     compatible = "fsl,ls2080aqds-fpga", "fsl,fpga-qixis";
77c2f6a472SAbhimanyu Saini	};
78c2f6a472SAbhimanyu Saini
79c2f6a472SAbhimanyu Saini};
80c2f6a472SAbhimanyu Saini
81c2f6a472SAbhimanyu Saini&i2c0 {
82c2f6a472SAbhimanyu Saini	status = "okay";
83c2f6a472SAbhimanyu Saini	pca9547@75 {
84c2f6a472SAbhimanyu Saini		compatible = "nxp,pca9547";
85c2f6a472SAbhimanyu Saini		reg = <0x75>;
86c2f6a472SAbhimanyu Saini		#address-cells = <1>;
87c2f6a472SAbhimanyu Saini		#size-cells = <0>;
88c2f6a472SAbhimanyu Saini		i2c@1 {
89c2f6a472SAbhimanyu Saini			#address-cells = <1>;
90c2f6a472SAbhimanyu Saini			#size-cells = <0>;
91c2f6a472SAbhimanyu Saini			reg = <0x01>;
92c2f6a472SAbhimanyu Saini			rtc@68 {
93c2f6a472SAbhimanyu Saini				compatible = "dallas,ds3232";
94c2f6a472SAbhimanyu Saini				reg = <0x68>;
95c2f6a472SAbhimanyu Saini			};
96c2f6a472SAbhimanyu Saini		};
97c2f6a472SAbhimanyu Saini
981e333007SYuantian Tang		i2c@2 {
991e333007SYuantian Tang			#address-cells = <1>;
1001e333007SYuantian Tang			#size-cells = <0>;
1011e333007SYuantian Tang			reg = <0x02>;
1021e333007SYuantian Tang
1031e333007SYuantian Tang			ina220@40 {
1041e333007SYuantian Tang				compatible = "ti,ina220";
1051e333007SYuantian Tang				reg = <0x40>;
1061e333007SYuantian Tang				shunt-resistor = <500>;
1071e333007SYuantian Tang			};
1081e333007SYuantian Tang		};
1091e333007SYuantian Tang
110c2f6a472SAbhimanyu Saini		i2c@3 {
111c2f6a472SAbhimanyu Saini			#address-cells = <1>;
112c2f6a472SAbhimanyu Saini			#size-cells = <0>;
113c2f6a472SAbhimanyu Saini			reg = <0x3>;
114c2f6a472SAbhimanyu Saini
115c2f6a472SAbhimanyu Saini			adt7481@4c {
116c2f6a472SAbhimanyu Saini				compatible = "adi,adt7461";
117c2f6a472SAbhimanyu Saini				reg = <0x4c>;
118c2f6a472SAbhimanyu Saini			};
119c2f6a472SAbhimanyu Saini		};
120c2f6a472SAbhimanyu Saini	};
121c2f6a472SAbhimanyu Saini};
122c2f6a472SAbhimanyu Saini
123c2f6a472SAbhimanyu Saini&i2c1 {
124c2f6a472SAbhimanyu Saini	status = "disabled";
125c2f6a472SAbhimanyu Saini};
126c2f6a472SAbhimanyu Saini
127c2f6a472SAbhimanyu Saini&i2c2 {
128c2f6a472SAbhimanyu Saini	status = "disabled";
129c2f6a472SAbhimanyu Saini};
130c2f6a472SAbhimanyu Saini
131c2f6a472SAbhimanyu Saini&i2c3 {
132c2f6a472SAbhimanyu Saini	status = "disabled";
133c2f6a472SAbhimanyu Saini};
134c2f6a472SAbhimanyu Saini
135c2f6a472SAbhimanyu Saini&dspi {
136c2f6a472SAbhimanyu Saini	status = "okay";
137c326ff59SFabio Estevam	dflash0: n25q512a@0 {
138c2f6a472SAbhimanyu Saini		#address-cells = <1>;
139c2f6a472SAbhimanyu Saini		#size-cells = <1>;
140c2f6a472SAbhimanyu Saini		compatible = "st,m25p80";
141c2f6a472SAbhimanyu Saini		spi-max-frequency = <3000000>;
142c2f6a472SAbhimanyu Saini		reg = <0>;
143c2f6a472SAbhimanyu Saini	};
144c2f6a472SAbhimanyu Saini};
145c2f6a472SAbhimanyu Saini
146c2f6a472SAbhimanyu Saini&qspi {
147c2f6a472SAbhimanyu Saini	status = "disabled";
148c2f6a472SAbhimanyu Saini};
149c2f6a472SAbhimanyu Saini
150c2f6a472SAbhimanyu Saini&sata0 {
151c2f6a472SAbhimanyu Saini	status = "okay";
152c2f6a472SAbhimanyu Saini};
153c2f6a472SAbhimanyu Saini
154c2f6a472SAbhimanyu Saini&sata1 {
155c2f6a472SAbhimanyu Saini	status = "okay";
156c2f6a472SAbhimanyu Saini};
157c2f6a472SAbhimanyu Saini
158c2f6a472SAbhimanyu Saini&usb0 {
159c2f6a472SAbhimanyu Saini	status = "okay";
160c2f6a472SAbhimanyu Saini};
161c2f6a472SAbhimanyu Saini
162c2f6a472SAbhimanyu Saini&usb1 {
163c2f6a472SAbhimanyu Saini	status = "okay";
164c2f6a472SAbhimanyu Saini};
165