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 &gpio0 2 0>, /* A0 */ 14 <1 0 &gpio0 3 0>, /* A1 */ 15 <2 0 &gpio0 4 0>, /* A2 */ 16 <3 0 &gpio0 5 0>, /* A3 */ 17 <4 0 &gpio0 28 0>, /* A4 */ 18 <5 0 &gpio0 29 0>, /* A5 */ 19 <6 0 &gpio0 12 0>, /* SCK */ 20 <7 0 &gpio0 13 0>, /* MOSI */ 21 <8 0 &gpio0 14 0>, /* MISO */ 22 <9 0 &gpio0 8 0>, /* TXD */ 23 <10 0 &gpio0 6 0>, /* RXD */ 24 <11 0 &gpio0 20 0>, /* PIN_DFU */ 25 <12 0 &gpio0 25 0>, /* SDA */ 26 <13 0 &gpio0 26 0>, /* SCL */ 27 <14 0 &gpio0 27 0>, /* P0.27 */ 28 <15 0 &gpio0 30 0>, /* A6 */ 29 <16 0 &gpio0 31 0>, /* A7 (VBAT ADC) */ 30 <17 0 &gpio0 11 0>, /* P0.11 */ 31 <18 0 &gpio0 7 0>, /* P0.07 */ 32 <19 0 &gpio0 15 0>, /* P0.15 */ 33 <20 0 &gpio0 16 0>; /* P0.16 */ 34 }; 35}; 36 37feather_serial: &uart0 {}; 38feather_i2c: &i2c0 {}; 39