1/* 2 * Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd 3 * 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 */ 6 7/dts-v1/; 8#include "rk3288-evb-android-rk808-edp.dtsi" 9 10/ { 11 model = "Rockchip rk3288 evb avb board"; 12 compatible = "rockchip,rk3288-evb-android-rk808-edp", "rockchip,rk3288"; 13 chosen: chosen { 14 bootargs = "earlycon=uart8250,mmio32,0xff690000 vmalloc=496M console=ttyFIQ0 androidboot.baseband=N/A androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init kpti=0"; 15 }; 16}; 17 18&hevc { 19 status = "okay"; 20 clock-names = "aclk_vcodec", "hclk_vcodec", "clk_core", "clk_cabac"; 21 rockchip,normal-rates = <300000000>, <0>, <200000000>, <200000000>; 22 rockchip,advanced-rates = <600000000>, <0>, <500000000>, <500000000>; 23}; 24 25&io_domains { 26 status = "okay"; 27 28 dvp-supply = <&vcc_18>; 29}; 30 31&isp_mmu { 32 status = "okay"; 33}; 34 35&i2c3 { 36 status = "okay"; 37 38 sgm3784: sgm3784@30 { 39 #address-cells = <1>; 40 #size-cells = <0>; 41 compatible = "sgmicro,gsm3784"; 42 reg = <0x30>; 43 rockchip,camera-module-index = <0>; 44 rockchip,camera-module-facing = "back"; 45 enable-gpio = <&gpio7 RK_PB6 GPIO_ACTIVE_HIGH>; 46 strobe-gpio = <&gpio7 RK_PB5 GPIO_ACTIVE_HIGH>; 47 status = "okay"; 48 sgm3784_led0: led@0 { 49 reg = <0x0>; 50 led-max-microamp = <299200>; 51 flash-max-microamp = <1122000>; 52 flash-max-timeout-us = <1600000>; 53 }; 54 55 sgm3784_led1: led@1 { 56 reg = <0x1>; 57 led-max-microamp = <299200>; 58 flash-max-microamp = <1122000>; 59 flash-max-timeout-us = <1600000>; 60 }; 61 }; 62 63 vm149c: vm149c@0c { 64 compatible = "silicon touch,vm149c"; 65 status = "okay"; 66 reg = <0x0c>; 67 rockchip,camera-module-index = <0>; 68 rockchip,camera-module-facing = "back"; 69 }; 70 71 ov13850: ov13850@10 { 72 compatible = "ovti,ov13850"; 73 reg = <0x10>; 74 clocks = <&cru SCLK_VIP_OUT>; 75 clock-names = "xvclk"; 76 /* avdd-supply = <>; */ 77 /* dvdd-supply = <>; */ 78 /* dovdd-supply = <>; */ 79 /* reset-gpios = <>; */ 80 pinctrl-names = "rockchip,camera_default"; 81 pinctrl-0 = <&isp_mipi>; 82 power-gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>; 83 pwdn-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; 84 rockchip,camera-module-index = <0>; 85 rockchip,camera-module-facing = "back"; 86 rockchip,camera-module-name = "CMK-CT0116"; 87 rockchip,camera-module-lens-name = "Largan-50013A1"; 88 lens-focus = <&vm149c>; 89 flash-leds = <&sgm3784_led0 &sgm3784_led1>; 90 port { 91 ov13850_out: endpoint { 92 remote-endpoint = <&mipi_in_ucam0>; 93 data-lanes = <1 2>; 94 }; 95 }; 96 }; 97}; 98 99&mipi_phy_rx0 { 100 status = "okay"; 101 102 ports { 103 #address-cells = <1>; 104 #size-cells = <0>; 105 106 port@0 { 107 reg = <0>; 108 #address-cells = <1>; 109 #size-cells = <0>; 110 111 mipi_in_ucam0: endpoint@1 { 112 reg = <1>; 113 remote-endpoint = <&ov13850_out>; 114 data-lanes = <1 2>; 115 }; 116 }; 117 118 port@1 { 119 reg = <1>; 120 #address-cells = <1>; 121 #size-cells = <0>; 122 123 dphy_rx_out: endpoint@0 { 124 reg = <0>; 125 remote-endpoint = <&isp_mipi_in>; 126 }; 127 }; 128 }; 129}; 130 131&rkisp1 { 132 status = "okay"; 133 port { 134 #address-cells = <1>; 135 #size-cells = <0>; 136 137 isp_mipi_in: endpoint@0 { 138 reg = <0>; 139 remote-endpoint = <&dphy_rx_out>; 140 }; 141 142 }; 143}; 144 145&route_hdmi { 146 status = "okay"; 147}; 148 149&vopb { 150 assigned-clocks = <&cru DCLK_VOP0>; 151 assigned-clock-parents = <&cru PLL_GPLL>; 152}; 153 154&vopl { 155 assigned-clocks = <&cru DCLK_VOP1>; 156 assigned-clock-parents = <&cru PLL_CPLL>; 157}; 158