[U-Boot] [PATCH 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Tue Jan 26 11:24:16 CET 2016


Add device tree example file for xilinx-ppc440-generic and
xilinx-ppc405-generic

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
---
 arch/powerpc/dts/Makefile                  |  2 ++
 arch/powerpc/dts/xilinx-ppc405-generic.dts | 13 +++++++++++++
 arch/powerpc/dts/xilinx-ppc440-generic.dts | 13 +++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
 create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts

diff --git a/arch/powerpc/dts/Makefile b/arch/powerpc/dts/Makefile
index 5d9f5c2822b2..80b4c0c4e374 100644
--- a/arch/powerpc/dts/Makefile
+++ b/arch/powerpc/dts/Makefile
@@ -3,6 +3,8 @@
 #
 
 dtb-$(CONFIG_TARGET_CANYONLANDS) += arches.dtb canyonlands.dtb glacier.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC440_GENERIC) += xilinx-ppc440-generic.dtb
+dtb-$(CONFIG_TARGET_XILINX_PPC405_GENERIC) += xilinx-ppc405-generic.dtb
 
 targets += $(dtb-y)
 
diff --git a/arch/powerpc/dts/xilinx-ppc405-generic.dts b/arch/powerpc/dts/xilinx-ppc405-generic.dts
new file mode 100644
index 000000000000..23c89335831e
--- /dev/null
+++ b/arch/powerpc/dts/xilinx-ppc405-generic.dts
@@ -0,0 +1,13 @@
+/dts-v1/;
+/ {
+	#address-cells = <1>;
+	#size-cells = <1>;
+	aliases {
+		console = &uart0;
+	} ;
+	uart0: serial at 84000000 {
+		compatible = "xlnx,xps-uartlite-1.00.a";
+		interrupts = <0 0>;
+		reg = <0x84000000 0x10000>;
+	};
+} ;
diff --git a/arch/powerpc/dts/xilinx-ppc440-generic.dts b/arch/powerpc/dts/xilinx-ppc440-generic.dts
new file mode 100644
index 000000000000..faae9fffcd0e
--- /dev/null
+++ b/arch/powerpc/dts/xilinx-ppc440-generic.dts
@@ -0,0 +1,13 @@
+/dts-v1/;
+/ {
+	#address-cells = <1>;
+	#size-cells = <1>;
+	aliases {
+		console = &uart0;
+	} ;
+	uart0: serial at 8b000000 {
+		compatible = "xlnx,xps-uartlite-1.00.a";
+		interrupts = <0 0>;
+		reg = <0x8b000000 0x10000>;
+	};
+} ;
-- 
2.7.0.rc3



More information about the U-Boot mailing list