diff options
Diffstat (limited to 'zephyr/test/drivers/isl9241/usbc.dts')
-rw-r--r-- | zephyr/test/drivers/isl9241/usbc.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/zephyr/test/drivers/isl9241/usbc.dts b/zephyr/test/drivers/isl9241/usbc.dts new file mode 100644 index 0000000000..94ddccb7d3 --- /dev/null +++ b/zephyr/test/drivers/isl9241/usbc.dts @@ -0,0 +1,27 @@ +/* Copyright 2023 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 { + port0@0 { + compatible = "named-usbc-port"; + chg = <&isl9241_emul>; + }; + }; +}; + +&i2c0 { + status="okay"; + + /delete-node/ isl923x@9; + + isl9241_emul: isl9241_emul@9 { + compatible = "intersil,isl9241"; + status = "okay"; + reg = <0x9>; + }; +}; |