xref: /rk3399_rockchip-uboot/arch/arm/dts/fsl-ls1043a-rdb.dts (revision b5178a1f2468d5e9b1066e7d08757c1164727e4c)
1e1cecb4dSGong Qianyu/*
2e1cecb4dSGong Qianyu * Device Tree Include file for Freescale Layerscape-1043A family SoC.
3e1cecb4dSGong Qianyu *
4e1cecb4dSGong Qianyu * Copyright (C) 2015, Freescale Semiconductor
5e1cecb4dSGong Qianyu *
6e1cecb4dSGong Qianyu * Mingkai Hu <Mingkai.hu@freescale.com>
7e1cecb4dSGong Qianyu *
8e1cecb4dSGong Qianyu * This file is licensed under the terms of the GNU General Public
9e1cecb4dSGong Qianyu * License version 2.  This program is licensed "as is" without any
10e1cecb4dSGong Qianyu * warranty of any kind, whether express or implied.
11e1cecb4dSGong Qianyu */
12e1cecb4dSGong Qianyu
13e1cecb4dSGong Qianyu/dts-v1/;
14e1cecb4dSGong Qianyu/include/ "fsl-ls1043a.dtsi"
15e1cecb4dSGong Qianyu
16e1cecb4dSGong Qianyu/ {
17e1cecb4dSGong Qianyu	model = "LS1043A RDB Board";
1828752cf8SGong Qianyu
1928752cf8SGong Qianyu        aliases {
2028752cf8SGong Qianyu		spi1 = &dspi0;
2128752cf8SGong Qianyu        };
2228752cf8SGong Qianyu
2328752cf8SGong Qianyu};
2428752cf8SGong Qianyu
2528752cf8SGong Qianyu&dspi0 {
2628752cf8SGong Qianyu	bus-num = <0>;
2728752cf8SGong Qianyu	status = "okay";
2828752cf8SGong Qianyu
2928752cf8SGong Qianyu	dspiflash: n25q12a {
3028752cf8SGong Qianyu		#address-cells = <1>;
3128752cf8SGong Qianyu		#size-cells = <1>;
3228752cf8SGong Qianyu		compatible = "spi-flash";
3328752cf8SGong Qianyu		reg = <0>;
3428752cf8SGong Qianyu		spi-max-frequency = <1000000>; /* input clock */
3528752cf8SGong Qianyu	};
3628752cf8SGong Qianyu
37e1cecb4dSGong Qianyu};
38e1cecb4dSGong Qianyu
39e1cecb4dSGong Qianyu&i2c0 {
40e1cecb4dSGong Qianyu	status = "okay";
41e1cecb4dSGong Qianyu	ina220@40 {
42e1cecb4dSGong Qianyu		compatible = "ti,ina220";
43e1cecb4dSGong Qianyu		reg = <0x40>;
44e1cecb4dSGong Qianyu		shunt-resistor = <1000>;
45e1cecb4dSGong Qianyu	};
46e1cecb4dSGong Qianyu	adt7461a@4c {
47e1cecb4dSGong Qianyu		compatible = "adi,adt7461a";
48e1cecb4dSGong Qianyu		reg = <0x4c>;
49e1cecb4dSGong Qianyu	};
50f667d86eSHou Zhiqiang	eeprom@52 {
51e1cecb4dSGong Qianyu		compatible = "at24,24c512";
52e1cecb4dSGong Qianyu		reg = <0x52>;
53e1cecb4dSGong Qianyu	};
54e1cecb4dSGong Qianyu
55f667d86eSHou Zhiqiang	eeprom@53 {
56e1cecb4dSGong Qianyu		compatible = "at24,24c512";
57e1cecb4dSGong Qianyu		reg = <0x53>;
58e1cecb4dSGong Qianyu	};
59e1cecb4dSGong Qianyu
60e1cecb4dSGong Qianyu	rtc@68 {
61e1cecb4dSGong Qianyu		compatible = "pericom,pt7c4338";
62e1cecb4dSGong Qianyu		reg = <0x68>;
63e1cecb4dSGong Qianyu	};
64e1cecb4dSGong Qianyu};
65e1cecb4dSGong Qianyu
66e1cecb4dSGong Qianyu&ifc {
67e1cecb4dSGong Qianyu	status = "okay";
68e1cecb4dSGong Qianyu	#address-cells = <2>;
69e1cecb4dSGong Qianyu	#size-cells = <1>;
70e1cecb4dSGong Qianyu	/* NOR, NAND Flashes and FPGA on board */
71e1cecb4dSGong Qianyu	ranges = <0x0 0x0 0x0 0x60000000 0x08000000
72*4002eab2SHou Zhiqiang		  0x1 0x0 0x0 0x7e800000 0x00010000
73*4002eab2SHou Zhiqiang		  0x2 0x0 0x0 0x7fb00000 0x00000100>;
74e1cecb4dSGong Qianyu
75e1cecb4dSGong Qianyu		nor@0,0 {
76e1cecb4dSGong Qianyu			compatible = "cfi-flash";
77e1cecb4dSGong Qianyu			#address-cells = <1>;
78e1cecb4dSGong Qianyu			#size-cells = <1>;
79e1cecb4dSGong Qianyu			reg = <0x0 0x0 0x8000000>;
80e1cecb4dSGong Qianyu			bank-width = <2>;
81e1cecb4dSGong Qianyu			device-width = <1>;
82e1cecb4dSGong Qianyu		};
83e1cecb4dSGong Qianyu
84e1cecb4dSGong Qianyu		nand@1,0 {
85e1cecb4dSGong Qianyu			compatible = "fsl,ifc-nand";
86e1cecb4dSGong Qianyu			#address-cells = <1>;
87e1cecb4dSGong Qianyu			#size-cells = <1>;
88e1cecb4dSGong Qianyu			reg = <0x1 0x0 0x10000>;
89e1cecb4dSGong Qianyu		};
90e1cecb4dSGong Qianyu
91e1cecb4dSGong Qianyu		cpld: board-control@2,0 {
92e1cecb4dSGong Qianyu			compatible = "fsl,ls1043ardb-cpld";
93e1cecb4dSGong Qianyu			reg = <0x2 0x0 0x0000100>;
94e1cecb4dSGong Qianyu		};
95e1cecb4dSGong Qianyu};
96e1cecb4dSGong Qianyu
97e1cecb4dSGong Qianyu&duart0 {
98e1cecb4dSGong Qianyu	status = "okay";
99e1cecb4dSGong Qianyu};
100e1cecb4dSGong Qianyu
101e1cecb4dSGong Qianyu&duart1 {
102e1cecb4dSGong Qianyu	status = "okay";
103e1cecb4dSGong Qianyu};
104