diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2022-03-29 14:49:06 +0200 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-01 15:30:58 +0000 |
commit | 8696c39d7711648b8904c92a4ac3318bdb254b42 (patch) | |
tree | a5f40dcddbe4c937043fec794e8f1c33e1a07378 /zephyr/projects/corsola/usbc_krabby.dts | |
parent | 352d28367002d6d04c26ba075a8a552be204be0a (diff) | |
download | chrome-ec-8696c39d7711648b8904c92a4ac3318bdb254b42.tar.gz |
zephyr: replace named-usbc-ports with named-usbc-port
Use "named-usbc-port" compatible for every port node instead of
"named-usbc-ports" the usbc parent node. The change should allow
counting ports based on "named-usbc-port" nodes number.
BUG=b:176237074
TEST=zmake testall
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: Ic2c3440715156580b485f7a41a089874656d3565
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3557849
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/corsola/usbc_krabby.dts')
-rw-r--r-- | zephyr/projects/corsola/usbc_krabby.dts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/zephyr/projects/corsola/usbc_krabby.dts b/zephyr/projects/corsola/usbc_krabby.dts index 1a6ec75134..7ee4d2b8a5 100644 --- a/zephyr/projects/corsola/usbc_krabby.dts +++ b/zephyr/projects/corsola/usbc_krabby.dts @@ -5,10 +5,11 @@ / { usbc { - compatible = "named-usbc-ports"; #address-cells = <1>; #size-cells = <0>; - port0: usbc-port@0 { + + port0@0 { + compatible = "named-usbc-port"; reg = <0>; bc12 { compatible = "richtek,rt1739-bc12"; @@ -25,7 +26,8 @@ }; }; - port1: usbc-port@1 { + port1@1 { + compatible = "named-usbc-port"; reg = <1>; bc12 { compatible = "richtek,rt9490-bc12"; |