* [PATCH] ARM: dts: rskrza1: initial device tree
@ 2016-08-25 15:31 Chris Brandt
2016-08-29 13:34 ` Geert Uytterhoeven
2016-08-29 18:13 ` [PATCH v2] " Chris Brandt
0 siblings, 2 replies; 5+ messages in thread
From: Chris Brandt @ 2016-08-25 15:31 UTC (permalink / raw)
To: horms, Magnus Damm, Rob Herring, Mark Rutland, Geert Uytterhoeven
Cc: linux-renesas-soc, devicetree, Chris Brandt, linux-arm-kernel
Add the initial device tree for the RZ/A1 based development board (RSK).
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/r7s72100-rskrza1.dts | 53 ++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 arch/arm/boot/dts/r7s72100-rskrza1.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index faacd52..c1c4d912 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -651,6 +651,7 @@ dtb-$(CONFIG_ARCH_S5PV210) += \
dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
emev2-kzm9d.dtb \
r7s72100-genmai.dtb \
+ r7s72100-rskrza1.dtb \
r8a73a4-ape6evm.dtb \
r8a7740-armadillo800eva.dtb \
r8a7778-bockw.dtb \
diff --git a/arch/arm/boot/dts/r7s72100-rskrza1.dts b/arch/arm/boot/dts/r7s72100-rskrza1.dts
new file mode 100644
index 0000000..df9b979e
--- /dev/null
+++ b/arch/arm/boot/dts/r7s72100-rskrza1.dts
@@ -0,0 +1,53 @@
+/*
+ * Device Tree Source for the RZ/A1H RSK board
+ *
+ * Copyright (C) 2016 Renesas Electronics
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+/dts-v1/;
+#include "r7s72100.dtsi"
+
+/ {
+ model = "RSKRZA1";
+ compatible = "renesas,rskrza1", "renesas,r7s72100";
+
+ aliases {
+ serial0 = &scif2;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@8000000 {
+ device_type = "memory";
+ reg = <0x08000000 0x02000000>;
+ };
+
+ lbsc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <13330000>;
+};
+
+&usb_x1_clk {
+ clock-frequency = <48000000>;
+};
+
+&mtu2 {
+ status = "okay";
+};
+
+&scif2 {
+ status = "okay";
+};
+
--
2.9.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ARM: dts: rskrza1: initial device tree
2016-08-25 15:31 [PATCH] ARM: dts: rskrza1: initial device tree Chris Brandt
@ 2016-08-29 13:34 ` Geert Uytterhoeven
[not found] ` <CAMuHMdXmJPcgDcLkeVuF5YVfpwxRkJpACHGwtbNab18gK-nBbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-29 18:13 ` [PATCH v2] " Chris Brandt
1 sibling, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2016-08-29 13:34 UTC (permalink / raw)
To: Chris Brandt
Cc: Mark Rutland, devicetree@vger.kernel.org, Magnus Damm,
Rob Herring, Linux-Renesas, Simon Horman,
linux-arm-kernel@lists.infradead.org
Hi Chris,
On Thu, Aug 25, 2016 at 5:31 PM, Chris Brandt <chris.brandt@renesas.com> wrote:
> Add the initial device tree for the RZ/A1 based development board (RSK).
Thanks for your patch!
> Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> --- /dev/null
> +++ b/arch/arm/boot/dts/r7s72100-rskrza1.dts
> + compatible = "renesas,rskrza1", "renesas,r7s72100";
scripts/checkpatch.pl says:
DT compatible string "renesas,rskrza1" appears un-documented --
check ./Documentation/devicetree/bindings/
Please send a follow-up patch to add this compatible value to
Documentation/devicetree/bindings/arm/shmobile.txt.
> +&scif2 {
> + status = "okay";
> +};
> +
Please drop the trailing empty line.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2] ARM: dts: rskrza1: initial device tree
2016-08-25 15:31 [PATCH] ARM: dts: rskrza1: initial device tree Chris Brandt
2016-08-29 13:34 ` Geert Uytterhoeven
@ 2016-08-29 18:13 ` Chris Brandt
[not found] ` <20160829181322.25064-1-chris.brandt-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Chris Brandt @ 2016-08-29 18:13 UTC (permalink / raw)
To: Geert Uytterhoeven, Simon Horman, Magnus Damm, Rob Herring,
Mark Rutland
Cc: linux-arm-kernel, devicetree, linux-renesas-soc, Chris Brandt
Add the initial device tree for the RZ/A1 based development board (RSK).
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
* Removed empty line at end
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/r7s72100-rskrza1.dts | 52 ++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 arch/arm/boot/dts/r7s72100-rskrza1.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index faacd52..c1c4d912 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -651,6 +651,7 @@ dtb-$(CONFIG_ARCH_S5PV210) += \
dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
emev2-kzm9d.dtb \
r7s72100-genmai.dtb \
+ r7s72100-rskrza1.dtb \
r8a73a4-ape6evm.dtb \
r8a7740-armadillo800eva.dtb \
r8a7778-bockw.dtb \
diff --git a/arch/arm/boot/dts/r7s72100-rskrza1.dts b/arch/arm/boot/dts/r7s72100-rskrza1.dts
new file mode 100644
index 0000000..aabfa04
--- /dev/null
+++ b/arch/arm/boot/dts/r7s72100-rskrza1.dts
@@ -0,0 +1,52 @@
+/*
+ * Device Tree Source for the RZ/A1H RSK board
+ *
+ * Copyright (C) 2016 Renesas Electronics
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2. This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+/dts-v1/;
+#include "r7s72100.dtsi"
+
+/ {
+ model = "RSKRZA1";
+ compatible = "renesas,rskrza1", "renesas,r7s72100";
+
+ aliases {
+ serial0 = &scif2;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@8000000 {
+ device_type = "memory";
+ reg = <0x08000000 0x02000000>;
+ };
+
+ lbsc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <13330000>;
+};
+
+&usb_x1_clk {
+ clock-frequency = <48000000>;
+};
+
+&mtu2 {
+ status = "okay";
+};
+
+&scif2 {
+ status = "okay";
+};
--
2.9.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-08-30 7:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25 15:31 [PATCH] ARM: dts: rskrza1: initial device tree Chris Brandt
2016-08-29 13:34 ` Geert Uytterhoeven
[not found] ` <CAMuHMdXmJPcgDcLkeVuF5YVfpwxRkJpACHGwtbNab18gK-nBbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-29 14:56 ` Chris Brandt
2016-08-29 18:13 ` [PATCH v2] " Chris Brandt
[not found] ` <20160829181322.25064-1-chris.brandt-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2016-08-30 7:07 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).