Commit acf3b20c authored by Thor Thayer's avatar Thor Thayer Committed by Dinh Nguyen

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: default avatarThor Thayer <tthayer@opensource.altera.com>
Signed-off-by: default avatarDinh Nguyen <dinguyen@opensource.altera.com>
parent 07e75f43
...@@ -36,6 +36,30 @@ memory { ...@@ -36,6 +36,30 @@ memory {
reg = <0x0 0x40000000>; /* 1GB */ 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 { soc {
clkmgr@ffd04000 { clkmgr@ffd04000 {
clocks { clocks {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment