1*4882a593Smuzhiyun/* 2*4882a593Smuzhiyun * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * This file is dual-licensed: you can use it either under the terms 5*4882a593Smuzhiyun * of the GPL or the X11 license, at your option. Note that this dual 6*4882a593Smuzhiyun * licensing only applies to this file, and not this project as a 7*4882a593Smuzhiyun * whole. 8*4882a593Smuzhiyun * 9*4882a593Smuzhiyun * a) This file is free software; you can redistribute it and/or 10*4882a593Smuzhiyun * modify it under the terms of the GNU General Public License 11*4882a593Smuzhiyun * version 2 as published by the Free Software Foundation. 12*4882a593Smuzhiyun * 13*4882a593Smuzhiyun * This file is distributed in the hope that it will be useful, 14*4882a593Smuzhiyun * but WITHOUT ANY WARRANTY; without even the implied warranty of 15*4882a593Smuzhiyun * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*4882a593Smuzhiyun * GNU General Public License for more details. 17*4882a593Smuzhiyun * 18*4882a593Smuzhiyun * Or, alternatively, 19*4882a593Smuzhiyun * 20*4882a593Smuzhiyun * b) Permission is hereby granted, free of charge, to any person 21*4882a593Smuzhiyun * obtaining a copy of this software and associated documentation 22*4882a593Smuzhiyun * files (the "Software"), to deal in the Software without 23*4882a593Smuzhiyun * restriction, including without limitation the rights to use, 24*4882a593Smuzhiyun * copy, modify, merge, publish, distribute, sublicense, and/or 25*4882a593Smuzhiyun * sell copies of the Software, and to permit persons to whom the 26*4882a593Smuzhiyun * Software is furnished to do so, subject to the following 27*4882a593Smuzhiyun * conditions: 28*4882a593Smuzhiyun * 29*4882a593Smuzhiyun * The above copyright notice and this permission notice shall be 30*4882a593Smuzhiyun * included in all copies or substantial portions of the Software. 31*4882a593Smuzhiyun * 32*4882a593Smuzhiyun * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33*4882a593Smuzhiyun * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 34*4882a593Smuzhiyun * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35*4882a593Smuzhiyun * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 36*4882a593Smuzhiyun * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 37*4882a593Smuzhiyun * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 38*4882a593Smuzhiyun * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 39*4882a593Smuzhiyun * OTHER DEALINGS IN THE SOFTWARE. 40*4882a593Smuzhiyun */ 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun/ { 43*4882a593Smuzhiyun backlight0 { 44*4882a593Smuzhiyun pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>; 45*4882a593Smuzhiyun turn-on-delay-ms = <35>; 46*4882a593Smuzhiyun power-supply = <®_lcd1_pwr>; 47*4882a593Smuzhiyun }; 48*4882a593Smuzhiyun 49*4882a593Smuzhiyun backlight1 { 50*4882a593Smuzhiyun pwms = <&pwm2 0 500000 PWM_POLARITY_INVERTED>; 51*4882a593Smuzhiyun turn-on-delay-ms = <35>; 52*4882a593Smuzhiyun power-supply = <®_lcd1_pwr>; 53*4882a593Smuzhiyun }; 54*4882a593Smuzhiyun 55*4882a593Smuzhiyun lcd-panel { 56*4882a593Smuzhiyun compatible = "edt,et057090dhu"; 57*4882a593Smuzhiyun pixelclk-active = <0>; 58*4882a593Smuzhiyun }; 59*4882a593Smuzhiyun 60*4882a593Smuzhiyun lvds0-panel { 61*4882a593Smuzhiyun compatible = "edt,etml1010g0dka"; 62*4882a593Smuzhiyun pixelclk-active = <0>; 63*4882a593Smuzhiyun }; 64*4882a593Smuzhiyun 65*4882a593Smuzhiyun lvds1-panel { 66*4882a593Smuzhiyun compatible = "edt,etml1010g0dka"; 67*4882a593Smuzhiyun pixelclk-active = <0>; 68*4882a593Smuzhiyun }; 69*4882a593Smuzhiyun}; 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun&can1 { 72*4882a593Smuzhiyun status = "disabled"; 73*4882a593Smuzhiyun}; 74*4882a593Smuzhiyun 75*4882a593Smuzhiyun&can2 { 76*4882a593Smuzhiyun xceiver-supply = <®_3v3>; 77*4882a593Smuzhiyun}; 78*4882a593Smuzhiyun 79*4882a593Smuzhiyun&ds1339 { 80*4882a593Smuzhiyun /* 81*4882a593Smuzhiyun * The backup voltage of the module internal RTC is not wired 82*4882a593Smuzhiyun * by default on the MB7, so disable that RTC chip. 83*4882a593Smuzhiyun */ 84*4882a593Smuzhiyun status = "disabled"; 85*4882a593Smuzhiyun}; 86*4882a593Smuzhiyun 87*4882a593Smuzhiyun&i2c3 { 88*4882a593Smuzhiyun rtc: mcp7940x@6f { 89*4882a593Smuzhiyun compatible = "microchip,mcp7940x"; 90*4882a593Smuzhiyun reg = <0x6f>; 91*4882a593Smuzhiyun }; 92*4882a593Smuzhiyun}; 93*4882a593Smuzhiyun 94*4882a593Smuzhiyun®_lcd0_pwr { 95*4882a593Smuzhiyun status = "disabled"; 96*4882a593Smuzhiyun}; 97