Why the address of MIDRn in dts for s32r45 no offset

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why the address of MIDRn in dts for s32r45 no offset

392件の閲覧回数
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 返信

376件の閲覧回数
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 件の賞賛
返信