Skip to content

Commit

Permalink
ARM: shmobile: kzm9g-reference: Initialise SCIF device using DT
Browse files Browse the repository at this point in the history
Initialise SCIF device using DT when booting armadillo800eva
using DT reference.

Signed-off-by: Simon Horman <[email protected]>
  • Loading branch information
horms committed Jul 12, 2014
1 parent 2131421 commit 700ce7c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
14 changes: 11 additions & 3 deletions arch/arm/boot/dts/sh73a0-kzm9g-reference.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
model = "KZM-A9-GT";
compatible = "renesas,kzm9g-reference", "renesas,sh73a0";

aliases {
serial4 = &scifa4;
};

cpus {
cpu@0 {
cpu0-supply = <&vdd_dvfs>;
Expand Down Expand Up @@ -276,9 +280,6 @@
};

&pfc {
pinctrl-0 = <&scifa4_pins>;
pinctrl-names = "default";

i2c3_pins: i2c3 {
renesas,groups = "i2c3_1";
renesas,function = "i2c3";
Expand Down Expand Up @@ -318,6 +319,13 @@
};
};

&scifa4 {
pinctrl-0 = <&scifa4_pins>;
pinctrl-names = "default";

status = "okay";
};

&sdhi0 {
pinctrl-0 = <&sdhi0_pins>;
pinctrl-names = "default";
Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-shmobile/setup-sh73a0.c
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,10 @@ static struct platform_device irqpin3_device = {
};

static struct platform_device *sh73a0_devices_dt[] __initdata = {
&cmt1_device,
};

static struct platform_device *sh73a0_early_devices[] __initdata = {
&scif0_device,
&scif1_device,
&scif2_device,
Expand All @@ -705,10 +709,6 @@ static struct platform_device *sh73a0_devices_dt[] __initdata = {
&scif6_device,
&scif7_device,
&scif8_device,
&cmt1_device,
};

static struct platform_device *sh73a0_early_devices[] __initdata = {
&tmu0_device,
&ipmmu_device,
};
Expand Down

0 comments on commit 700ce7c

Please sign in to comment.