summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/kirkwood.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2014-05-26 21:29:48 +0200
committerJason Cooper <jason@lakedaemon.net>2014-06-21 01:47:27 +0200
commit55fc83023212f940927b9a44e31ad93d7e67d27d (patch)
treea5cf59a586cf5d520c099b078bf07974af01e064 /arch/arm/mach-mvebu/kirkwood.c
parentARM: mvebu: mark armada_370_xp_pmsu_idle_prepare() as static (diff)
downloadlinux-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.c3
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);
}