Thread (65 messages) 65 messages, 10 authors, 2015-03-18

[PATCH v2 16/18] ARM: dts: Introduce STM32F429 MCU

From: mcoquelin.stm32@gmail.com (Maxime Coquelin)
Date: 2015-03-09 16:51:48
Also in: linux-api, linux-arch, linux-devicetree, linux-gpio, linux-serial, lkml

2015-03-09 15:39 GMT+01:00 Linus Walleij [off-list ref]:
On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin
[off-list ref] wrote:
quoted
The STMicrolectornics's STM32F419 MCU has the following main features:
 - Cortex-M4 core running up to @180MHz
 - 2MB internal flash, 256KBytes internal RAM
 - FMC controller to connect SDRAM, NOR and NAND memories
 - SD/MMC/SDIO support
 - Ethernet controller
 - USB OTFG FS & HS controllers
 - I2C, SPI, CAN busses support
 - Several 16 & 32 bits general purpose timers
 - Serial Audio interface
 - LCD controller

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
(...)
quoted
+       soc {
+               usart1: usart at 40011000 {
+                       status = "okay";
+               };
+
+               leds {
+                       compatible = "gpio-leds";
+                       red {
+                               #gpio-cells = <2>;
+                               label = "Front Panel LED";
+                               gpios = <&gpiog 14 0>;
+                               linux,default-trigger = "heartbeat";
+                       };
+                       green {
+                               #gpio-cells = <2>;
+                               gpios = <&gpiog 13 0>;
+                               default-state = "off";
+                       };
+               };
+       };
The LEDs are mounted on the board not the SoC, right?

So move them outside of the soc node, to the top level
of the DTS file.
Yes, you are right.
Andreas already made the same remark, and the top-level move is
already here in the upcoming v3.

Thanks,
Maxime
Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help