|
发表于 2022-8-16 17:57:12
只看该作者
板凳
谢谢回复。确实是panel的问题,panel部分注释掉,系统就可以正常启动。
但是参照SDK中的rk3399-firefly-edp.dts修改,还有同样的问题。
rk3399-firefly-edp.dts是这样的
- /*
- * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
- *
- * This file is dual-licensed: you can use it either under the terms
- * of the GPL or the X11 license, at your option. Note that this dual
- * licensing only applies to this file, and not this project as a
- * whole.
- *
- * a) This file is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This file is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * Or, alternatively,
- *
- * b) Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or
- * sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
- /dts-v1/;
- #include "rk3399-firefly-port.dtsi"
- / {
- model = "Firefly-RK3399 Board EDP LP079QX1 (Linux Opensource)";
- compatible = "rockchip,rk3399-firefly", "rockchip,rk3399";
- test-power {
- status = "okay";
- };
- vcc_lcd: vcc-lcd {
- compatible = "regulator-fixed";
- enable-active-high;
- gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
- regulator-always-on;
- regulator-boot-on;
- regulator-name = "vcc_lcd";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- startup-delay-us = <20000>;
- vin-supply = <&vcc_3v0>;
- };
- };
- &backlight {
- status = "okay";
- };
- &edp_panel {
- compatible = "sharp,lcd-f402", "panel-simple";
- backlight = <&backlight>;
- power-supply = <&vcc_lcd>;
- reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;
- status = "okay";
- };
- &edp {
- status = "okay";
- };
- &route_edp {
- status = "okay";
- logo,mode = "center";
- };
- &edp_in_vopl {
- status = "disabled";
- };
- &hdmi_dp_sound {
- status = "okay";
- };
- &i2c4 {
- status = "okay";
- gsl3680: gsl3680@41 {
- compatible = "gslX680";
- reg = <0x41>;
- screen_max_x = <1536>;
- screen_max_y = <2048>;
- touch-gpio = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
- reset-gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
- };
- mpu6050: mpu@68 {
- compatible = "invensense,mpu6050";
- reg = <0x68>;
- irq-gpio = <&gpio1 4 IRQ_TYPE_LEVEL_LOW>;
- mpu-debug = <1>;
- mpu-int_config = <0x10>;
- mpu-level_shifter = <0>;
- mpu-orientation = <0 1 0 1 0 0 0 0 1>;
- orientation-x= <1>;
- orientation-y= <1>;
- orientation-z= <1>;
- };
- };
- &uart4 {
- status = "okay";
- };
- &dp_in_vopb {
- status = "disabled";
- };
- &hdmi_in_vopb {
- status = "disabled";
- };
- &wdt {
- status = "disabled";
- };
复制代码 |
|