Skip to content

Commit 2ea9ad0

Browse files
committed
devicetree: format files in boards/wemos
Applying dts-linter results for format files in boards/wemos Signed-off-by: Kyle Micallef Bonnici <[email protected]>
1 parent 58bc232 commit 2ea9ad0

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

boards/wemos/esp32s2_lolin_mini/esp32s2_lolin_mini-pinctrl.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
&pinctrl {
1212
uart0_default: uart0_default {
1313
group1 {
14-
pinmux = <UART0_TX_GPIO16>;
1514
output-high;
15+
pinmux = <UART0_TX_GPIO16>;
1616
};
1717

1818
group2 {
19-
pinmux = <UART0_RX_GPIO17>;
2019
bias-pull-up;
20+
pinmux = <UART0_RX_GPIO17>;
2121
};
2222
};
2323
};

boards/wemos/esp32s2_lolin_mini/esp32s2_lolin_mini.dts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
#include <espressif/partitions_0x1000_default.dtsi>
1313

1414
/ {
15-
model = "Wemos ESP32S2-Lolin Mini";
1615
compatible = "espressif,esp32s2";
16+
model = "Wemos ESP32S2-Lolin Mini";
1717

1818
aliases {
19-
sw0 = &user_button;
2019
led0 = &user_led;
20+
sw0 = &user_button;
2121
watchdog0 = &wdt0;
2222
};
2323

2424
chosen {
25-
zephyr,sram = &sram1;
25+
zephyr,code-partition = &slot0_partition;
2626
zephyr,console = &uart0;
27-
zephyr,shell-uart = &uart0;
2827
zephyr,flash = &flash0;
29-
zephyr,code-partition = &slot0_partition;
28+
zephyr,shell-uart = &uart0;
29+
zephyr,sram = &sram1;
3030
};
3131

3232
leds {
@@ -42,8 +42,8 @@
4242
compatible = "gpio-keys";
4343

4444
user_button: user_button {
45-
label = "0";
4645
gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
46+
label = "0";
4747
zephyr,code = <INPUT_KEY_0>;
4848
};
4949
};
@@ -54,10 +54,10 @@
5454
};
5555

5656
&uart0 {
57-
status = "okay";
5857
current-speed = <115200>;
5958
pinctrl-0 = <&uart0_default>;
6059
pinctrl-names = "default";
60+
status = "okay";
6161
};
6262

6363
&gpio0 {

0 commit comments

Comments
 (0)