1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd. 4 * 5 */ 6 7/dts-v1/; 8 9#include "rk3399-evb-rev2.dtsi" 10#include "rk3399-android.dtsi" 11 12/ { 13 model = "Rockchip RK3399 Evaluation Board v2 (Android)"; 14 compatible = "rockchip,android", "rockchip,rk3399-evb-rev2", "rockchip,rk3399"; 15}; 16 17&vdd_center { 18 rockchip,pwm_id= <3>; 19 rockchip,pwm_voltage = <900000>; 20}; 21 22&i2s2 { 23 status = "okay"; 24}; 25 26&spdif { 27 status = "okay"; 28}; 29 30&spdif_out { 31 status = "okay"; 32}; 33 34&spdif_sound { 35 status = "okay"; 36}; 37 38&dsi { 39 status = "okay"; 40 41 panel@0 { 42 compatible ="simple-panel-dsi"; 43 reg = <0>; 44 backlight = <&backlight>; 45 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 46 47 dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST)>; 48 dsi,format = <MIPI_DSI_FMT_RGB888>; 49 dsi,lanes = <4>; 50 51 display-timings { 52 native-mode = <&timing0>; 53 54 timing0: timing0 { 55 clock-frequency = <160000000>; 56 hactive = <1200>; 57 vactive = <1920>; 58 hback-porch = <21>; 59 hfront-porch = <120>; 60 vback-porch = <18>; 61 vfront-porch = <21>; 62 hsync-len = <20>; 63 vsync-len = <3>; 64 hsync-active = <0>; 65 vsync-active = <0>; 66 de-active = <0>; 67 pixelclk-active = <0>; 68 }; 69 }; 70 71 ports { 72 #address-cells = <1>; 73 #size-cells = <0>; 74 75 port@0 { 76 reg = <0>; 77 panel_in_dsi: endpoint { 78 remote-endpoint = <&dsi_out_panel>; 79 }; 80 }; 81 }; 82 }; 83 84 ports { 85 #address-cells = <1>; 86 #size-cells = <0>; 87 88 port@1 { 89 reg = <1>; 90 dsi_out_panel: endpoint { 91 remote-endpoint = <&panel_in_dsi>; 92 }; 93 }; 94 }; 95}; 96 97&route_dsi { 98 status = "okay"; 99}; 100 101&firmware_android { 102 compatible = "android,firmware"; 103 fstab { 104 compatible = "android,fstab"; 105 system { 106 compatible = "android,system"; 107 dev = "/dev/block/by-name/system"; 108 type = "ext4"; 109 mnt_flags = "ro,barrier=1,inode_readahead_blks=8"; 110 fsmgr_flags = "wait,verify"; 111 }; 112 vendor { 113 compatible = "android,vendor"; 114 dev = "/dev/block/by-name/vendor"; 115 type = "ext4"; 116 mnt_flags = "ro,barrier=1,inode_readahead_blks=8"; 117 fsmgr_flags = "wait,verify"; 118 }; 119 }; 120}; 121