* Tony Lindgren <tony@xxxxxxxxxxx> [170929 15:35]: > Let's make use of the generic ti-sysc module for musb to have > a child device with working runtime PM. ... > + target-module@4a0ab000 { > + compatible = "ti,sysc-omap4"; > ti,hwmods = "usb_otg_hs"; And this should be compatible with "ti,sysc-omap2", I messed it up while changing from type1 and 2 to omap2 and omap4. Will apply the updated version below. Regards, Tony 8< --------------------- >From tony Mon Sep 17 00:00:00 2001 From: Tony Lindgren <tony@xxxxxxxxxxx> Date: Fri, 29 Sep 2017 08:20:50 -0700 Subject: [PATCH] ARM: dts: Use ti-sysc module driver for omap4 musb Let's make use of the generic ti-sysc module for musb to have a child device with working runtime PM. Cc: Bin Liu <b-liu@xxxxxx> Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> --- arch/arm/boot/dts/omap4.dtsi | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -1117,19 +1117,31 @@ reg-names = "otghs_control"; }; - usb_otg_hs: usb_otg_hs@4a0ab000 { - compatible = "ti,omap4-musb"; - reg = <0x4a0ab000 0x7ff>; - interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "mc", "dma"; + target-module@4a0ab000 { + compatible = "ti,sysc-omap2"; ti,hwmods = "usb_otg_hs"; - usb-phy = <&usb2_phy>; - phys = <&usb2_phy>; - phy-names = "usb2-phy"; - multipoint = <1>; - num-eps = <16>; - ram-bits = <12>; - ctrl-module = <&omap_control_usbotg>; + reg = <0x4a0ab000 0x4>, + <0x4a0ab004 0x4>, + <0x4a0ab008 0x4>; + reg-names = "rev", "sysc", "syss"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x4a0ab000 0x1000>; + + usb_otg_hs: otg@0 { + compatible = "ti,omap2-musb"; + reg = <0x0 0x7ff>; + interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "mc", "dma"; + usb-phy = <&usb2_phy>; + phys = <&usb2_phy>; + phy-names = "usb2-phy"; + multipoint = <1>; + num-eps = <16>; + ram-bits = <12>; + ctrl-module = <&omap_control_usbotg>; + }; }; aes1: aes@4b501000 { -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html