core-rk3399-jd4核心板配置eDP后,系统启动过程中崩溃,请问应该如何正确配置eDP屏?
使用的core-rk3399-jd4核心板 + AIO载板,因为要使用eDP显示屏,修改了rk3399-firefly-aiojd4.dtsi。但是修改后,系统在启动过程中会崩溃,请问应该如何排查????
使用硬件如图所示
rk3399-firefly-aiojd4.dtsi文件内容如下:
/dts-v1/;
#include "rk3399-firefly-port.dtsi"
#include <dt-bindings/sensor-dev.h>
#include <dt-bindings/display/media-bus-format.h>
/ {
test-power {
status = "okay";
};
rt5640-sound {
simple-audio-card,cpu {
sound-dai = <&i2s1>;
};
simple-audio-card,codec {
sound-dai = <&rt5640>;
};
};
adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 1>;
io-channel-names = "buttons";
poll-interval = <300>;
keyup-threshold-microvolt = <1800000>;
esc-key {
linux,code = <KEY_ESC>;
label = "esc";
press-threshold-microvolt = <0>;
};
};
fan_ctl: fan-ctl-regulator {
compatible = "regulator-fixed";
enable-active-high;
regulator-always-on;
regulator-boot-on;
gpio = <&gpio3 10 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
regulator-name = "fan_ctl";
pinctrl-0 = <&fan_drv>;
};
NPU5801_PWR_EN: HUB20-PWR-EN {
compatible = "regulator-fixed";
enable-active-high;
regulator-always-on;
regulator-boot-on;
gpio = <&gpio0 2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&npu5801_pwr_en>;
regulator-name = "vcc5v0_5801_en";
status = "okay";
};
};
&gmac {
tx_delay = <0x2F>;
rx_delay = <0x1E>;
};
&vcc_sd_h {
rockchip,pins = <1 22 RK_FUNC_GPIO &pcfg_pull_up>;
};
&vcc_sd {
gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
};
&hdmi_dp_sound {
status = "okay";
};
&i2c2 {
status = "disabled";
i2c-scl-rising-time-ns = <300>;
i2c-scl-falling-time-ns = <15>;
sensor@4c {
status = "disabled";
compatible = "gs_mc3230";
reg = <0x4c>;
type = <SENSOR_TYPE_ACCEL>;
irq_enable = <0>;
poll_delay_ms = <30>;
layout = <1>;
};
};
&rt5640 {
hp-det-adc-value = <900>;
aux-det-adc-value = <900>;
hp-con-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
io-channels = <&saradc 3>,<&saradc 2>;
io-channel-names = "hp-det","aux-det";
};
&rt5640_hpcon{
rockchip,pins = <3 16 RK_FUNC_GPIO &pcfg_pull_none>;
};
&vcca1v8_codec {
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
};
&spi1 {
dev-port = <0>;
status = "okay";
};
&spi_wk2xxx {
status = "okay";
reset-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
irq-gpio = <&gpio2 8 IRQ_TYPE_EDGE_FALLING>;
cs-gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
};
// &spi2 {
// status = "okay";
// max-freq = <48000000>;
// spidev@00 {
// compatible = "linux,spidev";
// reg = <0x00>;
// spi-max-frequency = <48000000>;
// status = "okay";
// };
// };
&vcc3v3_3g {
gpio = <&gpio2 28 GPIO_ACTIVE_HIGH>;
};
&vcc3v3_pcie {
/delete-property/ gpio;
};
&pcie0 {
ep-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
};
&uart4 {
status = "disabled";
};
&dp_in_vopb {
status = "disabled";
};
&hdmi_in_vopl {
status = "disabled";
};
&wdt {
status = "okay";//2022.7.25
};
&io_domains {
bt656-supply = <&vcc_3v0>;
};
&vcc2v8_dvp {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
&vcca1v8_codec {
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
};
&fusb0 {
status = "disabled";
};
&cdn_dp {
status = "disabled";
};
&tcphy0 {
/delete-property/ extcon;
status = "okay";
};
&u2phy0 {
status = "okay";
/delete-property/ extcon;
u2phy0_otg: otg-port {
rockchip,vbus-always-on;
vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
&usbdrd3_0 {
status = "okay";
/delete-property/ extcon;
};
&usbdrd_dwc3_0 {
dr_mode = "host";
};
&route_hdmi {
status = "okay";
// status = "disabled";
};
// 20220802 edp
&hdmi_in_vopb {
status = "disabled";
};
&hdmi {
// status = "okay";
status = "disabled";
};
&edp_in_vopb {
status = "okay";
};
&edp_in_vopl {
status = "disabled";
};
&route_edp {
status = "okay";
connect = <&edp_in_vopb>;
};
&backlight {
status = "okay";
};
&edp_panel {
status = "okay";
compatible = "simple-panel";//20220812
backlight = <&backlight>;//20220812
// power-supply = <&vcc_lcd>;
enable-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
// enable-delay-ms = <120>;
// prepare-delay-ms = <120>;
// disable-delay-ms = <120>;
// unprepare-delay-ms = <120>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <157080000>;
hactive = <1920>;
vactive = <1200>;
hfront-porch = <120>;
hsync-len = <0>;
hback-porch = <120>;
vfront-porch = <4>;
vsync-len = <4>;
vback-porch = <4>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
};
&edp {
status = "okay";
};
// &uart0 {
// status = "disabled";
// };
// 20220802 edp
&rk808 {
/delete-property/ pmic,stby-gpio;
/delete-property/ pmic,hold-gpio;
};
&vcc_mipi {
status = "okay";
};
&dvdd_1v2 {
status = "okay";
};
&ov13850 {
pwdn-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&ov13850_1 {
pwdn-gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
status = "okay";
};
&rkisp1_0 {
status = "okay";
};
&mipi_dphy_rx0 {
status = "okay";
};
&isp0_mmu {
status = "okay";
};
&rkisp1_1 {
status = "okay";
};
&mipi_dphy_tx1rx1 {
status = "okay";
};
&isp1_mmu {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&host_hub_vcc>;
npu_pwr_en {
// control VCC5V0_HOST3
npu5801_pwr_en: npu5801-pwr-en {
rockchip,pins =
<0 2 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
host-hub-vcc {
host_hub_vcc: host-hub-vcc {
rockchip,pins =
<2 4 RK_FUNC_GPIO &pcfg_output_high>,
<4 29 RK_FUNC_GPIO &pcfg_output_high>;
};
};
pcie {
pcie_3g_drv: pcie-3g-drv {
rockchip,pins =
<2 6 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
vcc_sd {
vcc_sd_h: vcc-sd-h {
rockchip,pins =
<1 22 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
fan-ctl {
fan_drv: fan-drv {
rockchip,pins = <3 10 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};
panel dts配置有问题,SDK中应该有edp相关dts配置,可以参考配置 luwy 发表于 2022-8-16 17:25
panel dts配置有问题,SDK中应该有edp相关dts配置,可以参考配置
谢谢回复。确实是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";
};
/ {
...
edp_panel: edp-panel {
compatible = "simple-panel";
status = "okay";
bus-format = <MEDIA_BUS_FMT_RGB666_1X18>;
backlight = <&backlight>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <140000000>;
hactive = <1920>;
vactive = <1080>;
hfront-porch = <40>;
hsync-len = <40>;
hback-porch = <80>;
vfront-porch = <16>;
vsync-len = <8>;
vback-porch = <16>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
ports {
panel_in_edp: endpoint {
remote-endpoint = <&edp_out_panel>;
};
};
power_ctr: power_ctr {
rockchip,debug = <0>;
lcd_en: lcd-en {
gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_panel_enable>;
rockchip,delay = <20>;
};
lcd_rst: lcd-rst {
gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&lcd_panel_reset>;
rockchip,delay = <20>;
};
};
};
backlight: backlight {
status = "okay";
compatible = "pwm-backlight";
pwms = <&pwm0 0 500000 0>;
brightness-levels = <
0 1 2 3 4 5 6 7
8 9101112131415
1617181920212223
2425262728293031
3233343536373839
4041424344454647
4849505152535455
5657585960616263
6465666768697071
7273747576777879
8081828384858687
8889909192939495
96979899 100 101 102 103
104 105 106 107 108 109 110 111
112 113 114 115 116 117 118 119
120 121 122 123 124 125 126 127
128 129 130 131 132 133 134 135
136 137 138 139 140 141 142 143
144 145 146 147 148 149 150 151
152 153 154 155 156 157 158 159
160 161 162 163 164 165 166 167
168 169 170 171 172 173 174 175
176 177 178 179 180 181 182 183
184 185 186 187 188 189 190 191
192 193 194 195 196 197 198 199
200 201 202 203 204 205 206 207
208 209 210 211 212 213 214 215
216 217 218 219 220 221 222 223
224 225 226 227 228 229 230 231
232 233 234 235 236 237 238 239
240 241 242 243 244 245 246 247
248 249 250 251 252 253 254 255>;
default-brightness-level = <200>;
};
};
&edp {
status = "okay";
force-hpd;
ports {
edp_out: port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
edp_out_panel: endpoint@0 {
reg = <0>;
remote-endpoint = <&panel_in_edp>;
};
};
};
};
panel 的dts配置参考这份改 luwy 发表于 2022-8-17 10:17
panel 的dts配置参考这份改
参照你的代码,系统可以启动了,屏的背光也亮了,但是显示黑屏,示波器上EDP_TX0N没有信号,我在查查文档。
请问下在我这个板子的原理图上,lcd-en是对应LCD_EN吧,lcd-rst是对应那个引脚? 看原理图是不是eDP用不上lcd-rst。
dts只是参考,实际还是按照原理图来,如果原理图没有就不用配置;可以检查一下vcc供电是否都正常 luwy 发表于 2022-8-18 10:32
dts只是参考,实际还是按照原理图来,如果原理图没有就不用配置;可以检查一下vcc供电是否都正常
屏点亮了,感谢帮助 abcxyztt 发表于 2022-8-30 13:52
修改了什么点亮的?
/dts-v1/;
#include "rk3399-firefly-port.dtsi"
#include <dt-bindings/sensor-dev.h>
#include <dt-bindings/display/media-bus-format.h>
/ {
model = "AIO-3399-JD4-t Board (Linux Opensource)";
compatible = "rockchip,rk3399-firefly", "rockchip,rk3399";
test-power {
status = "okay";
};
// vcc_lcd: vcc-lcd {
// compatible = "regulator-fixed";
// enable-active-high;
// gpio = <&gpio1 4 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>;
// };
rt5640-sound {
simple-audio-card,cpu {
sound-dai = <&i2s1>;
};
simple-audio-card,codec {
sound-dai = <&rt5640>;
};
};
adc-keys {
compatible = "adc-keys";
io-channels = <&saradc 1>;
io-channel-names = "buttons";
poll-interval = <300>;
keyup-threshold-microvolt = <1800000>;
esc-key {
linux,code = <KEY_ESC>;
label = "esc";
press-threshold-microvolt = <0>;
};
};
fan_ctl: fan-ctl-regulator {
compatible = "regulator-fixed";
enable-active-high;
regulator-always-on;
regulator-boot-on;
gpio = <&gpio3 10 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
regulator-name = "fan_ctl";
pinctrl-0 = <&fan_drv>;
};
NPU5801_PWR_EN: HUB20-PWR-EN {
compatible = "regulator-fixed";
enable-active-high;
regulator-always-on;
regulator-boot-on;
gpio = <&gpio0 2 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&npu5801_pwr_en>;
regulator-name = "vcc5v0_5801_en";
status = "okay";
};
};
&usbdrd_dwc3_0 {
dr_mode = "host";
};
&gmac {
tx_delay = <0x2F>;
rx_delay = <0x1E>;
};
&vcc_sd_h {
rockchip,pins = <1 22 RK_FUNC_GPIO &pcfg_pull_up>;
};
&vcc_sd {
gpio = <&gpio1 22 GPIO_ACTIVE_HIGH>;
};
&hdmi_dp_sound {
status = "okay";
};
&i2c2 {
status = "disabled";
i2c-scl-rising-time-ns = <300>;
i2c-scl-falling-time-ns = <15>;
sensor@4c {
status = "disabled";
compatible = "gs_mc3230";
reg = <0x4c>;
type = <SENSOR_TYPE_ACCEL>;
irq_enable = <0>;
poll_delay_ms = <30>;
layout = <1>;
};
};
&rt5640 {
hp-det-adc-value = <900>;
aux-det-adc-value = <900>;
hp-con-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
io-channels = <&saradc 3>,<&saradc 2>;
io-channel-names = "hp-det","aux-det";
};
&rt5640_hpcon{
rockchip,pins = <3 16 RK_FUNC_GPIO &pcfg_pull_none>;
};
&vcca1v8_codec {
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
};
&spi1 {
dev-port = <0>;
status = "okay";
};
&spi_wk2xxx {
status = "okay";
reset-gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
irq-gpio = <&gpio2 8 IRQ_TYPE_EDGE_FALLING>;
cs-gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>;
};
// &spi2 {
// status = "okay";
// max-freq = <48000000>;
// spidev@00 {
// compatible = "linux,spidev";
// reg = <0x00>;
// spi-max-frequency = <48000000>;
// status = "okay";
// };
// };
&vcc3v3_3g {
gpio = <&gpio2 28 GPIO_ACTIVE_HIGH>;
};
&vcc3v3_pcie {
/delete-property/ gpio;
};
&pcie0 {
ep-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
};
&uart4 {
status = "disabled";
};
&dp_in_vopb {
status = "disabled";
};
&hdmi_in_vopl {
status = "disabled";
};
&wdt {
status = "disabled";//2022.7.25
};
&io_domains {
bt656-supply = <&vcc_3v0>;
};
&vcc2v8_dvp {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
&vcca1v8_codec {
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <900000>;
};
&fusb0 {
status = "disabled";
};
&cdn_dp {
status = "disabled";
};
&tcphy0 {
/delete-property/ extcon;
status = "okay";
};
&u2phy0 {
status = "okay";
/delete-property/ extcon;
u2phy0_otg: otg-port {
rockchip,vbus-always-on;
vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
&usbdrd3_0 {
status = "okay";
/delete-property/ extcon;
};
&usbdrd_dwc3_0 {
dr_mode = "host";
};
&route_hdmi {
// status = "okay";
status = "disabled";
};
// 20220802 edp
&hdmi_in_vopb {
status = "disabled";
};
&hdmi {
// status = "okay";
status = "disabled";
};
&backlight {
status = "okay";
pwms = <&pwm0 0 20000 0>;
};
&edp_in_vopl {
status = "disabled";
};
&edp_in_vopb {
status = "okay";
};
&route_edp {
status = "okay";
connect = <&vopb_out_edp>;
};
&edp_panel {
// compatible = "auo,b125han03","simple-panel";//20220830
compatible = "simple-panel";//20220812
//gpio1 4 LCD_EN; gpio4 29 LCD_RST; GPIO0_A1 LCD_BL_EN
enable-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;//LCD_EN
reset-gpios = <&gpio4 29 GPIO_ACTIVE_LOW>;//LCD_RST
// power-supply = <&vcc_lcd>;
status = "okay";
bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;//MEDIA_BUS_FMT_RGB888_2X12_BE MEDIA_BUS_FMT_RGB888_2X12_LE MEDIA_BUS_FMT_RGB888_1X24
backlight = <&backlight>;//20220812
disable-delay-ms = <120>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <157075200>;
hactive = <1920>;
vactive = <1200>;
hfront-porch = <90>;
hsync-len = <60>;
hback-porch = <90>;
vfront-porch = <4>;
vsync-len = <4>;
vback-porch = <4>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
// power_ctr: power_ctr {
// power_enable = <1>;
// rockchip,debug = <0>;
// lcd_en: lcd-en {
// gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
// pinctrl-names = "default";
// pinctrl-0 = <&lcd_panel_enable>;
// rockchip,delay = <20>;
// };
// lcd_pwr_en: lcd-pwr-en {
// gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
// pinctrl-names = "default";
// pinctrl-0 = <&lcd_panel_pwr_en>;
// rockchip,delay = <10>;
// };
// };
// power_ctr: power_ctr {
// rockchip,debug = <0>;
// lcd_en: lcd-en {
// gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
// pinctrl-names = "default";
// pinctrl-0 = <&lcd_panel_enable>;
// rockchip,delay = <20>;
// };
// lcd_rst: lcd-rst {
// gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
// pinctrl-names = "default";
// pinctrl-0 = <&lcd_panel_reset>;
// rockchip,delay = <20>;
// };
// lcd_pwr_en: lcd-pwr-en {
// gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
// pinctrl-names = "default";
// pinctrl-0 = <&lcd_panel_pwr_en>;
// rockchip,delay = <10>;
// };
// };
};
&edp {
status = "okay";
hpd-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
// /delete-property/ force-hpd;
};
// &uart0 {
// status = "disabled";
// };
// 20220802 edp
&rk808 {
/delete-property/ pmic,stby-gpio;
/delete-property/ pmic,hold-gpio;
};
&vcc_mipi {
status = "okay";
};
&dvdd_1v2 {
status = "okay";
};
&ov13850 {
pwdn-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
status = "okay";
};
// &ov13850_1 {
// pwdn-gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
// status = "okay";
// };
&rkisp1_0 {
status = "okay";
};
&mipi_dphy_rx0 {
status = "okay";
};
&isp0_mmu {
status = "okay";
};
&rkisp1_1 {
status = "okay";
};
&mipi_dphy_tx1rx1 {
status = "okay";
};
&isp1_mmu {
status = "okay";
};
&pinctrl {
pinctrl-names = "default";
pinctrl-0 = <&host_hub_vcc>;
npu_pwr_en {
// control VCC5V0_HOST3
npu5801_pwr_en: npu5801-pwr-en {
rockchip,pins =
<0 2 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
host-hub-vcc {
host_hub_vcc: host-hub-vcc {
rockchip,pins =
<2 4 RK_FUNC_GPIO &pcfg_output_high>,
<4 29 RK_FUNC_GPIO &pcfg_output_high>;
};
};
pcie {
pcie_3g_drv: pcie-3g-drv {
rockchip,pins =
<2 6 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
vcc_sd {
vcc_sd_h: vcc-sd-h {
rockchip,pins =
<1 22 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
fan-ctl {
fan_drv: fan-drv {
rockchip,pins = <3 10 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
// lcd-panel {
// lcd_panel_enable: lcd-panel-enable {
// rockchip,pins = <1 4 RK_FUNC_GPIO &pcfg_pull_up>;
// };
// lcd_panel_pwr_en: lcd-panel-pwr-en {
// rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_pull_up>;
// };
// };
// lcd-panel {
// lcd_panel_enable: lcd-panel-enable {
// rockchip,pins = <1 4 RK_FUNC_GPIO &pcfg_pull_up>;
// };
// lcd_panel_reset: lcd-panel-reset {
// rockchip,pins = <4 29 RK_FUNC_GPIO &pcfg_pull_up>;
// };
// lcd_panel_pwr_en: lcd-panel-pwr-en {
// rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_pull_up>;
// };
// };
};
页:
[1]