Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: rockchip: Rename dwc3 device nodes on rk3399 to make dtc happy

The device tree compiler complains that the dwc3 nodes have regs
properties but no matching unit addresses.

Add the unit addresses to the device node name. While at it, also rename
the nodes from "dwc3" to "usb", as guidelines require device nodes have
generic names.

Fixes: 7144224f2c2b ("arm64: dts: rockchip: support dwc3 USB for rk3399")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200327030414.5903-7-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Chen-Yu Tsai and committed by
Heiko Stuebner
190c7f6f 59782311

+2 -2
+2 -2
arch/arm64/boot/dts/rockchip/rk3399.dtsi
··· 403 403 reset-names = "usb3-otg"; 404 404 status = "disabled"; 405 405 406 - usbdrd_dwc3_0: dwc3 { 406 + usbdrd_dwc3_0: usb@fe800000 { 407 407 compatible = "snps,dwc3"; 408 408 reg = <0x0 0xfe800000 0x0 0x100000>; 409 409 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>; ··· 439 439 reset-names = "usb3-otg"; 440 440 status = "disabled"; 441 441 442 - usbdrd_dwc3_1: dwc3 { 442 + usbdrd_dwc3_1: usb@fe900000 { 443 443 compatible = "snps,dwc3"; 444 444 reg = <0x0 0xfe900000 0x0 0x100000>; 445 445 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>;