1ac0ca416SShaohui Xie/*
2ac0ca416SShaohui Xie * Device Tree Include file for Freescale Layerscape-1043A family SoC.
3ac0ca416SShaohui Xie *
4ac0ca416SShaohui Xie * Copyright 2014-2015, Freescale Semiconductor
5ac0ca416SShaohui Xie *
6ac0ca416SShaohui Xie * Mingkai Hu <Mingkai.hu@freescale.com>
7ac0ca416SShaohui Xie *
8ac0ca416SShaohui Xie * This file is dual-licensed: you can use it either under the terms
9ac0ca416SShaohui Xie * of the GPLv2 or the X11 license, at your option. Note that this dual
10ac0ca416SShaohui Xie * licensing only applies to this file, and not this project as a
11ac0ca416SShaohui Xie * whole.
12ac0ca416SShaohui Xie *
13ac0ca416SShaohui Xie *  a) This library is free software; you can redistribute it and/or
14ac0ca416SShaohui Xie *     modify it under the terms of the GNU General Public License as
15ac0ca416SShaohui Xie *     published by the Free Software Foundation; either version 2 of the
16ac0ca416SShaohui Xie *     License, or (at your option) any later version.
17ac0ca416SShaohui Xie *
18ac0ca416SShaohui Xie *     This library is distributed in the hope that it will be useful,
19ac0ca416SShaohui Xie *     but WITHOUT ANY WARRANTY; without even the implied warranty of
20ac0ca416SShaohui Xie *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21ac0ca416SShaohui Xie *     GNU General Public License for more details.
22ac0ca416SShaohui Xie *
23ac0ca416SShaohui Xie * Or, alternatively,
24ac0ca416SShaohui Xie *
25ac0ca416SShaohui Xie *  b) Permission is hereby granted, free of charge, to any person
26ac0ca416SShaohui Xie *     obtaining a copy of this software and associated documentation
27ac0ca416SShaohui Xie *     files (the "Software"), to deal in the Software without
28ac0ca416SShaohui Xie *     restriction, including without limitation the rights to use,
29ac0ca416SShaohui Xie *     copy, modify, merge, publish, distribute, sublicense, and/or
30ac0ca416SShaohui Xie *     sell copies of the Software, and to permit persons to whom the
31ac0ca416SShaohui Xie *     Software is furnished to do so, subject to the following
32ac0ca416SShaohui Xie *     conditions:
33ac0ca416SShaohui Xie *
34ac0ca416SShaohui Xie *     The above copyright notice and this permission notice shall be
35ac0ca416SShaohui Xie *     included in all copies or substantial portions of the Software.
36ac0ca416SShaohui Xie *
37ac0ca416SShaohui Xie *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38ac0ca416SShaohui Xie *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39ac0ca416SShaohui Xie *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40ac0ca416SShaohui Xie *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41ac0ca416SShaohui Xie *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42ac0ca416SShaohui Xie *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43ac0ca416SShaohui Xie *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44ac0ca416SShaohui Xie *     OTHER DEALINGS IN THE SOFTWARE.
45ac0ca416SShaohui Xie */
46ac0ca416SShaohui Xie
47ac0ca416SShaohui Xie/dts-v1/;
48ac0ca416SShaohui Xie/include/ "fsl-ls1043a.dtsi"
49ac0ca416SShaohui Xie
50ac0ca416SShaohui Xie/ {
51ac0ca416SShaohui Xie	model = "LS1043A RDB Board";
52ac0ca416SShaohui Xie};
53ac0ca416SShaohui Xie
54ac0ca416SShaohui Xie&i2c0 {
55ac0ca416SShaohui Xie	status = "okay";
56ac0ca416SShaohui Xie	ina220@40 {
57ac0ca416SShaohui Xie		compatible = "ti,ina220";
58ac0ca416SShaohui Xie		reg = <0x40>;
59ac0ca416SShaohui Xie		shunt-resistor = <1000>;
60ac0ca416SShaohui Xie	};
61ac0ca416SShaohui Xie	adt7461a@4c {
62ac0ca416SShaohui Xie		compatible = "adi,adt7461";
63ac0ca416SShaohui Xie		reg = <0x4c>;
64ac0ca416SShaohui Xie	};
65ac0ca416SShaohui Xie	eeprom@52 {
66ac0ca416SShaohui Xie		compatible = "at24,24c512";
67ac0ca416SShaohui Xie		reg = <0x52>;
68ac0ca416SShaohui Xie	};
69ac0ca416SShaohui Xie	eeprom@53 {
70ac0ca416SShaohui Xie		compatible = "at24,24c512";
71ac0ca416SShaohui Xie		reg = <0x53>;
72ac0ca416SShaohui Xie	};
73ac0ca416SShaohui Xie	rtc@68 {
74ac0ca416SShaohui Xie		compatible = "pericom,pt7c4338";
75ac0ca416SShaohui Xie		reg = <0x68>;
76ac0ca416SShaohui Xie	};
77ac0ca416SShaohui Xie};
78ac0ca416SShaohui Xie
79ac0ca416SShaohui Xie&ifc {
80ac0ca416SShaohui Xie	status = "okay";
81ac0ca416SShaohui Xie	#address-cells = <2>;
82ac0ca416SShaohui Xie	#size-cells = <1>;
83ac0ca416SShaohui Xie	/* NOR, NAND Flashes and FPGA on board */
84ac0ca416SShaohui Xie	ranges = <0x0 0x0 0x0 0x60000000 0x08000000
85ac0ca416SShaohui Xie		  0x1 0x0 0x0 0x7e800000 0x00010000
86ac0ca416SShaohui Xie		  0x2 0x0 0x0 0x7fb00000 0x00000100>;
87ac0ca416SShaohui Xie
88ac0ca416SShaohui Xie		nor@0,0 {
89ac0ca416SShaohui Xie			compatible = "cfi-flash";
90ac0ca416SShaohui Xie			#address-cells = <1>;
91ac0ca416SShaohui Xie			#size-cells = <1>;
92ac0ca416SShaohui Xie			reg = <0x0 0x0 0x8000000>;
93ac0ca416SShaohui Xie			bank-width = <2>;
94ac0ca416SShaohui Xie			device-width = <1>;
95ac0ca416SShaohui Xie		};
96ac0ca416SShaohui Xie
97ac0ca416SShaohui Xie		nand@1,0 {
98ac0ca416SShaohui Xie			compatible = "fsl,ifc-nand";
99ac0ca416SShaohui Xie			#address-cells = <1>;
100ac0ca416SShaohui Xie			#size-cells = <1>;
101ac0ca416SShaohui Xie			reg = <0x1 0x0 0x10000>;
102ac0ca416SShaohui Xie		};
103ac0ca416SShaohui Xie
104ac0ca416SShaohui Xie		cpld: board-control@2,0 {
105ac0ca416SShaohui Xie			compatible = "fsl,ls1043ardb-cpld";
106ac0ca416SShaohui Xie			reg = <0x2 0x0 0x0000100>;
107ac0ca416SShaohui Xie		};
108ac0ca416SShaohui Xie};
109ac0ca416SShaohui Xie
110730628f0SYunhui Cui&dspi0 {
111730628f0SYunhui Cui	bus-num = <0>;
112730628f0SYunhui Cui	status = "okay";
113730628f0SYunhui Cui
114730628f0SYunhui Cui	flash@0 {
115730628f0SYunhui Cui		#address-cells = <1>;
116730628f0SYunhui Cui		#size-cells = <1>;
117730628f0SYunhui Cui		compatible = "n25q128a13", "jedec,spi-nor";  /* 16MB */
118730628f0SYunhui Cui		reg = <0>;
119730628f0SYunhui Cui		spi-max-frequency = <1000000>; /* input clock */
120730628f0SYunhui Cui	};
121730628f0SYunhui Cui};
122730628f0SYunhui Cui
123ac0ca416SShaohui Xie&duart0 {
124ac0ca416SShaohui Xie	status = "okay";
125ac0ca416SShaohui Xie};
126ac0ca416SShaohui Xie
127ac0ca416SShaohui Xie&duart1 {
128ac0ca416SShaohui Xie	status = "okay";
129ac0ca416SShaohui Xie};
130