OSDN Git Service

sh: Add SH2 entry
authorYoshinori Sato <ysato@users.sourceforge.jp>
Tue, 23 Jun 2015 04:08:08 +0000 (13:08 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Tue, 23 Jun 2015 04:08:08 +0000 (13:08 +0900)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
drivers/clocksource/sh_cmt.c
drivers/tty/serial/sh-sci.c

index b8ff3c6..ee5b6fe 100644 (file)
@@ -937,6 +937,7 @@ static const struct platform_device_id sh_cmt_id_table[] = {
 MODULE_DEVICE_TABLE(platform, sh_cmt_id_table);
 
 static const struct of_device_id sh_cmt_of_table[] __maybe_unused = {
+       { .compatible = "renesas,cmt-16", .data = &sh_cmt_info[SH_CMT_16BIT] },
        { .compatible = "renesas,cmt-32", .data = &sh_cmt_info[SH_CMT_32BIT] },
        { .compatible = "renesas,cmt-32-fast", .data = &sh_cmt_info[SH_CMT_32BIT_FAST] },
        { .compatible = "renesas,cmt-48", .data = &sh_cmt_info[SH_CMT_48BIT] },
index e7d6566..529d0e9 100644 (file)
@@ -2536,6 +2536,12 @@ static const struct of_device_id of_sci_match[] = {
                        .regtype = SCIx_HSCIF_REGTYPE,
                },
        }, {
+               .compatible = "renesas,sh2-scif",
+               .data = &(const struct sci_port_info) {
+                       .type = PORT_SCIF,
+                       .regtype = SCIx_SH2_SCIF_FIFODATA_REGTYPE,
+               },
+       }, {
                /* Terminator */
        },
 };