Commit 8d62f4f7 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Simon Horman

ARM: shmobile: henninger: add VIN0/ADV7180 DT support

Define the Henninger board dependent part of the VIN0 device node. Add the
device node for Analog Devices ADV7180 video decoder to I2C2  bus. Add the
necessary subnodes to interconnect VIN0 and ADV7180 devices.
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 0b8d1d57
...@@ -135,6 +135,11 @@ usb1_pins: usb1 { ...@@ -135,6 +135,11 @@ usb1_pins: usb1 {
renesas,groups = "usb1"; renesas,groups = "usb1";
renesas,function = "usb1"; renesas,function = "usb1";
}; };
vin0_pins: vin0 {
renesas,groups = "vin0_data8", "vin0_clk";
renesas,function = "vin0";
};
}; };
&scif0 { &scif0 {
...@@ -191,6 +196,19 @@ &i2c2 { ...@@ -191,6 +196,19 @@ &i2c2 {
status = "okay"; status = "okay";
clock-frequency = <400000>; clock-frequency = <400000>;
composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
remote = <&vin0>;
port {
adv7180: endpoint {
bus-width = <8>;
remote-endpoint = <&vin0ep>;
};
};
};
}; };
&qspi { &qspi {
...@@ -260,3 +278,20 @@ &pcie_bus_clk { ...@@ -260,3 +278,20 @@ &pcie_bus_clk {
&pciec { &pciec {
status = "okay"; status = "okay";
}; };
/* composite video input */
&vin0 {
status = "ok";
pinctrl-0 = <&vin0_pins>;
pinctrl-names = "default";
port {
#address-cells = <1>;
#size-cells = <0>;
vin0ep: endpoint {
remote-endpoint = <&adv7180>;
bus-width = <8>;
};
};
};
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