boards: convert ite boards to hwmv2
Convert it82xx2_evb and it8xxx2_evb to hwmv2. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
10
boards/ite/index.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
.. _boards-ite:
|
||||
|
||||
ITE Tech. Inc.
|
||||
##############
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
**/*
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
if BOARD_IT82XX2_EVB
|
||||
|
||||
config BOARD
|
||||
default "it82xx2_evb"
|
||||
|
||||
config INPUT
|
||||
default y if KSCAN
|
||||
|
||||
@@ -2,5 +2,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_IT82XX2_EVB
|
||||
bool "IT82XX2 EV-board"
|
||||
depends on SOC_IT8XXX2
|
||||
select SOC_IT82202_AX
|
||||
5
boards/ite/it82xx2_evb/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: it82xx2_evb
|
||||
vendor: ITE
|
||||
socs:
|
||||
- name: it82202ax
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
@@ -1,11 +1,6 @@
|
||||
# Copyright (c) 2023 ITE Corporation. All Rights Reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_ITE_IT8XXX2=y
|
||||
CONFIG_SOC_IT8XXX2=y
|
||||
CONFIG_SOC_IT82202_AX=y
|
||||
CONFIG_BOARD_IT82XX2_EVB=y
|
||||
|
||||
CONFIG_GEN_IRQ_VECTOR_TABLE=n
|
||||
|
||||
# General Kernel Options
|
||||
@@ -3,16 +3,15 @@
|
||||
|
||||
if BOARD_IT8XXX2_EVB
|
||||
|
||||
config BOARD
|
||||
default "it8xxx2_evb"
|
||||
|
||||
if PM
|
||||
|
||||
config PM_DEVICE
|
||||
default y
|
||||
|
||||
choice PM_POLICY
|
||||
default PM_POLICY_CUSTOM
|
||||
endchoice
|
||||
|
||||
endif # PM
|
||||
|
||||
config INPUT
|
||||
@@ -2,5 +2,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_IT8XXX2_EVB
|
||||
bool "IT8XXX2 EV-board"
|
||||
depends on SOC_IT8XXX2
|
||||
select SOC_IT82202_AX
|
||||
5
boards/ite/it8xxx2_evb/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: it8xxx2_evb
|
||||
vendor: ITE
|
||||
socs:
|
||||
- name: it82202ax
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
@@ -1,9 +1,6 @@
|
||||
# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_ITE_IT8XXX2=y
|
||||
CONFIG_SOC_IT8XXX2=y
|
||||
CONFIG_BOARD_IT8XXX2_EVB=y
|
||||
CONFIG_BOOT_DELAY=1
|
||||
|
||||
CONFIG_GEN_IRQ_VECTOR_TABLE=n
|
||||