diff options
Diffstat (limited to 'zephyr/projects/corsola/usbc_krabby.dts')
-rw-r--r-- | zephyr/projects/corsola/usbc_krabby.dts | 71 |
1 files changed, 27 insertions, 44 deletions
diff --git a/zephyr/projects/corsola/usbc_krabby.dts b/zephyr/projects/corsola/usbc_krabby.dts index 2156782dbc..a72864da35 100644 --- a/zephyr/projects/corsola/usbc_krabby.dts +++ b/zephyr/projects/corsola/usbc_krabby.dts @@ -1,4 +1,4 @@ -/* Copyright 2021 The Chromium OS Authors. All rights reserved. +/* Copyright 2021 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -11,32 +11,16 @@ port0@0 { compatible = "named-usbc-port"; reg = <0>; - bc12 { - compatible = "richtek,rt1739-bc12"; - status = "okay"; + bc12 = <&bc12_ppc_port0>; + ppc = <&bc12_ppc_port0>; + tcpc = <&usbpd0>; + chg = <&charger>; + usb-mux-chain-0 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&it5205_mux_0 &virtual_mux_0>; }; - ppc { - compatible = "richtek,rt1739-ppc"; - status = "okay"; - port = <&i2c_usb_c0>; - i2c-addr-flags = "RT1739_ADDR1_FLAGS"; - }; - tcpc { - compatible = "ite,it8xxx2-tcpc"; - }; - chg { - compatible = "richtek,rt9490"; - status = "okay"; - port = <&i2c_charger>; - }; - usb-muxes = <&it5205_mux_0 &virtual_mux_0>; }; port0-muxes { - it5205_mux_0: it5205-mux-0 { - compatible = "ite,it5205"; - port = <&i2c_usb_mux0>; - i2c-addr-flags = "IT5205_I2C_ADDR1_FLAGS"; - }; virtual_mux_0: virtual-mux-0 { compatible = "cros-ec,usbc-mux-virtual"; }; @@ -45,32 +29,31 @@ port1@1 { compatible = "named-usbc-port"; reg = <1>; - bc12 { - compatible = "richtek,rt9490-bc12"; - status = "okay"; - irq = <&int_usb_c1_bc12_charger>; - }; - ppc { - compatible = "silergy,syv682x"; - status = "okay"; - port = <&i2c_usb_c1>; - i2c-addr-flags = "SYV682X_ADDR0_FLAGS"; - frs_en_gpio = <&gpio_ec_x_gpio1>; - }; - tcpc { - compatible = "ite,it8xxx2-tcpc"; + bc12 = <&bc12_port1>; + ppc = <&ppc_port1>; + tcpc = <&usbpd1>; + usb-mux-chain-1 { + compatible = "cros-ec,usb-mux-chain"; + usb-muxes = <&tusb1064_mux_1 &virtual_mux_1>; + }; + usb_mux_chain_1_hdmi_db: usb-mux-chain-1-hdmi-db { + compatible = "cros-ec,usb-mux-chain"; + alternative-chain; + usb-muxes = <&virtual_mux_1>; }; - usb-muxes = <&tusb1064_mux_1 &virtual_mux_1>; }; port1-muxes { - tusb1064_mux_1: tusb1064-mux-1 { - compatible = "ti,tusb1064"; - port = <&i2c_usb_mux1>; - i2c-addr-flags = "TUSB1064_I2C_ADDR0_FLAGS"; - }; virtual_mux_1: virtual-mux-1 { compatible = "cros-ec,usbc-mux-virtual"; }; }; }; }; + +&usbpd0 { + status = "okay"; +}; + +&usbpd1 { + status = "okay"; +}; |