1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd 4 */ 5 6/dts-v1/; 7#include "rk3368-xikp.dtsi" 8 9/ { 10 model = "Rockchip rk3368 xkp avb board"; 11 compatible = "rockchip,xkp-avb", "rockchip,rk3368"; 12}; 13 14&firmware_android { 15 compatible = "android,firmware"; 16 boot_devices = "ff0f0000.dwmmc,ff400000.nandc"; 17 vbmeta { 18 compatible = "android,vbmeta"; 19 parts = "vbmeta,dtbo"; 20 }; 21 fstab { 22 compatible = "android,fstab"; 23 vendor { 24 compatible = "android,vendor"; 25 dev = "/dev/block/by-name/vendor"; 26 type = "ext4"; 27 mnt_flags = "ro,barrier=1,inode_readahead_blks=8"; 28 fsmgr_flags = "wait,avb"; 29 }; 30 }; 31}; 32 33&chosen { 34 bootargs = "earlycon=uart8250,mmio32,0xff690000 console=ttyFIQ0 androidboot.baseband=N/A androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 androidboot.selinux=permissive init=/init kpti=0"; 35}; 36 37&i2c3 { 38 status = "okay"; 39 40 gc2145: gc2145@3c { 41 compatible = "galaxycore,gc2145"; 42 reg = <0x3c>; 43 clocks = <&cru SCLK_VIP_OUT>; 44 clock-names = "xvclk"; 45 46 power-gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 47 pwdn-gpios = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>; 48 rockchip,camera-module-index = <1>; 49 rockchip,camera-module-facing = "front"; 50 rockchip,camera-module-name = "CameraKing"; 51 rockchip,camera-module-lens-name = "Largan"; 52 port { 53 gc2145_out: endpoint { 54 remote-endpoint = <&isp_dvp_in>; 55 }; 56 }; 57 }; 58 59 ov8858: ov8858@36 { 60 compatible = "ovti,ov8858"; 61 reg = <0x36>; 62 clocks = <&cru SCLK_VIP_OUT>; 63 clock-names = "xvclk"; 64 65 rockchip,camera-module-index = <0>; 66 rockchip,camera-module-facing = "back"; 67 rockchip,camera-module-name = "CameraKing"; 68 rockchip,camera-module-lens-name = "Largan-9569A2"; 69 power-gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; 70 pwdn-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>; 71 port { 72 ov8858_out: endpoint { 73 remote-endpoint = <&mipi_in>; 74 data-lanes = <1 2>; 75 }; 76 }; 77 }; 78 79}; 80 81&isp { 82 status = "disabled"; 83}; 84 85&isp_mmu { 86 status = "okay"; 87}; 88 89&mipi_dphy_rx0 { 90 status = "okay"; 91 92 ports { 93 #address-cells = <1>; 94 #size-cells = <0>; 95 96 port@0 { 97 reg = <0>; 98 #address-cells = <1>; 99 #size-cells = <0>; 100 101 mipi_in: endpoint@1 { 102 reg = <1>; 103 remote-endpoint = <&ov8858_out>; 104 data-lanes = <1 2>; 105 }; 106 }; 107 108 port@1 { 109 reg = <1>; 110 #address-cells = <1>; 111 #size-cells = <0>; 112 113 dphy_rx_out: endpoint@0 { 114 reg = <0>; 115 remote-endpoint = <&isp_mipi_in>; 116 }; 117 }; 118 }; 119}; 120 121&rkisp1 { 122 status = "okay"; 123 pinctrl-names = "default"; 124 pinctrl-0 = <&isp_dvp_d2d9 &isp_dvp_d10d11 &cif_clkout>; 125 port { 126 #address-cells = <1>; 127 #size-cells = <0>; 128 129 isp_dvp_in: endpoint@1 { 130 reg = <1>; 131 remote-endpoint = <&gc2145_out>; 132 }; 133 134 isp_mipi_in: endpoint@0 { 135 reg = <0>; 136 remote-endpoint = <&dphy_rx_out>; 137 }; 138 }; 139}; 140