blob: 45b539ce4d3520356d45470f3bdfeb5f8020ce30 [file] [log] [blame]
Simon Hormana3f22db2012-11-21 21:12:43 +09001/*
2 * Device Tree Source for the SH73A0 SoC
3 *
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 *
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.
9 */
10
11/include/ "skeleton.dtsi"
12
Ulrich Hecht00df6112014-12-10 15:45:24 +010013#include <dt-bindings/clock/sh73a0-clock.h>
Geert Uytterhoeven30225742015-02-17 15:52:39 +010014#include <dt-bindings/interrupt-controller/arm-gic.h>
Laurent Pinchart5f75e732013-11-19 03:18:25 +010015#include <dt-bindings/interrupt-controller/irq.h>
16
Simon Hormana3f22db2012-11-21 21:12:43 +090017/ {
18 compatible = "renesas,sh73a0";
Geert Uytterhoevenf170b972014-08-20 16:28:34 +020019 interrupt-parent = <&gic>;
Simon Hormana3f22db2012-11-21 21:12:43 +090020
21 cpus {
Simon Hormanc5795ae2013-01-28 09:41:40 +090022 #address-cells = <1>;
23 #size-cells = <0>;
24
Simon Hormana3f22db2012-11-21 21:12:43 +090025 cpu@0 {
Simon Hormanc5795ae2013-01-28 09:41:40 +090026 device_type = "cpu";
Simon Hormana3f22db2012-11-21 21:12:43 +090027 compatible = "arm,cortex-a9";
Simon Hormanc5795ae2013-01-28 09:41:40 +090028 reg = <0>;
Magnus Damm13bd8252014-08-20 22:02:19 +090029 clock-frequency = <1196000000>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +010030 power-domains = <&pd_a2sl>;
Simon Hormana3f22db2012-11-21 21:12:43 +090031 };
32 cpu@1 {
Simon Hormanc5795ae2013-01-28 09:41:40 +090033 device_type = "cpu";
Simon Hormana3f22db2012-11-21 21:12:43 +090034 compatible = "arm,cortex-a9";
Simon Hormanc5795ae2013-01-28 09:41:40 +090035 reg = <1>;
Magnus Damm13bd8252014-08-20 22:02:19 +090036 clock-frequency = <1196000000>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +010037 power-domains = <&pd_a2sl>;
Simon Hormana3f22db2012-11-21 21:12:43 +090038 };
39 };
40
Geert Uytterhoeven30225742015-02-17 15:52:39 +010041 timer@f0000600 {
42 compatible = "arm,cortex-a9-twd-timer";
43 reg = <0xf0000600 0x20>;
44 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
45 clocks = <&twd_clk>;
46 };
47
Simon Hormana3f22db2012-11-21 21:12:43 +090048 gic: interrupt-controller@f0001000 {
49 compatible = "arm,cortex-a9-gic";
50 #interrupt-cells = <3>;
Simon Hormana3f22db2012-11-21 21:12:43 +090051 interrupt-controller;
52 reg = <0xf0001000 0x1000>,
53 <0xf0000100 0x100>;
54 };
Simon Horman48609532012-11-21 22:00:15 +090055
Geert Uytterhoeven29828c82015-01-14 12:13:02 +010056 sbsc2: memory-controller@fb400000 {
57 compatible = "renesas,sbsc-sh73a0";
58 reg = <0xfb400000 0x400>;
59 interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>,
60 <0 38 IRQ_TYPE_LEVEL_HIGH>;
61 interrupt-names = "sec", "temp";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +010062 power-domains = <&pd_a4bc1>;
Geert Uytterhoeven29828c82015-01-14 12:13:02 +010063 };
64
65 sbsc1: memory-controller@fe400000 {
66 compatible = "renesas,sbsc-sh73a0";
67 reg = <0xfe400000 0x400>;
68 interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>,
69 <0 36 IRQ_TYPE_LEVEL_HIGH>;
70 interrupt-names = "sec", "temp";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +010071 power-domains = <&pd_a4bc0>;
Geert Uytterhoeven29828c82015-01-14 12:13:02 +010072 };
73
Magnus Damm4c904832013-07-24 12:45:03 +090074 pmu {
75 compatible = "arm,cortex-a9-pmu";
Laurent Pinchart5f75e732013-11-19 03:18:25 +010076 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>,
77 <0 56 IRQ_TYPE_LEVEL_HIGH>;
Magnus Damm4c904832013-07-24 12:45:03 +090078 };
79
Ulrich Hecht6a5336a2014-09-08 09:57:06 +090080 cmt1: timer@e6138000 {
81 compatible = "renesas,cmt-48-sh73a0", "renesas,cmt-48";
82 reg = <0xe6138000 0x200>;
83 interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +010084 clocks = <&mstp3_clks SH73A0_CLK_CMT1>;
85 clock-names = "fck";
86 power-domains = <&pd_c5>;
Ulrich Hecht6a5336a2014-09-08 09:57:06 +090087
88 renesas,channels-mask = <0x3f>;
89
90 status = "disabled";
91 };
92
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +010093 irqpin0: irqpin@e6900000 {
Magnus Damm8bb44442013-11-28 08:14:57 +090094 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +010095 #interrupt-cells = <2>;
96 interrupt-controller;
97 reg = <0xe6900000 4>,
98 <0xe6900010 4>,
99 <0xe6900020 1>,
100 <0xe6900040 1>,
101 <0xe6900060 1>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100102 interrupts = <0 1 IRQ_TYPE_LEVEL_HIGH
103 0 2 IRQ_TYPE_LEVEL_HIGH
104 0 3 IRQ_TYPE_LEVEL_HIGH
105 0 4 IRQ_TYPE_LEVEL_HIGH
106 0 5 IRQ_TYPE_LEVEL_HIGH
107 0 6 IRQ_TYPE_LEVEL_HIGH
108 0 7 IRQ_TYPE_LEVEL_HIGH
109 0 8 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven56a215d2015-01-06 20:56:05 +0100110 clocks = <&mstp5_clks SH73A0_CLK_INTCA0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100111 power-domains = <&pd_a4s>;
Laurent Pinchart48bdf062015-01-06 20:42:04 +0100112 control-parent;
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +0100113 };
114
115 irqpin1: irqpin@e6900004 {
Magnus Damm8bb44442013-11-28 08:14:57 +0900116 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +0100117 #interrupt-cells = <2>;
118 interrupt-controller;
119 reg = <0xe6900004 4>,
120 <0xe6900014 4>,
121 <0xe6900024 1>,
122 <0xe6900044 1>,
123 <0xe6900064 1>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100124 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH
125 0 10 IRQ_TYPE_LEVEL_HIGH
126 0 11 IRQ_TYPE_LEVEL_HIGH
127 0 12 IRQ_TYPE_LEVEL_HIGH
128 0 13 IRQ_TYPE_LEVEL_HIGH
129 0 14 IRQ_TYPE_LEVEL_HIGH
130 0 15 IRQ_TYPE_LEVEL_HIGH
131 0 16 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven56a215d2015-01-06 20:56:05 +0100132 clocks = <&mstp5_clks SH73A0_CLK_INTCA0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100133 power-domains = <&pd_a4s>;
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +0100134 control-parent;
135 };
136
137 irqpin2: irqpin@e6900008 {
Magnus Damm8bb44442013-11-28 08:14:57 +0900138 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +0100139 #interrupt-cells = <2>;
140 interrupt-controller;
141 reg = <0xe6900008 4>,
142 <0xe6900018 4>,
143 <0xe6900028 1>,
144 <0xe6900048 1>,
145 <0xe6900068 1>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100146 interrupts = <0 17 IRQ_TYPE_LEVEL_HIGH
147 0 18 IRQ_TYPE_LEVEL_HIGH
148 0 19 IRQ_TYPE_LEVEL_HIGH
149 0 20 IRQ_TYPE_LEVEL_HIGH
150 0 21 IRQ_TYPE_LEVEL_HIGH
151 0 22 IRQ_TYPE_LEVEL_HIGH
152 0 23 IRQ_TYPE_LEVEL_HIGH
153 0 24 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven56a215d2015-01-06 20:56:05 +0100154 clocks = <&mstp5_clks SH73A0_CLK_INTCA0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100155 power-domains = <&pd_a4s>;
Laurent Pinchart48bdf062015-01-06 20:42:04 +0100156 control-parent;
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +0100157 };
158
159 irqpin3: irqpin@e690000c {
Magnus Damm8bb44442013-11-28 08:14:57 +0900160 compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin";
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +0100161 #interrupt-cells = <2>;
162 interrupt-controller;
163 reg = <0xe690000c 4>,
164 <0xe690001c 4>,
165 <0xe690002c 1>,
166 <0xe690004c 1>,
167 <0xe690006c 1>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100168 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH
169 0 26 IRQ_TYPE_LEVEL_HIGH
170 0 27 IRQ_TYPE_LEVEL_HIGH
171 0 28 IRQ_TYPE_LEVEL_HIGH
172 0 29 IRQ_TYPE_LEVEL_HIGH
173 0 30 IRQ_TYPE_LEVEL_HIGH
174 0 31 IRQ_TYPE_LEVEL_HIGH
175 0 32 IRQ_TYPE_LEVEL_HIGH>;
Geert Uytterhoeven56a215d2015-01-06 20:56:05 +0100176 clocks = <&mstp5_clks SH73A0_CLK_INTCA0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100177 power-domains = <&pd_a4s>;
Laurent Pinchart48bdf062015-01-06 20:42:04 +0100178 control-parent;
Guennadi Liakhovetski558f8742013-03-21 17:05:40 +0100179 };
180
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200181 i2c0: i2c@e6820000 {
Simon Horman48609532012-11-21 22:00:15 +0900182 #address-cells = <1>;
183 #size-cells = <0>;
Geert Uytterhoevendd4dc872014-11-06 12:52:09 +0100184 compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
Simon Horman48609532012-11-21 22:00:15 +0900185 reg = <0xe6820000 0x425>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100186 interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH
187 0 168 IRQ_TYPE_LEVEL_HIGH
188 0 169 IRQ_TYPE_LEVEL_HIGH
189 0 170 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100190 clocks = <&mstp1_clks SH73A0_CLK_IIC0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100191 power-domains = <&pd_a3sp>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200192 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900193 };
194
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200195 i2c1: i2c@e6822000 {
Simon Horman48609532012-11-21 22:00:15 +0900196 #address-cells = <1>;
197 #size-cells = <0>;
Geert Uytterhoevendd4dc872014-11-06 12:52:09 +0100198 compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
Simon Horman48609532012-11-21 22:00:15 +0900199 reg = <0xe6822000 0x425>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100200 interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH
201 0 52 IRQ_TYPE_LEVEL_HIGH
202 0 53 IRQ_TYPE_LEVEL_HIGH
203 0 54 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100204 clocks = <&mstp3_clks SH73A0_CLK_IIC1>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100205 power-domains = <&pd_a3sp>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200206 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900207 };
208
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200209 i2c2: i2c@e6824000 {
Simon Horman48609532012-11-21 22:00:15 +0900210 #address-cells = <1>;
211 #size-cells = <0>;
Geert Uytterhoevendd4dc872014-11-06 12:52:09 +0100212 compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
Simon Horman48609532012-11-21 22:00:15 +0900213 reg = <0xe6824000 0x425>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100214 interrupts = <0 171 IRQ_TYPE_LEVEL_HIGH
215 0 172 IRQ_TYPE_LEVEL_HIGH
216 0 173 IRQ_TYPE_LEVEL_HIGH
217 0 174 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100218 clocks = <&mstp0_clks SH73A0_CLK_IIC2>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100219 power-domains = <&pd_a3sp>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200220 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900221 };
222
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200223 i2c3: i2c@e6826000 {
Simon Horman48609532012-11-21 22:00:15 +0900224 #address-cells = <1>;
225 #size-cells = <0>;
Geert Uytterhoevendd4dc872014-11-06 12:52:09 +0100226 compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
Simon Horman48609532012-11-21 22:00:15 +0900227 reg = <0xe6826000 0x425>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100228 interrupts = <0 183 IRQ_TYPE_LEVEL_HIGH
229 0 184 IRQ_TYPE_LEVEL_HIGH
230 0 185 IRQ_TYPE_LEVEL_HIGH
231 0 186 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100232 clocks = <&mstp4_clks SH73A0_CLK_IIC3>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100233 power-domains = <&pd_a3sp>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200234 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900235 };
236
Guennadi Liakhovetski561a1a32013-06-06 17:38:12 +0200237 i2c4: i2c@e6828000 {
Simon Horman48609532012-11-21 22:00:15 +0900238 #address-cells = <1>;
239 #size-cells = <0>;
Geert Uytterhoevendd4dc872014-11-06 12:52:09 +0100240 compatible = "renesas,iic-sh73a0", "renesas,rmobile-iic";
Simon Horman48609532012-11-21 22:00:15 +0900241 reg = <0xe6828000 0x425>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100242 interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH
243 0 188 IRQ_TYPE_LEVEL_HIGH
244 0 189 IRQ_TYPE_LEVEL_HIGH
245 0 190 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100246 clocks = <&mstp4_clks SH73A0_CLK_IIC4>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100247 power-domains = <&pd_c5>;
Guennadi Liakhovetskieda3a4f2013-09-26 13:06:01 +0200248 status = "disabled";
Simon Horman48609532012-11-21 22:00:15 +0900249 };
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100250
Kuninori Morimoto33f6be32013-10-21 19:36:22 -0700251 mmcif: mmc@e6bd0000 {
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100252 compatible = "renesas,sh-mmcif";
253 reg = <0xe6bd0000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100254 interrupts = <0 140 IRQ_TYPE_LEVEL_HIGH
255 0 141 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100256 clocks = <&mstp3_clks SH73A0_CLK_MMCIF0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100257 power-domains = <&pd_a3sp>;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100258 reg-io-width = <4>;
259 status = "disabled";
260 };
261
Kuninori Morimoto33f6be32013-10-21 19:36:22 -0700262 sdhi0: sd@ee100000 {
Kuninori Morimotoe8a8b8a2013-11-19 19:18:09 -0800263 compatible = "renesas,sdhi-sh73a0";
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100264 reg = <0xee100000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100265 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH
266 0 84 IRQ_TYPE_LEVEL_HIGH
267 0 85 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100268 clocks = <&mstp3_clks SH73A0_CLK_SDHI0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100269 power-domains = <&pd_a3sp>;
Guennadi Liakhovetskia463f7312013-03-19 18:38:50 +0100270 cap-sd-highspeed;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100271 status = "disabled";
272 };
273
274 /* SDHI1 and SDHI2 have no CD pins, no need for CD IRQ */
Kuninori Morimoto33f6be32013-10-21 19:36:22 -0700275 sdhi1: sd@ee120000 {
Kuninori Morimotoe8a8b8a2013-11-19 19:18:09 -0800276 compatible = "renesas,sdhi-sh73a0";
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100277 reg = <0xee120000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100278 interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH
279 0 89 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100280 clocks = <&mstp3_clks SH73A0_CLK_SDHI1>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100281 power-domains = <&pd_a3sp>;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100282 toshiba,mmc-wrprotect-disable;
Guennadi Liakhovetskia463f7312013-03-19 18:38:50 +0100283 cap-sd-highspeed;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100284 status = "disabled";
285 };
286
Kuninori Morimoto33f6be32013-10-21 19:36:22 -0700287 sdhi2: sd@ee140000 {
Kuninori Morimotoe8a8b8a2013-11-19 19:18:09 -0800288 compatible = "renesas,sdhi-sh73a0";
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100289 reg = <0xee140000 0x100>;
Laurent Pinchart5f75e732013-11-19 03:18:25 +0100290 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH
291 0 105 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100292 clocks = <&mstp3_clks SH73A0_CLK_SDHI2>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100293 power-domains = <&pd_a3sp>;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100294 toshiba,mmc-wrprotect-disable;
Guennadi Liakhovetskia463f7312013-03-19 18:38:50 +0100295 cap-sd-highspeed;
Guennadi Liakhovetski546e5d32013-03-19 13:47:43 +0100296 status = "disabled";
297 };
Laurent Pinchart3f590072012-11-20 14:02:54 +0100298
Simon Horman21314212014-07-07 09:54:51 +0200299 scifa0: serial@e6c40000 {
300 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
301 reg = <0xe6c40000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200302 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100303 clocks = <&mstp2_clks SH73A0_CLK_SCIFA0>;
304 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100305 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200306 status = "disabled";
307 };
308
309 scifa1: serial@e6c50000 {
310 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
311 reg = <0xe6c50000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200312 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100313 clocks = <&mstp2_clks SH73A0_CLK_SCIFA1>;
314 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100315 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200316 status = "disabled";
317 };
318
319 scifa2: serial@e6c60000 {
320 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
321 reg = <0xe6c60000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200322 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100323 clocks = <&mstp2_clks SH73A0_CLK_SCIFA2>;
324 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100325 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200326 status = "disabled";
327 };
328
329 scifa3: serial@e6c70000 {
330 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
331 reg = <0xe6c70000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200332 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100333 clocks = <&mstp2_clks SH73A0_CLK_SCIFA3>;
334 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100335 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200336 status = "disabled";
337 };
338
339 scifa4: serial@e6c80000 {
340 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
341 reg = <0xe6c80000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200342 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100343 clocks = <&mstp2_clks SH73A0_CLK_SCIFA4>;
344 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100345 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200346 status = "disabled";
347 };
348
349 scifa5: serial@e6cb0000 {
350 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
351 reg = <0xe6cb0000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200352 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100353 clocks = <&mstp2_clks SH73A0_CLK_SCIFA5>;
354 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100355 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200356 status = "disabled";
357 };
358
359 scifa6: serial@e6cc0000 {
360 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
361 reg = <0xe6cc0000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200362 interrupts = <0 156 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100363 clocks = <&mstp3_clks SH73A0_CLK_SCIFA6>;
364 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100365 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200366 status = "disabled";
367 };
368
369 scifa7: serial@e6cd0000 {
370 compatible = "renesas,scifa-sh73a0", "renesas,scifa";
371 reg = <0xe6cd0000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200372 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100373 clocks = <&mstp2_clks SH73A0_CLK_SCIFA7>;
374 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100375 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200376 status = "disabled";
377 };
378
379 scifb8: serial@e6c30000 {
380 compatible = "renesas,scifb-sh73a0", "renesas,scifb";
381 reg = <0xe6c30000 0x100>;
Simon Horman21314212014-07-07 09:54:51 +0200382 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
Ulrich Hechtf73e1e22014-12-10 15:45:26 +0100383 clocks = <&mstp2_clks SH73A0_CLK_SCIFB>;
384 clock-names = "sci_ick";
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100385 power-domains = <&pd_a3sp>;
Simon Horman21314212014-07-07 09:54:51 +0200386 status = "disabled";
387 };
388
Laurent Pinchart3f590072012-11-20 14:02:54 +0100389 pfc: pfc@e6050000 {
390 compatible = "renesas,pfc-sh73a0";
391 reg = <0xe6050000 0x8000>,
392 <0xe605801c 0x1c>;
393 gpio-controller;
394 #gpio-cells = <2>;
Laurent Pinchartaba76d22013-12-11 04:26:29 +0100395 interrupts-extended =
396 <&irqpin0 0 0>, <&irqpin0 1 0>, <&irqpin0 2 0>, <&irqpin0 3 0>,
397 <&irqpin0 4 0>, <&irqpin0 5 0>, <&irqpin0 6 0>, <&irqpin0 7 0>,
398 <&irqpin1 0 0>, <&irqpin1 1 0>, <&irqpin1 2 0>, <&irqpin1 3 0>,
399 <&irqpin1 4 0>, <&irqpin1 5 0>, <&irqpin1 6 0>, <&irqpin1 7 0>,
400 <&irqpin2 0 0>, <&irqpin2 1 0>, <&irqpin2 2 0>, <&irqpin2 3 0>,
401 <&irqpin2 4 0>, <&irqpin2 5 0>, <&irqpin2 6 0>, <&irqpin2 7 0>,
402 <&irqpin3 0 0>, <&irqpin3 1 0>, <&irqpin3 2 0>, <&irqpin3 3 0>,
403 <&irqpin3 4 0>, <&irqpin3 5 0>, <&irqpin3 6 0>, <&irqpin3 7 0>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100404 power-domains = <&pd_c5>;
405 };
406
407 sysc: system-controller@e6180000 {
408 compatible = "renesas,sysc-sh73a0", "renesas,sysc-rmobile";
409 reg = <0xe6180000 0x8000>, <0xe6188000 0x8000>;
410
411 pm-domains {
412 pd_c5: c5 {
413 #address-cells = <1>;
414 #size-cells = <0>;
415 #power-domain-cells = <0>;
416
417 pd_c4: c4@0 {
418 reg = <0>;
419 #power-domain-cells = <0>;
420 };
421
422 pd_d4: d4@1 {
423 reg = <1>;
424 #power-domain-cells = <0>;
425 };
426
427 pd_a4bc0: a4bc0@4 {
428 reg = <4>;
429 #power-domain-cells = <0>;
430 };
431
432 pd_a4bc1: a4bc1@5 {
433 reg = <5>;
434 #power-domain-cells = <0>;
435 };
436
437 pd_a4lc0: a4lc0@6 {
438 reg = <6>;
439 #power-domain-cells = <0>;
440 };
441
442 pd_a4lc1: a4lc1@7 {
443 reg = <7>;
444 #power-domain-cells = <0>;
445 };
446
447 pd_a4mp: a4mp@8 {
448 reg = <8>;
449 #address-cells = <1>;
450 #size-cells = <0>;
451 #power-domain-cells = <0>;
452
453 pd_a3mp: a3mp@9 {
454 reg = <9>;
455 #power-domain-cells = <0>;
456 };
457
458 pd_a3vc: a3vc@10 {
459 reg = <10>;
460 #power-domain-cells = <0>;
461 };
462 };
463
464 pd_a4rm: a4rm@12 {
465 reg = <12>;
466 #address-cells = <1>;
467 #size-cells = <0>;
468 #power-domain-cells = <0>;
469
470 pd_a3r: a3r@13 {
471 reg = <13>;
472 #address-cells = <1>;
473 #size-cells = <0>;
474 #power-domain-cells = <0>;
475
476 pd_a2rv: a2rv@14 {
477 reg = <14>;
478 #address-cells = <1>;
479 #size-cells = <0>;
480 #power-domain-cells = <0>;
481 };
482 };
483 };
484
485 pd_a4s: a4s@16 {
486 reg = <16>;
487 #address-cells = <1>;
488 #size-cells = <0>;
489 #power-domain-cells = <0>;
490
491 pd_a3sp: a3sp@17 {
492 reg = <17>;
493 #power-domain-cells = <0>;
494 };
495
496 pd_a3sg: a3sg@18 {
497 reg = <18>;
498 #power-domain-cells = <0>;
499 };
500
501 pd_a3sm: a3sm@19 {
502 reg = <19>;
503 #address-cells = <1>;
504 #size-cells = <0>;
505 #power-domain-cells = <0>;
506
507 pd_a2sl: a2sl@20 {
508 reg = <20>;
509 #power-domain-cells = <0>;
510 };
511 };
512 };
513 };
514 };
Laurent Pinchart3f590072012-11-20 14:02:54 +0100515 };
Kuninori Morimoto63b13032013-12-04 17:32:54 -0800516
517 sh_fsi2: sound@ec230000 {
518 #sound-dai-cells = <1>;
Geert Uytterhoevenf76452f2015-01-06 21:01:51 +0100519 compatible = "renesas,fsi2-sh73a0", "renesas,sh_fsi2";
Kuninori Morimoto63b13032013-12-04 17:32:54 -0800520 reg = <0xec230000 0x400>;
Kuninori Morimoto63b13032013-12-04 17:32:54 -0800521 interrupts = <0 146 0x4>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100522 power-domains = <&pd_a4mp>;
Kuninori Morimoto63b13032013-12-04 17:32:54 -0800523 status = "disabled";
524 };
Ulrich Hecht00df6112014-12-10 15:45:24 +0100525
Geert Uytterhoeven217b6e62015-02-17 15:52:36 +0100526 bsc: bus@fec10000 {
527 compatible = "renesas,bsc-sh73a0", "renesas,bsc",
528 "simple-pm-bus";
529 #address-cells = <1>;
530 #size-cells = <1>;
531 ranges = <0 0 0x20000000>;
532 reg = <0xfec10000 0x400>;
533 interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
534 clocks = <&zb_clk>;
Geert Uytterhoevenbee7a182015-02-17 16:31:38 +0100535 power-domains = <&pd_a4s>;
Geert Uytterhoeven217b6e62015-02-17 15:52:36 +0100536 };
537
Ulrich Hecht00df6112014-12-10 15:45:24 +0100538 clocks {
539 #address-cells = <1>;
540 #size-cells = <1>;
541 ranges;
542
543 /* External root clocks */
544 extalr_clk: extalr_clk {
545 compatible = "fixed-clock";
546 #clock-cells = <0>;
547 clock-frequency = <32768>;
548 clock-output-names = "extalr";
549 };
550 extal1_clk: extal1_clk {
551 compatible = "fixed-clock";
552 #clock-cells = <0>;
553 clock-frequency = <26000000>;
554 clock-output-names = "extal1";
555 };
556 extal2_clk: extal2_clk {
557 compatible = "fixed-clock";
558 #clock-cells = <0>;
559 clock-output-names = "extal2";
560 };
561 extcki_clk: extcki_clk {
562 compatible = "fixed-clock";
563 #clock-cells = <0>;
564 clock-output-names = "extcki";
565 };
566 fsiack_clk: fsiack_clk {
567 compatible = "fixed-clock";
568 #clock-cells = <0>;
569 clock-frequency = <0>;
570 clock-output-names = "fsiack";
571 };
572 fsibck_clk: fsibck_clk {
573 compatible = "fixed-clock";
574 #clock-cells = <0>;
575 clock-frequency = <0>;
576 clock-output-names = "fsibck";
577 };
578
579 /* Special CPG clocks */
580 cpg_clocks: cpg_clocks@e6150000 {
581 compatible = "renesas,sh73a0-cpg-clocks";
582 reg = <0xe6150000 0x10000>;
583 clocks = <&extal1_clk>, <&extal2_clk>;
584 #clock-cells = <1>;
585 clock-output-names = "main", "pll0", "pll1", "pll2",
586 "pll3", "dsi0phy", "dsi1phy",
587 "zg", "m3", "b", "m1", "m2",
588 "z", "zx", "hp";
589 };
590
591 /* Variable factor clocks (DIV6) */
592 vclk1_clk: vclk1_clk@e6150008 {
593 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
594 reg = <0xe6150008 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100595 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
596 <&extcki_clk>, <&extal2_clk>, <&main_div2_clk>,
597 <&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>,
598 <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100599 #clock-cells = <0>;
600 clock-output-names = "vclk1";
601 };
602 vclk2_clk: vclk2_clk@e615000c {
603 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
604 reg = <0xe615000c 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100605 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
606 <&extcki_clk>, <&extal2_clk>, <&main_div2_clk>,
607 <&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>,
608 <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100609 #clock-cells = <0>;
610 clock-output-names = "vclk2";
611 };
612 vclk3_clk: vclk3_clk@e615001c {
613 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
614 reg = <0xe615001c 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100615 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
616 <&extcki_clk>, <&extal2_clk>, <&main_div2_clk>,
617 <&extalr_clk>, <&cpg_clocks SH73A0_CLK_MAIN>,
618 <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100619 #clock-cells = <0>;
620 clock-output-names = "vclk3";
621 };
622 zb_clk: zb_clk@e6150010 {
623 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
624 reg = <0xe6150010 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100625 clocks = <&pll1_div2_clk>, <0>,
626 <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100627 #clock-cells = <0>;
628 clock-output-names = "zb";
629 };
630 flctl_clk: flctl_clk@e6150014 {
631 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
632 reg = <0xe6150014 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100633 clocks = <&pll1_div2_clk>, <0>,
634 <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100635 #clock-cells = <0>;
636 clock-output-names = "flctlck";
637 };
638 sdhi0_clk: sdhi0_clk@e6150074 {
639 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
640 reg = <0xe6150074 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100641 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
642 <&pll1_div13_clk>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100643 #clock-cells = <0>;
644 clock-output-names = "sdhi0ck";
645 };
646 sdhi1_clk: sdhi1_clk@e6150078 {
647 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
648 reg = <0xe6150078 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100649 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
650 <&pll1_div13_clk>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100651 #clock-cells = <0>;
652 clock-output-names = "sdhi1ck";
653 };
654 sdhi2_clk: sdhi2_clk@e615007c {
655 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
656 reg = <0xe615007c 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100657 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
658 <&pll1_div13_clk>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100659 #clock-cells = <0>;
660 clock-output-names = "sdhi2ck";
661 };
662 fsia_clk: fsia_clk@e6150018 {
663 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
664 reg = <0xe6150018 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100665 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
666 <&fsiack_clk>, <&fsiack_clk>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100667 #clock-cells = <0>;
668 clock-output-names = "fsia";
669 };
670 fsib_clk: fsib_clk@e6150090 {
671 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
672 reg = <0xe6150090 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100673 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
674 <&fsibck_clk>, <&fsibck_clk>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100675 #clock-cells = <0>;
676 clock-output-names = "fsib";
677 };
678 sub_clk: sub_clk@e6150080 {
679 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
680 reg = <0xe6150080 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100681 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
682 <&extal2_clk>, <&extal2_clk>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100683 #clock-cells = <0>;
684 clock-output-names = "sub";
685 };
686 spua_clk: spua_clk@e6150084 {
687 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
688 reg = <0xe6150084 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100689 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
690 <&extal2_clk>, <&extal2_clk>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100691 #clock-cells = <0>;
692 clock-output-names = "spua";
693 };
694 spuv_clk: spuv_clk@e6150094 {
695 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
696 reg = <0xe6150094 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100697 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
698 <&extal2_clk>, <&extal2_clk>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100699 #clock-cells = <0>;
700 clock-output-names = "spuv";
701 };
702 msu_clk: msu_clk@e6150088 {
703 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
704 reg = <0xe6150088 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100705 clocks = <&pll1_div2_clk>, <0>,
706 <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100707 #clock-cells = <0>;
708 clock-output-names = "msu";
709 };
710 hsi_clk: hsi_clk@e615008c {
711 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
712 reg = <0xe615008c 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100713 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
714 <&pll1_div7_clk>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100715 #clock-cells = <0>;
716 clock-output-names = "hsi";
717 };
718 mfg1_clk: mfg1_clk@e6150098 {
719 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
720 reg = <0xe6150098 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100721 clocks = <&pll1_div2_clk>, <0>,
722 <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100723 #clock-cells = <0>;
724 clock-output-names = "mfg1";
725 };
726 mfg2_clk: mfg2_clk@e615009c {
727 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
728 reg = <0xe615009c 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100729 clocks = <&pll1_div2_clk>, <0>,
730 <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100731 #clock-cells = <0>;
732 clock-output-names = "mfg2";
733 };
734 dsit_clk: dsit_clk@e6150060 {
735 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
736 reg = <0xe6150060 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100737 clocks = <&pll1_div2_clk>, <0>,
738 <&cpg_clocks SH73A0_CLK_PLL2>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100739 #clock-cells = <0>;
740 clock-output-names = "dsit";
741 };
742 dsi0p_clk: dsi0p_clk@e6150064 {
743 compatible = "renesas,sh73a0-div6-clock", "renesas,cpg-div6-clock";
744 reg = <0xe6150064 4>;
Ulrich Hecht09940bf2015-01-06 20:56:06 +0100745 clocks = <&pll1_div2_clk>, <&cpg_clocks SH73A0_CLK_PLL2>,
746 <&cpg_clocks SH73A0_CLK_MAIN>, <&extal2_clk>,
747 <&extcki_clk>, <0>, <0>, <0>;
Ulrich Hecht00df6112014-12-10 15:45:24 +0100748 #clock-cells = <0>;
749 clock-output-names = "dsi0pck";
750 };
751
752 /* Fixed factor clocks */
753 main_div2_clk: main_div2_clk {
754 compatible = "fixed-factor-clock";
755 clocks = <&cpg_clocks SH73A0_CLK_MAIN>;
756 #clock-cells = <0>;
757 clock-div = <2>;
758 clock-mult = <1>;
759 clock-output-names = "main_div2";
760 };
761 pll1_div2_clk: pll1_div2_clk {
762 compatible = "fixed-factor-clock";
763 clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
764 #clock-cells = <0>;
765 clock-div = <2>;
766 clock-mult = <1>;
767 clock-output-names = "pll1_div2";
768 };
769 pll1_div7_clk: pll1_div7_clk {
770 compatible = "fixed-factor-clock";
771 clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
772 #clock-cells = <0>;
773 clock-div = <7>;
774 clock-mult = <1>;
775 clock-output-names = "pll1_div7";
776 };
777 pll1_div13_clk: pll1_div13_clk {
778 compatible = "fixed-factor-clock";
779 clocks = <&cpg_clocks SH73A0_CLK_PLL1>;
780 #clock-cells = <0>;
781 clock-div = <13>;
782 clock-mult = <1>;
783 clock-output-names = "pll1_div13";
784 };
785 twd_clk: twd_clk {
786 compatible = "fixed-factor-clock";
787 clocks = <&cpg_clocks SH73A0_CLK_Z>;
788 #clock-cells = <0>;
789 clock-div = <4>;
790 clock-mult = <1>;
791 clock-output-names = "twd";
792 };
793
794 /* Gate clocks */
795 mstp0_clks: mstp0_clks@e6150130 {
796 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
797 reg = <0xe6150130 4>, <0xe6150030 4>;
798 clocks = <&cpg_clocks SH73A0_CLK_HP>;
799 #clock-cells = <1>;
800 clock-indices = <
801 SH73A0_CLK_IIC2
802 >;
803 clock-output-names =
804 "iic2";
805 };
806 mstp1_clks: mstp1_clks@e6150134 {
807 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
808 reg = <0xe6150134 4>, <0xe6150038 4>;
809 clocks = <&cpg_clocks SH73A0_CLK_B>,
810 <&cpg_clocks SH73A0_CLK_B>,
811 <&cpg_clocks SH73A0_CLK_B>,
812 <&cpg_clocks SH73A0_CLK_B>,
813 <&sub_clk>, <&cpg_clocks SH73A0_CLK_B>,
814 <&cpg_clocks SH73A0_CLK_HP>,
815 <&cpg_clocks SH73A0_CLK_ZG>,
816 <&cpg_clocks SH73A0_CLK_B>;
817 #clock-cells = <1>;
818 clock-indices = <
819 SH73A0_CLK_CEU1 SH73A0_CLK_CSI2_RX1
820 SH73A0_CLK_CEU0 SH73A0_CLK_CSI2_RX0
821 SH73A0_CLK_TMU0 SH73A0_CLK_DSITX0
822 SH73A0_CLK_IIC0 SH73A0_CLK_SGX
823 SH73A0_CLK_LCDC0
824 >;
825 clock-output-names =
826 "ceu1", "csi2_rx1", "ceu0", "csi2_rx0",
827 "tmu0", "dsitx0", "iic0", "sgx", "lcdc0";
828 };
829 mstp2_clks: mstp2_clks@e6150138 {
830 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
831 reg = <0xe6150138 4>, <0xe6150040 4>;
832 clocks = <&sub_clk>, <&cpg_clocks SH73A0_CLK_HP>,
833 <&cpg_clocks SH73A0_CLK_HP>, <&sub_clk>,
834 <&sub_clk>, <&sub_clk>, <&sub_clk>, <&sub_clk>,
835 <&sub_clk>, <&sub_clk>;
836 #clock-cells = <1>;
837 clock-indices = <
838 SH73A0_CLK_SCIFA7 SH73A0_CLK_SY_DMAC
839 SH73A0_CLK_MP_DMAC SH73A0_CLK_SCIFA5
840 SH73A0_CLK_SCIFB SH73A0_CLK_SCIFA0
841 SH73A0_CLK_SCIFA1 SH73A0_CLK_SCIFA2
842 SH73A0_CLK_SCIFA3 SH73A0_CLK_SCIFA4
843 >;
844 clock-output-names =
845 "scifa7", "sy_dmac", "mp_dmac", "scifa5",
846 "scifb", "scifa0", "scifa1", "scifa2",
847 "scifa3", "scifa4";
848 };
849 mstp3_clks: mstp3_clks@e615013c {
850 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
851 reg = <0xe615013c 4>, <0xe6150048 4>;
852 clocks = <&sub_clk>, <&extalr_clk>,
853 <&cpg_clocks SH73A0_CLK_HP>, <&sub_clk>,
854 <&cpg_clocks SH73A0_CLK_HP>,
855 <&cpg_clocks SH73A0_CLK_HP>, <&flctl_clk>,
856 <&sdhi0_clk>, <&sdhi1_clk>,
857 <&cpg_clocks SH73A0_CLK_HP>, <&sdhi2_clk>,
858 <&main_div2_clk>, <&main_div2_clk>,
859 <&main_div2_clk>, <&main_div2_clk>,
860 <&main_div2_clk>;
861 #clock-cells = <1>;
862 clock-indices = <
863 SH73A0_CLK_SCIFA6 SH73A0_CLK_CMT1
864 SH73A0_CLK_FSI SH73A0_CLK_IRDA
865 SH73A0_CLK_IIC1 SH73A0_CLK_USB SH73A0_CLK_FLCTL
866 SH73A0_CLK_SDHI0 SH73A0_CLK_SDHI1
867 SH73A0_CLK_MMCIF0 SH73A0_CLK_SDHI2
868 SH73A0_CLK_TPU0 SH73A0_CLK_TPU1
869 SH73A0_CLK_TPU2 SH73A0_CLK_TPU3
870 SH73A0_CLK_TPU4
871 >;
872 clock-output-names =
873 "scifa6", "cmt1", "fsi", "irda", "iic1",
874 "usb", "flctl", "sdhi0", "sdhi1", "mmcif0", "sdhi2",
875 "tpu0", "tpu1", "tpu2", "tpu3", "tpu4";
876 };
877 mstp4_clks: mstp4_clks@e6150140 {
878 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
879 reg = <0xe6150140 4>, <0xe615004c 4>;
880 clocks = <&cpg_clocks SH73A0_CLK_HP>,
881 <&cpg_clocks SH73A0_CLK_HP>, <&extalr_clk>;
882 #clock-cells = <1>;
883 clock-indices = <
884 SH73A0_CLK_IIC3 SH73A0_CLK_IIC4
885 SH73A0_CLK_KEYSC
886 >;
887 clock-output-names =
888 "iic3", "iic4", "keysc";
889 };
Geert Uytterhoeven56a215d2015-01-06 20:56:05 +0100890 mstp5_clks: mstp5_clks@e6150144 {
891 compatible = "renesas,sh73a0-mstp-clocks", "renesas,cpg-mstp-clocks";
892 reg = <0xe6150144 4>, <0xe615003c 4>;
893 clocks = <&cpg_clocks SH73A0_CLK_HP>;
894 #clock-cells = <1>;
895 clock-indices = <
896 SH73A0_CLK_INTCA0
897 >;
898 clock-output-names =
899 "intca0";
900 };
Ulrich Hecht00df6112014-12-10 15:45:24 +0100901 };
Simon Hormana3f22db2012-11-21 21:12:43 +0900902};