diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2021-04-15 15:49:31 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-23 17:09:33 +0000 |
commit | 03e78d7583ebdfe0f9d53f70a256d0fb23807696 (patch) | |
tree | 5e3db30b4f4c0523958914703c7d600e17766804 | |
parent | f80d511d1059665c5b55e30c7623508dfb938cac (diff) | |
download | chrome-ec-03e78d7583ebdfe0f9d53f70a256d0fb23807696.tar.gz |
zephyr: volteer: Move unused pin setting in dts
Move unused pin to new unsed-gpios dts setting.
BUG=b:184783076
BRANCH=none
TEST=check gpiof2, gpio96, gpio34 set to input pull-up by 'rw' console
command
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: I79f46febe944cc5615ee8666d6678d37363d9078
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2825718
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | zephyr/projects/volteer/volteer/gpio.dts | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/zephyr/projects/volteer/volteer/gpio.dts b/zephyr/projects/volteer/volteer/gpio.dts index f47d5d17ee..75cfcbbecb 100644 --- a/zephyr/projects/volteer/volteer/gpio.dts +++ b/zephyr/projects/volteer/volteer/gpio.dts @@ -284,18 +284,6 @@ enum-name = "GPIO_USB_C1_LS_EN"; label = "UNUSED_GPIO41"; }; - unused_gpiof2 { - gpios = <&gpiof 2 (GPIO_INPUT | GPIO_PULL_UP)>; - label = "UNUSED_GPIOF2"; - }; - unused_gpio96 { - gpios = <&gpio9 6 (GPIO_INPUT | GPIO_PULL_UP)>; - label = "UNUSED_GPIO96"; - }; - unused_gpio34 { - gpios = <&gpio3 4 (GPIO_INPUT | GPIO_PULL_UP)>; - label = "UNUSED_GPIO34"; - }; ec_kb_bl_en { gpios = <&gpio8 6 (GPIO_INPUT | GPIO_PULL_UP)>; label = "EC_KB_BL_EN"; @@ -390,4 +378,11 @@ compatible = "nuvoton,npcx-lvolctrl-def"; lvol-io-pads = <&lvol_iob4 &lvol_iob5>; /* I2C_SDA0 & SCL0 */ }; + + unused-pins { + compatible = "unused-gpios"; + unused-gpios = <&gpiof 2 0>, + <&gpio9 6 0>, + <&gpio3 4 0>; + }; }; |