lantiq: dts: Move the &usb_vbus nodes out of &gpio
authorLuca Olivetti <luca@ventoso.org>
Mon, 6 Jul 2020 18:24:02 +0000 (20:24 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 10 Jul 2020 11:55:21 +0000 (13:55 +0200)
commitde75d6ecfaa50261cfffba0e0f61a5cc3cc0d001
treee04120fb769a56a72696e96447aa783c35051047
parent2d14da2c7d77c4dc2ea8bee3cabcdf7d04ab0620
lantiq: dts: Move the &usb_vbus nodes out of &gpio

Move the USB VBUS regulator nodes out of the GPIO controller node. This
fixes a problem where the "regulator-fixed" driver wasn't probed for
these regulators because the GPIO driver doesn't scan the child-nodes
and based on the dt-bindings documentation it's not supposed to.

This fixed the following error reported by Luca Olivetti:
  ...
  dwc2 1e101000.usb: DWC OTG Controller
  dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
  dwc2 1e101000.usb: irq 62, io mem 0x1e101000
  dwc2 1e101000.usb: startup error -517
  dwc2 1e101000.usb: USB bus 1 deregistered
  dwc2 1e101000.usb: dwc2_hcd_init() FAILED, returning -517

Fixes: FS#1634
Cc: Luca Olivetti <luca@ventoso.org>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
[backported from 982468de35d499f85470b7b547d2b27cea53bae0]
Signed-off-by: Luca Olivetti <luca@ventoso.org>
target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts
target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts
target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts
target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts