ARM: at91/dt: sama5d4ek: add leds in DT node
Add the leds DT node in the dts file. In the leds, d10 is set as heartbeat led. Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
parent
4cc7cdf35c
commit
1bc5465276
1 changed files with 22 additions and 0 deletions
|
@ -255,4 +255,26 @@
|
||||||
gpio-key,wakeup;
|
gpio-key,wakeup;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
leds {
|
||||||
|
compatible = "gpio-leds";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
d8 {
|
||||||
|
label = "d8";
|
||||||
|
/* PE28, conflicts with usart4 rts pin */
|
||||||
|
gpios = <&pioE 28 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
|
d9 {
|
||||||
|
label = "d9";
|
||||||
|
gpios = <&pioE 9 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
|
||||||
|
d10 {
|
||||||
|
label = "d10";
|
||||||
|
gpios = <&pioE 8 GPIO_ACTIVE_LOW>;
|
||||||
|
linux,default-trigger = "heartbeat";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue