[PATCH 1/2] ARM64: dts: rk3399: Fix USB dwc3 nodes unit names

UtsavBalar1231 utsavbalar1231 at gmail.com
Wed May 17 00:11:15 PDT 2023


Not every parent node is required to have register addresses,
but if a parent node includes the register address in its node name
without specifying a "reg" property in its body,
it will result in the generation of following warning messages:

Warning (unit_address_vs_reg): Node /usb at fe800000 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /usb at fe900000 has a unit name, but no reg property

Fixes: 7144224f2c2b ("arm64: dts: rockchip: support dwc3 USB for rk3399")

Signed-off-by: UtsavBalar1231 <utsavbalar1231 at gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 928948e7c7bb..bae257fa957a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -430,7 +430,7 @@ debug at fe710000 {
 		cpu = <&cpu_b1>;
 	};
 
-	usbdrd3_0: usb at fe800000 {
+	usbdrd3_0: usbdrd3-0 {
 		compatible = "rockchip,rk3399-dwc3";
 		#address-cells = <2>;
 		#size-cells = <2>;
@@ -466,7 +466,7 @@ usbdrd_dwc3_0: usb at fe800000 {
 		};
 	};
 
-	usbdrd3_1: usb at fe900000 {
+	usbdrd3_1: usbdrd3-1 {
 		compatible = "rockchip,rk3399-dwc3";
 		#address-cells = <2>;
 		#size-cells = <2>;
-- 
2.39.2




More information about the Linux-rockchip mailing list