Thread (3 messages) 3 messages, 2 authors, 2024-12-30

Re: [PATCH] ARM: dts: amlogic: meson: remove size and address cells from USB nodes

From: neil.armstrong@linaro.org
Date: 2024-12-30 09:55:31
Also in: linux-amlogic, linux-devicetree, lkml

On 26/12/2024 23:03, Martin Blumenstingl wrote:
quoted hunk ↗ jump to hunk
The only board that actually requires these properties is
meson8b-odroidc1.dts but that already sets it on it's own. Drop these
properties from meson.dtsi because otherwise they can cause dtc
warnings:
   /soc/usb@c9040000: unnecessary #address-cells/#size-cells without
   "ranges", "dma-ranges" or child "reg" property

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
  arch/arm/boot/dts/amlogic/meson.dtsi | 4 ----
  1 file changed, 4 deletions(-)
diff --git a/arch/arm/boot/dts/amlogic/meson.dtsi b/arch/arm/boot/dts/amlogic/meson.dtsi
index 8cb0fc78b2af..28ec2c821cdc 100644
--- a/arch/arm/boot/dts/amlogic/meson.dtsi
+++ b/arch/arm/boot/dts/amlogic/meson.dtsi
@@ -255,8 +255,6 @@ rtc: rtc@740 {
  
  		usb0: usb@c9040000 {
  			compatible = "snps,dwc2";
-			#address-cells = <1>;
-			#size-cells = <0>;
  			reg = <0xc9040000 0x40000>;
  			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  			phys = <&usb0_phy>;
@@ -270,8 +268,6 @@ usb0: usb@c9040000 {
  
  		usb1: usb@c90c0000 {
  			compatible = "snps,dwc2";
-			#address-cells = <1>;
-			#size-cells = <0>;
  			reg = <0xc90c0000 0x40000>;
  			interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  			phys = <&usb1_phy>;
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help