2 * Device Tree Source for the r8a7796 SoC
4 * Copyright (C) 2016 Renesas Electronics Corp.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
11 #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 compatible = "renesas,r8a7796";
20 compatible = "arm,psci-0.2";
28 /* 1 core only at this point */
30 compatible = "arm,cortex-a57", "arm,armv8";
33 next-level-cache = <&L2_CA57>;
34 enable-method = "psci";
37 L2_CA57: cache-controller@0 {
46 compatible = "fixed-clock";
48 /* This value must be overridden by the board */
49 clock-frequency = <0>;
53 compatible = "fixed-clock";
55 /* This value must be overridden by the board */
56 clock-frequency = <0>;
59 /* External SCIF clock - to be overridden by boards that provide it */
61 compatible = "fixed-clock";
63 clock-frequency = <0>;
67 compatible = "simple-bus";
68 interrupt-parent = <&gic>;
73 gic: interrupt-controller@f1010000 {
74 compatible = "arm,gic-400";
75 #interrupt-cells = <3>;
78 reg = <0x0 0xf1010000 0 0x1000>,
79 <0x0 0xf1020000 0 0x20000>,
80 <0x0 0xf1040000 0 0x20000>,
81 <0x0 0xf1060000 0 0x20000>;
82 interrupts = <GIC_PPI 9
83 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
87 compatible = "arm,armv8-timer";
88 interrupts = <GIC_PPI 13
89 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
91 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
93 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,
95 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>;
98 cpg: clock-controller@e6150000 {
99 compatible = "renesas,r8a7796-cpg-mssr";
100 reg = <0 0xe6150000 0 0x1000>;
101 clocks = <&extal_clk>, <&extalr_clk>;
102 clock-names = "extal", "extalr";
104 #power-domain-cells = <0>;
107 scif2: serial@e6e88000 {
108 compatible = "renesas,scif-r8a7796",
109 "renesas,rcar-gen3-scif", "renesas,scif";
110 reg = <0 0xe6e88000 0 64>;
111 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
112 clocks = <&cpg CPG_MOD 310>,
113 <&cpg CPG_CORE R8A7796_CLK_S3D1>,
115 clock-names = "fck", "brg_int", "scif_clk";
116 power-domains = <&cpg>;