arm64: dts: imx8mp: Add memory for USB3 glue layer to usb3 nodes
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Fri, 18 Feb 2022 15:27:07 +0000 (16:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Mar 2022 14:37:11 +0000 (15:37 +0100)
The USB3 glue layer has 2 areas in the register set, see RM Rev.1
section 11.2.5.2.1 GLUE_usb3 memory map:
* USB3 control/status
* PHY control/status

Provide the memory area to the usb3 nodes for accessing the features
in the USB3 control area.

Reviewed-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20220218152707.2198357-5-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/freescale/imx8mp.dtsi

index 6b840c0..61ef0e6 100644 (file)
 
                usb3_0: usb@32f10100 {
                        compatible = "fsl,imx8mp-dwc3";
-                       reg = <0x32f10100 0x8>;
+                       reg = <0x32f10100 0x8>,
+                             <0x381f0000 0x20>;
                        clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
                                 <&clk IMX8MP_CLK_USB_ROOT>;
                        clock-names = "hsio", "suspend";
 
                usb3_1: usb@32f10108 {
                        compatible = "fsl,imx8mp-dwc3";
-                       reg = <0x32f10108 0x8>;
+                       reg = <0x32f10108 0x8>,
+                             <0x382f0000 0x20>;
                        clocks = <&clk IMX8MP_CLK_HSIO_ROOT>,
                                 <&clk IMX8MP_CLK_USB_ROOT>;
                        clock-names = "hsio", "suspend";