summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-01-26 11:27:03 +1100
committerCommit Bot <commit-bot@chromium.org>2022-02-01 06:34:55 +0000
commitbbfb707f04d3b4c7cd503afb936ecb05ae526731 (patch)
tree425c62d9dc5904b1605088375b1aca4c0b1d51d1
parent92d4008f05667a989ac523a3385d3ea7cb08b36a (diff)
downloadchrome-ec-bbfb707f04d3b4c7cd503afb936ecb05ae526731.tar.gz
zephyr: Fix named-gpios et al to drop #gpio-cells
The #gpio-cells property is only required when the referenced node is a GPIO controller. named-gpios is not a GPIO controller, and cannot be used as a GPIO reference. DTS and code can refer to named-gpios directly, and then retrieve the GPIO from the named-gpio gpios property. Also rename irq-gpio to irq-pin so that DTS does not complain about missing #gpio-cells. BUG=b:216402316 TEST=zmake testall BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Cq-Depend: chromium:3418800, chromium:3418799, chromium:3423294 Change-Id: Ifdea8662647c092950962d3b6b0f32acda23aa5a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3412626 Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r--zephyr/dts/bindings/gpio/named-gpios.yaml9
-rw-r--r--zephyr/projects/asurada/hayato/gpio.dts16
-rw-r--r--zephyr/projects/brya/brya/gpio.dts29
-rw-r--r--zephyr/projects/corsola/gpio_kingler.dts17
-rw-r--r--zephyr/projects/corsola/gpio_krabby.dts15
-rw-r--r--zephyr/projects/herobrine/gpio.dts21
-rw-r--r--zephyr/projects/nissa/nereid_generated.dts53
-rw-r--r--zephyr/projects/nissa/nereid_overlay.dts5
-rw-r--r--zephyr/projects/nissa/nivviks_generated.dts50
-rw-r--r--zephyr/projects/nissa/nivviks_overlay.dts5
-rw-r--r--zephyr/projects/npcx_evb/npcx7/gpio.dts3
-rw-r--r--zephyr/projects/npcx_evb/npcx9/gpio.dts3
-rw-r--r--zephyr/projects/skyrim/gpio.dts13
-rw-r--r--zephyr/projects/skyrim/guybrush.dts7
-rw-r--r--zephyr/projects/skyrim/skyrim.dts5
-rw-r--r--zephyr/projects/trogdor/lazor/gpio.dts24
-rw-r--r--zephyr/projects/trogdor/trogdor/gpio.dts22
-rw-r--r--zephyr/projects/volteer/delbin/gpio.dts13
-rw-r--r--zephyr/projects/volteer/volteer/cbi_eeprom.dts2
-rw-r--r--zephyr/projects/volteer/volteer/gpio.dts31
-rw-r--r--zephyr/test/drivers/overlay.dts2
21 files changed, 6 insertions, 339 deletions
diff --git a/zephyr/dts/bindings/gpio/named-gpios.yaml b/zephyr/dts/bindings/gpio/named-gpios.yaml
index 360e15fd9b..02415ad69d 100644
--- a/zephyr/dts/bindings/gpio/named-gpios.yaml
+++ b/zephyr/dts/bindings/gpio/named-gpios.yaml
@@ -6,13 +6,14 @@ child-binding:
description: Named GPIOs child node
include: gpio-enum-name.yaml
properties:
+ #
+ # Must name this property [..-]gpios which
+ # is treated specially (looks for #gpio-cells
+ # in referenced node so that cell properties can
+ # be specified).
gpios:
type: phandle-array
required: true
- "#gpio-cells":
- type: int
- required: false
- const: 0
no-auto-init:
description:
When set, the GPIO is not initialised, and can be
diff --git a/zephyr/projects/asurada/hayato/gpio.dts b/zephyr/projects/asurada/hayato/gpio.dts
index 865eefaec2..af725dfabe 100644
--- a/zephyr/projects/asurada/hayato/gpio.dts
+++ b/zephyr/projects/asurada/hayato/gpio.dts
@@ -8,56 +8,46 @@
compatible = "named-gpios";
power_button_l: power_button_l {
- #gpio-cells = <0>;
gpios = <&gpioe 4 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_POWER_BUTTON_L";
};
lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpioj 7 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
gpio_ap_ec_warm_rst_req: ap_ec_warm_rst_req {
- #gpio-cells = <0>;
gpios = <&gpiod 3 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_AP_EC_WARM_RST_REQ";
};
ap_ec_watchdog_l: ap_ec_watchdog_l {
- #gpio-cells = <0>;
gpios = <&gpioc 7 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_EC_WATCHDOG_L";
};
ap_in_sleep_l: ap_in_sleep_l {
- #gpio-cells = <0>;
gpios = <&gpiof 2 (GPIO_INPUT_PULL_DOWN |
GPIO_VOLTAGE_1P8 | GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_IN_SLEEP_L";
};
gpio_ap_xhci_init_done: ap_xhci_init_done {
- #gpio-cells = <0>;
gpios = <&gpiod 2 (GPIO_INPUT_PULL_DOWN |
GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_AP_XHCI_INIT_DONE";
};
pmic_ec_pwrgd: pmic_ec_pwrgd {
- #gpio-cells = <0>;
gpios = <&gpiof 3 (GPIO_INPUT_PULL_DOWN |
GPIO_VOLTAGE_1P8 | GPIO_ACTIVE_HIGH)>;
enum-name = "GPIO_PMIC_EC_PWRGD";
};
gpio_accel_gyro_int_l: base_imu_int_l {
- #gpio-cells = <0>;
gpios = <&gpioj 2 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_EC_IMU_INT_L";
};
gpio_lid_accel_int_l: lid_accel_int_l {
- #gpio-cells = <0>;
gpios = <&gpioj 3 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_LID_ACCEL_INT_L";
};
@@ -66,17 +56,14 @@
enum-name = "GPIO_ALS_RGB_INT_ODL";
};
gpio_usb_c0_ppc_int_odl: usb_c0_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 1 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PPC_INT_ODL";
};
gpio_usb_c0_bc12_int_odl: usb_c0_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioj 6 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_BC12_INT_ODL";
};
gpio_usb_c1_bc12_int_l: usb_c1_bc12_int_l {
- #gpio-cells = <0>;
gpios = <&gpioj 4 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_BC12_INT_L";
};
@@ -89,7 +76,6 @@
enum-name = "GPIO_VOLUME_UP_L";
};
ac_present: ac_present {
- #gpio-cells = <0>;
gpios = <&gpioe 5 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
@@ -98,11 +84,9 @@
enum-name = "GPIO_WP";
};
gpio_spi0_cs: spi0_cs {
- #gpio-cells = <0>;
gpios = <&gpiom 5 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
};
gpio_x_ec_gpio2: x_ec_gpio2 {
- #gpio-cells = <0>;
gpios = <&gpiob 2 GPIO_ODR_HIGH>;
enum-name = "GPIO_X_EC_GPIO2";
};
diff --git a/zephyr/projects/brya/brya/gpio.dts b/zephyr/projects/brya/brya/gpio.dts
index 31e17c518b..f60c714899 100644
--- a/zephyr/projects/brya/brya/gpio.dts
+++ b/zephyr/projects/brya/brya/gpio.dts
@@ -8,17 +8,14 @@
compatible = "named-gpios";
lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gsc_ec_pwr_btn_odl: gsc_ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_ec_wp_l: ec_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 1 GPIO_INPUT>;
enum-name = "GPIO_WP_L";
};
@@ -123,27 +120,22 @@
enum-name = "GPIO_PACKET_MODE_EN";
};
gpio_ec_accel_int_l: ec_accel_int_l {
- #gpio-cells = <0>;
gpios = <&gpio8 1 GPIO_INPUT>;
enum-name = "GPIO_EC_ACCEL_INT";
};
gpio_ec_imu_int_l: gpio_ec_imu_int_l {
- #gpio-cells = <0>;
gpios = <&gpio5 6 GPIO_INPUT>;
enum-name = "GPIO_EC_IMU_INT_L";
};
gpio_ec_als_rgb_int_l: gpio_ec_als_rgb_int_l {
- #gpio-cells = <0>;
gpios = <&gpiod 4 GPIO_INPUT>;
enum-name = "GPIO_EC_ALS_RGB_INT_L";
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpio9 5 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
acok_od: acok_od {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
@@ -160,7 +152,6 @@
enum-name = "GPIO_EC_INT_L";
};
gpio_pg_ec_dsw_pwrok: pg_ec_dsw_pwrok {
- #gpio-cells = <0>;
gpios = <&gpioc 7 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_DSW_PWROK";
};
@@ -173,7 +164,6 @@
enum-name = "GPIO_SYS_RESET_L";
};
gpio_pg_ec_rsmrst_odl: pg_ec_rsmrst_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_RSMRST_ODL";
};
@@ -182,17 +172,14 @@
enum-name = "GPIO_PCH_RSMRST_L";
};
gpio_pg_ec_all_sys_pwrgd: pg_ec_all_sys_pwrgd {
- #gpio-cells = <0>;
gpios = <&gpiof 4 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_ALL_SYS_PWRGD";
};
gpio_slp_s0_l: slp_s0_l {
- #gpio-cells = <0>;
gpios = <&gpiod 5 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S0_L";
};
gpio_slp_s3_l: slp_s3_l {
- #gpio-cells = <0>;
gpios = <&gpioa 5 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S3_L";
};
@@ -209,7 +196,6 @@
enum-name = "GPIO_PCH_PWRBTN_L";
};
gpio_slp_sus_l: slp_sus_l {
- #gpio-cells = <0>;
gpios = <&gpiof 1 GPIO_INPUT>;
enum-name = "GPIO_SLP_SUS_L";
};
@@ -230,7 +216,6 @@
enum-name = "GPIO_ENABLE_BACKLIGHT";
};
gpio_ec_prochot_in_l: ec_prochot_in_l {
- #gpio-cells = <0>;
gpios = <&gpiof 0 GPIO_INPUT>;
enum-name = "GPIO_EC_PROCHOT_IN_L";
};
@@ -239,52 +224,42 @@
enum-name = "GPIO_EN_PP5000_FAN";
};
gpio_ec_voldn_btn_odl: ec_voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 3 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_ec_volup_btn_odl: ec_volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 7 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
gpio_usb_c0_c2_tcpc_int_odl: usb_c0_c2_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_C2_TCPC_INT_ODL";
};
gpio_usb_c1_tcpc_int_odl: usb_c1_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 2 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_TCPC_INT_ODL";
};
gpio_usb_c0_ppc_int_odl: usb_c0_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio6 2 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PPC_INT_ODL";
};
gpio_usb_c1_ppc_int_odl: usb_c1_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 5 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_PPC_INT_ODL";
};
gpio_usb_c2_ppc_int_odl: usb_c2_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio7 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C2_PPC_INT_ODL";
};
gpio_usb_c0_bc12_int_odl: usb_c0_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioc 6 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_BC12_INT_ODL";
};
gpio_usb_c1_bc12_int_odl: usb_c1_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio5 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_BC12_INT_ODL";
};
gpio_usb_c2_bc12_int_odl: usb_c2_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio8 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C2_BC12_INT_ODL";
};
@@ -317,12 +292,10 @@
enum-name = "GPIO_USB_C2_INT_ODL";
};
usb_c0_rt_int_odl: usb_c0_rt_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiob 1 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_RT_INT_ODL";
};
usb_c2_rt_int_odl: usb_c2_rt_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio4 1 GPIO_INPUT>;
enum-name = "GPIO_USB_C2_RT_INT_ODL";
};
@@ -351,13 +324,11 @@
label = "IOEX_USB_C0_FRS_EN";
};
usb_c0_rt_rst_odl: usb_c0_rt_rst_odl {
- #gpio-cells = <0>;
gpios = <&ioex_port1 7 GPIO_ODR_HIGH>;
enum-name = "IOEX_USB_C0_RT_RST_ODL";
label = "IOEX_USB_C0_RT_RST_ODL";
};
usb_c2_rt_rst_odl: usb_c2_rt_rst_odl {
- #gpio-cells = <0>;
gpios = <&ioex_port2 2 GPIO_ODR_HIGH>;
enum-name = "IOEX_USB_C2_RT_RST_ODL";
label = "IOEX_USB_C2_RT_RST_ODL";
diff --git a/zephyr/projects/corsola/gpio_kingler.dts b/zephyr/projects/corsola/gpio_kingler.dts
index d3dc66124d..58aac30941 100644
--- a/zephyr/projects/corsola/gpio_kingler.dts
+++ b/zephyr/projects/corsola/gpio_kingler.dts
@@ -25,19 +25,16 @@
gpios = <&gpio4 7 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
};
ap_ec_warm_rst_req: ap_ec_warm_rst_req {
- #gpio-cells = <0>;
gpios = <&gpio5 1 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_HIGH)>;
enum-name = "GPIO_AP_EC_WARM_RST_REQ";
};
ap_ec_wdtrst_l: ap_ec_wdtrst_l {
- #gpio-cells = <0>;
gpios = <&gpio5 2 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_EC_WDTRST_L";
};
ap_in_sleep_l: ap_in_sleep_l {
- #gpio-cells = <0>;
gpios = <&gpio5 4 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_IN_SLEEP_L";
@@ -89,7 +86,6 @@
enum-name = "GPIO_EC_PEN_CHG_DIS_ODL";
};
gpio_ec_wp_l: ec_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 3 (GPIO_OPEN_DRAIN)>;
enum-name = "GPIO_WP_L";
};
@@ -110,7 +106,6 @@
enum-name = "GPIO_KBD_KSO2";
};
gpio_usb_c0_bc12_int_odl: usb_c0_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio8 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_BC12_INT_ODL";
};
@@ -127,17 +122,14 @@
enum-name = "GPIO_EC_RST_ODL";
};
gpio_lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_acok_od: acok_od {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_gsc_ec_pwr_btn_odl: gsc_ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
@@ -150,24 +142,19 @@
enum-name = "GPIO_PACKET_MODE_EN";
};
gpio_x_ec_gpio2: x_ec_gpio2 {
- #gpio-cells = <0>;
- #gpio-cells = <0>;
gpios = <&gpiod 4 GPIO_INPUT>;
enum-name = "GPIO_X_EC_GPIO2";
};
ap_sysrst_odl_r: ap_sysrst_odl_r {
- #gpio-cells = <0>;
gpios = <&gpioa 1 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_EC_SYSRST_ODL";
};
gpio_ap_xhci_init_done: ap_xhci_init_done {
- #gpio-cells = <0>;
gpios = <&gpioa 3 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_AP_XHCI_INIT_DONE";
};
gpio_usb_c0_ppc_int_odl: usb_c0_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio6 7 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PPC_INT_ODL";
};
@@ -192,7 +179,6 @@
enum-name = "GPIO_EC_X_GPIO3";
};
gpio_usb_c0_tcpc_int_odl: usb_c0_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio7 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_TCPC_INT_ODL";
};
@@ -213,7 +199,6 @@
enum-name = "GPIO_EN_PP5000_Z2";
};
gpio_usb_c1_tcpc_int_odl: usb_c1_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 1 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_TCPC_INT_ODL";
};
@@ -234,12 +219,10 @@
enum-name = "GPIO_EC_PMIC_EN_ODL";
};
gpio_ec_volup_btn_odl: ec_volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 5 GPIO_INPUT>;
enum-name = "GPIO_VOLUME_UP_L";
};
gpio_ec_voldn_btn_odl: ec_voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
diff --git a/zephyr/projects/corsola/gpio_krabby.dts b/zephyr/projects/corsola/gpio_krabby.dts
index 705a08d753..0d04068fd5 100644
--- a/zephyr/projects/corsola/gpio_krabby.dts
+++ b/zephyr/projects/corsola/gpio_krabby.dts
@@ -11,69 +11,56 @@
compatible = "named-gpios";
power_button_l: power_button_l {
- #gpio-cells = <0>;
gpios = <&gpioe 4 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpioj 7 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
ap_ec_warm_rst_req: ap_ec_warm_rst_req {
- #gpio-cells = <0>;
gpios = <&gpiod 3 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_HIGH)>;
enum-name = "GPIO_AP_EC_WARM_RST_REQ";
};
ap_in_sleep_l: ap_in_sleep_l {
- #gpio-cells = <0>;
gpios = <&gpiob 6 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_IN_SLEEP_L";
};
base_imu_int_l: base_imu_int_l {
- #gpio-cells = <0>;
gpios = <&gpiom 3 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_BASE_IMU_INT_L";
};
lid_accel_int_l: lid_accel_int_l {
- #gpio-cells = <0>;
gpios = <&gpiom 2 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_LID_ACCEL_INT_L";
};
volume_down_l: volume_down_l {
- #gpio-cells = <0>;
gpios = <&gpiod 5 GPIO_INPUT>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
volume_up_l: volume_up_l {
- #gpio-cells = <0>;
gpios = <&gpiod 6 GPIO_INPUT>;
enum-name = "GPIO_VOLUME_UP_L";
};
ap_xhci_init_done: ap_xhci_init_done {
- #gpio-cells = <0>;
gpios = <&gpioj 5 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_AP_XHCI_INIT_DONE";
};
ac_present: ac_present {
- #gpio-cells = <0>;
gpios = <&gpioe 5 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
ec_flash_wp_odl: ec_flash_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpioi 4 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
enum-name = "GPIO_WP_L";
};
spi0_cs: spi0_cs {
- #gpio-cells = <0>;
gpios = <&gpiom 5 (GPIO_INPUT | GPIO_VOLTAGE_1P8)>;
};
x_ec_gpio2: x_ec_gpio2 {
@@ -109,13 +96,11 @@
enum-name = "GPIO_EC_BL_EN_OD";
};
ap_sysrst_odl_r: ap_ec_sysrst_odl {
- #gpio-cells = <0>;
gpios = <&gpioj 2 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_EC_SYSRST_ODL";
};
ap_ec_wdtrst_l: ap_ec_wdtrst_l {
- #gpio-cells = <0>;
gpios = <&gpioc 7 (GPIO_INPUT | GPIO_VOLTAGE_1P8 |
GPIO_ACTIVE_LOW)>;
enum-name = "GPIO_AP_EC_WDTRST_L";
diff --git a/zephyr/projects/herobrine/gpio.dts b/zephyr/projects/herobrine/gpio.dts
index ff3340fdb0..7f31aab9e4 100644
--- a/zephyr/projects/herobrine/gpio.dts
+++ b/zephyr/projects/herobrine/gpio.dts
@@ -8,92 +8,74 @@
compatible = "named-gpios";
gpio_usb_c0_pd_int_odl: usb_c0_pd_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PD_INT_ODL";
};
gpio_usb_c1_pd_int_odl: usb_c1_pd_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 5 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_PD_INT_ODL";
};
gpio_usb_c0_swctl_int_odl: usb_c0_swctl_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_SWCTL_INT_ODL";
};
gpio_usb_c1_swctl_int_odl: usb_c1_swctl_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio4 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_SWCTL_INT_ODL";
};
gpio_usb_c0_bc12_int_l: usb_c0_bc12_int_l {
- #gpio-cells = <0>;
gpios = <&gpio6 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C0_BC12_INT_L";
};
gpio_usb_c1_bc12_int_l: usb_c1_bc12_int_l {
- #gpio-cells = <0>;
gpios = <&gpio8 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C1_BC12_INT_L";
};
gpio_usb_a0_oc_odl: usb_a0_oc_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 4 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_A0_OC_ODL";
};
gpio_chg_acok_od: chg_acok_od {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_ec_pwr_btn_odl: ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_ec_voldn_btn_odl: ec_voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio6 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_ec_volup_btn_odl: ec_volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioc 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
gpio_ec_wp_odl: ec_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 3 GPIO_INPUT>;
enum-name = "GPIO_WP_L";
};
gpio_lid_open_ec: lid_open_ec {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_ap_rst_l: ap_rst_l {
- #gpio-cells = <0>;
gpios = <&gpio5 1 GPIO_INPUT>;
enum-name = "GPIO_AP_RST_L";
};
gpio_ps_hold: ps_hold {
- #gpio-cells = <0>;
gpios = <&gpioa 6 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_PS_HOLD";
};
gpio_ap_suspend: ap_suspend {
- #gpio-cells = <0>;
gpios = <&gpio5 7 GPIO_INPUT>;
enum-name = "GPIO_AP_SUSPEND";
};
gpio_mb_power_good: mb_power_good {
- #gpio-cells = <0>;
gpios = <&gpio3 7 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_POWER_GOOD";
};
gpio_warm_reset_l: warm_reset_l {
- #gpio-cells = <0>;
gpios = <&gpiob 0 GPIO_INPUT>;
enum-name = "GPIO_WARM_RESET_L";
};
@@ -101,17 +83,14 @@
gpios = <&gpio5 3 GPIO_INPUT_PULL_DOWN>;
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpioc 6 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
gpio_accel_gyro_int_l: accel_gyro_int_l {
- #gpio-cells = <0>;
gpios = <&gpioa 3 GPIO_INPUT>;
enum-name = "GPIO_ACCEL_GYRO_INT_L";
};
gpio_rtc_ec_wake_odl: rtc_ec_wake_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 2 GPIO_INPUT>;
enum-name = "GPIO_EC_RST_ODL";
};
diff --git a/zephyr/projects/nissa/nereid_generated.dts b/zephyr/projects/nissa/nereid_generated.dts
index 63e88bf83f..2f48f7c08c 100644
--- a/zephyr/projects/nissa/nereid_generated.dts
+++ b/zephyr/projects/nissa/nereid_generated.dts
@@ -36,239 +36,186 @@
compatible = "named-gpios";
gpio_acc_int_l: acc_int_l {
- #gpio-cells = <0>;
gpios = <&gpioc 0 GPIO_INPUT>;
};
gpio_all_sys_pwrgd: all_sys_pwrgd {
- #gpio-cells = <0>;
gpios = <&gpiob 7 GPIO_INPUT>;
};
gpio_ccd_mode_odl: ccd_mode_odl {
- #gpio-cells = <0>;
gpios = <&gpioh 5 GPIO_INPUT>;
enum-name = "GPIO_CCD_MODE_ODL";
};
gpio_cpu_c10_gate_l: cpu_c10_gate_l {
- #gpio-cells = <0>;
gpios = <&gpiog 1 GPIO_INPUT>;
enum-name = "GPIO_CPU_C10_GATE_L";
};
gpio_ec_battery_pres_odl: ec_battery_pres_odl {
- #gpio-cells = <0>;
gpios = <&gpioi 4 GPIO_INPUT>;
enum-name = "GPIO_BATT_PRES_ODL";
};
gpio_ec_cbi_wp: ec_cbi_wp {
- #gpio-cells = <0>;
gpios = <&gpioj 5 GPIO_OUTPUT>;
};
gpio_ec_edp_bl_en_od: ec_edp_bl_en_od {
- #gpio-cells = <0>;
gpios = <&gpiok 4 GPIO_ODR_HIGH>;
enum-name = "GPIO_ENABLE_BACKLIGHT";
};
gpio_ec_entering_rw: ec_entering_rw {
- #gpio-cells = <0>;
gpios = <&gpioc 7 GPIO_OUTPUT>;
enum-name = "GPIO_ENTERING_RW";
};
gpio_ec_gsc_packet_mode: ec_gsc_packet_mode {
- #gpio-cells = <0>;
gpios = <&gpioh 1 GPIO_INPUT>;
enum-name = "GPIO_PACKET_MODE_EN";
};
gpio_ec_prochot_odl: ec_prochot_odl {
- #gpio-cells = <0>;
gpios = <&gpioi 1 GPIO_INPUT>;
};
gpio_ec_soc_dsw_pwrok: ec_soc_dsw_pwrok {
- #gpio-cells = <0>;
gpios = <&gpiol 7 GPIO_OUTPUT>;
};
gpio_ec_soc_hdmi_hpd: ec_soc_hdmi_hpd {
- #gpio-cells = <0>;
gpios = <&gpiok 7 GPIO_OUTPUT>;
enum-name = "GPIO_EC_SOC_HDMI_HPD";
};
gpio_ec_soc_int_odl: ec_soc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 5 GPIO_ODR_LOW>;
enum-name = "GPIO_EC_INT_L";
};
gpio_ec_soc_pch_pwrok_od: ec_soc_pch_pwrok_od {
- #gpio-cells = <0>;
gpios = <&gpiod 6 GPIO_ODR_HIGH>;
};
gpio_ec_soc_pwr_btn_odl: ec_soc_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpiob 6 GPIO_ODR_LOW>;
};
gpio_ec_soc_rsmrst_l: ec_soc_rsmrst_l {
- #gpio-cells = <0>;
gpios = <&gpioh 0 GPIO_OUTPUT>;
};
gpio_ec_soc_rtcrst: ec_soc_rtcrst {
- #gpio-cells = <0>;
gpios = <&gpiok 2 GPIO_OUTPUT>;
};
gpio_ec_soc_sys_pwrok: ec_soc_sys_pwrok {
- #gpio-cells = <0>;
gpios = <&gpiof 2 GPIO_OUTPUT>;
};
gpio_ec_soc_vccst_pwrgd_od: ec_soc_vccst_pwrgd_od {
- #gpio-cells = <0>;
gpios = <&gpioe 5 GPIO_ODR_HIGH>;
};
gpio_ec_soc_wake_odl: ec_soc_wake_odl {
- #gpio-cells = <0>;
gpios = <&gpiob 2 GPIO_ODR_LOW>;
enum-name = "GPIO_EC_PCH_WAKE_ODL";
};
gpio_ec_wp_odl: ec_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 6 GPIO_INPUT>;
enum-name = "GPIO_WP_L";
};
gpio_en_kb_bl: en_kb_bl {
- #gpio-cells = <0>;
gpios = <&gpioj 3 GPIO_OUTPUT>;
enum-name = "GPIO_EN_KEYBOARD_BACKLIGHT";
};
gpio_en_pp3300_s5: en_pp3300_s5 {
- #gpio-cells = <0>;
gpios = <&gpioc 5 GPIO_OUTPUT>;
};
gpio_en_pp5000_pen_x: en_pp5000_pen_x {
- #gpio-cells = <0>;
gpios = <&gpiob 5 GPIO_OUTPUT>;
enum-name = "GPIO_EN_PP5000_PEN_X";
};
gpio_en_pp5000_s5: en_pp5000_s5 {
- #gpio-cells = <0>;
gpios = <&gpiok 5 GPIO_OUTPUT>;
};
gpio_en_slp_z: en_slp_z {
- #gpio-cells = <0>;
gpios = <&gpiok 3 GPIO_OUTPUT>;
};
gpio_en_usb_a0_vbus: en_usb_a0_vbus {
- #gpio-cells = <0>;
gpios = <&gpiol 6 GPIO_OUTPUT>;
};
gpio_en_usb_c0_cc1_vconn: en_usb_c0_cc1_vconn {
- #gpio-cells = <0>;
gpios = <&gpioh 4 GPIO_OUTPUT>;
};
gpio_en_usb_c0_cc2_vconn: en_usb_c0_cc2_vconn {
- #gpio-cells = <0>;
gpios = <&gpioh 6 GPIO_OUTPUT>;
};
gpio_gsc_ec_pwr_btn_odl: gsc_ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_hdmi_sel: hdmi_sel {
- #gpio-cells = <0>;
gpios = <&gpioc 6 GPIO_OUTPUT>;
enum-name = "GPIO_HDMI_SEL";
};
gpio_imu_int_l: imu_int_l {
- #gpio-cells = <0>;
gpios = <&gpioj 0 GPIO_INPUT>;
};
gpio_imvp91_vrrdy_od: imvp91_vrrdy_od {
- #gpio-cells = <0>;
gpios = <&gpioj 4 GPIO_INPUT>;
};
gpio_lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpiof 3 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_pen_detect_odl: pen_detect_odl {
- #gpio-cells = <0>;
gpios = <&gpioj 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_PEN_DETECT_ODL";
};
gpio_pg_pp1050_mem_s3_od: pg_pp1050_mem_s3_od {
- #gpio-cells = <0>;
gpios = <&gpiod 3 GPIO_INPUT>;
enum-name = "GPIO_PG_PP1050_MEM_S3_OD";
};
gpio_pg_pp1050_proc: pg_pp1050_proc {
- #gpio-cells = <0>;
gpios = <&gpiol 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_PG_PP1050_PROC";
};
gpio_pg_pp5000_s5_od: pg_pp5000_s5_od {
- #gpio-cells = <0>;
gpios = <&gpioe 3 GPIO_INPUT>;
};
gpio_rsmrst_pwrgd_l: rsmrst_pwrgd_l {
- #gpio-cells = <0>;
gpios = <&gpioe 1 GPIO_INPUT_PULL_UP>;
};
gpio_slp_s0_l: slp_s0_l {
- #gpio-cells = <0>;
gpios = <&gpioe 4 GPIO_INPUT>;
};
gpio_slp_s3_l: slp_s3_l {
- #gpio-cells = <0>;
gpios = <&gpioh 3 GPIO_INPUT>;
};
gpio_slp_s4_l: slp_s4_l {
- #gpio-cells = <0>;
gpios = <&gpioi 5 GPIO_INPUT>;
};
gpio_slp_sus_l: slp_sus_l {
- #gpio-cells = <0>;
gpios = <&gpiog 2 GPIO_INPUT>;
};
gpio_sub_usb_a1_ilimit_sdp: sub_usb_a1_ilimit_sdp {
- #gpio-cells = <0>;
gpios = <&gpiof 1 GPIO_OUTPUT>;
enum-name = "GPIO_SUB_USB_A1_ILIMIT_SDP";
};
gpio_sys_rst_odl: sys_rst_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 1 GPIO_ODR_HIGH>;
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpioa 7 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
gpio_usb_a0_ilimit_sdp: usb_a0_ilimit_sdp {
- #gpio-cells = <0>;
gpios = <&gpiol 5 GPIO_OUTPUT>;
enum-name = "GPIO_USB_A0_ILIMIT_SDP";
};
gpio_usb_c0_frs: usb_c0_frs {
- #gpio-cells = <0>;
gpios = <&gpioc 4 GPIO_OUTPUT>;
};
gpio_usb_c0_int_odl: usb_c0_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiok 0 GPIO_INPUT_PULL_UP>;
};
gpio_vccin_aux_vid0: vccin_aux_vid0 {
- #gpio-cells = <0>;
gpios = <&gpiod 0 GPIO_INPUT>;
enum-name = "GPIO_VCCIN_AUX_VID0";
};
gpio_vccin_aux_vid1: vccin_aux_vid1 {
- #gpio-cells = <0>;
gpios = <&gpiok 1 GPIO_INPUT>;
enum-name = "GPIO_VCCIN_AUX_VID1";
};
gpio_voldn_btn_odl: voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioi 6 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_volup_btn_odl: volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioi 7 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
diff --git a/zephyr/projects/nissa/nereid_overlay.dts b/zephyr/projects/nissa/nereid_overlay.dts
index f513594b38..4c15354383 100644
--- a/zephyr/projects/nissa/nereid_overlay.dts
+++ b/zephyr/projects/nissa/nereid_overlay.dts
@@ -57,23 +57,19 @@
named-gpios {
gpio_sb_1: sb_1 {
- #gpio-cells = <0>;
gpios = <&gpioe 6 GPIO_INPUT_PULL_UP>;
no-auto-init;
};
gpio_sb_2: sb_2 {
- #gpio-cells = <0>;
gpios = <&gpiof 0 GPIO_OUTPUT>;
no-auto-init;
};
gpio_sb_3: sb_3 {
- #gpio-cells = <0>;
gpios = <&gpioe 7 GPIO_OPEN_DRAIN>;
no-auto-init;
};
gpio_sb_4: sb_4 {
- #gpio-cells = <0>;
gpios = <&gpioe 0 GPIO_INPUT>;
no-auto-init;
};
@@ -195,7 +191,6 @@
pagesize = <16>;
address-width = <8>;
timeout = <5>;
- wp-gpios = <&gpio_ec_wp_odl>;
};
};
diff --git a/zephyr/projects/nissa/nivviks_generated.dts b/zephyr/projects/nissa/nivviks_generated.dts
index c5e6c38b34..53e07b8cda 100644
--- a/zephyr/projects/nissa/nivviks_generated.dts
+++ b/zephyr/projects/nissa/nivviks_generated.dts
@@ -31,218 +31,168 @@
compatible = "named-gpios";
gpio_acc_int_l: acc_int_l {
- #gpio-cells = <0>;
gpios = <&gpio5 0 GPIO_INPUT>;
};
gpio_all_sys_pwrgd: all_sys_pwrgd {
- #gpio-cells = <0>;
gpios = <&gpioa 7 GPIO_INPUT>;
};
gpio_ccd_mode_odl: ccd_mode_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 5 GPIO_INPUT>;
enum-name = "GPIO_CCD_MODE_ODL";
};
gpio_cpu_c10_gate_l: cpu_c10_gate_l {
- #gpio-cells = <0>;
gpios = <&gpio6 7 GPIO_INPUT>;
};
gpio_ec_battery_pres_odl: ec_battery_pres_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 3 GPIO_INPUT>;
enum-name = "GPIO_BATT_PRES_ODL";
};
gpio_ec_edp_bl_en_od: ec_edp_bl_en_od {
- #gpio-cells = <0>;
gpios = <&gpiod 3 GPIO_ODR_HIGH>;
enum-name = "GPIO_ENABLE_BACKLIGHT";
};
gpio_ec_entering_rw: ec_entering_rw {
- #gpio-cells = <0>;
gpios = <&gpio0 3 GPIO_OUTPUT>;
enum-name = "GPIO_ENTERING_RW";
};
gpio_ec_gsc_packet_mode: ec_gsc_packet_mode {
- #gpio-cells = <0>;
gpios = <&gpio7 5 GPIO_INPUT>;
enum-name = "GPIO_PACKET_MODE_EN";
};
gpio_ec_kso_02_inv: ec_kso_02_inv {
- #gpio-cells = <0>;
gpios = <&gpio1 7 GPIO_OUTPUT>;
enum-name = "GPIO_KBD_KSO2";
};
gpio_ec_prochot_odl: ec_prochot_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 1 GPIO_INPUT>;
};
gpio_ec_soc_dsw_pwrok: ec_soc_dsw_pwrok {
- #gpio-cells = <0>;
gpios = <&gpio6 1 GPIO_OUTPUT>;
};
gpio_ec_soc_hdmi_hpd: ec_soc_hdmi_hpd {
- #gpio-cells = <0>;
gpios = <&gpioe 4 GPIO_OUTPUT>;
};
gpio_ec_soc_int_odl: ec_soc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio8 0 GPIO_ODR_LOW>;
enum-name = "GPIO_EC_INT_L";
};
gpio_ec_soc_pch_pwrok_od: ec_soc_pch_pwrok_od {
- #gpio-cells = <0>;
gpios = <&gpio7 2 GPIO_ODR_HIGH>;
};
gpio_ec_soc_pwr_btn_odl: ec_soc_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioc 1 GPIO_ODR_LOW>;
enum-name = "GPIO_PCH_PWRBTN_L";
};
gpio_ec_soc_rsmrst_l: ec_soc_rsmrst_l {
- #gpio-cells = <0>;
gpios = <&gpioa 6 GPIO_OUTPUT>;
};
gpio_ec_soc_rtcrst: ec_soc_rtcrst {
- #gpio-cells = <0>;
gpios = <&gpio7 6 GPIO_OUTPUT>;
};
gpio_ec_soc_sys_pwrok: ec_soc_sys_pwrok {
- #gpio-cells = <0>;
gpios = <&gpio3 7 GPIO_OUTPUT>;
};
gpio_ec_soc_vccst_pwrgd_od: ec_soc_vccst_pwrgd_od {
- #gpio-cells = <0>;
gpios = <&gpioa 4 GPIO_ODR_HIGH>;
};
gpio_ec_soc_wake_odl: ec_soc_wake_odl {
- #gpio-cells = <0>;
gpios = <&gpiob 0 GPIO_ODR_LOW>;
enum-name = "GPIO_EC_PCH_WAKE_ODL";
};
gpio_ec_wp_odl: ec_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 1 GPIO_INPUT>;
enum-name = "GPIO_WP_L";
};
gpio_en_kb_bl: en_kb_bl {
- #gpio-cells = <0>;
gpios = <&gpioa 0 GPIO_OUTPUT>;
enum-name = "GPIO_EN_KEYBOARD_BACKLIGHT";
};
gpio_en_pp3300_s5: en_pp3300_s5 {
- #gpio-cells = <0>;
gpios = <&gpiob 6 GPIO_OUTPUT>;
};
gpio_en_pp5000_pen_x: en_pp5000_pen_x {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_OUTPUT>;
};
gpio_en_pp5000_s5: en_pp5000_s5 {
- #gpio-cells = <0>;
gpios = <&gpio4 0 GPIO_OUTPUT>;
};
gpio_en_slp_z: en_slp_z {
- #gpio-cells = <0>;
gpios = <&gpioe 1 GPIO_OUTPUT>;
};
gpio_en_usb_a0_vbus: en_usb_a0_vbus {
- #gpio-cells = <0>;
gpios = <&gpio9 1 GPIO_OUTPUT>;
};
gpio_gsc_ec_pwr_btn_odl: gsc_ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_hdmi_sel: hdmi_sel {
- #gpio-cells = <0>;
gpios = <&gpioc 6 GPIO_OUTPUT>;
};
gpio_imu_int_l: imu_int_l {
- #gpio-cells = <0>;
gpios = <&gpio5 6 GPIO_INPUT>;
};
gpio_imvp91_vrrdy_od: imvp91_vrrdy_od {
- #gpio-cells = <0>;
gpios = <&gpio4 3 GPIO_INPUT>;
};
gpio_lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_pen_detect_odl: pen_detect_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 6 GPIO_INPUT_PULL_UP>;
};
gpio_pg_pp1050_mem_s3_od: pg_pp1050_mem_s3_od {
- #gpio-cells = <0>;
gpios = <&gpiof 0 GPIO_INPUT>;
};
gpio_pg_pp1050_proc: pg_pp1050_proc {
- #gpio-cells = <0>;
gpios = <&gpio4 1 GPIO_INPUT_PULL_UP>;
};
gpio_pg_pp5000_s5_od: pg_pp5000_s5_od {
- #gpio-cells = <0>;
gpios = <&gpio4 2 GPIO_INPUT>;
};
gpio_rsmrst_pwrgd_l: rsmrst_pwrgd_l {
- #gpio-cells = <0>;
gpios = <&gpio9 4 GPIO_INPUT_PULL_UP>;
};
gpio_slp_s0_l: slp_s0_l {
- #gpio-cells = <0>;
gpios = <&gpio9 7 GPIO_INPUT>;
};
gpio_slp_s3_l: slp_s3_l {
- #gpio-cells = <0>;
gpios = <&gpioa 5 GPIO_INPUT>;
};
gpio_slp_s4_l: slp_s4_l {
- #gpio-cells = <0>;
gpios = <&gpio7 0 GPIO_INPUT>;
};
gpio_slp_sus_l: slp_sus_l {
- #gpio-cells = <0>;
gpios = <&gpio6 2 GPIO_INPUT>;
};
gpio_sub_usb_a1_ilimit_sdp: sub_usb_a1_ilimit_sdp {
- #gpio-cells = <0>;
gpios = <&gpiod 5 GPIO_OUTPUT>;
};
gpio_sys_rst_odl: sys_rst_odl {
- #gpio-cells = <0>;
gpios = <&gpioc 5 GPIO_ODR_HIGH>;
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpio9 5 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
gpio_usb_a0_ilimit_sdp: usb_a0_ilimit_sdp {
- #gpio-cells = <0>;
gpios = <&gpio8 5 GPIO_OUTPUT>;
};
gpio_usb_c0_int_odl: usb_c0_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT_PULL_UP>;
};
gpio_vccin_aux_vid0: vccin_aux_vid0 {
- #gpio-cells = <0>;
gpios = <&gpio9 2 GPIO_INPUT>;
};
gpio_vccin_aux_vid1: vccin_aux_vid1 {
- #gpio-cells = <0>;
gpios = <&gpioe 3 GPIO_INPUT>;
};
gpio_voldn_btn_odl: voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 3 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_volup_btn_odl: volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
diff --git a/zephyr/projects/nissa/nivviks_overlay.dts b/zephyr/projects/nissa/nivviks_overlay.dts
index 24b0f6ee03..78cc76687e 100644
--- a/zephyr/projects/nissa/nivviks_overlay.dts
+++ b/zephyr/projects/nissa/nivviks_overlay.dts
@@ -72,24 +72,20 @@
named-gpios {
gpio_sb_1: sb_1 {
- #gpio-cells = <0>;
gpios = <&gpio0 2 GPIO_PULL_UP>;
no-auto-init;
};
gpio_sb_2: sb_2 {
- #gpio-cells = <0>;
gpios = <&gpiod 4 GPIO_OUTPUT>;
no-auto-init;
};
gpio_sb_3: sb_3 {
- #gpio-cells = <0>;
gpios = <&gpiof 4 GPIO_OPEN_DRAIN>;
no-auto-init;
};
gpio_sb_4: sb_4 {
- #gpio-cells = <0>;
gpios = <&gpiof 5 GPIO_INPUT>;
no-auto-init;
};
@@ -213,7 +209,6 @@
pagesize = <16>;
address-width = <8>;
timeout = <5>;
- wp-gpios = <&gpio_ec_wp_odl>;
};
};
diff --git a/zephyr/projects/npcx_evb/npcx7/gpio.dts b/zephyr/projects/npcx_evb/npcx7/gpio.dts
index fd9a195673..a60d653d7e 100644
--- a/zephyr/projects/npcx_evb/npcx7/gpio.dts
+++ b/zephyr/projects/npcx_evb/npcx7/gpio.dts
@@ -15,17 +15,14 @@
enum-name = "GPIO_WP_L";
};
gpio_ac_present: ac_present {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_power_button_l: power_button_l {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
diff --git a/zephyr/projects/npcx_evb/npcx9/gpio.dts b/zephyr/projects/npcx_evb/npcx9/gpio.dts
index fd9a195673..a60d653d7e 100644
--- a/zephyr/projects/npcx_evb/npcx9/gpio.dts
+++ b/zephyr/projects/npcx_evb/npcx9/gpio.dts
@@ -15,17 +15,14 @@
enum-name = "GPIO_WP_L";
};
gpio_ac_present: ac_present {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_power_button_l: power_button_l {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
diff --git a/zephyr/projects/skyrim/gpio.dts b/zephyr/projects/skyrim/gpio.dts
index 8b328b76c4..14441a450c 100644
--- a/zephyr/projects/skyrim/gpio.dts
+++ b/zephyr/projects/skyrim/gpio.dts
@@ -16,32 +16,26 @@
enum-name = "GPIO_PACKET_MODE_EN";
};
gpio_mech_pwr_btn_odl: mech_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_slp_s3_l: slp_s3_l {
- #gpio-cells = <0>;
gpios = <&gpio6 1 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S3_L";
};
gpio_slp_s5_l: slp_s5_l {
- #gpio-cells = <0>;
gpios = <&gpio7 2 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S5_L";
};
gpio_pg_pwr_s5: pg_pwr_s5 {
- #gpio-cells = <0>;
gpios = <&gpioc 0 GPIO_INPUT>;
enum-name = "GPIO_S5_PGOOD";
};
gpio_s0_pgood: pg_pcore_s0_r_od {
- #gpio-cells = <0>;
gpios = <&gpiob 6 GPIO_INPUT>;
enum-name = "GPIO_S0_PGOOD";
};
gpio_acok_od: acok_od {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
@@ -77,32 +71,26 @@
gpios = <&gpioe 2 GPIO_INPUT>;
};
gpio_usb_c0_tcpc_int_odl: usb_c0_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_TCPC_INT_ODL";
};
gpio_usb_c1_tcpc_int_odl: usb_c1_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioc 7 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_TCPC_INT_ODL";
};
gpio_usb_c0_ppc_int_odl: usb_c0_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio7 5 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PPC_INT_ODL";
};
gpio_usb_c1_ppc_int_odl: usb_c1_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 4 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_PPC_INT_ODL";
};
gpio_usb_c0_bc12_int_odl: usb_c0_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 4 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C0_BC12_INT_ODL";
};
gpio_usb_c1_bc12_int_odl: usb_c1_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 6 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C1_BC12_INT_ODL";
};
@@ -123,7 +111,6 @@
enum-name = "GPIO_USB_C1_DP_HPD";
};
gpio_lid_open: lid_open {
- #gpio-cells = <0>;
gpios = <&gpio0 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
diff --git a/zephyr/projects/skyrim/guybrush.dts b/zephyr/projects/skyrim/guybrush.dts
index 7e699e8f9e..d86ad962d1 100644
--- a/zephyr/projects/skyrim/guybrush.dts
+++ b/zephyr/projects/skyrim/guybrush.dts
@@ -11,27 +11,22 @@
enum-name = "GPIO_WP_L";
};
gpio_ec_pwr_btn_odl: ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_EC_PWR_BTN_ODL";
};
gpio_slp_s3_s0i3_l: slp_s3_s0i3_l {
- #gpio-cells = <0>;
gpios = <&gpio7 4 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S0_L";
};
gpio_ec_pcore_int_odl: ec_pcore_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 0 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_EC_PCORE_INT_ODL";
};
gpio_pg_groupc_s0_od: pg_groupc_s0_od {
- #gpio-cells = <0>;
gpios = <&gpioa 3 GPIO_INPUT>;
enum-name = "GPIO_PG_GROUPC_S0_OD";
};
gpio_pg_lpddr4x_s3_od: pg_lpddr4x_s3_od {
- #gpio-cells = <0>;
gpios = <&gpio9 5 GPIO_INPUT>;
enum-name = "GPIO_PG_LPDDR4X_S3_OD";
};
@@ -67,12 +62,10 @@
gpios = <&gpioa 2 GPIO_INPUT_PULL_DOWN>;
};
gpio_voldn_btn_odl: voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 7 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_volup_btn_odl: volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 3 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
diff --git a/zephyr/projects/skyrim/skyrim.dts b/zephyr/projects/skyrim/skyrim.dts
index 4dfaa1dd58..34e680d639 100644
--- a/zephyr/projects/skyrim/skyrim.dts
+++ b/zephyr/projects/skyrim/skyrim.dts
@@ -15,7 +15,6 @@
enum-name = "GPIO_EN_PWR_S3";
};
gpio_pg_groupc_s0_od: pg_groupc_s0_od {
- #gpio-cells = <0>;
gpios = <&gpiof 0 GPIO_INPUT>;
enum-name = "GPIO_PG_GROUPC_S0_OD";
};
@@ -57,7 +56,6 @@
enum-name = "GPIO_USB_HUB_FAULT_ODL";
};
gpio_pg_lpddr5_s3_od: pg_lpddr5_s3_od {
- #gpio-cells = <0>;
gpios = <&gpio7 3 GPIO_INPUT>;
enum-name = "GPIO_PG_LPDDR5_S3_OD";
};
@@ -69,12 +67,10 @@
enum-name = "GPIO_PCH_PWRBTN_L";
};
gpio_volup_btn_odl: volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio6 7 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
gpio_voldn_btn_odl: voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio7 0 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
@@ -91,7 +87,6 @@
enum-name = "GPIO_WP_L";
};
gpio_pg_lpddr5_s0_od: pg_lpddr5_s0_od {
- #gpio-cells = <0>;
gpios = <&gpio6 0 GPIO_INPUT>;
enum-name = "GPIO_PG_LPDDR5_S0_OD";
};
diff --git a/zephyr/projects/trogdor/lazor/gpio.dts b/zephyr/projects/trogdor/lazor/gpio.dts
index 9e12c97267..65f0e7a616 100644
--- a/zephyr/projects/trogdor/lazor/gpio.dts
+++ b/zephyr/projects/trogdor/lazor/gpio.dts
@@ -8,102 +8,82 @@
compatible = "named-gpios";
gpio_usb_c0_pd_int_odl: usb_c0_pd_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PD_INT_ODL";
};
gpio_usb_c1_pd_int_odl: usb_c1_pd_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 5 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_PD_INT_ODL";
};
gpio_usb_c0_swctl_int_odl: usb_c0_swctl_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_SWCTL_INT_ODL";
};
gpio_usb_c1_swctl_int_odl: usb_c1_swctl_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio4 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_SWCTL_INT_ODL";
};
gpio_usb_c0_bc12_int_l: usb_c0_bc12_int_l {
- #gpio-cells = <0>;
gpios = <&gpio6 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C0_BC12_INT_L";
};
gpio_usb_c1_bc12_int_l: usb_c1_bc12_int_l {
- #gpio-cells = <0>;
gpios = <&gpio8 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C1_BC12_INT_L";
};
gpio_usb_a0_oc_odl: usb_a0_oc_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_A0_OC_ODL";
};
gpio_acok_od: acok_od {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_ccd_mode_odl: ccd_mode_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 3 GPIO_INPUT>;
enum-name = "GPIO_CCD_MODE_ODL";
};
gpio_ec_pwr_btn_odl: ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_ec_voldn_btn_odl: ec_voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio7 0 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_ec_volup_btn_odl: ec_volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
gpio_ec_wp_odl: ec_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 1 GPIO_INPUT>;
enum-name = "GPIO_WP_L";
};
gpio_lid_open_ec: lid_open_ec {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_ap_rst_l: ap_rst_l {
- #gpio-cells = <0>;
gpios = <&gpioc 1 GPIO_INPUT>;
enum-name = "GPIO_AP_RST_L";
};
gpio_ps_hold: ps_hold {
- #gpio-cells = <0>;
gpios = <&gpioa 4 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_PS_HOLD";
};
gpio_ap_suspend: ap_suspend {
- #gpio-cells = <0>;
gpios = <&gpio5 7 GPIO_INPUT>;
enum-name = "GPIO_AP_SUSPEND";
};
gpio_deprecated_ap_rst_req: deprecated_ap_rst_req {
- #gpio-cells = <0>;
gpios = <&gpioc 2 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_DEPRECATED_AP_RST_REQ";
};
gpio_power_good: power_good {
- #gpio-cells = <0>;
gpios = <&gpio5 4 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_POWER_GOOD";
};
gpio_warm_reset_l: warm_reset_l {
- #gpio-cells = <0>;
gpios = <&gpiof 4 GPIO_INPUT>;
enum-name = "GPIO_WARM_RESET_L";
};
@@ -111,12 +91,10 @@
gpios = <&gpio5 3 GPIO_INPUT_PULL_DOWN>;
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpioc 6 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
gpio_accel_gyro_int_l: accel_gyro_int_l {
- #gpio-cells = <0>;
gpios = <&gpioa 0 GPIO_INPUT>;
enum-name = "GPIO_ACCEL_GYRO_INT_L";
};
@@ -125,12 +103,10 @@
enum-name = "GPIO_DA9313_GPIO0";
};
gpio_switchcap_pg_int_l: switchcap_pg_int_l {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT>;
enum-name = "GPIO_SWITCHCAP_PG_INT_L";
};
gpio_ec_rst_odl: ec_rst_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 2 GPIO_INPUT>;
enum-name = "GPIO_EC_RST_ODL";
};
diff --git a/zephyr/projects/trogdor/trogdor/gpio.dts b/zephyr/projects/trogdor/trogdor/gpio.dts
index 16102943a2..036abdb10d 100644
--- a/zephyr/projects/trogdor/trogdor/gpio.dts
+++ b/zephyr/projects/trogdor/trogdor/gpio.dts
@@ -8,97 +8,78 @@
compatible = "named-gpios";
gpio_usb_c0_pd_int_odl: usb_c0_pd_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PD_INT_ODL";
};
gpio_usb_c1_pd_int_odl: usb_c1_pd_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 5 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_PD_INT_ODL";
};
gpio_usb_c0_swctl_int_odl: usb_c0_swctl_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_SWCTL_INT_ODL";
};
gpio_usb_c1_swctl_int_odl: usb_c1_swctl_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio4 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_SWCTL_INT_ODL";
};
gpio_usb_c0_bc12_int_l: usb_c0_bc12_int_l {
- #gpio-cells = <0>;
gpios = <&gpio6 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C0_BC12_INT_L";
};
gpio_usb_c1_bc12_int_l: usb_c1_bc12_int_l {
- #gpio-cells = <0>;
gpios = <&gpio8 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C1_BC12_INT_L";
};
gpio_usb_a0_oc_odl: usb_a0_oc_odl {
- #gpio-cells = <0>;
gpios = <&gpiod 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_A0_OC_ODL";
};
gpio_chg_acok_od: chg_acok_od {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_ec_pwr_btn_odl: ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_ec_voldn_btn_odl: ec_voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio7 0 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_ec_volup_btn_odl: ec_volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 2 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
gpio_ec_wp_odl: ec_wp_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 1 GPIO_INPUT>;
enum-name = "GPIO_WP_L";
};
gpio_lid_open_ec: lid_open_ec {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_ap_rst_l: ap_rst_l {
- #gpio-cells = <0>;
gpios = <&gpioc 1 GPIO_INPUT>;
enum-name = "GPIO_AP_RST_L";
};
gpio_ps_hold: ps_hold {
- #gpio-cells = <0>;
gpios = <&gpioa 4 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_PS_HOLD";
};
gpio_ap_suspend: ap_suspend {
- #gpio-cells = <0>;
gpios = <&gpio5 7 GPIO_INPUT>;
enum-name = "GPIO_AP_SUSPEND";
};
gpio_deprecated_ap_rst_req: deprecated_ap_rst_req {
- #gpio-cells = <0>;
gpios = <&gpioc 2 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_DEPRECATED_AP_RST_REQ";
};
gpio_power_good: power_good {
- #gpio-cells = <0>;
gpios = <&gpio5 4 GPIO_INPUT_PULL_DOWN>;
enum-name = "GPIO_POWER_GOOD";
};
gpio_warm_reset_l: warm_reset_l {
- #gpio-cells = <0>;
gpios = <&gpiof 4 GPIO_INPUT>;
enum-name = "GPIO_WARM_RESET_L";
};
@@ -106,17 +87,14 @@
gpios = <&gpio5 3 GPIO_INPUT_PULL_DOWN>;
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpioc 6 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
gpio_accel_gyro_int_l: accel_gyro_int_l {
- #gpio-cells = <0>;
gpios = <&gpioa 0 GPIO_INPUT>;
enum-name = "GPIO_ACCEL_GYRO_INT_L";
};
gpio_ec_rst_odl: ec_rst_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 2 GPIO_INPUT>;
enum-name = "GPIO_EC_RST_ODL";
};
diff --git a/zephyr/projects/volteer/delbin/gpio.dts b/zephyr/projects/volteer/delbin/gpio.dts
index 0b25cfbfdc..38ce67b243 100644
--- a/zephyr/projects/volteer/delbin/gpio.dts
+++ b/zephyr/projects/volteer/delbin/gpio.dts
@@ -8,62 +8,50 @@
compatible = "named-gpios";
gpio_ec_lid_open: ec_lid_open {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_ec_wp_l: ec_wp_l {
- #gpio-cells = <0>;
gpios = <&gpioa 1 GPIO_INPUT>;
enum-name = "GPIO_WP_L";
};
gpio_h1_ec_pwr_btn_odl: h1_ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_acok_od: acok_od {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_slp_s0_l: slp_s0_l {
- #gpio-cells = <0>;
gpios = <&gpiod 5 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S0_L";
};
gpio_slp_s3_l: slp_s3_l {
- #gpio-cells = <0>;
gpios = <&gpioa 5 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S3_L";
};
gpio_slp_sus_l: slp_sus_l {
- #gpio-cells = <0>;
gpios = <&gpiod 7 GPIO_INPUT>;
enum-name = "GPIO_SLP_SUS_L";
};
gpio_pg_ec_rsmrst_odl: pg_ec_rsmrst_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_RSMRST_ODL";
};
gpio_dsw_pwrok: dsw_pwrok {
- #gpio-cells = <0>;
gpios = <&gpioc 7 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_DSW_PWROK";
};
gpio_pg_ec_all_sys_pwrgd: pg_ec_all_sys_pwrgd {
- #gpio-cells = <0>;
gpios = <&gpiof 4 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_ALL_SYS_PWRGD";
};
gpio_ec_imu_int_l: ec_imu_int_l {
- #gpio-cells = <0>;
gpios = <&gpio5 6 GPIO_INPUT>;
enum-name = "GPIO_EC_IMU_INT_L";
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpio9 5 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
@@ -138,7 +126,6 @@
enum-name = "GPIO_CPU_PROCHOT";
};
gpio_ec_prochot_in_l: ec_prochot_in_l {
- #gpio-cells = <0>;
gpios = <&gpiof 0 GPIO_INPUT>;
enum-name = "GPIO_EC_PROCHOT_IN_L";
};
diff --git a/zephyr/projects/volteer/volteer/cbi_eeprom.dts b/zephyr/projects/volteer/volteer/cbi_eeprom.dts
index 65248a5f48..9c7fefed19 100644
--- a/zephyr/projects/volteer/volteer/cbi_eeprom.dts
+++ b/zephyr/projects/volteer/volteer/cbi_eeprom.dts
@@ -12,7 +12,7 @@
pagesize = <16>;
address-width = <8>;
timeout = <5>;
- wp-gpios = <&gpio_ec_wp_l>;
+ /* wp-gpios = <&gpio_ec_wp_l>; */
};
};
diff --git a/zephyr/projects/volteer/volteer/gpio.dts b/zephyr/projects/volteer/volteer/gpio.dts
index 3ba9f8066b..7e9561fdc1 100644
--- a/zephyr/projects/volteer/volteer/gpio.dts
+++ b/zephyr/projects/volteer/volteer/gpio.dts
@@ -8,12 +8,10 @@
compatible = "named-gpios";
gpio_ec_lid_open: ec_lid_open {
- #gpio-cells = <0>;
gpios = <&gpiod 2 GPIO_INPUT>;
enum-name = "GPIO_LID_OPEN";
};
gpio_ec_wp_l: ec_wp_l {
- #gpio-cells = <0>;
gpios = <&gpioa 1 GPIO_INPUT>;
enum-name = "GPIO_EC_WP_L";
};
@@ -22,104 +20,82 @@
enum-name = "GPIO_WP_L";
};
gpio_h1_ec_pwr_btn_odl: h1_ec_pwr_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio0 1 GPIO_INPUT>;
enum-name = "GPIO_POWER_BUTTON_L";
};
gpio_acok_od: acok_od {
- #gpio-cells = <0>;
gpios = <&gpio0 0 GPIO_INPUT>;
enum-name = "GPIO_AC_PRESENT";
};
gpio_slp_s0_l: slp_s0_l {
- #gpio-cells = <0>;
gpios = <&gpiod 5 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S0_L";
};
gpio_slp_s3_l: slp_s3_l {
- #gpio-cells = <0>;
gpios = <&gpioa 5 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_S3_L";
};
gpio_pch_slp_sus_l: pch_slp_sus_l {
- #gpio-cells = <0>;
gpios = <&gpiod 7 GPIO_INPUT>;
enum-name = "GPIO_PCH_SLP_SUS_L";
};
gpio_slp_sus_l: slp_sus_l {
- #gpio-cells = <0>;
gpios = <&gpiod 7 GPIO_INPUT>;
enum-name = "GPIO_SLP_SUS_L";
};
gpio_pg_ec_rsmrst_odl: pg_ec_rsmrst_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 2 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_RSMRST_ODL";
};
gpio_pg_ec_dsw_pwrok: pg_ec_dsw_pwrok {
- #gpio-cells = <0>;
gpios = <&gpioc 7 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_DSW_PWROK";
};
gpio_pg_ec_all_sys_pwrgd: pg_ec_all_sys_pwrgd {
- #gpio-cells = <0>;
gpios = <&gpiof 4 GPIO_INPUT>;
enum-name = "GPIO_PG_EC_ALL_SYS_PWRGD";
};
gpio_ec_imu_int_l: ec_imu_int_l {
- #gpio-cells = <0>;
gpios = <&gpio5 6 GPIO_INPUT>;
enum-name = "GPIO_EC_IMU_INT_L";
};
gpio_ec_als_rgb_int_l: ec_als_rgb_int_l {
- #gpio-cells = <0>;
gpios = <&gpiod 4 GPIO_INPUT>;
enum-name = "GPIO_EC_ALS_RGB_INT_L";
};
gpio_tablet_mode_l: tablet_mode_l {
- #gpio-cells = <0>;
gpios = <&gpio9 5 GPIO_INPUT>;
enum-name = "GPIO_TABLET_MODE_L";
};
gpio_ec_accel_int: ec_accel_int {
- #gpio-cells = <0>;
gpios = <&gpio8 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_EC_ACCEL_INT";
};
gpio_usb_c0_tcpc_int_odl: usb_c0_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 0 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_TCPC_INT_ODL";
};
gpio_usb_c1_tcpc_int_odl: usb_c1_tcpc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioa 2 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_TCPC_INT_ODL";
};
gpio_usb_c0_ppc_int_odl: usb_c0_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpio6 2 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_PPC_INT_ODL";
};
gpio_usb_c1_ppc_int_odl: usb_c1_ppc_int_odl {
- #gpio-cells = <0>;
gpios = <&gpiof 5 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_PPC_INT_ODL";
};
gpio_usb_c0_bc12_int_odl: usb_c0_bc12_int_odl {
- #gpio-cells = <0>;
gpios = <&gpioe 4 GPIO_INPUT>;
enum-name = "GPIO_USB_C0_BC12_INT_ODL";
};
gpio_usb_c1_mix_int_odl: usb_c1_mix_int_odl {
- #gpio-cells = <0>;
- #gpio-cells = <0>;
gpios = <&gpio0 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_MIX_INT_ODL";
};
gpio_usb_c1_bc12_int_odl: usb_c1_bc12_int_odl {
- #gpio-cells = <0>;
- #gpio-cells = <0>;
gpios = <&gpio0 3 GPIO_INPUT>;
enum-name = "GPIO_USB_C1_BC12_INT_ODL";
};
@@ -128,12 +104,10 @@
enum-name = "GPIO_USB_C1_FRS_EN";
};
gpio_ec_voldn_btn_odl: ec_voldn_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 3 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_DOWN_L";
};
gpio_ec_volup_btn_odl: ec_volup_btn_odl {
- #gpio-cells = <0>;
gpios = <&gpio9 7 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_VOLUME_UP_L";
};
@@ -154,7 +128,6 @@
enum-name = "GPIO_EN_PPVAR_VCCIN";
};
gpio_ec_pch_dsw_pwrok: ec_pch_dsw_pwrok {
- #gpio-cells = <0>;
gpios = <&gpioc 0 GPIO_OUT_LOW>;
enum-name = "GPIO_PCH_DSW_PWROK";
};
@@ -190,7 +163,6 @@
enum-name = "GPIO_CPU_PROCHOT";
};
gpio_ec_prochot_in_l: ec_prochot_in_l {
- #gpio-cells = <0>;
gpios = <&gpiof 0 GPIO_INPUT>;
enum-name = "GPIO_EC_PROCHOT_IN_L";
};
@@ -211,11 +183,9 @@
enum-name = "GPIO_USB_A_LOW_PWR_OD";
};
gpio_usb_c1_rt_rst_odl_boardid_0: usb_c1_rt_rst_odl_boardid_0 {
- #gpio-cells = <0>;
gpios = <&gpio3 2 GPIO_ODR_LOW>;
};
gpio_usb_c1_rt_rst_odl: usb_c1_rt_rst_odl {
- #gpio-cells = <0>;
gpios = <&gpio8 3 GPIO_ODR_LOW>;
enum-name = "GPIO_USB_C1_RT_RST_ODL";
};
@@ -248,7 +218,6 @@
gpios = <&gpio7 2 GPIO_INPUT_PULL_UP>;
};
gpio_unused_gpio41: unused_gpio41 {
- #gpio-cells = <0>;
gpios = <&gpio4 1 GPIO_INPUT_PULL_UP>;
enum-name = "GPIO_USB_C1_LS_EN";
};
diff --git a/zephyr/test/drivers/overlay.dts b/zephyr/test/drivers/overlay.dts
index 0bb8901381..e47de44ded 100644
--- a/zephyr/test/drivers/overlay.dts
+++ b/zephyr/test/drivers/overlay.dts
@@ -35,7 +35,6 @@
* protection.
*/
gpio_wp_l: wp_l {
- #gpio-cells = <0>;
gpios = <&gpio0 3 (GPIO_INPUT | GPIO_OUTPUT)>;
enum-name = "GPIO_WP_L";
};
@@ -674,7 +673,6 @@
pagesize = <8>;
address-width = <8>;
timeout = <5>;
- wp-gpios = <&gpio_wp_l>;
};
battery: sb@b {