summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7793.dtsi
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2016-03-16 02:52:56 +0100
committerSimon Horman <horms+renesas@verge.net.au>2016-04-20 00:56:37 +0200
commita0e300ceb5259e8584ff67971981ac22580ef550 (patch)
treec2d24d627661aeef59c353bcb196377c8e7d1ae7 /arch/arm/boot/dts/r8a7793.dtsi
parentARM: dts: r8a7793: add CAN clocks to device tree (diff)
downloadlinux-a0e300ceb5259e8584ff67971981ac22580ef550.tar.xz
linux-a0e300ceb5259e8584ff67971981ac22580ef550.zip
ARM: dts: r8a7793: add CAN nodes to device tree
Add CAN nodes to r8a7793 device tree. Based on work by Sergei Shtylyov for the r8a7791 SoC. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7793.dtsi')
-rw-r--r--arch/arm/boot/dts/r8a7793.dtsi22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi
index 0e609bdafaa9..bddc31283bd9 100644
--- a/arch/arm/boot/dts/r8a7793.dtsi
+++ b/arch/arm/boot/dts/r8a7793.dtsi
@@ -806,6 +806,28 @@
};
};
+ can0: can@e6e80000 {
+ compatible = "renesas,can-r8a7793", "renesas,rcar-gen2-can";
+ reg = <0 0xe6e80000 0 0x1000>;
+ interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp9_clks R8A7793_CLK_RCAN0>,
+ <&cpg_clocks R8A7793_CLK_RCAN>, <&can_clk>;
+ clock-names = "clkp1", "clkp2", "can_clk";
+ power-domains = <&cpg_clocks>;
+ status = "disabled";
+ };
+
+ can1: can@e6e88000 {
+ compatible = "renesas,can-r8a7793", "renesas,rcar-gen2-can";
+ reg = <0 0xe6e88000 0 0x1000>;
+ interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&mstp9_clks R8A7793_CLK_RCAN1>,
+ <&cpg_clocks R8A7793_CLK_RCAN>, <&can_clk>;
+ clock-names = "clkp1", "clkp2", "can_clk";
+ power-domains = <&cpg_clocks>;
+ status = "disabled";
+ };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;