1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2// Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd 3 4/dts-v1/; 5#include "rk3288-evb-rk628.dtsi" 6 7/ { 8 model = "Rockchip RK3288 EVB RK628 Board"; 9 compatible = "rockchip,rk3288-evb-rk628", "rockchip,rk3288"; 10 11 chosen { 12 bootargs = "rootwait 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 androidboot.selinux=permissive"; 13 }; 14 15 hdmiin-sound { 16 compatible = "rockchip,rockchip-rt5651-rk628-sound"; 17 rockchip,cpu = <&i2s>; 18 rockchip,codec = <&rt5651>; 19 status = "okay"; 20 }; 21}; 22 23&video_phy { 24 status = "okay"; 25}; 26 27&hdmi { 28 status = "okay"; 29}; 30 31&hdmi_in_vopb { 32 status = "disabled"; 33}; 34 35&hdmi_in_vopl { 36 status = "okay"; 37}; 38 39&route_hdmi { 40 connect = <&vopl_out_hdmi>; 41 status = "disabled"; 42}; 43 44&rk628 { 45 reg = <0x51>; 46 interrupt-parent = <&gpio7>; 47 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; 48 enable-gpios = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>; 49 reset-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_LOW>; 50 status = "okay"; 51}; 52 53&rk628_combrxphy { 54 status = "okay"; 55}; 56 57&rk628_combtxphy { 58 status = "okay"; 59}; 60 61&rk628_csi { 62 status = "okay"; 63 plugin-det-gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 64 power-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; 65 rockchip,camera-module-index = <0>; 66 rockchip,camera-module-facing = "back"; 67 rockchip,camera-module-name = "RK628-CSI"; 68 rockchip,camera-module-lens-name = "NC"; 69 70 port { 71 hdmiin_out0: endpoint { 72 remote-endpoint = <&hdmi2mipi_in>; 73 data-lanes = <1 2 3 4>; 74 }; 75 }; 76}; 77 78&mipi_phy_rx0 { 79 status = "okay"; 80 81 ports { 82 #address-cells = <1>; 83 #size-cells = <0>; 84 85 port@0 { 86 reg = <0>; 87 #address-cells = <1>; 88 #size-cells = <0>; 89 90 hdmi2mipi_in: endpoint@1 { 91 reg = <1>; 92 remote-endpoint = <&hdmiin_out0>; 93 data-lanes = <1 2 3 4>; 94 }; 95 }; 96 97 port@1 { 98 reg = <1>; 99 #address-cells = <1>; 100 #size-cells = <0>; 101 102 dphy_rx_out: endpoint@0 { 103 reg = <0>; 104 remote-endpoint = <&isp_mipi_in>; 105 }; 106 }; 107 }; 108}; 109 110&rkisp1 { 111 status = "okay"; 112 port { 113 #address-cells = <1>; 114 #size-cells = <0>; 115 116 isp_mipi_in: endpoint@0 { 117 reg = <0>; 118 remote-endpoint = <&dphy_rx_out>; 119 }; 120 }; 121}; 122