mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
arm64: dts: rockchip: rk3368-sziauto: add rk618 HDMI support.
Change-Id: Ib5795febf1c5432d12988bfb5e9b86345513ef6d Signed-off-by: Shunqing Chen <csq@rock-chips.com> Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -234,11 +234,12 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
LVDS: lvds {
|
||||
compatible = "rockchip,rk618-lvds";
|
||||
clocks = <&CRU LVDS_CLK>, <&CRU DITHER_CLK>,
|
||||
<&CRU VIF0_CLK>, <&CRU SCALER_CLK>;
|
||||
clock-names = "lvds", "dither", "vif", "scaler";
|
||||
HDMI: hdmi {
|
||||
compatible = "rockchip,rk618-inno-hdmi";
|
||||
clocks = <&CRU HDMI_CLK>;
|
||||
clock-names = "hdmi";
|
||||
interrupt-parent = <&gpio3>;
|
||||
interrupts = <23 IRQ_TYPE_LEVEL_HIGH>;
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
@@ -248,9 +249,63 @@
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
lvds_input_vop: endpoint {
|
||||
hdmi_input_vop: endpoint {
|
||||
remote-endpoint = <&vop_output_hdmi>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
/* Enable or Disable VIF Port */
|
||||
hdmi_output_vif: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&vif_input_hdmi>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* Enable or Disable Clone Port */
|
||||
hdmi_output_lvds: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&lvds_input_hdmi>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
LVDS: lvds {
|
||||
compatible = "rockchip,rk618-lvds";
|
||||
clocks = <&CRU LVDS_CLK>, <&CRU DITHER_CLK>,
|
||||
<&CRU VIF0_CLK>, <&CRU SCALER_CLK>;
|
||||
clock-names = "lvds", "dither", "vif", "scaler";
|
||||
status = "disabled";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
lvds_input_vop: endpoint@0 {
|
||||
reg = <0>;
|
||||
remote-endpoint = <&vop_output_lvds>;
|
||||
};
|
||||
|
||||
lvds_input_vif: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&vif_output_lvds>;
|
||||
};
|
||||
|
||||
lvds_input_hdmi: endpoint@2 {
|
||||
reg = <2>;
|
||||
remote-endpoint = <&hdmi_output_lvds>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
@@ -262,6 +317,34 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
VIF: vif {
|
||||
compatible = "rockchip,rk618-vif";
|
||||
clocks = <&CRU VIF0_CLK>, <&CRU VIF0_PRE_CLK>;
|
||||
clock-names = "vif", "vif_pre";
|
||||
status = "okay";
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
|
||||
vif_input_hdmi: endpoint {
|
||||
remote-endpoint = <&hdmi_output_vif>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
vif_output_lvds: endpoint {
|
||||
remote-endpoint = <&lvds_input_vif>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -274,6 +357,11 @@
|
||||
reg = <4>;
|
||||
remote-endpoint = <&lvds_input_vop>;
|
||||
};
|
||||
|
||||
vop_output_hdmi: endpoint@5 {
|
||||
reg = <5>;
|
||||
remote-endpoint = <&hdmi_input_vop>;
|
||||
};
|
||||
};
|
||||
|
||||
&route_lvds {
|
||||
|
||||
Reference in New Issue
Block a user