Skip to content

Commit c4b6abe

Browse files
committed
boards: adafruit: esp32s2_feather: add support
add support for esp32s2_feather boards Signed-off-by: Philipp Steiner <[email protected]>
2 parents d9aab69 + 95179b2 commit c4b6abe

File tree

87 files changed

+1552
-611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1552
-611
lines changed

boards/arduino/nano_33_ble/arduino_nano_33_ble_nrf52840_sense.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
identifier: arduino_nano_33_ble//sense
1+
identifier: arduino_nano_33_ble/nrf52840/sense
22
name: Arduino Nano 33 BLE Sense
33
type: mcu
44
arch: arm

boards/arduino/nano_33_ble/arduino_nano_r3_connector.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<4 0 &gpio1 15 0>, /* D4 */
1717
<5 0 &gpio1 13 0>, /* D5 */
1818
<6 0 &gpio1 14 0>, /* D6 */
19-
<7 0 &gpio0 9 0>, /* D7 */
20-
<8 0 &gpio0 10 0>, /* D8 */
19+
<7 0 &gpio0 23 0>, /* D7 */
20+
<8 0 &gpio0 21 0>, /* D8 */
2121
<9 0 &gpio0 27 0>, /* D9 */
2222
<10 0 &gpio1 2 0>, /* D10 */
2323
<11 0 &gpio1 1 0>, /* D11 / SPI-MOSI */
@@ -27,10 +27,10 @@
2727
<15 0 &gpio0 5 0>, /* D15 / A1 */
2828
<16 0 &gpio0 30 0>, /* D16 / A2 */
2929
<17 0 &gpio0 29 0>, /* D17 / A3 */
30-
<18 0 &gpio0 14 0>, /* D18 / A4 / I2C-SDA */
31-
<19 0 &gpio0 15 0>, /* D19 / A5 / I2C-SCL */
30+
<18 0 &gpio0 31 0>, /* D18 / A4 / I2C-SDA */
31+
<19 0 &gpio0 2 0>, /* D19 / A5 / I2C-SCL */
3232
<20 0 &gpio0 28 0>, /* D20 / A6 */
33-
<21 0 &gpio1 3 0>; /* D21 / A7 */
33+
<21 0 &gpio0 3 0>; /* D21 / A7 */
3434
};
3535
};
3636

boards/arduino/nano_33_ble/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static int board_init(void)
2929
return res;
3030
}
3131

32-
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_INACTIVE);
32+
return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_HIGH);
3333
}
3434

3535
SYS_INIT(board_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);

boards/atmel/sam0/samc21n_xpro/samc21n_xpro.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2022 Kamil Serwus
3+
# Copyright (c) 2024-2025 Gerson Fernando Budke <[email protected]>
34
*
45
* SPDX-License-Identifier: Apache-2.0
56
*/
@@ -82,6 +83,14 @@
8283
pinctrl-names = "default";
8384
};
8485

86+
&rtc {
87+
status = "okay";
88+
counter-mode = "clock";
89+
prescaler = <1024>;
90+
91+
atmel,assigned-clocks = <&osc32kctrl 4>;
92+
};
93+
8594
&sercom0 {
8695
status = "okay";
8796
compatible = "atmel,sam0-uart";

boards/atmel/sam0/samc21n_xpro/samc21n_xpro.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright (c) 2022 Kamil Serwus
2-
# Copyright (c) 2024 Gerson Fernando Budke <[email protected]>
2+
# Copyright (c) 2024-2025 Gerson Fernando Budke <[email protected]>
33
# SPDX-License-Identifier: Apache-2.0
44
identifier: samc21n_xpro
55
name: SAM C21N Xplained Pro
@@ -17,6 +17,7 @@ supported:
1717
- gpio
1818
- i2c
1919
- pwm
20+
- rtc
2021
- spi
2122
- uart
2223
vendor: atmel

boards/atmel/sam0/samd20_xpro/samd20_xpro.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2018 Sean Nyekjaer
3+
# Copyright (c) 2024-2025 Gerson Fernando Budke <[email protected]>
34
*
45
* SPDX-License-Identifier: Apache-2.0
56
*/
@@ -51,6 +52,12 @@
5152
clock-frequency = <DT_FREQ_M(48)>;
5253
};
5354

55+
&rtc {
56+
status = "okay";
57+
counter-mode = "clock";
58+
prescaler = <1024>;
59+
};
60+
5461
&sercom0 {
5562
status = "okay";
5663
compatible = "atmel,sam0-spi";

boards/atmel/sam0/samd20_xpro/samd20_xpro.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2024 Gerson Fernando Budke <[email protected]>
1+
# Copyright (c) 2024-2025 Gerson Fernando Budke <[email protected]>
22
# SPDX-License-Identifier: Apache-2.0
33

44
identifier: samd20_xpro
@@ -14,6 +14,7 @@ supported:
1414
- flash
1515
- gpio
1616
- i2c
17+
- rtc
1718
- spi
1819
- uart
1920
- watchdog

boards/atmel/sam0/samd21_xpro/samd21_xpro.dts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (c) 2018 Bryan O'Donoghue
3-
* Copyright (c) 2024 Gerson Fernando Budke <[email protected]>
3+
# Copyright (c) 2024-2025 Gerson Fernando Budke <[email protected]>
44
*
55
* SPDX-License-Identifier: Apache-2.0
66
*/
@@ -71,6 +71,12 @@
7171
pinctrl-names = "default";
7272
};
7373

74+
&rtc {
75+
status = "okay";
76+
counter-mode = "clock";
77+
prescaler = <1024>;
78+
};
79+
7480
&sercom0 {
7581
status = "okay";
7682
compatible = "atmel,sam0-uart";

boards/atmel/sam0/samd21_xpro/samd21_xpro.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright (c) 2018 Bryan O'Donoghue
2-
# Copyright (c) 2024 Gerson Fernando Budke <[email protected]>
2+
# Copyright (c) 2024-2025 Gerson Fernando Budke <[email protected]>
33
# SPDX-License-Identifier: Apache-2.0
44

55
identifier: samd21_xpro
@@ -17,6 +17,7 @@ supported:
1717
- gpio
1818
- i2c
1919
- pwm
20+
- rtc
2021
- spi
2122
- uart
2223
- usb_device

boards/atmel/sam0/same54_xpro/same54_xpro.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2019 Benjamin Valentin
3+
# Copyright (c) 2024-2025 Gerson Fernando Budke <[email protected]>
34
*
45
* SPDX-License-Identifier: Apache-2.0
56
*/
@@ -68,6 +69,14 @@
6869
pinctrl-names = "default";
6970
};
7071

72+
&rtc {
73+
status = "okay";
74+
counter-mode = "clock";
75+
prescaler = <1024>;
76+
77+
atmel,assigned-clocks = <&osc32kctrl 4>;
78+
};
79+
7180
&sercom2 {
7281
status = "okay";
7382
compatible = "atmel,sam0-uart";

0 commit comments

Comments
 (0)