aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2014-07-07 03:54:42 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-07-12 09:16:57 -0400
commitc4fac6f2f92331fa5788811357f8b8c3352e5ad8 (patch)
tree57f2cadaa61fb880eece19ef10b715c98152d836
parentfa12355b24a430729f34c349473b9c0a3d125679 (diff)
ARM: shmobile: armadillo800eva-reference: Initialise SCIF device using DT
Initialise SCIF device using DT when booting armadillo800eva using DT reference. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts14
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7740.c8
2 files changed, 15 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
index ba2e1806b3ad..ee9e7d5c97a9 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
@@ -19,6 +19,10 @@
19 model = "armadillo 800 eva reference"; 19 model = "armadillo 800 eva reference";
20 compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740"; 20 compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740";
21 21
22 aliases {
23 serial1 = &scifa1;
24 };
25
22 chosen { 26 chosen {
23 bootargs = "console=tty0 console=ttySC1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw"; 27 bootargs = "console=tty0 console=ttySC1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
24 }; 28 };
@@ -202,9 +206,6 @@
202}; 206};
203 207
204&pfc { 208&pfc {
205 pinctrl-0 = <&scifa1_pins>;
206 pinctrl-names = "default";
207
208 ether_pins: ether { 209 ether_pins: ether {
209 renesas,groups = "gether_mii", "gether_int"; 210 renesas,groups = "gether_mii", "gether_int";
210 renesas,function = "gether"; 211 renesas,function = "gether";
@@ -256,6 +257,13 @@
256 status = "okay"; 257 status = "okay";
257}; 258};
258 259
260&scifa1 {
261 pinctrl-0 = <&scifa1_pins>;
262 pinctrl-names = "default";
263
264 status = "okay";
265};
266
259&sdhi0 { 267&sdhi0 {
260 pinctrl-0 = <&sdhi0_pins>; 268 pinctrl-0 = <&sdhi0_pins>;
261 pinctrl-names = "default"; 269 pinctrl-names = "default";
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index 35dec233301e..d0f51f1f697d 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -310,6 +310,10 @@ static struct platform_device ipmmu_device = {
310}; 310};
311 311
312static struct platform_device *r8a7740_devices_dt[] __initdata = { 312static struct platform_device *r8a7740_devices_dt[] __initdata = {
313 &cmt1_device,
314};
315
316static struct platform_device *r8a7740_early_devices[] __initdata = {
313 &scif0_device, 317 &scif0_device,
314 &scif1_device, 318 &scif1_device,
315 &scif2_device, 319 &scif2_device,
@@ -319,10 +323,6 @@ static struct platform_device *r8a7740_devices_dt[] __initdata = {
319 &scif6_device, 323 &scif6_device,
320 &scif7_device, 324 &scif7_device,
321 &scif8_device, 325 &scif8_device,
322 &cmt1_device,
323};
324
325static struct platform_device *r8a7740_early_devices[] __initdata = {
326 &irqpin0_device, 326 &irqpin0_device,
327 &irqpin1_device, 327 &irqpin1_device,
328 &irqpin2_device, 328 &irqpin2_device,