Commit a1d354a7 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Simon Horman

arm64: dts: renesas: ebisu: Add HDMI and CVBS input

Add HDMI and CVBS inputs device nodes to R-Car E3 Ebisu board.

Both HDMI and CVBS inputs are connected to an ADV7482 video decoder hooked to
the SoC CSI-2 receiver port.
Signed-off-by: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent c79661eb
...@@ -28,6 +28,29 @@ memory@48000000 { ...@@ -28,6 +28,29 @@ memory@48000000 {
/* first 128MB is reserved for secure area. */ /* first 128MB is reserved for secure area. */
reg = <0x0 0x48000000 0x0 0x38000000>; reg = <0x0 0x48000000 0x0 0x38000000>;
}; };
cvbs-in {
compatible = "composite-video-connector";
label = "CVBS IN";
port {
cvbs_con: endpoint {
remote-endpoint = <&adv7482_ain7>;
};
};
};
hdmi-in {
compatible = "hdmi-connector";
label = "HDMI IN";
type = "a";
port {
hdmi_in_con: endpoint {
remote-endpoint = <&adv7482_hdmi>;
};
};
};
}; };
&avb { &avb {
...@@ -47,6 +70,22 @@ phy0: ethernet-phy@0 { ...@@ -47,6 +70,22 @@ phy0: ethernet-phy@0 {
}; };
}; };
&csi40 {
status = "okay";
ports {
port@0 {
reg = <0>;
csi40_in: endpoint {
clock-lanes = <0>;
data-lanes = <1 2>;
remote-endpoint = <&adv7482_txa>;
};
};
};
};
&ehci0 { &ehci0 {
status = "okay"; status = "okay";
}; };
...@@ -55,6 +94,49 @@ &extal_clk { ...@@ -55,6 +94,49 @@ &extal_clk {
clock-frequency = <48000000>; clock-frequency = <48000000>;
}; };
&i2c0 {
status = "okay";
video-receiver@70 {
compatible = "adi,adv7482";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <&gpio0>;
interrupt-names = "intrq1", "intrq2";
interrupts = <7 IRQ_TYPE_LEVEL_LOW>,
<17 IRQ_TYPE_LEVEL_LOW>;
port@7 {
reg = <7>;
adv7482_ain7: endpoint {
remote-endpoint = <&cvbs_con>;
};
};
port@8 {
reg = <8>;
adv7482_hdmi: endpoint {
remote-endpoint = <&hdmi_in_con>;
};
};
port@a {
reg = <0xa>;
adv7482_txa: endpoint {
clock-lanes = <0>;
data-lanes = <1 2>;
remote-endpoint = <&csi40_in>;
};
};
};
};
&ohci0 { &ohci0 {
status = "okay"; status = "okay";
}; };
...@@ -118,6 +200,10 @@ &usb2_phy0 { ...@@ -118,6 +200,10 @@ &usb2_phy0 {
status = "okay"; status = "okay";
}; };
&vin4 {
status = "okay";
};
&xhci0 { &xhci0 {
pinctrl-0 = <&usb30_pins>; pinctrl-0 = <&usb30_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment