summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/rt9490/charger.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/rt9490/charger.dts')
-rw-r--r--zephyr/test/drivers/rt9490/charger.dts13
1 files changed, 9 insertions, 4 deletions
diff --git a/zephyr/test/drivers/rt9490/charger.dts b/zephyr/test/drivers/rt9490/charger.dts
index 4d4a2a4f35..5a3815490f 100644
--- a/zephyr/test/drivers/rt9490/charger.dts
+++ b/zephyr/test/drivers/rt9490/charger.dts
@@ -4,21 +4,26 @@
compatible = "named-usbc-port";
reg = <0>;
chg = <&rt9490>;
- bc12 = <&rt9490>;
+ bc12 = <&rt9490_bc12>;
tcpc = <&tcpci_emul>;
};
port1@1 {
- bc12 = <&rt9490>;
+ bc12 = <&rt9490_bc12>;
};
};
+
+ rt9490_bc12: rt9490-bc12 {
+ compatible = "richtek,rt9490-bc12";
+ status = "okay";
+ };
};
&i2c0 {
- status = "okay";
+ status="okay";
rt9490: rt9490@53 {
- compatible = "zephyr,rt9490-emul", "richtek,rt9490";
+ compatible = "zephyr,rt9490-emul";
status = "okay";
reg = <0x53>;
};