1/* 2 * Copyright (c) 2024 Cypress Semiconductor Corporation. 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 aliases { 8 gy271 = &i2c0; 9 i2c-0 =&i2c0; 10 }; 11}; 12 13i2c0: &scb0 { 14 #address-cells = <1>; 15 #size-cells = <0>; 16 compatible = "infineon,cat1-i2c"; 17 status = "okay"; 18 pinctrl-0 = <&p0_2_scb0_i2c_scl &p0_3_scb0_i2c_sda>; 19 pinctrl-names = "default"; 20}; 21 22/* Configure pin control bias mode for i2c pins */ 23&p0_2_scb0_i2c_scl { 24 drive-open-drain; 25 input-enable; 26}; 27 28&p0_3_scb0_i2c_sda { 29 drive-open-drain; 30 input-enable; 31}; 32