X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=arch%2Farm64%2Fboot%2Fdts%2Frockchip%2Frk3399-android-next.dtsi;h=cadfa7f5b5b6e679ce7b2415535b652e805d8c08;hb=347ae8a2aa667b82f7d676024fb618c89cd9bb20;hp=c3f11b649d2ab5be986980f4d404d8e4d610fc32;hpb=425dd637bb81aa66033adb93356976c393fa021a;p=firefly-linux-kernel-4.4.55.git diff --git a/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi index c3f11b649d2a..cadfa7f5b5b6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-android-next.dtsi @@ -40,6 +40,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include + / { compatible = "rockchip,android", "rockchip,rk3399"; @@ -132,11 +134,34 @@ &mipi_dsi { status = "okay"; panel { - compatible ="boe,tv080wum-nl0"; + 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 = ; + 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>; + }; + }; }; }; @@ -156,8 +181,33 @@ status = "okay"; }; +&i2c3 { + status = "okay"; + i2c-scl-rising-time-ns = <450>; + i2c-scl-falling-time-ns = <15>; +}; + +&hdmi { + ddc-i2c-bus = <&i2c3>; + status = "okay"; +}; + &display_subsystem { status = "okay"; + + route { + route0 { + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + connect = <&vopb_out_mipi>; + }; + + route1 { + logo,uboot = "logo.bmp"; + logo,kernel = "logo_kernel.bmp"; + connect = <&vopl_out_hdmi>; + }; + }; }; &i2s2 {