Skip to content

Commit ff0efbd

Browse files
committed
Add BES2300 config
1 parent bc48075 commit ff0efbd

File tree

2 files changed

+133
-0
lines changed

2 files changed

+133
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env python3
2+
#
3+
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
4+
#
5+
6+
from .bes2300 import bes2300
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
#!/usr/bin/env python3
2+
#
3+
# Cross Platform and Multi Architecture Advanced Binary Emulation Framework
4+
#
5+
6+
bes2300 = {
7+
"ROM": {
8+
"base":0x0,
9+
"size":0xc000,
10+
"type": "memory"
11+
},
12+
"RAM": {
13+
"base":0x200a0000,
14+
"size":0x20000,
15+
"type": "memory"
16+
},
17+
"FLASH": {
18+
"base": 0x3C000000,
19+
"size": 0x100000,
20+
"type": "memory"
21+
},
22+
"CMU": {
23+
"struct": "BES2300Cmu",
24+
"base":0x40000000,
25+
"type": "peripheral"
26+
},
27+
"I2C0": {
28+
"struct": "BES2300I2c",
29+
"base":0x40005000,
30+
"type": "peripheral"
31+
},
32+
"I2C1": {
33+
"struct": "BES2300I2c",
34+
"base":0x40006000,
35+
"type": "peripheral"
36+
},
37+
"SPI": {
38+
"struct": "BES2300Spi",
39+
"base":0x40007000,
40+
"type": "peripheral"
41+
},
42+
"SPILCD": {
43+
"struct": "BES2300Spi",
44+
"base":0x40008000,
45+
"type": "peripheral"
46+
},
47+
"SPIPHY": {
48+
"struct": "BES2300Spi",
49+
"base":0x4000a000,
50+
"type": "peripheral"
51+
},
52+
"UART0": {
53+
"struct": "BES2300Uart",
54+
"base":0x4000b000,
55+
"type": "peripheral"
56+
},
57+
"UART1": {
58+
"struct": "BES2300Uart",
59+
"base":0x4000c000,
60+
"type": "peripheral"
61+
},
62+
"UART2": {
63+
"struct": "BES2300Uart",
64+
"base":0x4000d000,
65+
"type": "peripheral"
66+
},
67+
"BTPCM": {
68+
"struct": "BES2300Btpcm",
69+
"base":0x4000e000,
70+
"type": "peripheral"
71+
},
72+
"I2S0": {
73+
"struct": "BES2300I2s",
74+
"base":0x4000f000,
75+
"type": "peripheral"
76+
},
77+
"SPDIF0": {
78+
"struct": "BES2300Spdif",
79+
"base":0x40010000,
80+
"type": "peripheral"
81+
},
82+
"SDMMC": {
83+
"struct": "BES2300Sdmmc",
84+
"base":0x40110000,
85+
"type": "peripheral"
86+
},
87+
"I2C_SLAVE": {
88+
"struct": "BES2300I2c",
89+
"base":0x40160000,
90+
"type": "peripheral"
91+
},
92+
"USB": {
93+
"struct": "BES2300Usb",
94+
"base":0x40180000,
95+
"type": "peripheral"
96+
},
97+
"CODEC": {
98+
"struct": "BES2300Codec",
99+
"base":0x40300000,
100+
"type": "peripheral"
101+
},
102+
"IOMUX": {
103+
"struct": "BES2300Iomux",
104+
"base":0x40086000,
105+
"type": "peripheral"
106+
},
107+
"GPIO": {
108+
"struct": "BES2300Gpio",
109+
"base":0x40081000,
110+
"type": "peripheral"
111+
},
112+
"PWM": {
113+
"struct": "BES2300Pwm",
114+
"base":0x40083000,
115+
"type": "peripheral"
116+
},
117+
"TIMER0": {
118+
"struct": "BES2300Timer",
119+
"base":0x40002000,
120+
"type": "peripheral"
121+
},
122+
"TIMER1": {
123+
"struct": "BES2300Timer",
124+
"base":0x40003000,
125+
"type": "peripheral"
126+
}
127+
}

0 commit comments

Comments
 (0)