Skip to content

Commit 9897761

Browse files
ene-stevenfabiobaltieri
authored andcommitted
dts: kb1200 dtsi
Add dtsi for ENE KB1200 Signed-off-by: Steven Chang <[email protected]>
1 parent 5b4c782 commit 9897761

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

dts/arm/ene/kb1200.dtsi

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/*
2+
* Copyright (c) 2023 ENE Technology Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <freq.h>
8+
#include <arm/armv7-m.dtsi>
9+
10+
/ {
11+
chosen {
12+
zephyr,sram = &sram0;
13+
zephyr,flash = &flash0;
14+
};
15+
16+
cpus {
17+
#address-cells = <1>;
18+
#size-cells = <0>;
19+
20+
cpu@0 {
21+
device_type = "cpu";
22+
compatible = "arm,cortex-m4";
23+
reg = <0>;
24+
clock-frequency = <DT_FREQ_M(48)>;
25+
};
26+
};
27+
28+
sram0: memory@20040000 {
29+
compatible = "mmio-sram";
30+
reg = <0x20040000 0x10000>;
31+
};
32+
33+
soc {
34+
flash-controller@50100000 {
35+
compatible = "ene,kb1200-flash-controller";
36+
reg = <0x50100000 0x2000>;
37+
#address-cells = <1>;
38+
#size-cells = <1>;
39+
40+
flash0: flash@10000000 {
41+
compatible = "soc-nv-flash";
42+
reg = <0x10000000 0x40000>;
43+
};
44+
};
45+
46+
pmu: pmu@40010000 {
47+
compatible = "ene,kb1200-pmu";
48+
reg = <0x40010000 0x100>;
49+
};
50+
51+
gcfg: gcfg@40000000 {
52+
compatible = "ene,kb1200-gcfg";
53+
reg = <0x40000000 0x100>;
54+
};
55+
};
56+
};
57+
58+
&nvic {
59+
arm,num-irq-priority-bits = <3>;
60+
};

0 commit comments

Comments
 (0)