2016-10-21 22:07:16 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2016 Grinn
|
|
|
|
*
|
|
|
|
* Author: Marcin Niestroj <m.niestroj@grinn-global.com>
|
|
|
|
*
|
|
|
|
* This file is dual-licensed: you can use it either under the terms
|
|
|
|
* of the GPL or the X11 license, at your option. Note that this dual
|
|
|
|
* licensing only applies to this file, and not this project as a
|
|
|
|
* whole.
|
|
|
|
*
|
|
|
|
* a) This file is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
2017-01-03 17:27:13 +07:00
|
|
|
* This file is distributed in the hope that it will be useful,
|
2016-10-21 22:07:16 +07:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2017-01-03 17:27:13 +07:00
|
|
|
* Or, alternatively,
|
2016-10-21 22:07:16 +07:00
|
|
|
*
|
|
|
|
* b) Permission is hereby granted, free of charge, to any person
|
|
|
|
* obtaining a copy of this software and associated documentation
|
|
|
|
* files (the "Software"), to deal in the Software without
|
2017-01-03 17:27:13 +07:00
|
|
|
* restriction, including without limitation the rights to use,
|
2016-10-21 22:07:16 +07:00
|
|
|
* copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
* sell copies of the Software, and to permit persons to whom the
|
|
|
|
* Software is furnished to do so, subject to the following
|
|
|
|
* conditions:
|
|
|
|
*
|
|
|
|
* The above copyright notice and this permission notice shall be
|
|
|
|
* included in all copies or substantial portions of the Software.
|
|
|
|
*
|
2017-01-03 17:27:13 +07:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
2016-10-21 22:07:16 +07:00
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
|
|
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
2017-01-03 17:27:13 +07:00
|
|
|
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
2016-10-21 22:07:16 +07:00
|
|
|
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "imx6ul.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Grinn i.MX6UL liteSOM";
|
|
|
|
compatible = "grinn,imx6ul-litesom", "fsl,imx6ul";
|
|
|
|
|
2018-01-24 20:22:14 +07:00
|
|
|
memory@80000000 {
|
2018-11-20 22:59:43 +07:00
|
|
|
device_type = "memory";
|
2016-10-21 22:07:16 +07:00
|
|
|
reg = <0x80000000 0x20000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&iomuxc {
|
|
|
|
pinctrl_usdhc2: usdhc2grp {
|
|
|
|
fsl,pins = <
|
|
|
|
MX6UL_PAD_NAND_RE_B__USDHC2_CLK 0x10069
|
|
|
|
MX6UL_PAD_NAND_WE_B__USDHC2_CMD 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA00__USDHC2_DATA0 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA01__USDHC2_DATA1 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA02__USDHC2_DATA2 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA04__USDHC2_DATA4 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA05__USDHC2_DATA5 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA06__USDHC2_DATA6 0x17059
|
|
|
|
MX6UL_PAD_NAND_DATA07__USDHC2_DATA7 0x17059
|
|
|
|
MX6UL_PAD_NAND_ALE__USDHC2_RESET_B 0x17059
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usdhc2 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usdhc2>;
|
|
|
|
no-1-8-v;
|
|
|
|
non-removable;
|
|
|
|
keep-power-in-suspend;
|
|
|
|
wakeup-source;
|
|
|
|
bus-width = <8>;
|
|
|
|
status = "okay";
|
|
|
|
};
|