arm64: dts: rockchip: enable otg-port node of usb2-phy for rk3328-evb
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-evb-rev1-android.dts
index 8a22c5eef3833c0a2f3ed4b52f2abc1490c4b51c..087042474103a6ff57f33112c1efbec13e860726 100644 (file)
        rockchip,pwm_voltage = <900000>;
 };
 
-&rk_screen {
-       #include <dt-bindings/display/screen-timing/lcd-tv080wum-nl0-mipi.dtsi>
-};
-
-&vopb_rk_fb {
+&mipi_dsi {
        status = "okay";
-       power_ctr: power_ctr {
-               /*rockchip,debug = <0>;
-               lcd_en: lcd-en {
-                       rockchip,power_type = <GPIO>;
-                       gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;//GPIO_C6 = 22
-                       rockchip,delay = <10>;
-               };
-               */
+       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";
 
-               /*lcd_cs: lcd-cs {
-                       rockchip,power_type = <GPIO>;
-                       gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;//GPIO_C5 = 21
-                       rockchip,delay = <10>;
-               };*/
-
-               /*lcd_rst: lcd-rst {
-                       rockchip,power_type = <GPIO>;
-                       gpios = <&gpio3 GPIO_D6 GPIO_ACTIVE_HIGH>;
-                       rockchip,delay = <5>;
-               };*/
+               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>;
+                       };
+               };
        };
 };
 
-&vopl_rk_fb {
-       status = "okay";
-};
-
-&mipi0_rk_fb {
-       status = "okay";
-};
-
-&hdmi_rk_fb {
-       status = "okay";
-       rockchip,hdmi_video_source = <DISPLAY_SOURCE_LCDC1>;
-};
-
-&i2s2 {
-       status = "okay";
-};
-
-&dw_hdmi_audio {
-       status = "okay";
-};
-
-&hdmi_sound {
+&route_mipi {
        status = "okay";
 };