From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic
Date: Tue, 26 Jan 2016 13:47:46 +0100 [thread overview]
Message-ID: <1453812466-28174-2-git-send-email-ricardo.ribalda@gmail.com> (raw)
In-Reply-To: <1453812466-28174-1-git-send-email-ricardo.ribalda@gmail.com>
Add device tree example file for xilinx-ppc440-generic and
xilinx-ppc405-generic
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
arch/powerpc/dts/Makefile | 2 ++
arch/powerpc/dts/xilinx-ppc405-generic.dts | 15 +++++++++++++++
arch/powerpc/dts/xilinx-ppc440-generic.dts | 15 +++++++++++++++
3 files changed, 32 insertions(+)
create mode 100644 arch/powerpc/dts/xilinx-ppc405-generic.dts
create mode 100644 arch/powerpc/dts/xilinx-ppc440-generic.dts
v2: Add newlines after size-cells and aliases block
Credit-to: Bin Meng <bmeng.cn@gmail.com>
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..64983216b57f
--- /dev/null
+++ b/arch/powerpc/dts/xilinx-ppc405-generic.dts
@@ -0,0 +1,15 @@
+/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..c83523a5a481
--- /dev/null
+++ b/arch/powerpc/dts/xilinx-ppc440-generic.dts
@@ -0,0 +1,15 @@
+/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
next prev parent reply other threads:[~2016-01-26 12:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-26 12:47 [U-Boot] [PATCH v2 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver Ricardo Ribalda Delgado
2016-01-26 12:47 ` Ricardo Ribalda Delgado [this message]
2016-01-26 13:13 ` [U-Boot] [PATCH v2 13/22] ppc: dts: Add device tree for xilix-ppc4xx-generic Bin Meng
2016-01-26 14:44 ` Tom Rini
2016-01-26 13:13 ` [U-Boot] [PATCH v2 22/22] ppc: xilinx-ppc440-generic: Wire LL_TEMAC driver Bin Meng
2016-01-26 15:23 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1453812466-28174-2-git-send-email-ricardo.ribalda@gmail.com \
--to=ricardo.ribalda@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox