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