summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
diff options
context:
space:
mode:
authorThor Thayer <tthayer@opensource.altera.com>2016-06-02 17:52:28 +0000
committerDinh Nguyen <dinguyen@opensource.altera.com>2016-10-18 22:18:12 -0500
commitacf3b20c23861d38a911f3e0b916fc39ff4211f6 (patch)
tree12e38464b4d395210fad6d7cdae771e2772335ef /arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
parent07e75f4393b42b6c82c5d31714ceeba429fa34c3 (diff)
ARM: dts: socfpga: Add LED framework to A10-SR GPIO
Add the LED framework to the Arria10 System Resource chip GPIO hooks. Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'arch/arm/boot/dts/socfpga_arria10_socdk.dtsi')
-rw-r--r--arch/arm/boot/dts/socfpga_arria10_socdk.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
index 693fa508cb97..eb00ae37f316 100644
--- a/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
+++ b/arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
@@ -36,6 +36,30 @@
reg = <0x0 0x40000000>; /* 1GB */
};
+ a10leds {
+ compatible = "gpio-leds";
+
+ a10sr_led0 {
+ label = "a10sr-led0";
+ gpios = <&a10sr_gpio 0 1>;
+ };
+
+ a10sr_led1 {
+ label = "a10sr-led1";
+ gpios = <&a10sr_gpio 1 1>;
+ };
+
+ a10sr_led2 {
+ label = "a10sr-led2";
+ gpios = <&a10sr_gpio 2 1>;
+ };
+
+ a10sr_led3 {
+ label = "a10sr-led3";
+ gpios = <&a10sr_gpio 3 1>;
+ };
+ };
+
soc {
clkmgr@ffd04000 {
clocks {