CoolPi-Armbian-Rockchip-RK3.../arch/arm64/boot/dts/rockchip/rk3576-test1-v10-sii9022-rgb2hdmi.dts

107 lines
1.8 KiB
Plaintext

// 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 "rk3576.dtsi"
#include "rk3576-test1.dtsi"
#include "rk3576-android.dtsi"
/ {
model = "Rockchip RK3576 TEST1 V10 Board + RK EVB SII9022 RGB2HDMI DISPLAY Ext Board";
compatible = "rockchip,rk3576-test1-v10-sii9022-rgb2hdmi", "rockchip,rk3576";
};
/*
* The pins of gmac0 and rgb are multiplexed
*/
&gmac0 {
status = "disabled";
};
&i2c3 {
clock-frequency = <400000>;
pinctrl-0 = <&i2c3m0_xfer>;
status = "okay";
sii9022: sii9022@39 {
compatible = "sil,sii9022";
reg = <0x39>;
pinctrl-names = "default";
pinctrl-0 = <&sii902x_hdmi>;
interrupt-parent = <&gpio4>;
interrupts = <RK_PA6 IRQ_TYPE_LEVEL_HIGH>;
reset-gpio = <&gpio4 RK_PB1 GPIO_ACTIVE_LOW>;
enable-gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>;
bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
sii9022_in_rgb: endpoint {
remote-endpoint = <&rgb_out_sii9022>;
};
};
};
};
};
/*
* The pins of pcie1 and sii9022 are multiplexed
*/
&pcie1 {
status = "disabled";
};
&pinctrl {
sii902x {
sii902x_hdmi: sii902x-hdmi {
rockchip,pins = <4 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};
&rgb {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&vo_lcdc_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_vp2 {
status = "okay";
};
&route_rgb {
status = "disabled";
connect = <&vp2_out_rgb>;
};
/*
* The pins of sai1 and sii9022 are multiplexed
*/
&sai1 {
status = "disabled";
};