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