devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 13:58 Guido Martínez
  2014-04-28 13:58 ` [PATCH 2/4] ARM: dts: am335x-evm: " Guido Martínez
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
  To: LKML, bcousson, tony
  Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
	linux-omap, devicetree, linux-arm-kernel, Ezequiel García,
	Guido Martínez

Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
 arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..b95bc9a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -183,28 +183,28 @@
 &usb {
 	status = "okay";
 
-	control@44e10620 {
+	&usb_ctrl_mod {
 		status = "okay";
 	};
 
-	usb-phy@47401300 {
+	&usb0_phy {
 		status = "okay";
 	};
 
-	usb-phy@47401b00 {
+	&usb1_phy {
 		status = "okay";
 	};
 
-	usb@47401000 {
+	&usb0 {
 		status = "okay";
 	};
 
-	usb@47401800 {
+	&usb1 {
 		status = "okay";
 		dr_mode = "host";
 	};
 
-	dma-controller@47402000  {
+	&cppi41dma  {
 		status = "okay";
 	};
 };
-- 
1.9.2

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

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

end of thread, other threads:[~2014-05-06 16:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-28 13:58 [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs Guido Martínez
2014-04-28 13:58 ` [PATCH 2/4] ARM: dts: am335x-evm: " Guido Martínez
2014-05-06 16:16   ` Felipe Balbi
2014-04-28 13:58 ` [PATCH 3/4] ARM: dts: am335x-evmsk: " Guido Martínez
2014-05-06 16:16   ` Felipe Balbi
2014-04-28 13:58 ` [PATCH 4/4] ARM: dts: am335x-igep0033: " Guido Martínez
2014-05-06 16:17   ` Felipe Balbi
     [not found] ` <1398693512-5355-1-git-send-email-guido-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
2014-04-28 14:41   ` [PATCH 1/4] ARM: dts: am335x-bone-common: " George Cherian
     [not found]     ` <535E689D.7010204-l0cyMroinI0@public.gmane.org>
2014-04-28 16:10       ` Guido Martínez
2014-05-06 16:16 ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).