summaryrefslogtreecommitdiff
path: root/zephyr/projects
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2022-01-27 15:50:36 -0700
committerCommit Bot <commit-bot@chromium.org>2022-01-28 01:50:46 +0000
commit6dbbd8cfdaab9b946dd013fdfb4568b6ee8c8f04 (patch)
tree2920f58703db5d6b5c0358efb0453e32e6f1d6f8 /zephyr/projects
parent81357f3e3851cdfb7cd40b245e63cfb6212f2a34 (diff)
downloadchrome-ec-6dbbd8cfdaab9b946dd013fdfb4568b6ee8c8f04.tar.gz
Skyrim: Add i2c port labels
Add the i2c port labels so we have nice human-readable options in the command line interface. BRANCH=None BUG=None TEST=on skyrim, scan the i2c ports by name and marvel Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I16ecc83d0e848044cd95ea5fda65914914608832 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3421762 Reviewed-by: Rob Barnes <robbarnes@google.com> Commit-Queue: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'zephyr/projects')
-rw-r--r--zephyr/projects/skyrim/i2c.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/projects/skyrim/i2c.dts b/zephyr/projects/skyrim/i2c.dts
index 0251c962e5..818744ac32 100644
--- a/zephyr/projects/skyrim/i2c.dts
+++ b/zephyr/projects/skyrim/i2c.dts
@@ -64,6 +64,7 @@
&i2c0_0 {
status = "okay";
+ label = "I2C_TCPC0";
clock-frequency = <I2C_BITRATE_FAST>;
};
@@ -73,6 +74,7 @@
&i2c1_0 {
status = "okay";
+ label = "I2C_TCPC1";
clock-frequency = <I2C_BITRATE_FAST>;
};
@@ -82,6 +84,7 @@
&i2c2_0 {
status = "okay";
+ label = "I2C_BATTERY";
clock-frequency = <I2C_BITRATE_STANDARD>;
};
@@ -91,6 +94,7 @@
&i2c3_0 {
status = "okay";
+ label = "I2C_USB_MUX";
clock-frequency = <I2C_BITRATE_FAST>;
};
@@ -100,6 +104,7 @@
&i2c4_1 {
status = "okay";
+ label = "I2C_CHARGER";
clock-frequency = <I2C_BITRATE_FAST>;
};
@@ -109,6 +114,7 @@
&i2c5_0 {
status = "okay";
+ label = "I2C_EEPROM";
clock-frequency = <I2C_BITRATE_FAST>;
cbi_eeprom: eeprom@50 {
@@ -128,6 +134,7 @@
&i2c6_1 {
status = "okay";
+ label = "I2C_SENSOR";
clock-frequency = <I2C_BITRATE_FAST>;
};
@@ -137,6 +144,7 @@
&i2c7_0 {
status = "okay";
+ label = "I2C_THERMAL_AP";
clock-frequency = <I2C_BITRATE_FAST>;
};