aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-09-28 11:43:14 -0400
committerArnd Bergmann <arnd@arndb.de>2018-09-28 11:43:21 -0400
commit5280508e01a21f61754ba6d313bf6b43b40c50c8 (patch)
tree9c6fa5f52876fa49fd7ac0a286522675ed820525
parent0526b92e3a7922ca403d21174259ba90e9710c6c (diff)
parente0a39511dafd7e302a974f5cbdfc9c8afffa98d8 (diff)
Merge tag 'renesas-arm-dt2-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt
Second Round of Renesas ARM Based SoC DT Updates for v4.20 * RZ/G1M (r8a7743) based iWave G20D-Q7 board and camera daughter board - Move PCIe node out of common dtsi to allow reuse of the common dtsi on the iWave RZ/G1N board * RZ/G1C (r8a77470) SoC: Add I2C4, SDHI2 and SMP support * R-Car Gen1 based boards and R-Car Gen2 SoCs: - Enhance top-of-file comments to include SoC name * RZ/N1D (r9a06g032) SoC: - Correct UART0 description and add all other UARTs * tag 'renesas-arm-dt2-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: ARM: dts: iwg20d-q7-common: Move pciec node out of common dtsi ARM: dts: r8a77470: Add I2C4 support ARM: dts: r8a77470: Add SDHI2 support ARM: dts: r8a77470: Add SMP support ARM: dts: R-Car Gen1 board comment update ARM: dts: Include R-Car Gen2 product name in DTSI files ARM: dts: r9a06g032: Correct UART and add all other UARTs Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/boot/dts/iwg20d-q7-common.dtsi4
-rw-r--r--arch/arm/boot/dts/r8a7743-iwg20d-q7-dbcm-ca.dts4
-rw-r--r--arch/arm/boot/dts/r8a7743-iwg20d-q7.dts4
-rw-r--r--arch/arm/boot/dts/r8a77470.dtsi45
-rw-r--r--arch/arm/boot/dts/r8a7778-bockw.dts2
-rw-r--r--arch/arm/boot/dts/r8a7779-marzen.dts2
-rw-r--r--arch/arm/boot/dts/r8a7790.dtsi2
-rw-r--r--arch/arm/boot/dts/r8a7791.dtsi2
-rw-r--r--arch/arm/boot/dts/r8a7792.dtsi2
-rw-r--r--arch/arm/boot/dts/r8a7793.dtsi2
-rw-r--r--arch/arm/boot/dts/r8a7794.dtsi2
-rw-r--r--arch/arm/boot/dts/r9a06g032.dtsi83
12 files changed, 140 insertions, 14 deletions
diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
index 5cae74eb6cdd..ca9154dd8052 100644
--- a/arch/arm/boot/dts/iwg20d-q7-common.dtsi
+++ b/arch/arm/boot/dts/iwg20d-q7-common.dtsi
@@ -160,10 +160,6 @@
160 clock-frequency = <100000000>; 160 clock-frequency = <100000000>;
161}; 161};
162 162
163&pciec {
164 status = "okay";
165};
166
167&pfc { 163&pfc {
168 can0_pins: can0 { 164 can0_pins: can0 {
169 groups = "can0_data_d"; 165 groups = "can0_data_d";
diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7-dbcm-ca.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7-dbcm-ca.dts
index 327545119ee3..0d006aea99da 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7-dbcm-ca.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7-dbcm-ca.dts
@@ -14,3 +14,7 @@
14 model = "iW-RainboW-G20D-Q7 RZ/G1M based plus camera daughter board"; 14 model = "iW-RainboW-G20D-Q7 RZ/G1M based plus camera daughter board";
15 compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743"; 15 compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743";
16}; 16};
17
18&pciec {
19 status = "okay";
20};
diff --git a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
index b683db4da8b1..498e223a5f93 100644
--- a/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
+++ b/arch/arm/boot/dts/r8a7743-iwg20d-q7.dts
@@ -13,3 +13,7 @@
13 model = "iWave Systems RainboW-G20D-Qseven board based on RZ/G1M"; 13 model = "iWave Systems RainboW-G20D-Qseven board based on RZ/G1M";
14 compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743"; 14 compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743";
15}; 15};
16
17&pciec {
18 status = "okay";
19};
diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index c053a28cd132..9ec78d3d0ca8 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -17,6 +17,7 @@
17 cpus { 17 cpus {
18 #address-cells = <1>; 18 #address-cells = <1>;
19 #size-cells = <0>; 19 #size-cells = <0>;
20 enable-method = "renesas,apmu";
20 21
21 cpu0: cpu@0 { 22 cpu0: cpu@0 {
22 device_type = "cpu"; 23 device_type = "cpu";
@@ -28,6 +29,15 @@
28 next-level-cache = <&L2_CA7>; 29 next-level-cache = <&L2_CA7>;
29 }; 30 };
30 31
32 cpu1: cpu@1 {
33 device_type = "cpu";
34 compatible = "arm,cortex-a7";
35 reg = <1>;
36 clock-frequency = <1000000000>;
37 clocks = <&cpg CPG_CORE R8A77470_CLK_Z2>;
38 power-domains = <&sysc R8A77470_PD_CA7_CPU1>;
39 next-level-cache = <&L2_CA7>;
40 };
31 41
32 L2_CA7: cache-controller-0 { 42 L2_CA7: cache-controller-0 {
33 compatible = "cache"; 43 compatible = "cache";
@@ -167,6 +177,12 @@
167 #reset-cells = <1>; 177 #reset-cells = <1>;
168 }; 178 };
169 179
180 apmu@e6151000 {
181 compatible = "renesas,r8a77470-apmu", "renesas,apmu";
182 reg = <0 0xe6151000 0 0x188>;
183 cpus = <&cpu0 &cpu1>;
184 };
185
170 rst: reset-controller@e6160000 { 186 rst: reset-controller@e6160000 {
171 compatible = "renesas,r8a77470-rst"; 187 compatible = "renesas,r8a77470-rst";
172 reg = <0 0xe6160000 0 0x100>; 188 reg = <0 0xe6160000 0 0x100>;
@@ -221,6 +237,20 @@
221 reg = <0 0xe6300000 0 0x20000>; 237 reg = <0 0xe6300000 0 0x20000>;
222 }; 238 };
223 239
240 i2c4: i2c@e6520000 {
241 #address-cells = <1>;
242 #size-cells = <0>;
243 compatible = "renesas,i2c-r8a77470",
244 "renesas,rcar-gen2-i2c";
245 reg = <0 0xe6520000 0 0x40>;
246 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
247 clocks = <&cpg CPG_MOD 927>;
248 power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
249 resets = <&cpg 927>;
250 i2c-scl-internal-delay-ns = <6>;
251 status = "disabled";
252 };
253
224 dmac0: dma-controller@e6700000 { 254 dmac0: dma-controller@e6700000 {
225 compatible = "renesas,dmac-r8a77470", 255 compatible = "renesas,dmac-r8a77470",
226 "renesas,rcar-dmac"; 256 "renesas,rcar-dmac";
@@ -396,6 +426,21 @@
396 status = "disabled"; 426 status = "disabled";
397 }; 427 };
398 428
429 sdhi2: sd@ee160000 {
430 compatible = "renesas,sdhi-r8a77470",
431 "renesas,rcar-gen2-sdhi";
432 reg = <0 0xee160000 0 0x328>;
433 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
434 clocks = <&cpg CPG_MOD 312>;
435 dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
436 <&dmac1 0xd3>, <&dmac1 0xd4>;
437 dma-names = "tx", "rx", "tx", "rx";
438 max-frequency = <97500000>;
439 power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
440 resets = <&cpg 312>;
441 status = "disabled";
442 };
443
399 gic: interrupt-controller@f1001000 { 444 gic: interrupt-controller@f1001000 {
400 compatible = "arm,gic-400"; 445 compatible = "arm,gic-400";
401 #interrupt-cells = <3>; 446 #interrupt-cells = <3>;
diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts
index de808d2ea856..cecb22924ec4 100644
--- a/arch/arm/boot/dts/r8a7778-bockw.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw.dts
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2/* 2/*
3 * Reference Device Tree Source for the Bock-W board 3 * Reference Device Tree Source for the R-Car M1A (R8A77781) Bock-W board
4 * 4 *
5 * Copyright (C) 2013 Renesas Solutions Corp. 5 * Copyright (C) 2013 Renesas Solutions Corp.
6 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 6 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts b/arch/arm/boot/dts/r8a7779-marzen.dts
index a4d0038363f0..abc14e7a4c93 100644
--- a/arch/arm/boot/dts/r8a7779-marzen.dts
+++ b/arch/arm/boot/dts/r8a7779-marzen.dts
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2/* 2/*
3 * Device Tree Source for the Marzen board 3 * Device Tree Source for the R-Car H1 (R8A77790) Marzen board
4 * 4 *
5 * Copyright (C) 2013 Renesas Solutions Corp. 5 * Copyright (C) 2013 Renesas Solutions Corp.
6 * Copyright (C) 2013 Simon Horman 6 * Copyright (C) 2013 Simon Horman
diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 52a757f47bf0..5a2747758f67 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2/* 2/*
3 * Device Tree Source for the r8a7790 SoC 3 * Device Tree Source for the R-Car H2 (R8A77900) SoC
4 * 4 *
5 * Copyright (C) 2015 Renesas Electronics Corporation 5 * Copyright (C) 2015 Renesas Electronics Corporation
6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 25b6a99dd87a..6f875502453c 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2/* 2/*
3 * Device Tree Source for the r8a7791 SoC 3 * Device Tree Source for the R-Car M2-W (R8A77910) SoC
4 * 4 *
5 * Copyright (C) 2013-2015 Renesas Electronics Corporation 5 * Copyright (C) 2013-2015 Renesas Electronics Corporation
6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
diff --git a/arch/arm/boot/dts/r8a7792.dtsi b/arch/arm/boot/dts/r8a7792.dtsi
index 52d16a260db0..8e9eb4b704d3 100644
--- a/arch/arm/boot/dts/r8a7792.dtsi
+++ b/arch/arm/boot/dts/r8a7792.dtsi
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2/* 2/*
3 * Device Tree Source for the r8a7792 SoC 3 * Device Tree Source for the R-Car V2H (R8A77920) SoC
4 * 4 *
5 * Copyright (C) 2016 Cogent Embedded Inc. 5 * Copyright (C) 2016 Cogent Embedded Inc.
6 */ 6 */
diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi
index 620a570307ff..bf05110fac4e 100644
--- a/arch/arm/boot/dts/r8a7793.dtsi
+++ b/arch/arm/boot/dts/r8a7793.dtsi
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2/* 2/*
3 * Device Tree Source for the r8a7793 SoC 3 * Device Tree Source for the R-Car M2-N (R8A77930) SoC
4 * 4 *
5 * Copyright (C) 2014-2015 Renesas Electronics Corporation 5 * Copyright (C) 2014-2015 Renesas Electronics Corporation
6 */ 6 */
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index 886135a273cb..8d797d34816e 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2/* 2/*
3 * Device Tree Source for the r8a7794 SoC 3 * Device Tree Source for the R-Car E2 (R8A77940) SoC
4 * 4 *
5 * Copyright (C) 2014 Renesas Electronics Corporation 5 * Copyright (C) 2014 Renesas Electronics Corporation
6 * Copyright (C) 2014 Ulrich Hecht 6 * Copyright (C) 2014 Ulrich Hecht
diff --git a/arch/arm/boot/dts/r9a06g032.dtsi b/arch/arm/boot/dts/r9a06g032.dtsi
index 3e45375b79aa..eaf94976ed6d 100644
--- a/arch/arm/boot/dts/r9a06g032.dtsi
+++ b/arch/arm/boot/dts/r9a06g032.dtsi
@@ -78,13 +78,90 @@
78 }; 78 };
79 79
80 uart0: serial@40060000 { 80 uart0: serial@40060000 {
81 compatible = "snps,dw-apb-uart"; 81 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart";
82 reg = <0x40060000 0x400>; 82 reg = <0x40060000 0x400>;
83 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 83 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
84 reg-shift = <2>; 84 reg-shift = <2>;
85 reg-io-width = <4>; 85 reg-io-width = <4>;
86 clocks = <&sysctrl R9A06G032_CLK_UART0>; 86 clocks = <&sysctrl R9A06G032_CLK_UART0>, <&sysctrl R9A06G032_HCLK_UART0>;
87 clock-names = "baudclk"; 87 clock-names = "baudclk", "apb_pclk";
88 status = "disabled";
89 };
90
91 uart1: serial@40061000 {
92 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart";
93 reg = <0x40061000 0x400>;
94 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
95 reg-shift = <2>;
96 reg-io-width = <4>;
97 clocks = <&sysctrl R9A06G032_CLK_UART1>, <&sysctrl R9A06G032_HCLK_UART1>;
98 clock-names = "baudclk", "apb_pclk";
99 status = "disabled";
100 };
101
102 uart2: serial@40062000 {
103 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart", "snps,dw-apb-uart";
104 reg = <0x40062000 0x400>;
105 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
106 reg-shift = <2>;
107 reg-io-width = <4>;
108 clocks = <&sysctrl R9A06G032_CLK_UART2>, <&sysctrl R9A06G032_HCLK_UART2>;
109 clock-names = "baudclk", "apb_pclk";
110 status = "disabled";
111 };
112
113 uart3: serial@50000000 {
114 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
115 reg = <0x50000000 0x400>;
116 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
117 reg-shift = <2>;
118 reg-io-width = <4>;
119 clocks = <&sysctrl R9A06G032_CLK_UART3>, <&sysctrl R9A06G032_HCLK_UART3>;
120 clock-names = "baudclk", "apb_pclk";
121 status = "disabled";
122 };
123
124 uart4: serial@50001000 {
125 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
126 reg = <0x50001000 0x400>;
127 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
128 reg-shift = <2>;
129 reg-io-width = <4>;
130 clocks = <&sysctrl R9A06G032_CLK_UART4>, <&sysctrl R9A06G032_HCLK_UART4>;
131 clock-names = "baudclk", "apb_pclk";
132 status = "disabled";
133 };
134
135 uart5: serial@50002000 {
136 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
137 reg = <0x50002000 0x400>;
138 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
139 reg-shift = <2>;
140 reg-io-width = <4>;
141 clocks = <&sysctrl R9A06G032_CLK_UART5>, <&sysctrl R9A06G032_HCLK_UART5>;
142 clock-names = "baudclk", "apb_pclk";
143 status = "disabled";
144 };
145
146 uart6: serial@50003000 {
147 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
148 reg = <0x50003000 0x400>;
149 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
150 reg-shift = <2>;
151 reg-io-width = <4>;
152 clocks = <&sysctrl R9A06G032_CLK_UART6>, <&sysctrl R9A06G032_HCLK_UART6>;
153 clock-names = "baudclk", "apb_pclk";
154 status = "disabled";
155 };
156
157 uart7: serial@50004000 {
158 compatible = "renesas,r9a06g032-uart", "renesas,rzn1-uart";
159 reg = <0x50004000 0x400>;
160 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
161 reg-shift = <2>;
162 reg-io-width = <4>;
163 clocks = <&sysctrl R9A06G032_CLK_UART7>, <&sysctrl R9A06G032_HCLK_UART7>;
164 clock-names = "baudclk", "apb_pclk";
88 status = "disabled"; 165 status = "disabled";
89 }; 166 };
90 167