ITE: soc: Add the variant of it81302dx

Add the variant of it81302dx

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
Tim Lin 2024-04-30 11:09:34 +08:00 committed by Carles Cufí
commit 682a4c936a
5 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2024 ITE Corporation. All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
/ {
soc {
sram0: memory@80100000 {
compatible = "mmio-sram";
reg = <0x80100000 DT_SIZE_K(128)>;
};
};
};

View file

@ -59,6 +59,10 @@ config SOC_IT81202CX
select SOC_IT8XXX2_REG_SET_V1 select SOC_IT8XXX2_REG_SET_V1
select SOC_IT8XXX2_USBPD_PHY_V2 select SOC_IT8XXX2_USBPD_PHY_V2
config SOC_IT81302DX
select SOC_IT8XXX2_REG_SET_V1
select SOC_IT8XXX2_USBPD_PHY_V2
config SOC_IT81202DX config SOC_IT81202DX
select SOC_IT8XXX2_REG_SET_V1 select SOC_IT8XXX2_REG_SET_V1
select SOC_IT8XXX2_USBPD_PHY_V2 select SOC_IT8XXX2_USBPD_PHY_V2

View file

@ -0,0 +1,12 @@
# Copyright (c) 2024 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_IT81302DX
config ILM_MAX_SIZE
default 60
config SOC_IT8XXX2_GPIO_GROUP_K_L_DEFAULT_PULL_DOWN
default n
endif

View file

@ -27,6 +27,10 @@ config SOC_IT81202CX
bool bool
select SOC_IT8XXX2 select SOC_IT8XXX2
config SOC_IT81302DX
bool
select SOC_IT8XXX2
config SOC_IT81202DX config SOC_IT81202DX
bool bool
select SOC_IT8XXX2 select SOC_IT8XXX2
@ -60,6 +64,7 @@ config SOC
default "it81202dx" if SOC_IT81202DX default "it81202dx" if SOC_IT81202DX
default "it81302bx" if SOC_IT81302BX default "it81302bx" if SOC_IT81302BX
default "it81302cx" if SOC_IT81302CX default "it81302cx" if SOC_IT81302CX
default "it81302dx" if SOC_IT81302DX
default "it82002aw" if SOC_IT82002AW default "it82002aw" if SOC_IT82002AW
default "it82202ax" if SOC_IT82202AX default "it82202ax" if SOC_IT82202AX
default "it82302ax" if SOC_IT82302AX default "it82302ax" if SOC_IT82302AX

View file

@ -8,6 +8,7 @@ family:
- name: it81202dx - name: it81202dx
- name: it81302bx - name: it81302bx
- name: it81302cx - name: it81302cx
- name: it81302dx
- name: it82002aw - name: it82002aw
- name: it82202ax - name: it82202ax
- name: it82302ax - name: it82302ax