arm64: dts: marvell: armada-37xx: fix USB2 memory region
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Jan 2019 09:36:33 +0000 (10:36 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Wed, 6 Feb 2019 11:18:07 +0000 (12:18 +0100)
The specification splits the USB2 memory region into three sections:
1/ 0xD005E000-0xD005EFFF: USB2 Host Controller Registers
2/ 0xD005F000-0xD005F7FF: USB2 UTMI PHY Registers
3/ 0xD005F800-0xD005FFFF: USB2 Host Miscellaneous Registers

Section 1/ belongs to the USB2 node but section 2/ belongs to the UTMI
PHY node. Section 3/ can be accessed by both the USB controller and
the PHY because of the miscaellaneous nature of the registers inside
so a specific node will be created to cover the area and a handle to
it will be added in both the USB controller and the PHY node.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index e832ea597a1645938a317146a51ecf77d06627ab..27f780bae6eacdd8713131f01b3e69e3178d2f49 100644 (file)
 
                        usb2: usb@5e000 {
                                compatible = "marvell,armada-3700-ehci";
-                               reg = <0x5e000 0x2000>;
+                               reg = <0x5e000 0x1000>;
                                interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
                                status = "disabled";
                        };