1 From 57d949256241fb79b669bbca0426c2d74a3dfc6e Mon Sep 17 00:00:00 2001
2 From: Shaohui Xie <Shaohui.Xie@freescale.com>
3 Date: Fri, 8 Jul 2016 10:27:39 +0800
4 Subject: [PATCH 02/70] dts/ls1043a: add LS1043ARDB board support
6 commit 9a6fce16a82d3412c9350b9f08eacebaa81c0a3d
9 Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
10 Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com>
11 Signed-off-by: Wenbin Song <Wenbin.Song@freescale.com>
12 Signed-off-by: Hou Zhiqiang <B48286@freescale.com>
13 Signed-off-by: Mingkai Hu <mingkai.hu@nxp.com>
14 Integrated-by: Zhao Qiang <qiang.zhao@nxp.com>
16 arch/arm64/boot/dts/freescale/Makefile | 1 +
17 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 117 +++++++++++++++++++++
18 2 files changed, 118 insertions(+)
19 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
21 --- a/arch/arm64/boot/dts/freescale/Makefile
22 +++ b/arch/arm64/boot/dts/freescale/Makefile
24 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-qds.dtb
25 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-rdb.dtb
26 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls2080a-simu.dtb
27 +dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1043a-rdb.dtb
30 subdir-y := $(dts-dirs)
32 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
35 + * Device Tree Include file for Freescale Layerscape-1043A family SoC.
37 + * Copyright 2014-2015, Freescale Semiconductor
39 + * Mingkai Hu <Mingkai.hu@freescale.com>
41 + * This file is dual-licensed: you can use it either under the terms
42 + * of the GPLv2 or the X11 license, at your option. Note that this dual
43 + * licensing only applies to this file, and not this project as a
46 + * a) This library is free software; you can redistribute it and/or
47 + * modify it under the terms of the GNU General Public License as
48 + * published by the Free Software Foundation; either version 2 of the
49 + * License, or (at your option) any later version.
51 + * This library is distributed in the hope that it will be useful,
52 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
53 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
54 + * GNU General Public License for more details.
56 + * Or, alternatively,
58 + * b) Permission is hereby granted, free of charge, to any person
59 + * obtaining a copy of this software and associated documentation
60 + * files (the "Software"), to deal in the Software without
61 + * restriction, including without limitation the rights to use,
62 + * copy, modify, merge, publish, distribute, sublicense, and/or
63 + * sell copies of the Software, and to permit persons to whom the
64 + * Software is furnished to do so, subject to the following
67 + * The above copyright notice and this permission notice shall be
68 + * included in all copies or substantial portions of the Software.
70 + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
71 + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
72 + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
73 + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
74 + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
75 + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
76 + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
77 + * OTHER DEALINGS IN THE SOFTWARE.
81 +#include "fsl-ls1043a.dtsi"
84 + model = "LS1043A RDB Board";
85 + compatible = "fsl,ls1043a-rdb", "fsl,ls1043a";
91 + compatible = "ti,ina220";
93 + shunt-resistor = <1000>;
96 + compatible = "adi,adt7461";
100 + compatible = "at24,24c512";
104 + compatible = "at24,24c512";
108 + compatible = "pericom,pt7c4338";
115 + #address-cells = <2>;
117 + /* NOR, NAND Flashes and FPGA on board */
118 + ranges = <0x0 0x0 0x0 0x60000000 0x08000000
119 + 0x1 0x0 0x0 0x7e800000 0x00010000
120 + 0x2 0x0 0x0 0x7fb00000 0x00000100>;
123 + compatible = "cfi-flash";
124 + #address-cells = <1>;
126 + reg = <0x0 0x0 0x8000000>;
128 + device-width = <1>;
132 + compatible = "fsl,ifc-nand";
133 + #address-cells = <1>;
135 + reg = <0x1 0x0 0x10000>;
138 + cpld: board-control@2,0 {
139 + compatible = "fsl,ls1043ardb-cpld";
140 + reg = <0x2 0x0 0x0000100>;