mirror of https://gitee.com/openkylin/linux.git
ARM: shmobile: ape6evm-reference: Initialise CMT1 device using DT
Initialise CMT1 device using DT when booting ape6evm using DT-reference. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
95e3968203
commit
dfb846c95e
|
@ -94,6 +94,10 @@ &cpu0 {
|
||||||
voltage-tolerance = <1>; /* 1% */
|
voltage-tolerance = <1>; /* 1% */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&cmt1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&pfc {
|
&pfc {
|
||||||
scifa0_pins: serial0 {
|
scifa0_pins: serial0 {
|
||||||
renesas,groups = "scifa0_data";
|
renesas,groups = "scifa0_data";
|
||||||
|
|
|
@ -189,7 +189,6 @@ static struct resource cmt1_resources[] = {
|
||||||
|
|
||||||
void __init r8a73a4_add_dt_devices(void)
|
void __init r8a73a4_add_dt_devices(void)
|
||||||
{
|
{
|
||||||
r8a73a4_register_cmt(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* DMA */
|
/* DMA */
|
||||||
|
@ -282,7 +281,7 @@ static struct resource dma_resources[] = {
|
||||||
|
|
||||||
void __init r8a73a4_add_standard_devices(void)
|
void __init r8a73a4_add_standard_devices(void)
|
||||||
{
|
{
|
||||||
r8a73a4_add_dt_devices();
|
r8a73a4_register_cmt(1);
|
||||||
r8a73a4_register_scif(0);
|
r8a73a4_register_scif(0);
|
||||||
r8a73a4_register_scif(1);
|
r8a73a4_register_scif(1);
|
||||||
r8a73a4_register_scif(2);
|
r8a73a4_register_scif(2);
|
||||||
|
|
Loading…
Reference in New Issue