projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stm32f746: to switch on user LED1 & read user button
[platform/kernel/u-boot.git]
/
arch
/
arm
/
dts
/
stm32f746-disco.dts
diff --git
a/arch/arm/dts/stm32f746-disco.dts
b/arch/arm/dts/stm32f746-disco.dts
index
f830aa9
..
8e4576b
100644
(file)
--- a/
arch/arm/dts/stm32f746-disco.dts
+++ b/
arch/arm/dts/stm32f746-disco.dts
@@
-78,6
+78,16
@@
gpio9 = &gpioj;
gpio10 = &gpiok;
};
+
+ led1 {
+ compatible = "st,led1";
+ led-gpio = <&gpioi 1 0>;
+ };
+
+ button1 {
+ compatible = "st,button1";
+ button-gpio = <&gpioi 11 0>;
+ };
};
&clk_hse {