Re: [PATCH 2/3] DT: EVM: add LEDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




* H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> [160926 22:27]:
> +		led@6 {
> +			label = "omap5:green:led3";
> +			gpios = <&gpio9 4 GPIO_ACTIVE_HIGH>;
> +			linux,default-trigger = "heartbeat";
> +			default-state = "off";
> +		};
> +
> +		led@7 {
> +			label = "omap5:green:led4";
> +			gpios = <&gpio9 5 GPIO_ACTIVE_HIGH>;
> +			linux,default-trigger = "heartbeat";
> +			default-state = "off";
> +		};
> +
> +		led@8 {
> +			label = "omap5:green:led5";
> +			gpios = <&gpio9 6 GPIO_ACTIVE_HIGH>;
> +			linux,default-trigger = "heartbeat";
> +			default-state = "off";
> +		};

How about this for defaults:

- heartbeat for led3
- cpu0 for led4
- cpu1 for led5

Or something along those lines that by default shows the
active CPUs. Don't have a omap5-uevm near by right now so
not sure about the ordering of the LEDs for displaying
cpu0 and cpu1.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux