|
发表于 2017-11-22 14:46:02
只看该作者
板凳
dts部分代码
&fb {
rockchip,disp-mode = <DUAL>;
rockchip,uboot-logo-on = <1>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
&disp_timings {
//native-mode = <&timing1>;
native-mode = <&timing0>;
};
/*lcdc0 as PRMRY(HDMI),lcdc1 as EXTEND(RK1000)*/
&lcdc0 {
status = "okay";
rockchip,prop = <PRMRY>;
power_ctr: power_ctr {
rockchip,debug = <1>;
/* lcd_en:lcd_en {
rockchip,power_type = <GPIO>;
gpios = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
lcd_cs:lcd_cs {
rockchip,power_type = <GPIO>;
gpios = <&gpio7 GPIO_A4 GPIO_ACTIVE_HIGH>;
rockchip,delay = <10>;
};
lcd_rst:lcd_rst {
rockchip,power_type = <GPIO>;
gpios = <&gpio0 GPIO_B5 GPIO_ACTIVE_LOW>;
rockchip,delay = <10>;
};
*/
};
};
&lcdc1 {
status = "disabled";
rockchip,prop = <EXTEND>;
};
&hdmi {
status = "okay";
rockchips,hdmi_audio_source = <0>;
hdmi_cec = <0>;
}; |
|