/* Copyright 2022 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ / { named-i2c-ports { compatible = "named-i2c-ports"; i2c_power: power { i2c-port = <&i2c0_0>; enum-name = "I2C_PORT_POWER"; }; battery { i2c-port = <&i2c0_0>; remote-port = <0>; enum-name = "I2C_PORT_BATTERY"; }; virtual-battery { i2c-port = <&i2c0_0>; enum-name = "I2C_PORT_VIRTUAL_BATTERY"; }; i2c_charger: charger { i2c-port = <&i2c0_0>; enum-name = "I2C_PORT_CHARGER"; }; i2c_tcpc0: tcpc0 { i2c-port = <&i2c1_0>; enum-name = "I2C_PORT_TCPC0"; }; i2c_tcpc1: tcpc1 { i2c-port = <&i2c2_0>; enum-name = "I2C_PORT_TCPC1"; }; i2c_eeprom: eeprom { i2c-port = <&i2c5_0>; enum-name = "I2C_PORT_EEPROM"; }; i2c_sensor: sensor { i2c-port = <&i2c7_0>; enum-name = "I2C_PORT_SENSOR"; }; accel { i2c-port = <&i2c7_0>; enum-name = "I2C_PORT_ACCEL"; }; }; }; &i2c0_0 { status = "okay"; clock-frequency = ; pinctrl-0 = <&i2c0_0_sda_scl_gpb4_b5>; pinctrl-names = "default"; }; &i2c_ctrl0 { status = "okay"; }; &i2c1_0 { status = "okay"; clock-frequency = ; pinctrl-0 = <&i2c1_0_sda_scl_gp87_90>; pinctrl-names = "default"; }; &i2c_ctrl1 { status = "okay"; }; &i2c2_0 { status = "okay"; clock-frequency = ; pinctrl-0 = <&i2c2_0_sda_scl_gp91_92>; pinctrl-names = "default"; }; &i2c_ctrl2 { status = "okay"; }; &i2c3_0 { /* Not used as no WLC connected */ clock-frequency = ; }; &i2c_ctrl3 { status = "okay"; }; &i2c5_0 { status = "okay"; clock-frequency = ; pinctrl-0 = <&i2c5_0_sda_scl_gp33_36>; pinctrl-names = "default"; }; &i2c_ctrl5 { status = "okay"; }; &i2c7_0 { status = "okay"; clock-frequency = ; pinctrl-0 = <&i2c7_0_sda_scl_gpb2_b3>; pinctrl-names = "default"; }; &i2c_ctrl7 { status = "okay"; };