mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
ARM: dts: rockchip: rk3506g-evb1: add sii9022 bt1120/bt656 to hdmi board
Change-Id: I90efe34d60f02ba5d6f8ffedf52cf66c5ea77b96 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -1226,6 +1226,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
|
||||
rk3506g-evb1-v10.dtb \
|
||||
rk3506g-evb1-v10-mcu-k350c4516t.dtb \
|
||||
rk3506g-evb1-v10-rgb-Q7050ITH2641AA1T.dtb \
|
||||
rk3506g-evb1-v10-sii9022-bt1120-to-hdmi.dtb \
|
||||
rk3506g-iotest-v10.dtb
|
||||
dtb-$(CONFIG_ARCH_S3C24XX) += \
|
||||
s3c2416-smdk2416.dtb
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2024 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <dt-bindings/display/media-bus-format.h>
|
||||
#include "rk3506.dtsi"
|
||||
#include "rk3506-evb1-v10.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Rockchip RK3506G(QFN128) EVB1 V10 Board + RK EVB EXT DisplayBoard SII9022A BT1120toHDMI V10";
|
||||
compatible = "rockchip,rk3506g-evb1-v10-sii9022-bt1120-to-hdmi", "rockchip,rk3506";
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
clock-frequency = <400000>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rm_io4_i2c2_scl &rm_io5_i2c2_sda>;
|
||||
status = "okay";
|
||||
|
||||
sii9022: sii9022@39 {
|
||||
compatible = "sil,sii9022";
|
||||
reg = <0x39>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sii902x_hdmi>;
|
||||
interrupt-parent = <&gpio0>;
|
||||
interrupts = <RK_PA6 IRQ_TYPE_LEVEL_HIGH>;
|
||||
reset-gpio = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||
enable-gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
|
||||
/*
|
||||
* MEDIA_BUS_FMT_YUYV8_1X16 for bt1120
|
||||
* MEDIA_BUS_FMT_UYVY8_2X8 for bt656
|
||||
*/
|
||||
bus-format = <MEDIA_BUS_FMT_YUYV8_1X16>;
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
sii9022_in_rgb: endpoint {
|
||||
remote-endpoint = <&rgb_out_sii9022>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
sii902x {
|
||||
sii902x_hdmi: sii902x-hdmi {
|
||||
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rgb {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
/*
|
||||
* bt1120_pins for bt1120
|
||||
* bt656_m0_pins/bt656_m1_pins for bt656
|
||||
*/
|
||||
pinctrl-0 = <&bt1120_pins>;
|
||||
|
||||
ports {
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
rgb_out_sii9022: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&sii9022_in_rgb>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&rgb_in_vop {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&route_rgb {
|
||||
status = "okay";
|
||||
};
|
||||
Reference in New Issue
Block a user