summaryrefslogtreecommitdiff
path: root/zephyr/projects/skyrim/usbc.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/skyrim/usbc.dts')
-rw-r--r--zephyr/projects/skyrim/usbc.dts46
1 files changed, 8 insertions, 38 deletions
diff --git a/zephyr/projects/skyrim/usbc.dts b/zephyr/projects/skyrim/usbc.dts
index c7e85ceb5f..8486927e8d 100644
--- a/zephyr/projects/skyrim/usbc.dts
+++ b/zephyr/projects/skyrim/usbc.dts
@@ -1,56 +1,26 @@
-/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
- #include <dt-bindings/usb_pd_tcpm.h>
-
/ {
usbc {
#address-cells = <1>;
#size-cells = <0>;
- port0@0 {
+ usbc_port0: port0@0 {
compatible = "named-usbc-port";
reg = <0>;
- bc12 {
- compatible = "pericom,pi3usb9201";
- status = "okay";
- irq = <&int_usb_c0_bc12>;
- port = <&i2c_tcpc0>;
- i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS";
- };
- tcpc {
- compatible = "nuvoton,nct38xx";
- gpio-dev = <&nct3807_C0>;
- port = <&i2c_tcpc0>;
- i2c-addr-flags = "NCT38XX_I2C_ADDR1_1_FLAGS";
- tcpc-flags = <(TCPC_FLAGS_TCPCI_REV2_0)>;
- };
- chg {
- compatible = "intersil,isl9241";
- status = "okay";
- port = <&i2c_charger>;
- };
+ bc12 = <&bc12_port0>;
+ tcpc = <&tcpc_port0>;
+ chg = <&charger>;
};
- port1@1 {
+ usbc_port1: port1@1 {
compatible = "named-usbc-port";
reg = <1>;
- bc12 {
- compatible = "pericom,pi3usb9201";
- status = "okay";
- irq = <&int_usb_c1_bc12>;
- port = <&i2c_tcpc1>;
- i2c-addr-flags = "PI3USB9201_I2C_ADDR_3_FLAGS";
- };
- tcpc {
- compatible = "nuvoton,nct38xx";
- gpio-dev = <&nct3807_C1>;
- port = <&i2c_tcpc1>;
- i2c-addr-flags = "NCT38XX_I2C_ADDR1_1_FLAGS";
- tcpc-flags = <(TCPC_FLAGS_TCPCI_REV2_0)>;
- };
+ bc12 = <&bc12_port1>;
+ tcpc = <&tcpc_port1>;
};
};
};