diff options
author | Andrew Lunn <andrew@lunn.ch> | 2014-05-26 21:29:48 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-06-21 01:47:27 +0200 |
commit | 55fc83023212f940927b9a44e31ad93d7e67d27d (patch) | |
tree | a5cf59a586cf5d520c099b078bf07974af01e064 /arch/arm/mach-mvebu/kirkwood.c | |
parent | ARM: mvebu: mark armada_370_xp_pmsu_idle_prepare() as static (diff) | |
download | linux-55fc83023212f940927b9a44e31ad93d7e67d27d.tar.xz linux-55fc83023212f940927b9a44e31ad93d7e67d27d.zip |
ARM: Kirkwood: Add setup file for netxbig LEDs
There is currently no DT binding for the CPLD which controls the LEDs
on the Net 2Big and Net 5Big. So use a platform device.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1401132591-26305-2-git-send-email-andrew@lunn.ch
Tested-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/kirkwood.c')
-rw-r--r-- | arch/arm/mach-mvebu/kirkwood.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 46f105913c84..6b5310828eb2 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -180,6 +180,9 @@ static void __init kirkwood_dt_init(void) kirkwood_pm_init(); kirkwood_dt_eth_fixup(); + if (of_machine_is_compatible("lacie,netxbig")) + netxbig_init(); + of_platform_populate(NULL, of_default_bus_match_table, auxdata, NULL); } |