aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts10
-rw-r--r--arch/arm/mach-shmobile/board-ape6evm-reference.c9
2 files changed, 10 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
index 6f4506e737ac..bbd09d8cb8c2 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
@@ -53,3 +53,13 @@
53 >; 53 >;
54 voltage-tolerance = <1>; /* 1% */ 54 voltage-tolerance = <1>; /* 1% */
55}; 55};
56
57&pfc {
58 pinctrl-0 = <&scifa0_pins>;
59 pinctrl-names = "default";
60
61 scifa0_pins: scifa0 {
62 renesas,groups = "scifa0_data";
63 renesas,function = "scifa0";
64 };
65};
diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c b/arch/arm/mach-shmobile/board-ape6evm-reference.c
index 46b41dec6345..52cc5fa5563a 100644
--- a/arch/arm/mach-shmobile/board-ape6evm-reference.c
+++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c
@@ -29,12 +29,6 @@
29#include <asm/mach-types.h> 29#include <asm/mach-types.h>
30#include <asm/mach/arch.h> 30#include <asm/mach/arch.h>
31 31
32static const struct pinctrl_map ape6evm_pinctrl_map[] = {
33 /* SCIFA0 console */
34 PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.0", "pfc-r8a73a4",
35 "scifa0_data", "scifa0"),
36};
37
38static void __init ape6evm_add_standard_devices(void) 32static void __init ape6evm_add_standard_devices(void)
39{ 33{
40 34
@@ -52,9 +46,6 @@ static void __init ape6evm_add_standard_devices(void)
52 clk_put(parent); 46 clk_put(parent);
53 clk_put(mp); 47 clk_put(mp);
54 48
55 pinctrl_register_mappings(ape6evm_pinctrl_map,
56 ARRAY_SIZE(ape6evm_pinctrl_map));
57 r8a73a4_pinmux_init();
58 r8a73a4_add_dt_devices(); 49 r8a73a4_add_dt_devices();
59 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 50 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
60 platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0); 51 platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0);