1/* 2 * Copyright (c) 2023 Seeed Studio inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 xiao_d: connector { 9 compatible = "seeed,xiao-gpio"; 10 #gpio-cells = <2>; 11 gpio-map-mask = <0xffffffff 0xffffffc0>; 12 gpio-map-pass-thru = <0 0x3f>; 13 gpio-map = <0 0 &gpio0 1 0>, /* D0 */ 14 <1 0 &gpio0 2 0>, /* D1 */ 15 <2 0 &gpio0 3 0>, /* D2 */ 16 <3 0 &gpio0 4 0>, /* D3 */ 17 <4 0 &gpio0 5 0>, /* D4 */ 18 <5 0 &gpio0 6 0>, /* D5 */ 19 <6 0 &gpio0 43 0>, /* D6 */ 20 <7 0 &gpio0 44 0>, /* D7 */ 21 <8 0 &gpio0 7 0>, /* D8 */ 22 <9 0 &gpio0 8 0>, /* D9 */ 23 <10 0 &gpio0 9 0>; /* D10 */ 24 }; 25}; 26 27xiao_spi: &spi2 {}; 28xiao_i2c: &i2c0 {}; 29xiao_serial: &uart0 {}; 30