1/*
2 * Copyright (c) 2024 STMicroelectronics
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	arduino_header: connector {
9		compatible = "arduino-header-r3";
10		#gpio-cells = <2>;
11		gpio-map-mask = <0xffffffff 0xffffffc0>;
12		gpio-map-pass-thru = <0 0x3f>;
13
14		/* Most pins are not connected to the Arduino
15		 * connector in default hardware configuration.
16		 * Only the connected pins are provided here.
17		 */
18		gpio-map = <14 0 &gpiob 15 0>,  /* D8 */
19			   <16 0 &gpioa 9 0>,	/* D10 */
20			   <17 0 &gpioa 11 0>,	/* D11 */
21			   <18 0 &gpioa 8 0>,	/* D12 */
22			   <19 0 &gpiob 3 0>,	/* D13 */
23			   <20 0 &gpiob 7 0>,	/* D14 */
24			   <21 0 &gpiob 6 0>;	/* D15 */
25	};
26};
27
28arduino_i2c: &i2c1 {};
29arduino_serial: &usart1 {};
30arduino_spi: &spi3 {};
31