Showing results for 
Search instead for 
Did you mean: 

what does "reg" property mean in STM32MP157 FMC device tree

Associate II

hi ST community

i am new  to STM32MP1 and linux 

i want to attach external devices to STM32MP146 with FMC

i read a wiki about FMC device tree configruation  and 

linux/Documentation/devicetree/bindings/memory-controllers/ st,stm32-fmc2-ebi.yaml

i have some questions 

there is a description about reg  in st,stm32-fmc2-ebi.yaml
" properties:
description: Bank number, base address and size of the device.


what does  base address mean ? 

does that  mean  that    Bank start address + base address is  physical address  which is seen at device  ?

and  the wiki shows example 

 psram@0,0 {
compatible = "mtd-ram";
reg = <0 0x00000000 0x100000>;

that means  psram start CS0's start address + 0x00000000  ?

if i chage 0x00000000  to 0x1000  then   is  physical start addresss   " CS0's start+ 0x10000 "  ?

and another question 

if  reg property has two values such as  < 0 0x0000 0x1000 >  < 1 0x2000 0x1000 >

does timing values  ( ex:st,fmc2-ebi-cs-mux-enable  )  be applied to both CS0 and  CS1  ?  

thank you sincerely