提交 18b27aeb 编写于 作者: S Simon Horman

ARM: shmobile: bockw-reference: Initialise TMU device using DT

Initialise TMU device using DT when booting bockw
using DT-reference.
Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 2109b5a2
...@@ -74,6 +74,10 @@ ...@@ -74,6 +74,10 @@
status = "okay"; status = "okay";
}; };
&tmu0 {
status = "okay";
};
&pfc { &pfc {
scif0_pins: serial0 { scif0_pins: serial0 {
renesas,groups = "scif0_data_a", "scif0_ctrl"; renesas,groups = "scif0_data_a", "scif0_ctrl";
......
...@@ -288,8 +288,6 @@ void __init r8a7778_add_dt_devices(void) ...@@ -288,8 +288,6 @@ void __init r8a7778_add_dt_devices(void)
l2x0_init(base, 0x00400000, 0xc20f0fff); l2x0_init(base, 0x00400000, 0xc20f0fff);
} }
#endif #endif
r8a7778_register_tmu(0);
} }
/* HPB-DMA */ /* HPB-DMA */
...@@ -497,6 +495,7 @@ static void __init r8a7778_register_hpb_dmae(void) ...@@ -497,6 +495,7 @@ static void __init r8a7778_register_hpb_dmae(void)
void __init r8a7778_add_standard_devices(void) void __init r8a7778_add_standard_devices(void)
{ {
r8a7778_add_dt_devices(); r8a7778_add_dt_devices();
r8a7778_register_tmu(0);
r8a7778_register_scif(0); r8a7778_register_scif(0);
r8a7778_register_scif(1); r8a7778_register_scif(1);
r8a7778_register_scif(2); r8a7778_register_scif(2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册