Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright (C) 2013,2014 Russell King
0003  *
0004  * This file is dual-licensed: you can use it either under the terms
0005  * of the GPL or the X11 license, at your option. Note that this dual
0006  * licensing only applies to this file, and not this project as a
0007  * whole.
0008  *
0009  *  a) This file is free software; you can redistribute it and/or
0010  *     modify it under the terms of the GNU General Public License
0011  *     version 2 as published by the Free Software Foundation.
0012  *
0013  *     This file is distributed in the hope that it will be useful,
0014  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
0015  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0016  *     GNU General Public License for more details.
0017  *
0018  * Or, alternatively,
0019  *
0020  *  b) Permission is hereby granted, free of charge, to any person
0021  *     obtaining a copy of this software and associated documentation
0022  *     files (the "Software"), to deal in the Software without
0023  *     restriction, including without limitation the rights to use,
0024  *     copy, modify, merge, publish, distribute, sublicense, and/or
0025  *     sell copies of the Software, and to permit persons to whom the
0026  *     Software is furnished to do so, subject to the following
0027  *     conditions:
0028  *
0029  *     The above copyright notice and this permission notice shall be
0030  *     included in all copies or substantial portions of the Software.
0031  *
0032  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0033  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0034  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0035  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0036  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0037  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0038  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0039  *     OTHER DEALINGS IN THE SOFTWARE.
0040  */
0041 
0042 &iomuxc {
0043         microsom {
0044                 pinctrl_microsom_usdhc3: microsom-usdhc3 {
0045                         fsl,pins = <
0046                                 MX6QDL_PAD_SD3_CMD__SD3_CMD    0x17059
0047                                 MX6QDL_PAD_SD3_CLK__SD3_CLK    0x10059
0048                                 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
0049                                 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
0050                                 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
0051                                 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
0052                                 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
0053                                 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
0054                                 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
0055                                 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
0056                                 MX6QDL_PAD_SD3_RST__SD3_RESET  0x17059
0057                         >;
0058                 };
0059         };
0060 };
0061 
0062 /* USDHC3 - eMMC */
0063 &usdhc3 {
0064         pinctrl-names = "default";
0065         pinctrl-0 = <&pinctrl_microsom_usdhc3>;
0066         bus-width = <8>;
0067         non-removable;
0068         vmmc-supply = <&vcc_3v3>;
0069         status = "okay";
0070 };