summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7794-alt.dts
diff options
context:
space:
mode:
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>2015-11-18 13:51:07 +0100
committerSimon Horman <horms+renesas@verge.net.au>2015-11-18 09:10:38 -0800
commitd537543b3948bc3bc9dede248fa455493e055457 (patch)
tree058632ff42358fd280764a002bc12bcb6ce020ef /arch/arm/boot/dts/r8a7794-alt.dts
parent7f81bf72c67fbd225adfc0d5f6df0f674d08d757 (diff)
ARM: shmobile: alt: add VIN0, ADV7180 DT support
Adds the device board-dependent part of the VIN0 device and its ADV7180 video decoder on I2C1, and the interconnection between them. Based on silk patch by Sergei Shtylyov. Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7794-alt.dts')
-rw-r--r--arch/arm/boot/dts/r8a7794-alt.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
index 88ed017495e9..fd1cfcdd65ef 100644
--- a/arch/arm/boot/dts/r8a7794-alt.dts
+++ b/arch/arm/boot/dts/r8a7794-alt.dts
@@ -120,6 +120,11 @@
renesas,groups = "i2c1";
renesas,function = "i2c1";
};
+
+ vin0_pins: vin0 {
+ renesas,groups = "vin0_data8", "vin0_clk";
+ renesas,function = "vin0";
+ };
};
&cmt0 {
@@ -145,6 +150,35 @@
status = "okay";
clock-frequency = <400000>;
+
+ composite-in@20 {
+ compatible = "adi,adv7180";
+ reg = <0x20>;
+ remote = <&vin0>;
+
+ port {
+ adv7180: endpoint {
+ bus-width = <8>;
+ remote-endpoint = <&vin0ep>;
+ };
+ };
+ };
+};
+
+&vin0 {
+ status = "okay";
+ pinctrl-0 = <&vin0_pins>;
+ pinctrl-names = "default";
+
+ port {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ vin0ep: endpoint {
+ remote-endpoint = <&adv7180>;
+ bus-width = <8>;
+ };
+ };
};
&scif2 {