Skip to content

Commit 022043c

Browse files
GTLin08kartben
authored andcommitted
soc/ite/ec: it51xxx: Add a new SoC variant it51526bw
1. Add it51526bw SoC variant to it51xxx SoC series. 2. Create the .dtsi file with adjusted flash size for 512Kb (default = 1M). Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
1 parent 9d4530f commit 022043c

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

dts/riscv/ite/it51526bw-512.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 ITE Corporation. All Rights Reserved.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
soc {
9+
flashctrl: flash-controller@f01000 {
10+
compatible = "ite,it8xxx2-flash-controller";
11+
reg = <0x00f01000 0x100>;
12+
#address-cells = <1>;
13+
#size-cells = <1>;
14+
15+
flash0: flash@0 {
16+
compatible = "soc-nv-flash";
17+
reg = <0 DT_SIZE_K(512)>;
18+
erase-block-size = <4096>;
19+
write-block-size = <4>;
20+
};
21+
};
22+
};
23+
};

soc/ite/ec/it51xxx/Kconfig.soc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ config SOC_IT51526AW
1515
bool
1616
select SOC_IT51XXX
1717

18+
config SOC_IT51526BW
19+
bool
20+
select SOC_IT51XXX
21+
1822
config SOC_SERIES
1923
default "it51xxx" if SOC_SERIES_IT51XXX
2024

2125
config SOC
2226
default "it51526aw" if SOC_IT51526AW
27+
default "it51526bw" if SOC_IT51526BW

soc/ite/ec/soc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ family:
2020
- name: it51xxx
2121
socs:
2222
- name: it51526aw
23+
- name: it51526bw

0 commit comments

Comments
 (0)