ARM: dts: r8a7792: add CAN support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 14 Jul 2016 20:20:35 +0000 (23:20 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 8 Aug 2016 10:53:02 +0000 (12:53 +0200)
Define the generic R8A7792 parts of the CAN0/1 device nodes.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7792.dtsi

index af8020bfc030f1d6f72b6f426c7fd57c0711fde3..1b96bf6393fbfec6becd067efb71bdfe80fe5230 100644 (file)
                        status = "disabled";
                };
 
+               can0: can@e6e80000 {
+                       compatible = "renesas,can-r8a7792",
+                                    "renesas,rcar-gen2-can";
+                       reg = <0 0xe6e80000 0 0x1000>;
+                       interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mstp9_clks R8A7792_CLK_CAN0>,
+                                <&rcan_clk>, <&can_clk>;
+                       clock-names = "clkp1", "clkp2", "can_clk";
+                       power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+                       status = "disabled";
+               };
+
+               can1: can@e6e88000 {
+                       compatible = "renesas,can-r8a7792",
+                                    "renesas,rcar-gen2-can";
+                       reg = <0 0xe6e88000 0 0x1000>;
+                       interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&mstp9_clks R8A7792_CLK_CAN1>,
+                                <&rcan_clk>, <&can_clk>;
+                       clock-names = "clkp1", "clkp2", "can_clk";
+                       power-domains = <&sysc R8A7792_PD_ALWAYS_ON>;
+                       status = "disabled";
+               };
+
                /* Special CPG clocks */
                cpg_clocks: cpg_clocks@e6150000 {
                        compatible = "renesas,r8a7792-cpg-clocks",
This page took 0.026583 seconds and 5 git commands to generate.