All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 01/11] ARM: dts: imx53: Move nodes which have no reg property out of bus
@ 2017-11-29 18:54 ` Fabio Estevam
  0 siblings, 0 replies; 28+ messages in thread
From: Fabio Estevam @ 2017-11-29 18:54 UTC (permalink / raw)
  To: shawnguo-DgEjT+Ai2ygdnm+yROfE0A
  Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Fabio Estevam

From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>

Move pmu, usbphy0 and usbphy1 nodes from soc node to root node.

The nodes that have been moved do not have any register properties and thus
shouldn't be placed on the bus.

This fixes the following build warnings with W=1:

arch/arm/boot/dts/imx53-ard.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/boot/dts/imx53-ard.dtb: Warning (simple_bus_reg): Node /soc/aips@50000000/usbphy-0 missing or empty reg/ranges property
arch/arm/boot/dts/imx53-ard.dtb: Warning (simple_bus_reg): Node /soc/aips@50000000/usbphy-1 missing or empty reg/ranges property
arch/arm/boot/dts/imx53-ard.dtb: Warning (simple_bus_reg): Node /soc/pmu missing or empty reg/ranges property

Based on a patch from Simon Horman for r8a7795.dtsi.

Signed-off-by: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>
---
Changes since v1:
- None

 arch/arm/boot/dts/imx53.dtsi | 43 ++++++++++++++++++++++---------------------
 1 file changed, 22 insertions(+), 21 deletions(-)

diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi
index fb6cdd6..c088a23 100644
--- a/arch/arm/boot/dts/imx53.dtsi
+++ b/arch/arm/boot/dts/imx53.dtsi
@@ -116,6 +116,28 @@
 		};
 	};
 
+	pmu {
+		compatible = "arm,cortex-a8-pmu";
+		interrupt-parent = <&tzic>;
+		interrupts = <77>;
+	};
+
+	usbphy0: usbphy-0 {
+		compatible = "usb-nop-xceiv";
+		clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
+		clock-names = "main_clk";
+		#phy-cells = <0>;
+		status = "okay";
+	};
+
+	usbphy1: usbphy-1 {
+		compatible = "usb-nop-xceiv";
+		clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
+		clock-names = "main_clk";
+		#phy-cells = <0>;
+		status = "okay";
+	};
+
 	soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
@@ -299,22 +321,6 @@
 				reg = <0x53f00000 0x60>;
 			};
 
-			usbphy0: usbphy-0 {
-				compatible = "usb-nop-xceiv";
-				clocks = <&clks IMX5_CLK_USB_PHY1_GATE>;
-				clock-names = "main_clk";
-				#phy-cells = <0>;
-				status = "okay";
-			};
-
-			usbphy1: usbphy-1 {
-				compatible = "usb-nop-xceiv";
-				clocks = <&clks IMX5_CLK_USB_PHY2_GATE>;
-				clock-names = "main_clk";
-				#phy-cells = <0>;
-				status = "okay";
-			};
-
 			usbotg: usb@53f80000 {
 				compatible = "fsl,imx53-usb", "fsl,imx27-usb";
 				reg = <0x53f80000 0x0200>;
@@ -815,10 +821,5 @@
 			reg = <0xf8000000 0x20000>;
 			clocks = <&clks IMX5_CLK_OCRAM>;
 		};
-
-		pmu {
-			compatible = "arm,cortex-a8-pmu";
-			interrupts = <77>;
-		};
 	};
 };
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-12-20 15:13 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-29 18:54 [PATCH v2 01/11] ARM: dts: imx53: Move nodes which have no reg property out of bus Fabio Estevam
2017-11-29 18:54 ` Fabio Estevam
     [not found] ` <1511981684-13433-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-29 18:54   ` [PATCH v2 02/11] ARM: dts: imx6: " Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-11-29 18:54   ` [PATCH v2 03/11] ARM: dts: imx6: Add unit address and reg for the anatop nodes Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-11-29 18:54   ` [PATCH v2 04/11] ARM: dts: imx6dl: Pass the reg properties for mipi nodes Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
     [not found]     ` <1511981684-13433-4-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-01 13:05       ` Philipp Zabel
2017-12-01 13:05         ` Philipp Zabel
2017-11-29 18:54   ` [PATCH v2 05/11] ARM: dts: imx6dl: Remove unneeded label and unit address Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
     [not found]     ` <1511981684-13433-5-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-01 13:04       ` Philipp Zabel
2017-12-01 13:04         ` Philipp Zabel
2017-11-29 18:54   ` [PATCH v2 06/11] ARM: dts: imx7: Move nodes which have no reg property out of bus Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-11-29 18:54   ` [PATCH v2 07/11] ARM: dts: imx7d: Fix pcie node warnings Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-11-29 18:54   ` [PATCH v2 08/11] ARM: dts: imx7s: Add unit address and reg for the anatop nodes Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-11-29 18:54   ` [PATCH v2 09/11] ARM: dts: vfxxx: Move nodes which have no reg property out of bus Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-11-29 18:54   ` [PATCH v2 10/11] ARM: dts: imx6sx: Fix spba-bus unit address Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-11-29 18:54   ` [PATCH v2 11/11] ARM: dts: vf500: Fix interrupt-controller " Fabio Estevam
2017-11-29 18:54     ` Fabio Estevam
2017-12-20 15:13   ` [PATCH v2 01/11] ARM: dts: imx53: Move nodes which have no reg property out of bus Shawn Guo
2017-12-20 15:13     ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.