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