Thread (27 messages) flat view 27 messages, 5 authors, 2007-11-30

Re: [PATCH v7 9/9] add MPC837x MDS board default device tree

From: Kumar Gala <hidden>
Date: 2007-11-30 00:44:31

On Oct 19, 2007, at 6:38 AM, Li Yang wrote:
Signed-off-by: Li Yang <redacted>
---
Updated pci node.
arch/powerpc/boot/dts/mpc8377_mds.dts |  282 ++++++++++++++++++++++++ 
+++++++
arch/powerpc/boot/dts/mpc8378_mds.dts |  264 ++++++++++++++++++++++++ 
+++++
arch/powerpc/boot/dts/mpc8379_mds.dts |  300 ++++++++++++++++++++++++ 
+++++++++
3 files changed, 846 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/mpc8377_mds.dts
create mode 100644 arch/powerpc/boot/dts/mpc8378_mds.dts
create mode 100644 arch/powerpc/boot/dts/mpc8379_mds.dts
Can you make the following updates:

* Drop serdes and phy-handles
* Update sata nodes:

+	sata@19000 {
+		compatible = "fsl,mpc8315-sata", "fsl,sata-pq2pro;
+		reg = <19000 1000>;
+		interrupts = <2d 8>;
+		interrupt-parent = < &ipic >;
+        };

* Added labels for ethernet (enet), serial, pci

(some examples below):

- k
quoted hunk ↗ jump to hunk
diff --git a/arch/powerpc/boot/dts/mpc8377_mds.dts b/arch/powerpc/ 
boot/dts/mpc8377_mds.dts
new file mode 100644
index 0000000..4402e39
--- /dev/null
+++ b/arch/powerpc/boot/dts/mpc8377_mds.dts
@@ -0,0 +1,282 @@
+/*
+ * MPC8377E MDS Device Tree Source
+ *
+ * Copyright 2007 Freescale Semiconductor Inc.
+ *
+ * This program is free software; you can redistribute  it and/or  
modify it
+ * under  the terms of  the GNU General  Public License as  
published by the
+ * Free Software Foundation;  either version 2 of the  License, or  
(at your
+ * option) any later version.
+ */
+
+/ {
+	model = "fsl,mpc8377emds";
+	compatible = "fsl,mpc8377emds","fsl,mpc837xmds";
+	#address-cells = <1>;
+	#size-cells = <1>;
[VERIFY THIS -- is copy/pasted from somewhere else]

+       aliases {
+               ethernet0 = "/soc8540@e0000000/ethernet@24000";
+               ethernet1 = "/soc@e0000000/ethernet@25000";
+               ethernet2 = "/soc@e0000000/ethernet@26000";
+               serial0 = "/soc@e0000000/serial@4500";
+               serial1 = "/soc@e0000000/serial@4600";
+               pci0 = "/pci@e0008000";
+       };

+
+		enet0: ethernet@24000 {
+			device_type = "network";
+			model = "eTSEC";
+			compatible = "gianfar";
+			reg = <24000 1000>;
+			local-mac-address = [ 00 00 00 00 00 00 ];
+			interrupts = <20 8 21 8 22 8>;
+			phy-connection-type = "mii";
+			interrupt-parent = < &ipic >;
+			phy-handle = < &phy2 >;
+		};
+
+		enet1: ethernet@25000 {
+			device_type = "network";
+			model = "eTSEC";
+			compatible = "gianfar";
+			reg = <25000 1000>;
+			local-mac-address = [ 00 00 00 00 00 00 ];
+			interrupts = <23 8 24 8 25 8>;
+			phy-connection-type = "mii";
+			interrupt-parent = < &ipic >;
+			phy-handle = < &phy3 >;
+		};
+
+		serial0: serial@4500 {
+			device_type = "serial";
+			compatible = "ns16550";
+			reg = <4500 100>;
+			clock-frequency = <0>;
+			interrupts = <9 8>;
+			interrupt-parent = < &ipic >;
+		};
+
+		serial1: serial@4600 {
+			device_type = "serial";
+			compatible = "ns16550";
+			reg = <4600 100>;
+			clock-frequency = <0>;
+			interrupts = <a 8>;
+			interrupt-parent = < &ipic >;
+		};
+
+	pci0: pci@e0008500 {
+		interrupt-map-mask = <f800 0 0 7>;
+		
device_type = "pci";
+	};
+};
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help