diff options
author | Denis Brockus <dbrockus@google.com> | 2021-04-27 14:11:07 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-13 17:10:59 +0000 |
commit | c326589f9ba1f0b8a3a58020a4421c4ea8e66b6d (patch) | |
tree | 477a2e131545f2d3d1754aeebaf3114850e557c3 /zephyr/projects/asurada/hayato/gpio.dts | |
parent | 87c7879c6848263c56cdc29e6bf53cef1e50e936 (diff) | |
download | chrome-ec-c326589f9ba1f0b8a3a58020a4421c4ea8e66b6d.tar.gz |
zephyr: asurada: Enable I2C
Hold off on merging this until
https://chromium-review.googlesource.com/#/q/2859183 and
https://chromium-review.googlesource.com/#/q/2857993
or their equivalent have been landed by ITE
BUG=b:180980668,b:186673243
BRANCH=none
TEST=i2c shell "i2c scan I2C_0"
Signed-off-by: Denis Brockus <dbrockus@google.com>
Change-Id: I6c8bbe9e6aef1ab24fc25797e379b0e5cf8a070f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2855217
Tested-by: Denis Brockus <dbrockus@chromium.org>
Auto-Submit: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/projects/asurada/hayato/gpio.dts')
-rw-r--r-- | zephyr/projects/asurada/hayato/gpio.dts | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/zephyr/projects/asurada/hayato/gpio.dts b/zephyr/projects/asurada/hayato/gpio.dts index c2d891c0b4..8322058127 100644 --- a/zephyr/projects/asurada/hayato/gpio.dts +++ b/zephyr/projects/asurada/hayato/gpio.dts @@ -197,33 +197,23 @@ enum-name = "GPIO_EN_5V_USM"; label = "EN_5V_USM"; }; - i2c_a_scl { - gpios = <&gpiob 3 GPIO_INPUT>; - enum-name = "GPIO_I2C_A_SCL"; - label = "I2C_A_SCL"; - }; - i2c_a_sda { - gpios = <&gpiob 4 GPIO_INPUT>; - enum-name = "GPIO_I2C_A_SDA"; - label = "I2C_A_SDA"; - }; i2c_b_scl { - gpios = <&gpioc 1 GPIO_INPUT>; + gpios = <&gpiob 3 GPIO_INPUT>; enum-name = "GPIO_I2C_B_SCL"; label = "I2C_B_SCL"; }; i2c_b_sda { - gpios = <&gpioc 2 GPIO_INPUT>; + gpios = <&gpiob 4 GPIO_INPUT>; enum-name = "GPIO_I2C_B_SDA"; label = "I2C_B_SDA"; }; i2c_c_scl { - gpios = <&gpiof 6 GPIO_INPUT>; + gpios = <&gpioc 1 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>; enum-name = "GPIO_I2C_C_SCL"; label = "I2C_C_SCL"; }; i2c_c_sda { - gpios = <&gpiof 7 GPIO_INPUT>; + gpios = <&gpioc 2 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>; enum-name = "GPIO_I2C_C_SDA"; label = "I2C_C_SDA"; }; @@ -237,6 +227,16 @@ enum-name = "GPIO_I2C_E_SDA"; label = "I2C_E_SDA"; }; + i2c_f_scl { + gpios = <&gpiof 6 GPIO_INPUT>; + enum-name = "GPIO_I2C_F_SCL"; + label = "I2C_F_SCL"; + }; + i2c_f_sda { + gpios = <&gpiof 7 GPIO_INPUT>; + enum-name = "GPIO_I2C_F_SDA"; + label = "I2C_F_SDA"; + }; ec_x_gpio1 { gpios = <&gpioh 4 GPIO_OUT_LOW>; enum-name = "GPIO_EC_X_GPIO1"; |