ARM: dts: r7s72100: Add Capture Engine Unit (CEU)
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 22 Feb 2018 10:37:20 +0000 (11:37 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 25 Apr 2018 06:51:02 +0000 (08:51 +0200)
Add Capture Engine Unit (CEU) node to device tree.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
[simon: rebased]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r7s72100.dtsi

index ecf9516..4a1aade 100644 (file)
                        status = "disabled";
                };
 
+               ceu: camera@e8210000 {
+                       reg = <0xe8210000 0x3000>;
+                       compatible = "renesas,r7s72100-ceu";
+                       interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mstp6_clks R7S72100_CLK_CEU>;
+                       power-domains = <&cpg_clocks>;
+                       status = "disabled";
+               };
+
                wdt: watchdog@fcfe0000 {
                        compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt";
                        reg = <0xfcfe0000 0x6>;
                        #clock-cells = <1>;
                        compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
                        reg = <0xfcfe042c 4>;
-                       clocks = <&p0_clk>;
-                       clock-indices = <R7S72100_CLK_RTC>;
-                       clock-output-names = "rtc";
+                       clocks = <&b_clk>, <&p0_clk>;
+                       clock-indices = <R7S72100_CLK_CEU R7S72100_CLK_RTC>;
+                       clock-output-names = "ceu", "rtc";
                };
 
                mstp7_clks: mstp7_clks@fcfe0430 {