Why the address of MIDRn in dts for s32r45 no offset

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Why the address of MIDRn in dts for s32r45 no offset

394 次查看
aiweixin
Contributor IV

Hi,

    I find the address of SIUL2_0 MIDR1 in S32R45 rm file have 4bytes offerset.

aiweixin_2-1677564908060.png

    But, in arch/arm64/boot/dts/freescale/s32r45.dtsi, the address of SIUL2_0 MIDR1 no offset.

aiweixin_3-1677565033239.png

    In my opinion, why not as follow?

<MIDR_SIUL2_0 0 0x0 0x4009c004 0x0 0x08>

    Is it related to address alignment? I'm not sure.

    

 

 

 

 

标记 (2)
0 项奖励
回复
1 回复

378 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Since there are 2 MIDR registers, there must be an offset.

I do not know about the s32r45.dtsi but physically there is offset.

Simply check MIDR registers in debugger.

Best regards,

Peter

0 项奖励
回复