Where to find reg value definition for device tree, like "usbotg1: usb@5b0d0000"?

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

Where to find reg value definition for device tree, like "usbotg1: usb@5b0d0000"?

跳至解决方案
987 次查看
fei_4_xu
Contributor III

Hi, I'm new to device tree, the following code is from `imx8-ss-conn.dtsi`:

 

	usbotg1: usb@5b0d0000 {
		compatible = "fsl,imx8qm-usb", "fsl,imx7ulp-usb",
			"fsl,imx27-usb";
		reg = <0x5b0d0000 0x200>;
		interrupt-parent = <&gic>;
		interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
		fsl,usbphy = <&usbphy1>;
		fsl,usbmisc = <&usbmisc1 0>;
		clocks = <&usb2_lpcg 0>;
		ahb-burst-config = <0x0>;
		tx-burst-size-dword = <0x10>;
		rx-burst-size-dword = <0x10>;
		power-domains = <&pd IMX_SC_R_USB_0>;
		status = "disabled";
	};

 

I'd like to get some information about the reg value, here is "usbotg1: usb@5b0d0000" .

Where is the value of "5b0d0000" from? from some document? some calculation? 

标记 (1)
0 项奖励
回复
1 解答
978 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Fei

 

>Where is the value of "5b0d0000" from?

 

it is from Chapter 2 Memory Map i.MX8QM Reference Manual.

Device tree description can be found in AN5125 Introduction to Device Trees

https://www.nxp.com/docs/en/application-note/AN5125.pdf

 

Best regards
igor

在原帖中查看解决方案

1 回复
979 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Fei

 

>Where is the value of "5b0d0000" from?

 

it is from Chapter 2 Memory Map i.MX8QM Reference Manual.

Device tree description can be found in AN5125 Introduction to Device Trees

https://www.nxp.com/docs/en/application-note/AN5125.pdf

 

Best regards
igor