10-22-2018 09:18 AM
In the OpenAMP 2018.1 wiki there is this line in a dtsi example...
10-22-2018 10:31 AM
0xFF9A0100 is the rpu0 cfg register
0xFF9A0000 is the rpu_glb_cntl register
0xFF340000 is the CH7_TRIG IPI register. This is used because the default APU IPI is being used for atf and pmufw.
These registers are also described in the reg-names in the node description
reg = <0x0 0xff9a0100 0x0 0x100>, <0x0 0xff340000 0x0 0x100>, <0x0 0xff9a0000 0x0 0x100>; reg-names = "rpu_base", "ipi", "rpu_glbl_base";
Please see UG1087 for detailed register descriptions
10-22-2018 10:53 AM - edited 10-22-2018 11:04 AM
Ah... okay, I get it now.
reg = <>
I get that the second value is the register address now. ;)
So what are the other three value please that are inside the <> along with the register address?
In this example the register address is always preceded by 0x0, and is always followed by 0x0 0x100.
10-22-2018 12:59 PM
This is 64-bit addressing. Please see reg property in the device-tree specification doc
You can also see How addressing works section in this link
0x0 0xff9a0100 - This denotes the base address
0 0x100 - This denotes the length