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