0001 /*
0002 * Copyright 2016 Grinn
0003 *
0004 * Author: Marcin Niestroj <m.niestroj@grinn-global.com>
0005 *
0006 * This file is dual-licensed: you can use it either under the terms
0007 * of the GPL or the X11 license, at your option. Note that this dual
0008 * licensing only applies to this file, and not this project as a
0009 * whole.
0010 *
0011 * a) This file is free software; you can redistribute it and/or
0012 * modify it under the terms of the GNU General Public License
0013 * version 2 as published by the Free Software Foundation.
0014 *
0015 * This file is distributed in the hope that it will be useful,
0016 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0018 * GNU General Public License for more details.
0019 *
0020 * Or, alternatively,
0021 *
0022 * b) Permission is hereby granted, free of charge, to any person
0023 * obtaining a copy of this software and associated documentation
0024 * files (the "Software"), to deal in the Software without
0025 * restriction, including without limitation the rights to use,
0026 * copy, modify, merge, publish, distribute, sublicense, and/or
0027 * sell copies of the Software, and to permit persons to whom the
0028 * Software is furnished to do so, subject to the following
0029 * conditions:
0030 *
0031 * The above copyright notice and this permission notice shall be
0032 * included in all copies or substantial portions of the Software.
0033 *
0034 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0035 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0036 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0037 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0038 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0039 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0040 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0041 * OTHER DEALINGS IN THE SOFTWARE.
0042 */
0043
0044 #include "imx6ul.dtsi"
0045
0046 / {
0047 model = "Grinn i.MX6UL liteSOM";
0048 compatible = "grinn,imx6ul-litesom", "fsl,imx6ul";
0049
0050 memory@80000000 {
0051 device_type = "memory";
0052 reg = <0x80000000 0x20000000>;
0053 };
0054 };
0055
0056 &iomuxc {
0057 pinctrl_usdhc2: usdhc2grp {
0058 fsl,pins = <
0059 MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069
0060 MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059
0061 MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
0062 MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
0063 MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
0064 MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
0065 MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059
0066 MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059
0067 MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059
0068 MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059
0069 MX6UL_PAD_NAND_ALE__USDHC2_RESET_B 0x17059
0070 >;
0071 };
0072 };
0073
0074 &usdhc2 {
0075 pinctrl-names = "default";
0076 pinctrl-0 = <&pinctrl_usdhc2>;
0077 no-1-8-v;
0078 non-removable;
0079 keep-power-in-suspend;
0080 wakeup-source;
0081 bus-width = <8>;
0082 status = "okay";
0083 };