Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * support for the imx6 based aristainetos2 board
0003  *
0004  * Copyright (C) 2015 Heiko Schocher <hs@denx.de>
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 /dts-v1/;
0044 #include "imx6dl.dtsi"
0045 #include "imx6qdl-aristainetos2.dtsi"
0046 
0047 / {
0048         model = "aristainetos2 i.MX6 Dual Lite Board 7";
0049         compatible = "abb,aristainetos2-imx6dl-7", "fsl,imx6dl";
0050 
0051         memory@10000000 {
0052                 device_type = "memory";
0053                 reg = <0x10000000 0x40000000>;
0054         };
0055 
0056         panel: panel {
0057                 compatible = "lg,lb070wv8";
0058                 backlight = <&backlight>;
0059                 enable-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
0060 
0061                 port {
0062                         panel_in: endpoint {
0063                                 remote-endpoint = <&lvds0_out>;
0064                         };
0065                 };
0066         };
0067 };
0068 
0069 &i2c3 {
0070         touch: touch@4d {
0071                 compatible = "atmel,maxtouch";
0072                 reg = <0x4d>;
0073                 interrupt-parent = <&gpio2>;
0074                 interrupts = <9 8>;
0075         };
0076 };
0077 
0078 &ldb {
0079         status = "okay";
0080 
0081         lvds-channel@0 {
0082                 status = "okay";
0083 
0084                 port@0 {
0085                         reg = <0>;
0086                         lvds0_in: endpoint {
0087                                 remote-endpoint = <&ipu1_di0_lvds0>;
0088                         };
0089                 };
0090 
0091                 port@4 {
0092                         reg = <4>;
0093                         lvds0_out: endpoint {
0094                                 remote-endpoint = <&panel_in>;
0095                         };
0096                 };
0097         };
0098 };