xref: /rk3399_rockchip-uboot/arch/arm/dts/imx6ul-isiot-emmc.dts (revision 02ccab1908c405fe1449457d4a0d343784a30acb)
1*7cf22dc8SJagan Teki/*
2*7cf22dc8SJagan Teki * Copyright (C) 2016 Amarula Solutions B.V.
3*7cf22dc8SJagan Teki * Copyright (C) 2016 Engicam S.r.l.
4*7cf22dc8SJagan Teki *
5*7cf22dc8SJagan Teki * This file is dual-licensed: you can use it either under the terms
6*7cf22dc8SJagan Teki * of the GPL or the X11 license, at your option. Note that this dual
7*7cf22dc8SJagan Teki * licensing only applies to this file, and not this project as a
8*7cf22dc8SJagan Teki * whole.
9*7cf22dc8SJagan Teki *
10*7cf22dc8SJagan Teki *  a) This file is free software; you can redistribute it and/or
11*7cf22dc8SJagan Teki *     modify it under the terms of the GNU General Public License
12*7cf22dc8SJagan Teki *     version 2 as published by the Free Software Foundation.
13*7cf22dc8SJagan Teki *
14*7cf22dc8SJagan Teki *     This file is distributed in the hope that it will be useful
15*7cf22dc8SJagan Teki *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16*7cf22dc8SJagan Teki *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*7cf22dc8SJagan Teki *     GNU General Public License for more details.
18*7cf22dc8SJagan Teki *
19*7cf22dc8SJagan Teki * Or, alternatively
20*7cf22dc8SJagan Teki *
21*7cf22dc8SJagan Teki *  b) Permission is hereby granted, free of charge, to any person
22*7cf22dc8SJagan Teki *     obtaining a copy of this software and associated documentation
23*7cf22dc8SJagan Teki *     files (the "Software"), to deal in the Software without
24*7cf22dc8SJagan Teki *     restriction, including without limitation the rights to use
25*7cf22dc8SJagan Teki *     copy, modify, merge, publish, distribute, sublicense, and/or
26*7cf22dc8SJagan Teki *     sell copies of the Software, and to permit persons to whom the
27*7cf22dc8SJagan Teki *     Software is furnished to do so, subject to the following
28*7cf22dc8SJagan Teki *     conditions:
29*7cf22dc8SJagan Teki *
30*7cf22dc8SJagan Teki *     The above copyright notice and this permission notice shall be
31*7cf22dc8SJagan Teki *     included in all copies or substantial portions of the Software.
32*7cf22dc8SJagan Teki *
33*7cf22dc8SJagan Teki *     THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
34*7cf22dc8SJagan Teki *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35*7cf22dc8SJagan Teki *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36*7cf22dc8SJagan Teki *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37*7cf22dc8SJagan Teki *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
38*7cf22dc8SJagan Teki *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39*7cf22dc8SJagan Teki *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40*7cf22dc8SJagan Teki *     OTHER DEALINGS IN THE SOFTWARE.
41*7cf22dc8SJagan Teki */
42*7cf22dc8SJagan Teki
43*7cf22dc8SJagan Teki/dts-v1/;
44*7cf22dc8SJagan Teki
45*7cf22dc8SJagan Teki#include "imx6ul-isiot.dtsi"
46*7cf22dc8SJagan Teki
47*7cf22dc8SJagan Teki/ {
48*7cf22dc8SJagan Teki	model = "Engicam Is.IoT MX6UL eMMC Starterkit";
49*7cf22dc8SJagan Teki	compatible = "engicam,imx6ul-isiot", "fsl,imx6ul";
50*7cf22dc8SJagan Teki};
51*7cf22dc8SJagan Teki
52*7cf22dc8SJagan Teki&usdhc2 {
53*7cf22dc8SJagan Teki	pinctrl-names = "default";
54*7cf22dc8SJagan Teki	pinctrl-0 = <&pinctrl_usdhc2>;
55*7cf22dc8SJagan Teki	cd-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>;
56*7cf22dc8SJagan Teki	bus-width = <8>;
57*7cf22dc8SJagan Teki	no-1-8-v;
58*7cf22dc8SJagan Teki	status = "okay";
59*7cf22dc8SJagan Teki};
60*7cf22dc8SJagan Teki
61*7cf22dc8SJagan Teki&iomuxc {
62*7cf22dc8SJagan Teki	pinctrl_usdhc2: usdhc2grp {
63*7cf22dc8SJagan Teki		fsl,pins = <
64*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_RE_B__USDHC2_CLK      0x17070
65*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_WE_B__USDHC2_CMD      0x10070
66*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA00__USDHC2_DATA0  0x17070
67*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA01__USDHC2_DATA1  0x17070
68*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA02__USDHC2_DATA2  0x17070
69*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA03__USDHC2_DATA3  0x17070
70*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA04__USDHC2_DATA4  0x17070
71*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA05__USDHC2_DATA5  0x17070
72*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA06__USDHC2_DATA6  0x17070
73*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_DATA07__USDHC2_DATA7  0x17070
74*7cf22dc8SJagan Teki			MX6UL_PAD_NAND_ALE__USDHC2_RESET_B   0x17070
75*7cf22dc8SJagan Teki		>;
76*7cf22dc8SJagan Teki	};
77*7cf22dc8SJagan Teki};
78