diff options
author | Aswath Govindraju | 2021-03-19 00:10:23 -0500 |
---|---|---|
committer | Dave Gerlach | 2021-04-20 12:47:54 -0500 |
commit | 7b6f3832af6d334d335309d66d206ab829765c0e (patch) | |
tree | 6dae1f79b1daf036480724a072715ca5e4f2faf3 | |
parent | a6b09643aa1acbcfa59bd2c1c080e3ad6c9e8074 (diff) | |
download | k3-image-gen-7b6f3832af6d334d335309d66d206ab829765c0e.tar.gz k3-image-gen-7b6f3832af6d334d335309d66d206ab829765c0e.tar.xz k3-image-gen-7b6f3832af6d334d335309d66d206ab829765c0e.zip |
soc: am64x: Update auto generated RM board config data
Auto generate the RM board config data for AM64 with the following change
in allocation:
There are 12 GPIO banks in main domain which are being used by Linux. Each
bank requires one interrupt resource. So, add resources to A53 by taking
them from MAIN_0_R5_1 and MAIN_0_R5_2.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
-rw-r--r-- | soc/am64x/evm/rm-cfg.c | 28 | ||||
-rw-r--r-- | soc/am64x/evm/sysfw_img_cfg.h | 2 |
2 files changed, 8 insertions, 22 deletions
diff --git a/soc/am64x/evm/rm-cfg.c b/soc/am64x/evm/rm-cfg.c index 5ca838fc3..94f11de71 100644 --- a/soc/am64x/evm/rm-cfg.c +++ b/soc/am64x/evm/rm-cfg.c | |||
@@ -163,34 +163,20 @@ const struct boardcfg_rm_local am64x_boardcfg_rm_data = { | |||
163 | RESASG_SUBTYPE_IR_OUTPUT), | 163 | RESASG_SUBTYPE_IR_OUTPUT), |
164 | .host_id = HOST_ID_MAIN_1_R5_3, | 164 | .host_id = HOST_ID_MAIN_1_R5_3, |
165 | }, | 165 | }, |
166 | /* Main GPIO Interrupt Router */ | ||
167 | { | 166 | { |
168 | .start_resource = 0, | 167 | .start_resource = 32, |
169 | .num_resource = 8, | 168 | .num_resource = 8, |
170 | .type = RESASG_UTYPE (AM64X_DEV_MAIN_GPIOMUX_INTROUTER0, | 169 | .type = RESASG_UTYPE (AM64X_DEV_CMP_EVENT_INTROUTER0, |
171 | RESASG_SUBTYPE_IR_OUTPUT), | ||
172 | .host_id = HOST_ID_A53_2, | ||
173 | }, | ||
174 | { | ||
175 | .start_resource = 8, | ||
176 | .num_resource = 2, | ||
177 | .type = RESASG_UTYPE (AM64X_DEV_MAIN_GPIOMUX_INTROUTER0, | ||
178 | RESASG_SUBTYPE_IR_OUTPUT), | ||
179 | .host_id = HOST_ID_MAIN_0_R5_0, | ||
180 | }, | ||
181 | { | ||
182 | .start_resource = 8, | ||
183 | .num_resource = 2, | ||
184 | .type = RESASG_UTYPE (AM64X_DEV_MAIN_GPIOMUX_INTROUTER0, | ||
185 | RESASG_SUBTYPE_IR_OUTPUT), | 170 | RESASG_SUBTYPE_IR_OUTPUT), |
186 | .host_id = HOST_ID_MAIN_0_R5_1, | 171 | .host_id = HOST_ID_ALL, |
187 | }, | 172 | }, |
173 | /* Main GPIO Interrupt Router */ | ||
188 | { | 174 | { |
189 | .start_resource = 10, | 175 | .start_resource = 0, |
190 | .num_resource = 2, | 176 | .num_resource = 12, |
191 | .type = RESASG_UTYPE (AM64X_DEV_MAIN_GPIOMUX_INTROUTER0, | 177 | .type = RESASG_UTYPE (AM64X_DEV_MAIN_GPIOMUX_INTROUTER0, |
192 | RESASG_SUBTYPE_IR_OUTPUT), | 178 | RESASG_SUBTYPE_IR_OUTPUT), |
193 | .host_id = HOST_ID_MAIN_0_R5_3, | 179 | .host_id = HOST_ID_A53_2, |
194 | }, | 180 | }, |
195 | { | 181 | { |
196 | .start_resource = 12, | 182 | .start_resource = 12, |
diff --git a/soc/am64x/evm/sysfw_img_cfg.h b/soc/am64x/evm/sysfw_img_cfg.h index f028ed62d..cc61370fc 100644 --- a/soc/am64x/evm/sysfw_img_cfg.h +++ b/soc/am64x/evm/sysfw_img_cfg.h | |||
@@ -37,6 +37,6 @@ | |||
37 | #ifndef SYSFW_IMG_CFG_H | 37 | #ifndef SYSFW_IMG_CFG_H |
38 | #define SYSFW_IMG_CFG_H | 38 | #define SYSFW_IMG_CFG_H |
39 | 39 | ||
40 | #define BOARDCFG_RM_RESASG_ENTRIES 180 | 40 | #define BOARDCFG_RM_RESASG_ENTRIES 178 |
41 | 41 | ||
42 | #endif /* SYSFW_IMG_CFG_H */ | 42 | #endif /* SYSFW_IMG_CFG_H */ |