|
发表于 2016-5-27 15:40:12
只看该作者
地板
rgb2hdmi {
compatible = "firefly,rgb2hdmi";
power-gpio = <&gpio7 GPIO_A2 GPIO_ACTIVE_HIGH>;
lcdc-gpio = <&gpio7 GPIO_A3 GPIO_ACTIVE_HIGH>;
hpd-gpio = <&gpio4 GPIO_D3 GPIO_ACTIVE_HIGH>;
rockchip,source = <0>; //0: LCDC0; 1: LCDC1
rockchip,prop = <PRMRY>;//<PRMRY>;//<EXTEND>
status = "disabled";
};
vga_ddc@50 {
compatible = "firefly,vga_ddc";
reg = <0x50>;
rockchip,source = <0>; //0: LCDC0; 1: LCDC1
rockchip,prop = <PRMRY>;//<EXTEND>
status = "disabled";
};
&fb {
rockchip,disp-mode = <DUAL>;
rockchip,uboot-logo-on = <0>;
//rockchip,disp-policy = <DISPLAY_POLICY_BOX>;
};
&disp_timings {
native-mode = <&timing1>;
};
&rk_screen {
display-timings = <&disp_timings>;
};
/*lcdc0 as PRMRY(HDMI)*/
&lcdc0 {
status = "okay";
rockchip,iommu-enabled = <1>;
//rockchip,mirror = <NO_MIRROR>;
rockchip,cabc_mode = <0>;
rockchip,prop = <PRMRY>;
power_ctr: power_ctr {
rockchip,debug = <0>;
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 = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
rockchip,delay = <5>;
};*/
};
};
&lcdc1 {
status = "okay";
rockchip,iommu-enabled = <1>;
rockchip,prop = <EXTEND>;
};
&hdmi {
status = "okay";
rockchip,cec_enable = <0>;
rockchip,hdcp_enable = <0>;
rockchip,hdmi_audio_source = <1>;
};
|
|