Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 08:18:40 GMT
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 176345 for review
Message-ID:  <201003310818.o2V8Iehm010026@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=176345

Change 176345 by raj@raj_fdt on 2010/03/31 08:17:59

	Provide initial PCIE device tree node for DB-88F6XXX DTS.
	
	Other minor corrections and adjustments in ARM DTS files.

Affected files ...

.. //depot/projects/fdt/sys/boot/fdt/dts/db88f6281.dts#7 edit
.. //depot/projects/fdt/sys/boot/fdt/dts/sheevaplug.dts#5 edit

Differences ...

==== //depot/projects/fdt/sys/boot/fdt/dts/db88f6281.dts#7 (text+ko) ====

@@ -41,9 +41,12 @@
 
 	aliases {
 		ethernet0 = &enet0;
+		mpp = &MPP;
+		pci0 = &pci0;
 		serial0 = &serial0;
 		serial1 = &serial1;
-		mpp = &MPP;
+		soc = &SOC;
+		sram = &SRAM;
 	};
 
 	cpus {
@@ -114,7 +117,7 @@
 		};
 	};
 
-	soc88f6281@f1000000 {
+	SOC: soc88f6281@f1000000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "simple-bus";
@@ -263,8 +266,44 @@
 		};
 	};
 
-	sram@fd000000 {
+	SRAM: sram@fd000000 {
 		compatible = "mrvl,cesa-sram";
 		reg = <0xfd000000 0x00100000>;
 	};
+
+	pci0: pcie@f1040000 {
+		compatible = "mrvl,pcie";
+		device_type = "pci";
+		#interrupt-cells = <1>;
+		#size-cells = <2>;
+		#address-cells = <3>;
+		reg = <0xf1040000 0x2000>;
+		bus-range = <0 255>;
+		ranges = <0x02000000 0x0 0xf1300000 0xf1300000 0x0 0x04000000
+			  0x01000000 0x0 0x00000000 0xf1100000 0x0 0x00100000>;
+		clock-frequency = <33333333>;
+		interrupt-parent = <&PIC>;
+		interrupts = <44>;
+		interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
+		interrupt-map = <
+			/* IDSEL 0x1 */
+			0x0800 0x0 0x0 0x1 &PIC 0x9
+			0x0800 0x0 0x0 0x2 &PIC 0x9
+			0x0800 0x0 0x0 0x3 &PIC 0x9
+			0x0800 0x0 0x0 0x4 &PIC 0x9
+			>;
+		pcie@0 {
+			reg = <0x0 0x0 0x0 0x0 0x0>;
+			#size-cells = <2>;
+			#address-cells = <3>;
+			device_type = "pci";
+			ranges = <0x02000000 0x0 0xf1300000
+				  0x02000000 0x0 0xf1300000
+				  0x0 0x04000000
+
+				  0x01000000 0x0 0x0
+				  0x01000000 0x0 0x0
+				  0x0 0x00100000>;
+		};
+	};
 };

==== //depot/projects/fdt/sys/boot/fdt/dts/sheevaplug.dts#5 (text+ko) ====

@@ -41,9 +41,11 @@
 
 	aliases {
 		ethernet0 = &enet0;
+		mpp = &MPP;
 		serial0 = &serial0;
 		serial1 = &serial1;
-		mpp = &MPP;
+		soc = &SOC;
+		sram = &SRAM;
 	};
 
 	cpus {
@@ -114,7 +116,7 @@
 		};
 	};
 
-	soc88f6281@f1000000 {
+	SOC: soc88f6281@f1000000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "simple-bus";
@@ -254,7 +256,7 @@
 		};
 	};
 
-	sram@fd000000 {
+	SRAM: sram@fd000000 {
 		compatible = "mrvl,cesa-sram";
 		reg = <0xfd000000 0x00100000>;
 	};



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003310818.o2V8Iehm010026>