On 16/02/16 15:17, Linus Walleij wrote:
On Tue, Feb 16, 2016 at 11:08 AM, Vladimir Murzin
[off-list ref] wrote:
quoted
Application Notes 385 and 386 shares the same memory map and features
except the CPU is used. AN385 is supplied with Cortex-M3 CPU and AN386
is supplied with Cortex-M4.
Signed-off-by: Vladimir Murzin <redacted>
(...)
quoted
+ fpgaio {
+ compatible = "syscon", "simple-mfd";
+ reg = <0x40028000 0x10>;
+
+ led@0 {
+ compatible = "register-bit-led";
+ offset = <0x0>;
+ mask = <0x01>;
+ label = "userled:0";
+ linux,default-trigger = "heartbeat";
+ default-state = "on";
+ };
+
+ led@1 {
+ compatible = "register-bit-led";
+ offset = <0x0>;
+ mask = <0x02>;
+ label = "userled:1";
+ linux,default-trigger = "usr";
+ default-state = "off";
+ };
+ };
Thanks for using this. I worked hard to massage this into the
core.
Thank you for pushing it, it cost me couple of minutes to make these
tiny leds alive :)
Reviewed-by: Linus Walleij <redacted>
Cheers!
Vladimir
Yours,
Linus Walleij