1/* 2 * Copyright (c) 2020 Richard Osterloh <richard.osterloh@gmail.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 feather_header: connector { 9 compatible = "adafruit-feather-header"; 10 #gpio-cells = <2>; 11 gpio-map-mask = <0xffffffff 0xffffffc0>; 12 gpio-map-pass-thru = <0 0x3f>; 13 gpio-map = <0 0 &gpioa 4 0>, /* A0 */ 14 <1 0 &gpioa 5 0>, /* A1 */ 15 <2 0 &gpioa 6 0>, /* A2 */ 16 <3 0 &gpioa 7 0>, /* A3 */ 17 <4 0 &gpioc 4 0>, /* A4 */ 18 <5 0 &gpioc 5 0>, /* A5 */ 19 <6 0 &gpiob 13 0>, /* SCK */ 20 <7 0 &gpiob 15 0>, /* MOSI */ 21 <8 0 &gpiob 14 0>, /* MISO */ 22 <9 0 &gpiob 11 0>, /* RX */ 23 <10 0 &gpiob 10 0>, /* TX */ 24 <11 0 &gpioa 8 0>, /* B0 (NC) */ 25 <12 0 &gpiob 7 0>, /* SDA */ 26 <13 0 &gpiob 6 0>, /* SCL */ 27 <14 0 &gpioc 7 0>, /* D5 */ 28 <15 0 &gpioc 6 0>, /* D6 */ 29 <16 0 &gpiob 8 0>, /* D9 */ 30 <17 0 &gpiob 9 0>, /* D10 */ 31 <18 0 &gpioc 3 0>, /* D11 */ 32 <19 0 &gpioc 2 0>, /* D12 */ 33 <20 0 &gpioc 1 0>; /* D13 */ 34 }; 35}; 36 37feather_serial: &usart3 {}; 38feather_i2c: &i2c1 {}; 39feather_spi: &spi2 {}; 40