aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2014-07-07 03:54:28 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-07-12 09:16:56 -0400
commit5be97ca4a4f6e11c4a839ec3c08dea25589dfeb4 (patch)
tree22699f077ca2659615b6324b4d05e0db4a5d1581 /arch/arm/boot
parent9930dc8ee1f59271a54ed4b4922c9c944625a8d6 (diff)
ARM: shmobile: bockw-reference: Initialise SCIF device using DT
Initialise SCIF device using DT when booting bockw using DT reference. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/r8a7778-bockw-reference.dts14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
index f76f6ec01e19..3342c74c5de8 100644
--- a/arch/arm/boot/dts/r8a7778-bockw-reference.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
@@ -23,6 +23,10 @@
23 model = "bockw"; 23 model = "bockw";
24 compatible = "renesas,bockw-reference", "renesas,r8a7778"; 24 compatible = "renesas,bockw-reference", "renesas,r8a7778";
25 25
26 aliases {
27 serial0 = &scif0;
28 };
29
26 chosen { 30 chosen {
27 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw"; 31 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
28 }; 32 };
@@ -70,9 +74,6 @@
70}; 74};
71 75
72&pfc { 76&pfc {
73 pinctrl-0 = <&scif0_pins>;
74 pinctrl-names = "default";
75
76 scif0_pins: serial0 { 77 scif0_pins: serial0 {
77 renesas,groups = "scif0_data_a", "scif0_ctrl"; 78 renesas,groups = "scif0_data_a", "scif0_ctrl";
78 renesas,function = "scif0"; 79 renesas,function = "scif0";
@@ -124,3 +125,10 @@
124 }; 125 };
125 }; 126 };
126}; 127};
128
129&scif0 {
130 pinctrl-0 = <&scif0_pins>;
131 pinctrl-names = "default";
132
133 status = "okay";
134};