1/* 2 * Copyright (c) 2021 Titouan Christophe 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6&arduino_i2c { 7 expander1_x_nucleo_53l0a1: stmpe1600@42 { 8 compatible = "st,stmpe1600"; 9 reg = <0x42>; 10 ngpios = <16>; 11 gpio-controller; 12 #gpio-cells = <2>; 13 }; 14 expander2_x_nucleo_53l0a1: stmpe1600@43 { 15 compatible = "st,stmpe1600"; 16 reg = <0x43>; 17 ngpios = <16>; 18 gpio-controller; 19 #gpio-cells = <2>; 20 }; 21 22 /* Center sensor soldered on the shield */ 23 vl53l0x_c_x_nucleo_53l0a1: vl53l0x@30 { 24 compatible = "st,vl53l0x"; 25 reg = <0x30>; 26 xshut-gpios = <&expander1_x_nucleo_53l0a1 15 GPIO_ACTIVE_LOW>; 27 }; 28 29 /* Satellites optional sensors */ 30 vl53l0x_l_x_nucleo_53l0a1: vl53l0x@31 { 31 compatible = "st,vl53l0x"; 32 reg = <0x31>; 33 xshut-gpios = <&expander2_x_nucleo_53l0a1 14 GPIO_ACTIVE_LOW>; 34 }; 35 vl53l0x_r_x_nucleo_53l0a1: vl53l0x@32 { 36 compatible = "st,vl53l0x"; 37 reg = <0x32>; 38 xshut-gpios = <&expander2_x_nucleo_53l0a1 15 GPIO_ACTIVE_LOW>; 39 }; 40}; 41