summaryrefslogtreecommitdiff
path: root/zephyr/projects/herobrine/i2c.dts
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2022-01-24 22:48:02 +0000
committerWai-Hong Tam <waihong@google.com>2022-01-24 23:07:39 +0000
commit418bea4e51a4ccc6a2a86af94661709084955100 (patch)
treecc06c6840fdabbc4e1cbb46ce48f8e6cc8f70c6c /zephyr/projects/herobrine/i2c.dts
parent904c4765b301d32400730478c4fec3ab7fe5287d (diff)
downloadchrome-ec-418bea4e51a4ccc6a2a86af94661709084955100.tar.gz
Revert "herobrine: Remove the project subdirectory herobrine_npcx9"
This reverts commit 185e16b9945674b0ee9087efa421385b0ca9d764. Reason for revert: The herobrine build is broken. Original change's description: > herobrine: Remove the project subdirectory herobrine_npcx9 > > Follow the guidelines in go/zephyr-variants. Make the directory > structure flat, no subdirectory for variant project, so the > common dts and kconfigs can easily be shared. > > BRANCH=None > BUG=b:214613810 > TEST=Built the herobrine_npcx9 project and checked it boot correctly > on the hardware. > > Change-Id: I791b4017826fbf06adaf7dc7f5cc15d55023bbac > Signed-off-by: Wai-Hong Tam <waihong@google.com> > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3390639 > Reviewed-by: Keith Short <keithshort@chromium.org> Bug: b:214613810 Change-Id: Ic612e75d23c22dbe135c15c4f84a31a9bcbcab81 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3413813 Auto-Submit: Wai-Hong Tam <waihong@google.com> Tested-by: Wai-Hong Tam <waihong@google.com> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'zephyr/projects/herobrine/i2c.dts')
-rw-r--r--zephyr/projects/herobrine/i2c.dts152
1 files changed, 0 insertions, 152 deletions
diff --git a/zephyr/projects/herobrine/i2c.dts b/zephyr/projects/herobrine/i2c.dts
deleted file mode 100644
index d8cb226710..0000000000
--- a/zephyr/projects/herobrine/i2c.dts
+++ /dev/null
@@ -1,152 +0,0 @@
-/* Copyright 2021 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/ {
- aliases {
- i2c-0 = &i2c0_0;
- i2c-1 = &i2c1_0;
- i2c-2 = &i2c2_0;
- i2c-3 = &i2c3_0;
- i2c-4 = &i2c4_1;
- i2c-5 = &i2c5_0;
- i2c-7 = &i2c7_0;
- };
-
- named-i2c-ports {
- compatible = "named-i2c-ports";
-
- i2c_power: power {
- i2c-port = <&i2c0_0>;
- enum-name = "I2C_PORT_POWER";
- };
- battery {
- i2c-port = <&i2c0_0>;
- remote-port = <0>;
- enum-name = "I2C_PORT_BATTERY";
- };
- virtual-battery {
- i2c-port = <&i2c0_0>;
- enum-name = "I2C_PORT_VIRTUAL_BATTERY";
- };
- charger {
- i2c-port = <&i2c0_0>;
- enum-name = "I2C_PORT_CHARGER";
- };
- i2c_tcpc0: tcpc0 {
- i2c-port = <&i2c1_0>;
- enum-name = "I2C_PORT_TCPC0";
- };
- i2c_tcpc1: tcpc1 {
- i2c-port = <&i2c2_0>;
- enum-name = "I2C_PORT_TCPC1";
- };
- rtc {
- i2c-port = <&i2c4_1>;
- enum-name = "I2C_PORT_RTC";
- };
- i2c_eeprom: eeprom {
- i2c-port = <&i2c5_0>;
- enum-name = "I2C_PORT_EEPROM";
- };
- i2c_sensor: sensor {
- i2c-port = <&i2c7_0>;
- enum-name = "I2C_PORT_SENSOR";
- };
- accel {
- i2c-port = <&i2c7_0>;
- enum-name = "I2C_PORT_ACCEL";
- };
- };
-
-
-};
-
-&i2c0_0 {
- label = "I2C_POWER";
- status = "okay";
- clock-frequency = <I2C_BITRATE_STANDARD>;
-
- isl9238: isl9238@9 {
- compatible = "intersil,isl9238";
- reg = <0x09>;
- label = "ISL9238_CHARGER";
- };
-};
-
-&i2c_ctrl0 {
- status = "okay";
-};
-
-&i2c1_0 {
- label = "I2C_USB_C0_PD";
- status = "okay";
- /*
- * TODO(b/200280341): PS8805 SPI ROM access
- *
- * The PS8805 supports 1 MHz during normal operation, but only
- * 400 Khz during firmware updates. The I2C passthru commands don't
- * currently support changing the I2C frequency or notifying the EC
- * that a programming operation is going to start. Lower the clock
- * rate to 400 kHz for all accesses.
- */
- clock-frequency = <I2C_BITRATE_FAST>;
-};
-
-&i2c_ctrl1 {
- status = "okay";
-};
-
-&i2c2_0 {
- label = "I2C_USB_C1_PD";
- status = "okay";
- /* TODO(b/200280341): PS8805 SPI ROM access */
- clock-frequency = <I2C_BITRATE_FAST>;
-};
-
-&i2c_ctrl2 {
- status = "okay";
-};
-
-&i2c3_0 {
- /* Not used as no WLC connected */
- clock-frequency = <I2C_BITRATE_FAST>;
-};
-
-&i2c4_1 {
- label = "I2C_RTC";
- status = "okay";
- clock-frequency = <I2C_BITRATE_FAST>;
-
- pcf85063a: pcf85063a@51 {
- compatible = "nxp,rtc-pcf85063a";
- reg = <0x51>;
- label = "RTC_PCF85063A";
- int-gpios = <&gpio_rtc_ec_wake_odl>;
- };
-};
-
-&i2c_ctrl4 {
- status = "okay";
-};
-
-&i2c5_0 {
- label = "I2C_EEPROM";
- status = "okay";
- clock-frequency = <I2C_BITRATE_FAST>;
-};
-
-&i2c_ctrl5 {
- status = "okay";
-};
-
-&i2c7_0 {
- label = "I2C_SENSOR";
- status = "okay";
- clock-frequency = <I2C_BITRATE_FAST>;
-};
-
-&i2c_ctrl7 {
- status = "okay";
-};