summaryrefslogtreecommitdiff
path: root/zephyr/dts/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/dts/bindings')
-rw-r--r--zephyr/dts/bindings/gpio/gpio-enum-name.yaml10
-rw-r--r--zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml11
2 files changed, 21 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/gpio/gpio-enum-name.yaml b/zephyr/dts/bindings/gpio/gpio-enum-name.yaml
index 33ba278d53..321e0a62e3 100644
--- a/zephyr/dts/bindings/gpio/gpio-enum-name.yaml
+++ b/zephyr/dts/bindings/gpio/gpio-enum-name.yaml
@@ -23,6 +23,16 @@ properties:
- GPIO_EC_BATT_PRES_ODL
- GPIO_EC_I2C0_SENSOR_SCL
- GPIO_EC_I2C0_SENSOR_SDA
+ - GPIO_EC_I2C1_USB_C0_SCL
+ - GPIO_EC_I2C1_USB_C0_SDA
+ - GPIO_EC_I2C2_USB_C1_SCL
+ - GPIO_EC_I2C2_USB_C1_SDA
+ - GPIO_EC_I2C3_USB_1_MIX_SCL
+ - GPIO_EC_I2C3_USB_1_MIX_SDA
+ - GPIO_EC_I2C5_BATTERY_SCL
+ - GPIO_EC_I2C5_BATTERY_SDA
+ - GPIO_EC_I2C7_EEPROM_PWR_SCL_R
+ - GPIO_EC_I2C7_EEPROM_PWR_SDA_R
- GPIO_EC_IMU_INT_L
- GPIO_EC_INT_L
- GPIO_EC_PCH_SYS_PWROK
diff --git a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml b/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml
index 49d9ee53c4..eb6b572569 100644
--- a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml
+++ b/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml
@@ -32,3 +32,14 @@ properties:
description:
Human readable string describing the device (used as device_get_binding()
argument).
+
+child-binding:
+ description: Optional configuration bindings
+ properties:
+ frequency:
+ type: int
+ required: true
+ description: Transfer data rate in kHz
+ child-binding:
+ description: SCL and SDA configurations
+ include: gpio-enum-name.yaml