Bladeren bron

arm64: allwinner: a64: add pmu0 regs for USB PHY

The USB PHY in A64 has a "pmu0" region, which controls the EHCI/OHCI
controller pair that can be connected to the PHY0.

Add the MMIO region for PHY node.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Icenowy Zheng 8 jaren geleden
bovenliggende
commit
0d98479738
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

+ 2 - 0
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

@@ -179,8 +179,10 @@
 		usbphy: phy@01c19400 {
 		usbphy: phy@01c19400 {
 			compatible = "allwinner,sun50i-a64-usb-phy";
 			compatible = "allwinner,sun50i-a64-usb-phy";
 			reg = <0x01c19400 0x14>,
 			reg = <0x01c19400 0x14>,
+			      <0x01c1a800 0x4>,
 			      <0x01c1b800 0x4>;
 			      <0x01c1b800 0x4>;
 			reg-names = "phy_ctrl",
 			reg-names = "phy_ctrl",
+				    "pmu0",
 				    "pmu1";
 				    "pmu1";
 			clocks = <&ccu CLK_USB_PHY0>,
 			clocks = <&ccu CLK_USB_PHY0>,
 				 <&ccu CLK_USB_PHY1>;
 				 <&ccu CLK_USB_PHY1>;