1/* 2 * Copyright (c) 2025 Andreas Klinger 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&pinctrl { 8 i2c2_sda_pf0: i2c2_sda_pf0 { 9 pinmux = < 0xa04 >; 10 bias-pull-up; 11 drive-open-drain; 12 }; 13 i2c2_scl_pf1: i2c2_scl_pf1 { 14 pinmux = < 0xa24 >; 15 bias-pull-up; 16 drive-open-drain; 17 }; 18}; 19 20&i2c2 { 21 pinctrl-0 = < &i2c2_scl_pf1 &i2c2_sda_pf0 >; 22 pinctrl-names = "default"; 23 status = "okay"; 24 light: light@29 { 25 compatible = "vishay,veml6031"; 26 reg = <0x29>; 27 }; 28}; 29