1/* 2 * Copyright (c) 2023 Joel Guittet 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 grove_header0: grove_header0 { 8 compatible = "grove-header"; 9 #gpio-cells = <2>; 10 gpio-map-mask = <0xffffffff 0xffffffc0>; 11 gpio-map-pass-thru = <0 0x3f>; 12 gpio-map = <0 0 &portb 8 0>, /* A0/D0 */ 13 <1 0 &portb 9 0>; /* A1/D1 */ 14 }; 15 grove_header1: grove_header1 { 16 compatible = "grove-header"; 17 #gpio-cells = <2>; 18 gpio-map-mask = <0xffffffff 0xffffffc0>; 19 gpio-map-pass-thru = <0 0x3f>; 20 gpio-map = <0 0 &porta 16 0>, /* I2C1_SCL */ 21 <1 0 &porta 17 0>; /* I2C1_SDA */ 22 }; 23}; 24 25grove_i2c1: &sercom3 {}; 26