OSDN Git Service

ARM: dts: imx51: Fix USB PHY duplicate unit-address
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 3 Jul 2018 13:05:54 +0000 (10:05 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 3 Jul 2018 13:45:57 +0000 (21:45 +0800)
commit82210bfd942b891c502afe471cda16eccf565ed5
tree18b97f5195eb31b23b007f8072fa997dc999693c
parentb97872d4eb226fa853d0f69c72b24a711e388757
ARM: dts: imx51: Fix USB PHY duplicate unit-address

Currently the following DTC warnings are seen with W=1:

arch/arm/boot/dts/imx51-babbage.dtb: Warning (unique_unit_address): /usbphy/usbphy@0: duplicate unit-address (also used in node /usbphy/usbh1phy@0)
arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dtb: Warning (unique_unit_address): /usbphy/usbphy@0: duplicate unit-address (also used in node /usbphy/usbh1phy@0)

Fix it by moving the USB PHY nodes outside of simple-bus and drop the
unneeded unit-address, which matches the bindings documentation
at Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt

While at it rename the USB PHY node to usbphy1 for consistency.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-babbage.dts
arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts
arch/arm/boot/dts/imx51.dtsi