1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2023 Rockchip Electronics Co., Ltd. 4 * 5 */ 6 7#include <dt-bindings/display/media-bus-format.h> 8#include "rk3562-evb1-lp4x-v10.dtsi" 9#include "rk3562-android.dtsi" 10#include "rk3562-rk817.dtsi" 11 12/ { 13 model = "Rockchip RK3562 EVB1 LP4X V10 Board + RK EVB SII9022 RGB2HDMI DISPLAY Ext Board"; 14 compatible = "rockchip,rk3562-evb1-lp4x-v10-sii9022-rgb2hdmi", "rockchip,rk3562"; 15}; 16 17&dsi { 18 status = "disabled"; 19}; 20 21&dsi_in_vp0 { 22 status = "disabled"; 23}; 24 25/* 26 * The pins of gmac0 and rgb are multiplexed 27 */ 28&gmac0 { 29 status = "disabled"; 30}; 31 32&i2c3 { 33 clock-frequency = <400000>; 34 pinctrl-0 = <&i2c3m0_xfer>; 35 status = "okay"; 36 37 sii9022: sii9022@39 { 38 compatible = "sil,sii9022"; 39 reg = <0x39>; 40 pinctrl-names = "default"; 41 pinctrl-0 = <&sii902x_hdmi>; 42 interrupt-parent = <&gpio3>; 43 interrupts = <RK_PA7 IRQ_TYPE_LEVEL_HIGH>; 44 reset-gpio = <&gpio3 RK_PB0 GPIO_ACTIVE_LOW>; 45 enable-gpio = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; 46 bus-format = <MEDIA_BUS_FMT_RGB888_1X24>; 47 status = "okay"; 48 49 ports { 50 #address-cells = <1>; 51 #size-cells = <0>; 52 53 port@0 { 54 reg = <0>; 55 56 sii9022_in_rgb: endpoint { 57 remote-endpoint = <&rgb_out_sii9022>; 58 }; 59 }; 60 }; 61 }; 62}; 63 64/* 65 * The pins of pcie2x1/pdm_codec and rgb are multiplexed 66 */ 67&pcie2x1 { 68 status = "disabled"; 69}; 70 71&pdm_codec { 72 status = "disabled"; 73}; 74 75&pinctrl { 76 sii902x { 77 sii902x_hdmi: sii902x-hdmi { 78 rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; 79 }; 80 }; 81}; 82 83&rgb { 84 status = "okay"; 85 pinctrl-names = "default"; 86 pinctrl-0 = <&vo_pins>; 87 88 ports { 89 port@1 { 90 reg = <1>; 91 #address-cells = <1>; 92 #size-cells = <0>; 93 94 rgb_out_sii9022: endpoint@0 { 95 reg = <0>; 96 remote-endpoint = <&sii9022_in_rgb>; 97 }; 98 }; 99 }; 100}; 101 102&rgb_in_vp0 { 103 status = "okay"; 104}; 105 106&route_rgb { 107 status = "disabled"; 108 connect = <&vp0_out_rgb>; 109}; 110 111/* 112 * The pins of sai0/vcc_mipicsi0/u2phy_host and rgb are multiplexed 113 */ 114&sai0 { 115 status = "disabled"; 116}; 117 118&u2phy_host { 119 status = "disabled"; 120}; 121 122&vcc5v0_usb_host { 123 status = "disabled"; 124}; 125 126&vcc_mipicsi0 { 127 status = "disabled"; 128}; 129 130&video_phy { 131 status = "disabled"; 132}; 133