ppc: dts: Add device tree for xilix-ppc4xx-generic
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 26 Jan 2016 12:47:46 +0000 (13:47 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:43:01 +0000 (15:43 +0100)
Add device tree example file for xilinx-ppc440-generic and
xilinx-ppc405-generic

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
arch/powerpc/dts/Makefile
arch/powerpc/dts/xilinx-ppc405-generic.dts [new file with mode: 0644]
arch/powerpc/dts/xilinx-ppc440-generic.dts [new file with mode: 0644]

index 5d9f5c2822b26b0a40707eb781913ff3923e59d0..80b4c0c4e374f27cb0545845508ce51919df4e1f 100644 (file)
@@ -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 (file)
index 0000000..6498321
--- /dev/null
@@ -0,0 +1,15 @@
+/dts-v1/;
+/ {
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       aliases {
+               console = &uart0;
+       };
+
+       uart0: serial@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 (file)
index 0000000..c83523a
--- /dev/null
@@ -0,0 +1,15 @@
+/dts-v1/;
+/ {
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       aliases {
+               console = &uart0;
+       };
+
+       uart0: serial@8b000000 {
+               compatible = "xlnx,xps-uartlite-1.00.a";
+               interrupts = <0 0>;
+               reg = <0x8b000000 0x10000>;
+       };
+} ;