aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-10-21 22:35:08 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-12-10 03:26:57 -0500
commit7d907894bfe3848a033aa19a2dbb12105300b8e5 (patch)
tree4f055a7d50f6b1bda45da673f6f3322dfd5bd57f /arch
parent00bf591c3faae65eb00cc8b1ce7ede08b4ccc067 (diff)
ARM: shmobile: r8a7740: tidyup DT node naming
According to ePAPR spec, this patch tidies up DT node name and related clock. This patch also adds missing SDHI2 entry Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/r8a7740.dtsi18
-rw-r--r--arch/arm/mach-shmobile/clock-r8a7740.c8
2 files changed, 19 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index ae1e230f711d..4cc945a799bb 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -162,7 +162,7 @@
162 #pwm-cells = <3>; 162 #pwm-cells = <3>;
163 }; 163 };
164 164
165 mmcif0: mmcif@e6bd0000 { 165 mmcif0: mmc@e6bd0000 {
166 compatible = "renesas,sh-mmcif"; 166 compatible = "renesas,sh-mmcif";
167 reg = <0xe6bd0000 0x100>; 167 reg = <0xe6bd0000 0x100>;
168 interrupt-parent = <&gic>; 168 interrupt-parent = <&gic>;
@@ -171,7 +171,7 @@
171 status = "disabled"; 171 status = "disabled";
172 }; 172 };
173 173
174 sdhi0: sdhi@e6850000 { 174 sdhi0: sd@e6850000 {
175 compatible = "renesas,sdhi-r8a7740"; 175 compatible = "renesas,sdhi-r8a7740";
176 reg = <0xe6850000 0x100>; 176 reg = <0xe6850000 0x100>;
177 interrupt-parent = <&gic>; 177 interrupt-parent = <&gic>;
@@ -183,7 +183,7 @@
183 status = "disabled"; 183 status = "disabled";
184 }; 184 };
185 185
186 sdhi1: sdhi@e6860000 { 186 sdhi1: sd@e6860000 {
187 compatible = "renesas,sdhi-r8a7740"; 187 compatible = "renesas,sdhi-r8a7740";
188 reg = <0xe6860000 0x100>; 188 reg = <0xe6860000 0x100>;
189 interrupt-parent = <&gic>; 189 interrupt-parent = <&gic>;
@@ -194,4 +194,16 @@
194 cap-sdio-irq; 194 cap-sdio-irq;
195 status = "disabled"; 195 status = "disabled";
196 }; 196 };
197
198 sdhi2: sd@e6870000 {
199 compatible = "renesas,sdhi-r8a7740";
200 reg = <0xe6870000 0x100>;
201 interrupt-parent = <&gic>;
202 interrupts = <0 125 4
203 0 126 4
204 0 127 4>;
205 cap-sd-highspeed;
206 cap-sdio-irq;
207 status = "disabled";
208 };
197}; 209};
diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c
index e9a3c6401845..dd989f93498f 100644
--- a/arch/arm/mach-shmobile/clock-r8a7740.c
+++ b/arch/arm/mach-shmobile/clock-r8a7740.c
@@ -590,18 +590,18 @@ static struct clk_lookup lookups[] = {
590 CLKDEV_DEV_ID("e6c20000.i2c", &mstp_clks[MSTP323]), 590 CLKDEV_DEV_ID("e6c20000.i2c", &mstp_clks[MSTP323]),
591 CLKDEV_DEV_ID("renesas_usbhs", &mstp_clks[MSTP320]), 591 CLKDEV_DEV_ID("renesas_usbhs", &mstp_clks[MSTP320]),
592 CLKDEV_DEV_ID("sh_mobile_sdhi.0", &mstp_clks[MSTP314]), 592 CLKDEV_DEV_ID("sh_mobile_sdhi.0", &mstp_clks[MSTP314]),
593 CLKDEV_DEV_ID("e6850000.sdhi", &mstp_clks[MSTP314]), 593 CLKDEV_DEV_ID("e6850000.sd", &mstp_clks[MSTP314]),
594 CLKDEV_DEV_ID("sh_mobile_sdhi.1", &mstp_clks[MSTP313]), 594 CLKDEV_DEV_ID("sh_mobile_sdhi.1", &mstp_clks[MSTP313]),
595 CLKDEV_DEV_ID("e6860000.sdhi", &mstp_clks[MSTP313]), 595 CLKDEV_DEV_ID("e6860000.sd", &mstp_clks[MSTP313]),
596 CLKDEV_DEV_ID("sh_mmcif", &mstp_clks[MSTP312]), 596 CLKDEV_DEV_ID("sh_mmcif", &mstp_clks[MSTP312]),
597 CLKDEV_DEV_ID("e6bd0000.mmcif", &mstp_clks[MSTP312]), 597 CLKDEV_DEV_ID("e6bd0000.mmc", &mstp_clks[MSTP312]),
598 CLKDEV_DEV_ID("r8a7740-gether", &mstp_clks[MSTP309]), 598 CLKDEV_DEV_ID("r8a7740-gether", &mstp_clks[MSTP309]),
599 CLKDEV_DEV_ID("e9a00000.sh-eth", &mstp_clks[MSTP309]), 599 CLKDEV_DEV_ID("e9a00000.sh-eth", &mstp_clks[MSTP309]),
600 CLKDEV_DEV_ID("renesas-tpu-pwm", &mstp_clks[MSTP304]), 600 CLKDEV_DEV_ID("renesas-tpu-pwm", &mstp_clks[MSTP304]),
601 CLKDEV_DEV_ID("e6600000.pwm", &mstp_clks[MSTP304]), 601 CLKDEV_DEV_ID("e6600000.pwm", &mstp_clks[MSTP304]),
602 602
603 CLKDEV_DEV_ID("sh_mobile_sdhi.2", &mstp_clks[MSTP415]), 603 CLKDEV_DEV_ID("sh_mobile_sdhi.2", &mstp_clks[MSTP415]),
604 CLKDEV_DEV_ID("e6870000.sdhi", &mstp_clks[MSTP415]), 604 CLKDEV_DEV_ID("e6870000.sd", &mstp_clks[MSTP415]),
605 605
606 /* ICK */ 606 /* ICK */
607 CLKDEV_ICK_ID("host", "renesas_usbhs", &mstp_clks[MSTP416]), 607 CLKDEV_ICK_ID("host", "renesas_usbhs", &mstp_clks[MSTP416]),