};
};
-&mipi_dsi {
- status = "okay";
- panel {
- compatible ="simple-panel-dsi";
- reg = <0>;
- backlight = <&backlight>;
- enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
- dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
- MIPI_DSI_MODE_VIDEO_SYNC_PULSE)>;
- dsi,format = <MIPI_DSI_FMT_RGB888>;
- dsi,lanes = <4>;
- status = "okay";
-
- display-timings {
- native-mode = <&timing0>;
- timing0: timing0 {
- clock-frequency = <160000000>;
- hactive = <1200>;
- vactive = <1920>;
- hback-porch = <21>;
- hfront-porch = <120>;
- vback-porch = <18>;
- vfront-porch = <21>;
- hsync-len = <20>;
- vsync-len = <3>;
- hsync-active = <0>;
- vsync-active = <0>;
- de-active = <0>;
- pixelclk-active = <0>;
- };
- };
- };
-};
-
&vopb {
status = "okay";
};
memory-region = <&drm_logo>;
route {
- route0 {
+ route_hdmi: route-hdmi {
+ status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
+ logo,mode = "fullscreen";
+ charge_logo,mode = "center";
+ connect = <&vopl_out_hdmi>;
+ };
+
+ route_mipi: route-mipi {
+ status = "disabled";
+ logo,uboot = "logo.bmp";
+ logo,kernel = "logo_kernel.bmp";
+ logo,mode = "fullscreen";
+ charge_logo,mode = "center";
connect = <&vopb_out_mipi>;
};
- route1 {
+ route_edp: route-edp {
+ status = "disabled";
logo,uboot = "logo.bmp";
logo,kernel = "logo_kernel.bmp";
- connect = <&vopl_out_hdmi>;
+ logo,mode = "fullscreen";
+ charge_logo,mode = "center";
+ connect = <&vopb_out_edp>;
};
};
};
rockchip,pwm_id= <3>;
rockchip,pwm_voltage = <900000>;
};
+
+&mipi_dsi {
+ status = "okay";
+ panel {
+ compatible ="simple-panel-dsi";
+ reg = <0>;
+ backlight = <&backlight>;
+ enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
+ dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
+ MIPI_DSI_MODE_VIDEO_SYNC_PULSE)>;
+ dsi,format = <MIPI_DSI_FMT_RGB888>;
+ dsi,lanes = <4>;
+ status = "okay";
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: timing0 {
+ clock-frequency = <160000000>;
+ hactive = <1200>;
+ vactive = <1920>;
+ hback-porch = <21>;
+ hfront-porch = <120>;
+ vback-porch = <18>;
+ vfront-porch = <21>;
+ hsync-len = <20>;
+ vsync-len = <3>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <0>;
+ pixelclk-active = <0>;
+ };
+ };
+ };
+};
+
+&route_mipi {
+ status = "okay";
+};
&spdif_sound {
status = "okay";
};
+
+&mipi_dsi {
+ status = "okay";
+ panel {
+ compatible ="simple-panel-dsi";
+ reg = <0>;
+ backlight = <&backlight>;
+ enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
+ dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
+ MIPI_DSI_MODE_VIDEO_SYNC_PULSE)>;
+ dsi,format = <MIPI_DSI_FMT_RGB888>;
+ dsi,lanes = <4>;
+ status = "okay";
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: timing0 {
+ clock-frequency = <160000000>;
+ hactive = <1200>;
+ vactive = <1920>;
+ hback-porch = <21>;
+ hfront-porch = <120>;
+ vback-porch = <18>;
+ vfront-porch = <21>;
+ hsync-len = <20>;
+ vsync-len = <3>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <0>;
+ pixelclk-active = <0>;
+ };
+ };
+ };
+};
+
+&route_mipi {
+ status = "okay";
+};