@@ -18,6 +18,7 @@
* GNU General Public License for more details.
*/
/include/ "zynq-7000.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
compatible = "adapteva,parallella", "xlnx,zynq-7000";
@@ -36,6 +37,16 @@
bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
linux,stdout-path = "/amba/serial@e0001000";
};
+
+ leds {
+ compatible = "gpio-leds";
+
+ cr10 {
+ label = "parallella:cr10:usr";
+ gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
+ };
+ };
};
&clkc {
This is the green LED CR10. Signed-off-by: Andreas Färber <afaerber@suse.de> --- arch/arm/boot/dts/zynq-parallella1.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)