diff options
author | Andrew Lunn <andrew@lunn.ch> | 2012-05-12 14:57:59 +0200 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2012-07-27 16:48:52 +0200 |
commit | 9eb61f473601c047a4c0c84269d0c25493e45277 (patch) | |
tree | 2d86f210620e5637f1a95ed7c633a5a10c7b4555 /arch/arm/mach-kirkwood/board-dt.c | |
parent | 97b414e119ccc7216e29c3bd62fe1a1797f21404 (diff) | |
download | blackbird-op-linux-9eb61f473601c047a4c0c84269d0c25493e45277.tar.gz blackbird-op-linux-9eb61f473601c047a4c0c84269d0c25493e45277.zip |
ARM: Kirkwood: Add basic device tree support for QNAP TS219.
The two different variants of QNAP TS devices, varying by SoC, put the
GPIO keys on different GPIO lines. Hence we need two different DT
board descriptions, which share the same board-ts219.c file.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-dt.c')
-rw-r--r-- | arch/arm/mach-kirkwood/board-dt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 8c67c222a0c1..d0ad25036558 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c @@ -77,6 +77,9 @@ static void __init kirkwood_dt_init(void) if (of_machine_is_compatible("raidsonic,ib-nas62x0")) ib62x0_init(); + if (of_machine_is_compatible("qnap,ts219")) + qnap_dt_ts219_init(); + of_platform_populate(NULL, kirkwood_dt_match_table, kirkwood_auxdata_lookup, NULL); } @@ -87,6 +90,7 @@ static const char *kirkwood_dt_board_compat[] = { "dlink,dns-325", "iom,iconnect", "raidsonic,ib-nas62x0", + "qnap,ts219", NULL }; |