diff --git a/dts/riscv/ite/it51526bw-512.dtsi b/dts/riscv/ite/it51526bw-512.dtsi new file mode 100644 index 00000000000..ec31915bcad --- /dev/null +++ b/dts/riscv/ite/it51526bw-512.dtsi @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2025 ITE Corporation. All Rights Reserved. + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + soc { + flashctrl: flash-controller@f01000 { + compatible = "ite,it8xxx2-flash-controller"; + reg = <0x00f01000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + + flash0: flash@0 { + compatible = "soc-nv-flash"; + reg = <0 DT_SIZE_K(512)>; + erase-block-size = <4096>; + write-block-size = <4>; + }; + }; + }; +}; diff --git a/soc/ite/ec/it51xxx/Kconfig.soc b/soc/ite/ec/it51xxx/Kconfig.soc index dccc1678d27..cb01f9ea1be 100644 --- a/soc/ite/ec/it51xxx/Kconfig.soc +++ b/soc/ite/ec/it51xxx/Kconfig.soc @@ -15,8 +15,13 @@ config SOC_IT51526AW bool select SOC_IT51XXX +config SOC_IT51526BW + bool + select SOC_IT51XXX + config SOC_SERIES default "it51xxx" if SOC_SERIES_IT51XXX config SOC default "it51526aw" if SOC_IT51526AW + default "it51526bw" if SOC_IT51526BW diff --git a/soc/ite/ec/soc.yml b/soc/ite/ec/soc.yml index b0cba7d8eae..ae06b6cd80f 100644 --- a/soc/ite/ec/soc.yml +++ b/soc/ite/ec/soc.yml @@ -20,3 +20,4 @@ family: - name: it51xxx socs: - name: it51526aw + - name: it51526bw