summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/usbc_herobrine.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/herobrine/usbc_herobrine.dts')
-rw-r--r--zephyr/projects/herobrine/usbc_herobrine.dts69
1 files changed, 15 insertions, 54 deletions
diff --git a/zephyr/projects/herobrine/usbc_herobrine.dts b/zephyr/projects/herobrine/usbc_herobrine.dts
index 153dc44f89..675286ecd7 100644
--- a/zephyr/projects/herobrine/usbc_herobrine.dts
+++ b/zephyr/projects/herobrine/usbc_herobrine.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,31 +11,15 @@
port0@0 {
compatible = "named-usbc-port";
reg = <0>;
- bc12 {
- compatible = "pericom,pi3usb9201";
- status = "okay";
- irq = <&int_usb_c0_bc12>;
- port = <&i2c_power>;
- i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS";
+ bc12 = <&bc12_port0>;
+ ppc = <&ppc_port0>;
+ ppc_alt = <&ppc_port0_alt>;
+ tcpc = <&tcpc_port0>;
+ chg = <&charger>;
+ usb-mux-chain-0 {
+ compatible = "cros-ec,usb-mux-chain";
+ usb-muxes = <&usb_mux_0>;
};
- ppc_port0: ppc {
- compatible = "ti,sn5s330";
- status = "okay";
- port = <&i2c_tcpc0>;
- i2c-addr-flags = "SN5S330_ADDR0_FLAGS";
- };
- tcpc {
- compatible = "parade,ps8xxx";
- status = "okay";
- port = <&i2c_tcpc0>;
- i2c-addr-flags = "PS8XXX_I2C_ADDR1_FLAGS";
- };
- chg {
- compatible = "intersil,isl923x";
- status = "okay";
- port = <&i2c_charger>;
- };
- usb-muxes = <&usb_mux_0>;
};
usb_mux_0: usb-mux-0 {
compatible = "parade,usbc-mux-ps8xxx";
@@ -44,39 +28,16 @@
port1@1 {
compatible = "named-usbc-port";
reg = <1>;
- bc12 {
- compatible = "pericom,pi3usb9201";
- status = "okay";
- irq = <&int_usb_c1_bc12>;
- port = <&i2c_eeprom>;
- i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS";
- };
- ppc {
- compatible = "ti,sn5s330";
- status = "okay";
- port = <&i2c_tcpc1>;
- i2c-addr-flags = "SN5S330_ADDR0_FLAGS";
+ bc12 = <&bc12_port1>;
+ ppc = <&ppc_port1>;
+ tcpc = <&tcpc_port1>;
+ usb-mux-chain-1 {
+ compatible = "cros-ec,usb-mux-chain";
+ usb-muxes = <&usb_mux_1>;
};
- tcpc {
- compatible = "parade,ps8xxx";
- status = "okay";
- port = <&i2c_tcpc1>;
- i2c-addr-flags = "PS8XXX_I2C_ADDR1_FLAGS";
- };
- usb-muxes = <&usb_mux_1>;
};
usb_mux_1: usb-mux-1 {
compatible = "parade,usbc-mux-ps8xxx";
};
};
- usbc-alt-chips {
- ppc_port0_syv: ppc-port0 {
- compatible = "silergy,syv682x";
- status = "okay";
- port = <&i2c_tcpc0>;
- i2c-addr-flags = "SYV682X_ADDR1_FLAGS";
- frs_en_gpio = <&gpio_usb_c0_frs_en>;
- alternate-for = <&ppc_port0>;
- };
- };
};