ARM: dts: rockchip: rv1106-evb: add sii902x bt1120/bt656 to hdmi board

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ifa360e599c4d96d23bc74eab5da662371e83f447
This commit is contained in:
Damon Ding
2022-08-23 17:00:05 +08:00
committed by Tao Huang
parent 04511aef85
commit c8e328506b
2 changed files with 57 additions and 0 deletions

View File

@@ -980,6 +980,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
rv1106g-evb1-rgb-display-v11.dtb \
rv1106g-evb1-v10.dtb \
rv1106g-evb1-v11.dtb \
rv1106g-evb1-v11-sii902x-bt11202hdmi.dtb \
rv1106g-evb1-v11-sii902x-rgb2hdmi.dtb \
rv1106g-evb1-v10-dual-cam.dtb \
rv1106g-evb1-v10-facial-gate.dtb \

View File

@@ -0,0 +1,56 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
*/
/dts-v1/;
#include "rv1106g-evb1-v11.dts"
#include "rv1106-evb-ext-sii902x-bt1120-to-hdmi-v10.dtsi"
/ {
model = "Rockchip RV1106G EVB1 V11 Board + RK EVB BT1120&BT656 TO HDMI V10 Ext Board";
compatible = "rockchip,rv1106g-evb1-v11-sii902x-bt11202hdmi", "rockchip,rv1106";
};
&i2c0 {
/delete-node/ sii9022@39;
};
&i2c1 {
clock-frequency = <400000>;
status = "okay";
sii9022: sii9022@39 {
compatible = "sil,sii9022";
reg = <0x39>;
pinctrl-names = "default";
pinctrl-0 = <&sii902x_hdmi_int>;
interrupt-parent = <&gpio1>;
interrupts = <RK_PB0 IRQ_TYPE_LEVEL_HIGH>;
reset-gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
enable-gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
/*
* MEDIA_BUS_FMT_YUYV8_1X16 for bt1120
* MEDIA_BUS_FMT_YUYV8_2X8 for bt656
*/
bus-format = <MEDIA_BUS_FMT_YUYV8_1X16>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
sii9022_in_rgb: endpoint {
remote-endpoint = <&rgb_out_sii9022>;
};
};
};
};
};
&sii902x_hdmi_int {
rockchip,pins = <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
};