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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,553 Views
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? 

Tags (1)
0 Kudos
Reply
1 Solution
1,544 Views
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

View solution in original post

1 Reply
1,545 Views
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