diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-11-19 16:45:33 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-11-19 16:45:33 -0500 |
commit | 8ef74e5d396bd9bb4ce0909b4c02c3f46e60cb0a (patch) | |
tree | 12e101125aecab3ae19f822ea223a9afd1a3631a | |
parent | 67ec55bcb3f86154587a23dc3f60a6cddff6ba30 (diff) | |
parent | 25af9c83151822eb6d413b4d15d5f89804606ac7 (diff) |
Merge tag 'renesas-dt-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt
Pull "Renesas ARM Based SoC DT Updates for v3.19" from Simon Horman:
* Add Add SoC-specific SATA compatible property to r8a7779
* Enable DMA for MMCIF on r8a7791 and r8a7790
* Enable USB-PHY, HS-USB and USB3.0 on r8a7791 and r8a7790
* Enable TMU timer via DT on r8a7778
* Enable CMT timer via DT on r8a73a4
* Add MMP and {SR}GX clocks to r8a7791 and r8a7790
* Correct scifa2 clock index on r8a7740
* Add missing INTCA for irqpin on r8a7740
* tag 'renesas-dt-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (34 commits)
ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property
ARM: shmobile: r8a7791: Reference DMA channels in MMCIF DT node
ARM: shmobile: r8a7790: Reference DMA channels in MMCIF DT nodes
ARM: shmobile: r8a7791: Add MMCIF0 DT node
ARM: shmobile: r8a7790: Rename mmcif node to mmc
ARM: shmobile: r8a7778: Add SoC-specific TMU compatible property
ARM: shmobile: r8a73a4: Add SoC-specific CMT compatible property
ARM: shmobile: henninger: enable HS-USB
ARM: shmobile: koelsch: enable HS-USB
ARM: shmobile: r8a7791: add HS-USB device node
ARM: shmobile: lager: enable HS-USB
ARM: shmobile: r8a7790: add HS-USB device node
ARM: shmobile: r8a7791: add USB3.0 device node
ARM: shmobile: lager: enable USB3.0
ARM: shmobile: r8a7790: add USB3.0 device node
ARM: shmobile: r8a7794: Add arch_timer to device tree
ARM: shmobile: bockw-reference: Initialise TMU device using DT
ARM: shmobile: r8a7778: Add TMU nodes
ARM: shmobile: armadillo800eva dts: Enable TMU0
ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes
...
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/boot/dts/r8a73a4.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7740.dtsi | 44 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7778-bockw-reference.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7778.dtsi | 36 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7779.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7790-lager.dts | 46 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7790.dtsi | 97 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7791-henninger.dts | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7791-koelsch.dts | 11 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7791.dtsi | 101 | ||||
-rw-r--r-- | arch/arm/boot/dts/r8a7794.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7778.c | 3 | ||||
-rw-r--r-- | include/dt-bindings/clock/r8a7740-clock.h | 1 | ||||
-rw-r--r-- | include/dt-bindings/clock/r8a7790-clock.h | 12 | ||||
-rw-r--r-- | include/dt-bindings/clock/r8a7791-clock.h | 9 |
16 files changed, 351 insertions, 40 deletions
diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi index 80939671b034..b5ead845c6c3 100644 --- a/arch/arm/boot/dts/r8a73a4.dtsi +++ b/arch/arm/boot/dts/r8a73a4.dtsi | |||
@@ -114,7 +114,7 @@ | |||
114 | }; | 114 | }; |
115 | 115 | ||
116 | cmt1: timer@e6130000 { | 116 | cmt1: timer@e6130000 { |
117 | compatible = "renesas,cmt-48-gen2"; | 117 | compatible = "renesas,cmt-48-r8a73a4", "renesas,cmt-48-gen2"; |
118 | reg = <0 0xe6130000 0 0x1004>; | 118 | reg = <0 0xe6130000 0 0x1004>; |
119 | interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>; | 119 | interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>; |
120 | 120 | ||
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts index 2703428557fc..98504e0b06c8 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts | |||
@@ -299,3 +299,7 @@ | |||
299 | 299 | ||
300 | status = "okay"; | 300 | status = "okay"; |
301 | }; | 301 | }; |
302 | |||
303 | &tmu0 { | ||
304 | status = "okay"; | ||
305 | }; | ||
diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi index d46c213a17ad..aec8da89ef9a 100644 --- a/arch/arm/boot/dts/r8a7740.dtsi +++ b/arch/arm/boot/dts/r8a7740.dtsi | |||
@@ -71,6 +71,7 @@ | |||
71 | 0 149 IRQ_TYPE_LEVEL_HIGH | 71 | 0 149 IRQ_TYPE_LEVEL_HIGH |
72 | 0 149 IRQ_TYPE_LEVEL_HIGH | 72 | 0 149 IRQ_TYPE_LEVEL_HIGH |
73 | 0 149 IRQ_TYPE_LEVEL_HIGH>; | 73 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
74 | clocks = <&mstp2_clks R8A7740_CLK_INTCA>; | ||
74 | }; | 75 | }; |
75 | 76 | ||
76 | /* irqpin1: IRQ8 - IRQ15 */ | 77 | /* irqpin1: IRQ8 - IRQ15 */ |
@@ -91,6 +92,7 @@ | |||
91 | 0 149 IRQ_TYPE_LEVEL_HIGH | 92 | 0 149 IRQ_TYPE_LEVEL_HIGH |
92 | 0 149 IRQ_TYPE_LEVEL_HIGH | 93 | 0 149 IRQ_TYPE_LEVEL_HIGH |
93 | 0 149 IRQ_TYPE_LEVEL_HIGH>; | 94 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
95 | clocks = <&mstp2_clks R8A7740_CLK_INTCA>; | ||
94 | }; | 96 | }; |
95 | 97 | ||
96 | /* irqpin2: IRQ16 - IRQ23 */ | 98 | /* irqpin2: IRQ16 - IRQ23 */ |
@@ -111,6 +113,7 @@ | |||
111 | 0 149 IRQ_TYPE_LEVEL_HIGH | 113 | 0 149 IRQ_TYPE_LEVEL_HIGH |
112 | 0 149 IRQ_TYPE_LEVEL_HIGH | 114 | 0 149 IRQ_TYPE_LEVEL_HIGH |
113 | 0 149 IRQ_TYPE_LEVEL_HIGH>; | 115 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
116 | clocks = <&mstp2_clks R8A7740_CLK_INTCA>; | ||
114 | }; | 117 | }; |
115 | 118 | ||
116 | /* irqpin3: IRQ24 - IRQ31 */ | 119 | /* irqpin3: IRQ24 - IRQ31 */ |
@@ -131,6 +134,7 @@ | |||
131 | 0 149 IRQ_TYPE_LEVEL_HIGH | 134 | 0 149 IRQ_TYPE_LEVEL_HIGH |
132 | 0 149 IRQ_TYPE_LEVEL_HIGH | 135 | 0 149 IRQ_TYPE_LEVEL_HIGH |
133 | 0 149 IRQ_TYPE_LEVEL_HIGH>; | 136 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
137 | clocks = <&mstp2_clks R8A7740_CLK_INTCA>; | ||
134 | }; | 138 | }; |
135 | 139 | ||
136 | ether: ethernet@e9a00000 { | 140 | ether: ethernet@e9a00000 { |
@@ -193,7 +197,7 @@ | |||
193 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; | 197 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
194 | reg = <0xe6c60000 0x100>; | 198 | reg = <0xe6c60000 0x100>; |
195 | interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; | 199 | interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; |
196 | clocks = <&mstp2_clks R8A7740_CLK_SCIFA0>; | 200 | clocks = <&mstp2_clks R8A7740_CLK_SCIFA2>; |
197 | clock-names = "sci_ick"; | 201 | clock-names = "sci_ick"; |
198 | status = "disabled"; | 202 | status = "disabled"; |
199 | }; | 203 | }; |
@@ -331,6 +335,34 @@ | |||
331 | status = "disabled"; | 335 | status = "disabled"; |
332 | }; | 336 | }; |
333 | 337 | ||
338 | tmu0: timer@fff80000 { | ||
339 | compatible = "renesas,tmu-r8a7740", "renesas,tmu"; | ||
340 | reg = <0xfff80000 0x2c>; | ||
341 | interrupts = <0 198 IRQ_TYPE_LEVEL_HIGH>, | ||
342 | <0 199 IRQ_TYPE_LEVEL_HIGH>, | ||
343 | <0 200 IRQ_TYPE_LEVEL_HIGH>; | ||
344 | clocks = <&mstp1_clks R8A7740_CLK_TMU0>; | ||
345 | clock-names = "fck"; | ||
346 | |||
347 | #renesas,channels = <3>; | ||
348 | |||
349 | status = "disabled"; | ||
350 | }; | ||
351 | |||
352 | tmu1: timer@fff90000 { | ||
353 | compatible = "renesas,tmu-r8a7740", "renesas,tmu"; | ||
354 | reg = <0xfff90000 0x2c>; | ||
355 | interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>, | ||
356 | <0 171 IRQ_TYPE_LEVEL_HIGH>, | ||
357 | <0 172 IRQ_TYPE_LEVEL_HIGH>; | ||
358 | clocks = <&mstp1_clks R8A7740_CLK_TMU1>; | ||
359 | clock-names = "fck"; | ||
360 | |||
361 | #renesas,channels = <3>; | ||
362 | |||
363 | status = "disabled"; | ||
364 | }; | ||
365 | |||
334 | clocks { | 366 | clocks { |
335 | #address-cells = <1>; | 367 | #address-cells = <1>; |
336 | #size-cells = <1>; | 368 | #size-cells = <1>; |
@@ -448,8 +480,8 @@ | |||
448 | mstp2_clks: mstp2_clks@e6150138 { | 480 | mstp2_clks: mstp2_clks@e6150138 { |
449 | compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks"; | 481 | compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks"; |
450 | reg = <0xe6150138 4>, <0xe6150040 4>; | 482 | reg = <0xe6150138 4>, <0xe6150040 4>; |
451 | clocks = <&sub_clk>, <&sub_clk>, | 483 | clocks = <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>, |
452 | <&cpg_clocks R8A7740_CLK_HP>, | 484 | <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>, |
453 | <&cpg_clocks R8A7740_CLK_HP>, | 485 | <&cpg_clocks R8A7740_CLK_HP>, |
454 | <&cpg_clocks R8A7740_CLK_HP>, | 486 | <&cpg_clocks R8A7740_CLK_HP>, |
455 | <&cpg_clocks R8A7740_CLK_HP>, | 487 | <&cpg_clocks R8A7740_CLK_HP>, |
@@ -458,7 +490,8 @@ | |||
458 | <&sub_clk>; | 490 | <&sub_clk>; |
459 | #clock-cells = <1>; | 491 | #clock-cells = <1>; |
460 | renesas,clock-indices = < | 492 | renesas,clock-indices = < |
461 | R8A7740_CLK_SCIFA6 R8A7740_CLK_SCIFA7 | 493 | R8A7740_CLK_SCIFA6 R8A7740_CLK_INTCA |
494 | R8A7740_CLK_SCIFA7 | ||
462 | R8A7740_CLK_DMAC1 R8A7740_CLK_DMAC2 | 495 | R8A7740_CLK_DMAC1 R8A7740_CLK_DMAC2 |
463 | R8A7740_CLK_DMAC3 R8A7740_CLK_USBDMAC | 496 | R8A7740_CLK_DMAC3 R8A7740_CLK_USBDMAC |
464 | R8A7740_CLK_SCIFA5 R8A7740_CLK_SCIFB | 497 | R8A7740_CLK_SCIFA5 R8A7740_CLK_SCIFB |
@@ -467,7 +500,8 @@ | |||
467 | R8A7740_CLK_SCIFA4 | 500 | R8A7740_CLK_SCIFA4 |
468 | >; | 501 | >; |
469 | clock-output-names = | 502 | clock-output-names = |
470 | "scifa6", "scifa7", "dmac1", "dmac2", "dmac3", | 503 | "scifa6", "intca", |
504 | "scifa7", "dmac1", "dmac2", "dmac3", | ||
471 | "usbdmac", "scifa5", "scifb", "scifa0", "scifa1", | 505 | "usbdmac", "scifa5", "scifb", "scifa0", "scifa1", |
472 | "scifa2", "scifa3", "scifa4"; | 506 | "scifa2", "scifa3", "scifa4"; |
473 | }; | 507 | }; |
diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts index fba294905ff4..04c0c37bb784 100644 --- a/arch/arm/boot/dts/r8a7778-bockw-reference.dts +++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts | |||
@@ -74,6 +74,10 @@ | |||
74 | status = "okay"; | 74 | status = "okay"; |
75 | }; | 75 | }; |
76 | 76 | ||
77 | &tmu0 { | ||
78 | status = "okay"; | ||
79 | }; | ||
80 | |||
77 | &pfc { | 81 | &pfc { |
78 | scif0_pins: serial0 { | 82 | scif0_pins: serial0 { |
79 | renesas,groups = "scif0_data_a", "scif0_ctrl"; | 83 | renesas,groups = "scif0_data_a", "scif0_ctrl"; |
diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi index 315ec62cb96b..96297f67fda8 100644 --- a/arch/arm/boot/dts/r8a7778.dtsi +++ b/arch/arm/boot/dts/r8a7778.dtsi | |||
@@ -162,6 +162,42 @@ | |||
162 | status = "disabled"; | 162 | status = "disabled"; |
163 | }; | 163 | }; |
164 | 164 | ||
165 | tmu0: timer@ffd80000 { | ||
166 | compatible = "renesas,tmu-r8a7778", "renesas,tmu"; | ||
167 | reg = <0xffd80000 0x30>; | ||
168 | interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>, | ||
169 | <0 33 IRQ_TYPE_LEVEL_HIGH>, | ||
170 | <0 34 IRQ_TYPE_LEVEL_HIGH>; | ||
171 | |||
172 | #renesas,channels = <3>; | ||
173 | |||
174 | status = "disabled"; | ||
175 | }; | ||
176 | |||
177 | tmu1: timer@ffd81000 { | ||
178 | compatible = "renesas,tmu-r8a7778", "renesas,tmu"; | ||
179 | reg = <0xffd81000 0x30>; | ||
180 | interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>, | ||
181 | <0 37 IRQ_TYPE_LEVEL_HIGH>, | ||
182 | <0 38 IRQ_TYPE_LEVEL_HIGH>; | ||
183 | |||
184 | #renesas,channels = <3>; | ||
185 | |||
186 | status = "disabled"; | ||
187 | }; | ||
188 | |||
189 | tmu2: timer@ffd82000 { | ||
190 | compatible = "renesas,tmu-r8a7778", "renesas,tmu"; | ||
191 | reg = <0xffd82000 0x30>; | ||
192 | interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>, | ||
193 | <0 41 IRQ_TYPE_LEVEL_HIGH>, | ||
194 | <0 42 IRQ_TYPE_LEVEL_HIGH>; | ||
195 | |||
196 | #renesas,channels = <3>; | ||
197 | |||
198 | status = "disabled"; | ||
199 | }; | ||
200 | |||
165 | scif0: serial@ffe40000 { | 201 | scif0: serial@ffe40000 { |
166 | compatible = "renesas,scif-r8a7778", "renesas,scif"; | 202 | compatible = "renesas,scif-r8a7778", "renesas,scif"; |
167 | reg = <0xffe40000 0x100>; | 203 | reg = <0xffe40000 0x100>; |
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi index fda814ed191d..a8845328827a 100644 --- a/arch/arm/boot/dts/r8a7779.dtsi +++ b/arch/arm/boot/dts/r8a7779.dtsi | |||
@@ -303,7 +303,7 @@ | |||
303 | }; | 303 | }; |
304 | 304 | ||
305 | sata: sata@fc600000 { | 305 | sata: sata@fc600000 { |
306 | compatible = "renesas,rcar-sata"; | 306 | compatible = "renesas,sata-r8a7779", "renesas,rcar-sata"; |
307 | reg = <0xfc600000 0x2000>; | 307 | reg = <0xfc600000 0x2000>; |
308 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; | 308 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
309 | clocks = <&mstp1_clks R8A7779_CLK_SATA>; | 309 | clocks = <&mstp1_clks R8A7779_CLK_SATA>; |
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index acab2e153382..830f2e87df49 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts | |||
@@ -19,8 +19,8 @@ | |||
19 | compatible = "renesas,lager", "renesas,r8a7790"; | 19 | compatible = "renesas,lager", "renesas,r8a7790"; |
20 | 20 | ||
21 | aliases { | 21 | aliases { |
22 | serial6 = &scif0; | 22 | serial6 = &scifa0; |
23 | serial7 = &scif1; | 23 | serial7 = &scifa1; |
24 | }; | 24 | }; |
25 | 25 | ||
26 | chosen { | 26 | chosen { |
@@ -207,9 +207,9 @@ | |||
207 | renesas,function = "du"; | 207 | renesas,function = "du"; |
208 | }; | 208 | }; |
209 | 209 | ||
210 | scif0_pins: serial0 { | 210 | scifa0_pins: serial0 { |
211 | renesas,groups = "scif0_data"; | 211 | renesas,groups = "scifa0_data"; |
212 | renesas,function = "scif0"; | 212 | renesas,function = "scifa0"; |
213 | }; | 213 | }; |
214 | 214 | ||
215 | ether_pins: ether { | 215 | ether_pins: ether { |
@@ -222,9 +222,9 @@ | |||
222 | renesas,function = "intc"; | 222 | renesas,function = "intc"; |
223 | }; | 223 | }; |
224 | 224 | ||
225 | scif1_pins: serial1 { | 225 | scifa1_pins: serial1 { |
226 | renesas,groups = "scif1_data"; | 226 | renesas,groups = "scifa1_data"; |
227 | renesas,function = "scif1"; | 227 | renesas,function = "scifa1"; |
228 | }; | 228 | }; |
229 | 229 | ||
230 | sdhi0_pins: sd0 { | 230 | sdhi0_pins: sd0 { |
@@ -268,6 +268,11 @@ | |||
268 | renesas,function = "iic3"; | 268 | renesas,function = "iic3"; |
269 | }; | 269 | }; |
270 | 270 | ||
271 | hsusb_pins: hsusb { | ||
272 | renesas,groups = "usb0_ovc_vbus"; | ||
273 | renesas,function = "usb0"; | ||
274 | }; | ||
275 | |||
271 | usb0_pins: usb0 { | 276 | usb0_pins: usb0 { |
272 | renesas,groups = "usb0"; | 277 | renesas,groups = "usb0"; |
273 | renesas,function = "usb0"; | 278 | renesas,function = "usb0"; |
@@ -356,15 +361,15 @@ | |||
356 | }; | 361 | }; |
357 | }; | 362 | }; |
358 | 363 | ||
359 | &scif0 { | 364 | &scifa0 { |
360 | pinctrl-0 = <&scif0_pins>; | 365 | pinctrl-0 = <&scifa0_pins>; |
361 | pinctrl-names = "default"; | 366 | pinctrl-names = "default"; |
362 | 367 | ||
363 | status = "okay"; | 368 | status = "okay"; |
364 | }; | 369 | }; |
365 | 370 | ||
366 | &scif1 { | 371 | &scifa1 { |
367 | pinctrl-0 = <&scif1_pins>; | 372 | pinctrl-0 = <&scifa1_pins>; |
368 | pinctrl-names = "default"; | 373 | pinctrl-names = "default"; |
369 | 374 | ||
370 | status = "okay"; | 375 | status = "okay"; |
@@ -466,12 +471,29 @@ | |||
466 | pinctrl-names = "default"; | 471 | pinctrl-names = "default"; |
467 | }; | 472 | }; |
468 | 473 | ||
474 | &xhci { | ||
475 | status = "okay"; | ||
476 | pinctrl-0 = <&usb2_pins>; | ||
477 | pinctrl-names = "default"; | ||
478 | }; | ||
479 | |||
469 | &pci2 { | 480 | &pci2 { |
470 | status = "okay"; | 481 | status = "okay"; |
471 | pinctrl-0 = <&usb2_pins>; | 482 | pinctrl-0 = <&usb2_pins>; |
472 | pinctrl-names = "default"; | 483 | pinctrl-names = "default"; |
473 | }; | 484 | }; |
474 | 485 | ||
486 | &hsusb { | ||
487 | status = "okay"; | ||
488 | pinctrl-0 = <&hsusb_pins>; | ||
489 | pinctrl-names = "default"; | ||
490 | renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>; | ||
491 | }; | ||
492 | |||
493 | &usbphy { | ||
494 | status = "okay"; | ||
495 | }; | ||
496 | |||
475 | /* composite video input */ | 497 | /* composite video input */ |
476 | &vin1 { | 498 | &vin1 { |
477 | pinctrl-0 = <&vin1_pins>; | 499 | pinctrl-0 = <&vin1_pins>; |
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index b7c59b7b06b0..52c21569e352 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b/arch/arm/boot/dts/r8a7790.dtsi | |||
@@ -392,11 +392,13 @@ | |||
392 | status = "disabled"; | 392 | status = "disabled"; |
393 | }; | 393 | }; |
394 | 394 | ||
395 | mmcif0: mmcif@ee200000 { | 395 | mmcif0: mmc@ee200000 { |
396 | compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif"; | 396 | compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif"; |
397 | reg = <0 0xee200000 0 0x80>; | 397 | reg = <0 0xee200000 0 0x80>; |
398 | interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; | 398 | interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; |
399 | clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>; | 399 | clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>; |
400 | dmas = <&dmac0 0xd1>, <&dmac0 0xd2>; | ||
401 | dma-names = "tx", "rx"; | ||
400 | reg-io-width = <4>; | 402 | reg-io-width = <4>; |
401 | status = "disabled"; | 403 | status = "disabled"; |
402 | }; | 404 | }; |
@@ -406,6 +408,8 @@ | |||
406 | reg = <0 0xee220000 0 0x80>; | 408 | reg = <0 0xee220000 0 0x80>; |
407 | interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>; | 409 | interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>; |
408 | clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>; | 410 | clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>; |
411 | dmas = <&dmac0 0xe1>, <&dmac0 0xe2>; | ||
412 | dma-names = "tx", "rx"; | ||
409 | reg-io-width = <4>; | 413 | reg-io-width = <4>; |
410 | status = "disabled"; | 414 | status = "disabled"; |
411 | }; | 415 | }; |
@@ -568,6 +572,36 @@ | |||
568 | status = "disabled"; | 572 | status = "disabled"; |
569 | }; | 573 | }; |
570 | 574 | ||
575 | hsusb: usb@e6590000 { | ||
576 | compatible = "renesas,usbhs-r8a7790"; | ||
577 | reg = <0 0xe6590000 0 0x100>; | ||
578 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; | ||
579 | clocks = <&mstp7_clks R8A7790_CLK_HSUSB>; | ||
580 | renesas,buswait = <4>; | ||
581 | phys = <&usb0 1>; | ||
582 | phy-names = "usb"; | ||
583 | status = "disabled"; | ||
584 | }; | ||
585 | |||
586 | usbphy: usb-phy@e6590100 { | ||
587 | compatible = "renesas,usb-phy-r8a7790"; | ||
588 | reg = <0 0xe6590100 0 0x100>; | ||
589 | #address-cells = <1>; | ||
590 | #size-cells = <0>; | ||
591 | clocks = <&mstp7_clks R8A7790_CLK_HSUSB>; | ||
592 | clock-names = "usbhs"; | ||
593 | status = "disabled"; | ||
594 | |||
595 | usb0: usb-channel@0 { | ||
596 | reg = <0>; | ||
597 | #phy-cells = <1>; | ||
598 | }; | ||
599 | usb2: usb-channel@2 { | ||
600 | reg = <2>; | ||
601 | #phy-cells = <1>; | ||
602 | }; | ||
603 | }; | ||
604 | |||
571 | vin0: video@e6ef0000 { | 605 | vin0: video@e6ef0000 { |
572 | compatible = "renesas,vin-r8a7790"; | 606 | compatible = "renesas,vin-r8a7790"; |
573 | clocks = <&mstp8_clks R8A7790_CLK_VIN0>; | 607 | clocks = <&mstp8_clks R8A7790_CLK_VIN0>; |
@@ -958,18 +992,25 @@ | |||
958 | mstp1_clks: mstp1_clks@e6150134 { | 992 | mstp1_clks: mstp1_clks@e6150134 { |
959 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; | 993 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
960 | reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; | 994 | reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; |
961 | clocks = <&m2_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, | 995 | clocks = <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&m2_clk>, |
962 | <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, | 996 | <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>, <&zs_clk>, |
963 | <&zs_clk>; | 997 | <&zs_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, |
998 | <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>; | ||
964 | #clock-cells = <1>; | 999 | #clock-cells = <1>; |
965 | renesas,clock-indices = < | 1000 | renesas,clock-indices = < |
966 | R8A7790_CLK_JPU R8A7790_CLK_TMU1 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 | 1001 | R8A7790_CLK_VCP1 R8A7790_CLK_VCP0 R8A7790_CLK_VPC1 |
967 | R8A7790_CLK_CMT0 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 | 1002 | R8A7790_CLK_VPC0 R8A7790_CLK_JPU R8A7790_CLK_SSP1 |
968 | R8A7790_CLK_VSP1_DU0 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S | 1003 | R8A7790_CLK_TMU1 R8A7790_CLK_3DG R8A7790_CLK_2DDMAC |
1004 | R8A7790_CLK_FDP1_2 R8A7790_CLK_FDP1_1 R8A7790_CLK_FDP1_0 | ||
1005 | R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 R8A7790_CLK_CMT0 | ||
1006 | R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 R8A7790_CLK_VSP1_DU0 | ||
1007 | R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S | ||
969 | >; | 1008 | >; |
970 | clock-output-names = | 1009 | clock-output-names = |
971 | "jpu", "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1", | 1010 | "vcp1", "vcp0", "vpc1", "vpc0", "jpu", "ssp1", |
972 | "vsp1-du0", "vsp1-rt", "vsp1-sy"; | 1011 | "tmu1", "3dg", "2ddmac", "fdp1-2", "fdp1-1", |
1012 | "fdp1-0", "tmu3", "tmu2", "cmt0", "tmu0", | ||
1013 | "vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy"; | ||
973 | }; | 1014 | }; |
974 | mstp2_clks: mstp2_clks@e6150138 { | 1015 | mstp2_clks: mstp2_clks@e6150138 { |
975 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; | 1016 | compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks"; |
@@ -1160,6 +1201,16 @@ | |||
1160 | status = "disabled"; | 1201 | status = "disabled"; |
1161 | }; | 1202 | }; |
1162 | 1203 | ||
1204 | xhci: usb@ee000000 { | ||
1205 | compatible = "renesas,xhci-r8a7790"; | ||
1206 | reg = <0 0xee000000 0 0xc00>; | ||
1207 | interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; | ||
1208 | clocks = <&mstp3_clks R8A7790_CLK_SSUSB>; | ||
1209 | phys = <&usb2 1>; | ||
1210 | phy-names = "usb"; | ||
1211 | status = "disabled"; | ||
1212 | }; | ||
1213 | |||
1163 | pci0: pci@ee090000 { | 1214 | pci0: pci@ee090000 { |
1164 | compatible = "renesas,pci-r8a7790"; | 1215 | compatible = "renesas,pci-r8a7790"; |
1165 | device_type = "pci"; | 1216 | device_type = "pci"; |
@@ -1178,6 +1229,20 @@ | |||
1178 | interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH | 1229 | interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH |
1179 | 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH | 1230 | 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH |
1180 | 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; | 1231 | 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; |
1232 | |||
1233 | usb@0,1 { | ||
1234 | reg = <0x800 0 0 0 0>; | ||
1235 | device_type = "pci"; | ||
1236 | phys = <&usb0 0>; | ||
1237 | phy-names = "usb"; | ||
1238 | }; | ||
1239 | |||
1240 | usb@0,2 { | ||
1241 | reg = <0x1000 0 0 0 0>; | ||
1242 | device_type = "pci"; | ||
1243 | phys = <&usb0 0>; | ||
1244 | phy-names = "usb"; | ||
1245 | }; | ||
1181 | }; | 1246 | }; |
1182 | 1247 | ||
1183 | pci1: pci@ee0b0000 { | 1248 | pci1: pci@ee0b0000 { |
@@ -1218,6 +1283,20 @@ | |||
1218 | interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH | 1283 | interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH |
1219 | 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH | 1284 | 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH |
1220 | 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; | 1285 | 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; |
1286 | |||
1287 | usb@0,1 { | ||
1288 | reg = <0x800 0 0 0 0>; | ||
1289 | device_type = "pci"; | ||
1290 | phys = <&usb2 0>; | ||
1291 | phy-names = "usb"; | ||
1292 | }; | ||
1293 | |||
1294 | usb@0,2 { | ||
1295 | reg = <0x1000 0 0 0 0>; | ||
1296 | device_type = "pci"; | ||
1297 | phys = <&usb2 0>; | ||
1298 | phy-names = "usb"; | ||
1299 | }; | ||
1221 | }; | 1300 | }; |
1222 | 1301 | ||
1223 | pciec: pcie@fe000000 { | 1302 | pciec: pcie@fe000000 { |
diff --git a/arch/arm/boot/dts/r8a7791-henninger.dts b/arch/arm/boot/dts/r8a7791-henninger.dts index 0868899882e3..740e38678032 100644 --- a/arch/arm/boot/dts/r8a7791-henninger.dts +++ b/arch/arm/boot/dts/r8a7791-henninger.dts | |||
@@ -272,6 +272,17 @@ | |||
272 | pinctrl-names = "default"; | 272 | pinctrl-names = "default"; |
273 | }; | 273 | }; |
274 | 274 | ||
275 | &hsusb { | ||
276 | status = "okay"; | ||
277 | pinctrl-0 = <&usb0_pins>; | ||
278 | pinctrl-names = "default"; | ||
279 | renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; | ||
280 | }; | ||
281 | |||
282 | &usbphy { | ||
283 | status = "okay"; | ||
284 | }; | ||
285 | |||
275 | &pcie_bus_clk { | 286 | &pcie_bus_clk { |
276 | status = "okay"; | 287 | status = "okay"; |
277 | }; | 288 | }; |
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index 5e4d833ae491..191f32bc43ea 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts | |||
@@ -474,6 +474,17 @@ | |||
474 | pinctrl-names = "default"; | 474 | pinctrl-names = "default"; |
475 | }; | 475 | }; |
476 | 476 | ||
477 | &hsusb { | ||
478 | status = "okay"; | ||
479 | pinctrl-0 = <&usb0_pins>; | ||
480 | pinctrl-names = "default"; | ||
481 | renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; | ||
482 | }; | ||
483 | |||
484 | &usbphy { | ||
485 | status = "okay"; | ||
486 | }; | ||
487 | |||
477 | &pcie_bus_clk { | 488 | &pcie_bus_clk { |
478 | status = "okay"; | 489 | status = "okay"; |
479 | }; | 490 | }; |
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index e4a7170f368b..a862243f0436 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Device Tree Source for the r8a7791 SoC | 2 | * Device Tree Source for the r8a7791 SoC |
3 | * | 3 | * |
4 | * Copyright (C) 2013 Renesas Electronics Corporation | 4 | * Copyright (C) 2013-2014 Renesas Electronics Corporation |
5 | * Copyright (C) 2013-2014 Renesas Solutions Corp. | 5 | * Copyright (C) 2013-2014 Renesas Solutions Corp. |
6 | * Copyright (C) 2014 Cogent Embedded Inc. | 6 | * Copyright (C) 2014 Cogent Embedded Inc. |
7 | * | 7 | * |
@@ -400,6 +400,17 @@ | |||
400 | #gpio-range-cells = <3>; | 400 | #gpio-range-cells = <3>; |
401 | }; | 401 | }; |
402 | 402 | ||
403 | mmcif0: mmc@ee200000 { | ||
404 | compatible = "renesas,mmcif-r8a7791", "renesas,sh-mmcif"; | ||
405 | reg = <0 0xee200000 0 0x80>; | ||
406 | interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; | ||
407 | clocks = <&mstp3_clks R8A7791_CLK_MMCIF0>; | ||
408 | dmas = <&dmac0 0xd1>, <&dmac0 0xd2>; | ||
409 | dma-names = "tx", "rx"; | ||
410 | reg-io-width = <4>; | ||
411 | status = "disabled"; | ||
412 | }; | ||
413 | |||
403 | sdhi0: sd@ee100000 { | 414 | sdhi0: sd@ee100000 { |
404 | compatible = "renesas,sdhi-r8a7791"; | 415 | compatible = "renesas,sdhi-r8a7791"; |
405 | reg = <0 0xee100000 0 0x200>; | 416 | reg = <0 0xee100000 0 0x200>; |
@@ -613,6 +624,36 @@ | |||
613 | status = "disabled"; | 624 | status = "disabled"; |
614 | }; | 625 | }; |
615 | 626 | ||
627 | hsusb: usb@e6590000 { | ||
628 | compatible = "renesas,usbhs-r8a7791"; | ||
629 | reg = <0 0xe6590000 0 0x100>; | ||
630 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; | ||
631 | clocks = <&mstp7_clks R8A7791_CLK_HSUSB>; | ||
632 | renesas,buswait = <4>; | ||
633 | phys = <&usb0 1>; | ||
634 | phy-names = "usb"; | ||
635 | status = "disabled"; | ||
636 | }; | ||
637 | |||
638 | usbphy: usb-phy@e6590100 { | ||
639 | compatible = "renesas,usb-phy-r8a7791"; | ||
640 | reg = <0 0xe6590100 0 0x100>; | ||
641 | #address-cells = <1>; | ||
642 | #size-cells = <0>; | ||
643 | clocks = <&mstp7_clks R8A7791_CLK_HSUSB>; | ||
644 | clock-names = "usbhs"; | ||
645 | status = "disabled"; | ||
646 | |||
647 | usb0: usb-channel@0 { | ||
648 | reg = <0>; | ||
649 | #phy-cells = <1>; | ||
650 | }; | ||
651 | usb2: usb-channel@2 { | ||
652 | reg = <2>; | ||
653 | #phy-cells = <1>; | ||
654 | }; | ||
655 | }; | ||
656 | |||
616 | vin0: video@e6ef0000 { | 657 | vin0: video@e6ef0000 { |
617 | compatible = "renesas,vin-r8a7791"; | 658 | compatible = "renesas,vin-r8a7791"; |
618 | clocks = <&mstp8_clks R8A7791_CLK_VIN0>; | 659 | clocks = <&mstp8_clks R8A7791_CLK_VIN0>; |
@@ -958,17 +999,23 @@ | |||
958 | mstp1_clks: mstp1_clks@e6150134 { | 999 | mstp1_clks: mstp1_clks@e6150134 { |
959 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; | 1000 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
960 | reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; | 1001 | reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>; |
961 | clocks = <&m2_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>, | 1002 | clocks = <&zs_clk>, <&zs_clk>, <&m2_clk>, <&zs_clk>, <&p_clk>, |
962 | <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>; | 1003 | <&zg_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>, |
1004 | <&p_clk>, <&rclk_clk>, <&cp_clk>, <&zs_clk>, <&zs_clk>, | ||
1005 | <&zs_clk>; | ||
963 | #clock-cells = <1>; | 1006 | #clock-cells = <1>; |
964 | renesas,clock-indices = < | 1007 | renesas,clock-indices = < |
965 | R8A7791_CLK_JPU R8A7791_CLK_TMU1 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 | 1008 | R8A7791_CLK_VCP0 R8A7791_CLK_VPC0 R8A7791_CLK_JPU |
966 | R8A7791_CLK_CMT0 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1 | 1009 | R8A7791_CLK_SSP1 R8A7791_CLK_TMU1 R8A7791_CLK_3DG |
967 | R8A7791_CLK_VSP1_DU0 R8A7791_CLK_VSP1_S | 1010 | R8A7791_CLK_2DDMAC R8A7791_CLK_FDP1_1 R8A7791_CLK_FDP1_0 |
1011 | R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 R8A7791_CLK_CMT0 | ||
1012 | R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1 R8A7791_CLK_VSP1_DU0 | ||
1013 | R8A7791_CLK_VSP1_S | ||
968 | >; | 1014 | >; |
969 | clock-output-names = | 1015 | clock-output-names = |
970 | "jpu", "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1", | 1016 | "vcp0", "vpc0", "jpu", "ssp1", "tmu1", "3dg", |
971 | "vsp1-du0", "vsp1-sy"; | 1017 | "2ddmac", "fdp1-1", "fdp1-0", "tmu3", "tmu2", "cmt0", |
1018 | "tmu0", "vsp1-du1", "vsp1-du0", "vsp1-sy"; | ||
972 | }; | 1019 | }; |
973 | mstp2_clks: mstp2_clks@e6150138 { | 1020 | mstp2_clks: mstp2_clks@e6150138 { |
974 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; | 1021 | compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks"; |
@@ -1157,6 +1204,16 @@ | |||
1157 | status = "disabled"; | 1204 | status = "disabled"; |
1158 | }; | 1205 | }; |
1159 | 1206 | ||
1207 | xhci: usb@ee000000 { | ||
1208 | compatible = "renesas,xhci-r8a7791"; | ||
1209 | reg = <0 0xee000000 0 0xc00>; | ||
1210 | interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; | ||
1211 | clocks = <&mstp3_clks R8A7791_CLK_SSUSB>; | ||
1212 | phys = <&usb2 1>; | ||
1213 | phy-names = "usb"; | ||
1214 | status = "disabled"; | ||
1215 | }; | ||
1216 | |||
1160 | pci0: pci@ee090000 { | 1217 | pci0: pci@ee090000 { |
1161 | compatible = "renesas,pci-r8a7791"; | 1218 | compatible = "renesas,pci-r8a7791"; |
1162 | device_type = "pci"; | 1219 | device_type = "pci"; |
@@ -1175,6 +1232,20 @@ | |||
1175 | interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH | 1232 | interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH |
1176 | 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH | 1233 | 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH |
1177 | 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; | 1234 | 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>; |
1235 | |||
1236 | usb@0,1 { | ||
1237 | reg = <0x800 0 0 0 0>; | ||
1238 | device_type = "pci"; | ||
1239 | phys = <&usb0 0>; | ||
1240 | phy-names = "usb"; | ||
1241 | }; | ||
1242 | |||
1243 | usb@0,2 { | ||
1244 | reg = <0x1000 0 0 0 0>; | ||
1245 | device_type = "pci"; | ||
1246 | phys = <&usb0 0>; | ||
1247 | phy-names = "usb"; | ||
1248 | }; | ||
1178 | }; | 1249 | }; |
1179 | 1250 | ||
1180 | pci1: pci@ee0d0000 { | 1251 | pci1: pci@ee0d0000 { |
@@ -1195,6 +1266,20 @@ | |||
1195 | interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH | 1266 | interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH |
1196 | 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH | 1267 | 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH |
1197 | 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; | 1268 | 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; |
1269 | |||
1270 | usb@0,1 { | ||
1271 | reg = <0x800 0 0 0 0>; | ||
1272 | device_type = "pci"; | ||
1273 | phys = <&usb2 0>; | ||
1274 | phy-names = "usb"; | ||
1275 | }; | ||
1276 | |||
1277 | usb@0,2 { | ||
1278 | reg = <0x1000 0 0 0 0>; | ||
1279 | device_type = "pci"; | ||
1280 | phys = <&usb2 0>; | ||
1281 | phy-names = "usb"; | ||
1282 | }; | ||
1198 | }; | 1283 | }; |
1199 | 1284 | ||
1200 | pciec: pcie@fe000000 { | 1285 | pciec: pcie@fe000000 { |
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi index d4e8bce1e0b7..088e79c6551c 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi | |||
@@ -82,6 +82,14 @@ | |||
82 | status = "disabled"; | 82 | status = "disabled"; |
83 | }; | 83 | }; |
84 | 84 | ||
85 | timer { | ||
86 | compatible = "arm,armv7-timer"; | ||
87 | interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
88 | <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
89 | <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
90 | <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; | ||
91 | }; | ||
92 | |||
85 | irqc0: interrupt-controller@e61c0000 { | 93 | irqc0: interrupt-controller@e61c0000 { |
86 | compatible = "renesas,irqc-r8a7794", "renesas,irqc"; | 94 | compatible = "renesas,irqc-r8a7794", "renesas,irqc"; |
87 | #interrupt-cells = <2>; | 95 | #interrupt-cells = <2>; |
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c index 8ec784fc6b26..7c7223de1e9c 100644 --- a/arch/arm/mach-shmobile/setup-r8a7778.c +++ b/arch/arm/mach-shmobile/setup-r8a7778.c | |||
@@ -288,8 +288,6 @@ void __init r8a7778_add_dt_devices(void) | |||
288 | l2x0_init(base, 0x00400000, 0xc20f0fff); | 288 | l2x0_init(base, 0x00400000, 0xc20f0fff); |
289 | } | 289 | } |
290 | #endif | 290 | #endif |
291 | |||
292 | r8a7778_register_tmu(0); | ||
293 | } | 291 | } |
294 | 292 | ||
295 | /* HPB-DMA */ | 293 | /* HPB-DMA */ |
@@ -497,6 +495,7 @@ static void __init r8a7778_register_hpb_dmae(void) | |||
497 | void __init r8a7778_add_standard_devices(void) | 495 | void __init r8a7778_add_standard_devices(void) |
498 | { | 496 | { |
499 | r8a7778_add_dt_devices(); | 497 | r8a7778_add_dt_devices(); |
498 | r8a7778_register_tmu(0); | ||
500 | r8a7778_register_scif(0); | 499 | r8a7778_register_scif(0); |
501 | r8a7778_register_scif(1); | 500 | r8a7778_register_scif(1); |
502 | r8a7778_register_scif(2); | 501 | r8a7778_register_scif(2); |
diff --git a/include/dt-bindings/clock/r8a7740-clock.h b/include/dt-bindings/clock/r8a7740-clock.h index f6b4b0fe7a43..476135da0f23 100644 --- a/include/dt-bindings/clock/r8a7740-clock.h +++ b/include/dt-bindings/clock/r8a7740-clock.h | |||
@@ -40,6 +40,7 @@ | |||
40 | 40 | ||
41 | /* MSTP2 */ | 41 | /* MSTP2 */ |
42 | #define R8A7740_CLK_SCIFA6 30 | 42 | #define R8A7740_CLK_SCIFA6 30 |
43 | #define R8A7740_CLK_INTCA 29 | ||
43 | #define R8A7740_CLK_SCIFA7 22 | 44 | #define R8A7740_CLK_SCIFA7 22 |
44 | #define R8A7740_CLK_DMAC1 18 | 45 | #define R8A7740_CLK_DMAC1 18 |
45 | #define R8A7740_CLK_DMAC2 17 | 46 | #define R8A7740_CLK_DMAC2 17 |
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h index 8ea7ab0346ad..e3a3fb80feb6 100644 --- a/include/dt-bindings/clock/r8a7790-clock.h +++ b/include/dt-bindings/clock/r8a7790-clock.h | |||
@@ -26,8 +26,18 @@ | |||
26 | #define R8A7790_CLK_MSIOF0 0 | 26 | #define R8A7790_CLK_MSIOF0 0 |
27 | 27 | ||
28 | /* MSTP1 */ | 28 | /* MSTP1 */ |
29 | #define R8A7790_CLK_JPU 6 | 29 | #define R8A7790_CLK_VCP1 0 |
30 | #define R8A7790_CLK_VCP0 1 | ||
31 | #define R8A7790_CLK_VPC1 2 | ||
32 | #define R8A7790_CLK_VPC0 3 | ||
33 | #define R8A7790_CLK_JPU 6 | ||
34 | #define R8A7790_CLK_SSP1 9 | ||
30 | #define R8A7790_CLK_TMU1 11 | 35 | #define R8A7790_CLK_TMU1 11 |
36 | #define R8A7790_CLK_3DG 12 | ||
37 | #define R8A7790_CLK_2DDMAC 15 | ||
38 | #define R8A7790_CLK_FDP1_2 17 | ||
39 | #define R8A7790_CLK_FDP1_1 18 | ||
40 | #define R8A7790_CLK_FDP1_0 19 | ||
31 | #define R8A7790_CLK_TMU3 21 | 41 | #define R8A7790_CLK_TMU3 21 |
32 | #define R8A7790_CLK_TMU2 22 | 42 | #define R8A7790_CLK_TMU2 22 |
33 | #define R8A7790_CLK_CMT0 24 | 43 | #define R8A7790_CLK_CMT0 24 |
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h index 58c3f49d068c..dcececd9f4d0 100644 --- a/include/dt-bindings/clock/r8a7791-clock.h +++ b/include/dt-bindings/clock/r8a7791-clock.h | |||
@@ -25,8 +25,15 @@ | |||
25 | #define R8A7791_CLK_MSIOF0 0 | 25 | #define R8A7791_CLK_MSIOF0 0 |
26 | 26 | ||
27 | /* MSTP1 */ | 27 | /* MSTP1 */ |
28 | #define R8A7791_CLK_JPU 6 | 28 | #define R8A7791_CLK_VCP0 1 |
29 | #define R8A7791_CLK_VPC0 3 | ||
30 | #define R8A7791_CLK_JPU 6 | ||
31 | #define R8A7791_CLK_SSP1 9 | ||
29 | #define R8A7791_CLK_TMU1 11 | 32 | #define R8A7791_CLK_TMU1 11 |
33 | #define R8A7791_CLK_3DG 12 | ||
34 | #define R8A7791_CLK_2DDMAC 15 | ||
35 | #define R8A7791_CLK_FDP1_1 18 | ||
36 | #define R8A7791_CLK_FDP1_0 19 | ||
30 | #define R8A7791_CLK_TMU3 21 | 37 | #define R8A7791_CLK_TMU3 21 |
31 | #define R8A7791_CLK_TMU2 22 | 38 | #define R8A7791_CLK_TMU2 22 |
32 | #define R8A7791_CLK_CMT0 24 | 39 | #define R8A7791_CLK_CMT0 24 |