/* 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. */ / { usbc { #address-cells = <1>; #size-cells = <0>; port0@0 { compatible = "named-usbc-port"; reg = <0>; bc12 { compatible = "pericom,pi3usb9201"; status = "okay"; irq = <&int_usb_c0_bc12>; port = <&c0_c2_bc12>; i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS"; }; tcpc { compatible = "nuvoton,nct38xx"; gpio-dev = <&nct3808_0_P1>; }; chg { compatible = "ti,bq25710"; status = "okay"; port = <&i2c_charger>; }; }; port1@1 { compatible = "named-usbc-port"; reg = <1>; bc12 { compatible = "pericom,pi3usb9201"; status = "okay"; irq = <&int_usb_c1_bc12>; port = <&c1_bc12>; i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS"; }; }; port2@2 { compatible = "named-usbc-port"; reg = <2>; bc12 { compatible = "pericom,pi3usb9201"; status = "okay"; irq = <&int_usb_c2_bc12>; port = <&c0_c2_bc12>; i2c-addr-flags = "PI3USB9201_I2C_ADDR_1_FLAGS"; }; tcpc { compatible = "nuvoton,nct38xx"; gpio-dev = <&nct3808_0_P2>; }; }; }; };