Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de>
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 / {
0043         backlight0 {
0044                 pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
0045                 turn-on-delay-ms = <35>;
0046                 power-supply = <&reg_lcd1_pwr>;
0047         };
0048 
0049         backlight1 {
0050                 pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>;
0051                 turn-on-delay-ms = <35>;
0052                 power-supply = <&reg_lcd1_pwr>;
0053         };
0054 
0055         lcd-panel {
0056                 compatible = "edt,et057090dhu";
0057                 pixelclk-active = <0>;
0058         };
0059 
0060         lvds0-panel {
0061                 compatible = "edt,etml1010g0dka";
0062                 pixelclk-active = <0>;
0063         };
0064 
0065         lvds1-panel {
0066                 compatible = "edt,etml1010g0dka";
0067                 pixelclk-active = <0>;
0068         };
0069 };
0070 
0071 &can1 {
0072         status = "disabled";
0073 };
0074 
0075 &can2 {
0076         xceiver-supply = <&reg_3v3>;
0077 };
0078 
0079 &ds1339 {
0080         /*
0081          * The backup voltage of the module internal RTC is not wired
0082          * by default on the MB7, so disable that RTC chip.
0083          */
0084         status = "disabled";
0085 };
0086 
0087 &i2c3 {
0088         rtc: rtc@6f {
0089                 compatible = "microchip,mcp7940x";
0090                 reg = <0x6f>;
0091         };
0092 };
0093 
0094 &reg_lcd0_pwr {
0095         status = "disabled";
0096 };