Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Device tree for Cosmic+ VF6xx Cortex-M4 support
0003  *
0004  * Copyright (C) 2015
0005  *
0006  * Based on vf610m4 Colibri
0007  *
0008  * This file is dual-licensed: you can use it either under the terms
0009  * of the GPL or the X11 license, at your option. Note that this dual
0010  * licensing only applies to this file, and not this project as a
0011  * whole.
0012  *
0013  *  a) This file is free software; you can redistribute it and/or
0014  *     modify it under the terms of the GNU General Public License as
0015  *     published by the Free Software Foundation; either version 2 of the
0016  *     License, or (at your option) any later version.
0017  *
0018  *     This file is distributed in the hope that it will be useful,
0019  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
0020  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0021  *     GNU General Public License for more details.
0022  *
0023  * Or, alternatively,
0024  *
0025  *  b) Permission is hereby granted, free of charge, to any person
0026  *     obtaining a copy of this software and associated documentation
0027  *     files (the "Software"), to deal in the Software without
0028  *     restriction, including without limitation the rights to use,
0029  *     copy, modify, merge, publish, distribute, sublicense, and/or
0030  *     sell copies of the Software, and to permit persons to whom the
0031  *     Software is furnished to do so, subject to the following
0032  *     conditions:
0033  *
0034  *     The above copyright notice and this permission notice shall be
0035  *     included in all copies or substantial portions of the Software.
0036  *
0037  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0038  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
0039  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0040  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0041  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
0042  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0043  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0044  *     OTHER DEALINGS IN THE SOFTWARE.
0045  */
0046 
0047 /dts-v1/;
0048 #include "vf610m4.dtsi"
0049 
0050 / {
0051         model = "VF610 Cortex-M4";
0052         compatible = "fsl,vf610m4";
0053 };
0054 
0055 &gpio0 {
0056         status = "disabled";
0057 };
0058 
0059 &gpio1 {
0060         status = "disabled";
0061 };
0062 
0063 &gpio2 {
0064         status = "disabled";
0065 };
0066 
0067 &gpio3 {
0068         status = "disabled";
0069 };
0070 
0071 &gpio4 {
0072         status = "disabled";
0073 };
0074 
0075 &uart3 {
0076         pinctrl-names = "default";
0077         pinctrl-0 = <&pinctrl_uart3>;
0078         status = "okay";
0079 };
0080 
0081 &iomuxc {
0082         vf610-cosmic {
0083                 pinctrl_uart3: uart3grp {
0084                         fsl,pins = <
0085                                 VF610_PAD_PTA20__UART3_TX               0x21a2
0086                                 VF610_PAD_PTA21__UART3_RX               0x21a1
0087                         >;
0088                 };
0089         };
0090 };