[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230125175751.675090-2-krzysztof.kozlowski@linaro.org>
Date: Wed, 25 Jan 2023 18:57:51 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH 2/2] ARM: dts: exynos: add unit address to DWC3 node wrapper in Exynos54xx
Neither simple-bus bindings nor dtc W=1 accept device nodes in soc@ node
which do not have unit address. Therefore usethe address space
of child device (actual DWC3 Controller) as the wrapper's address to
fix:
exynos5422-odroidhc1.dtb: soc: usb3-0: {'compatible': ['samsung,exynos5250-dwusb3'],
... } should not be valid under {'type': 'object'}
exynos54xx.dtsi:145.21-159.5: Warning (simple_bus_reg): /soc/usb3-0: missing or empty reg/ranges property
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
---
arch/arm/boot/dts/exynos54xx.dtsi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/exynos54xx.dtsi b/arch/arm/boot/dts/exynos54xx.dtsi
index 3ec43761d8b9..08786fd9c6ea 100644
--- a/arch/arm/boot/dts/exynos54xx.dtsi
+++ b/arch/arm/boot/dts/exynos54xx.dtsi
@@ -142,8 +142,9 @@ hsi2c_7: i2c@...d0000 {
status = "disabled";
};
- usbdrd3_0: usb3-0 {
+ usbdrd3_0: usb-wrapper@...00000 {
compatible = "samsung,exynos5250-dwusb3";
+ reg = <0x12000000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
@@ -164,8 +165,9 @@ usbdrd_phy0: phy@...00000 {
#phy-cells = <1>;
};
- usbdrd3_1: usb3-1 {
+ usbdrd3_1: usb-wrapper@...00000 {
compatible = "samsung,exynos5250-dwusb3";
+ reg = <0x12400000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
--
2.34.1
Powered by blists - more mailing lists