These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / arm / boot / dts / socfpga_cyclone5_socrates.dts
index a1814b4..019dd2f 100644 (file)
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
        };
+
+       leds: gpio-leds {
+       };
 };
 
 &gmac1 {
        status = "okay";
 };
 
+&gpio0 {
+       status = "okay";
+};
+
+&gpio1 {
+       status = "okay";
+};
+
 &i2c0 {
        status = "okay";
 
        };
 };
 
+&leds {
+       compatible = "gpio-leds";
+
+       led@0 {
+               label = "led:green:heartbeat";
+               gpios = <&porta 28 1>;
+               linux,default-trigger = "heartbeat";
+       };
+
+       led@1 {
+               label = "led:green:D7";
+               gpios = <&portb 19 1>;
+       };
+
+       led@2 {
+               label = "led:green:D8";
+               gpios = <&portb 25 1>;
+       };
+};
+
 &mmc {
        status = "okay";
 };