* [PATCH 0/2] Add R8A7791/Henninger board DT support
@ 2014-04-24 22:39 Sergei Shtylyov
2014-04-24 22:42 ` [PATCH 1/2] ARM: shmobile: henninger: initial device tree Sergei Shtylyov
` (14 more replies)
0 siblings, 15 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2014-04-24 22:39 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-v3.15-rc2-20140421' tag. Here we add support for the R8A7791-
based Henninger board AKA R-Car M2 Low Cost Development Platform (M2-LCDP);
this board is very like already supported Koelsch board, although some
differences do exist. The board can be booted using the device tree only, with
no pre-requisites...
[1/2] ARM: shmobile: Henninger: initial device tree
[2/2] ARM: shmobile: Henninger: add Ether DT support
WBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH 1/2] ARM: shmobile: henninger: initial device tree
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
@ 2014-04-24 22:42 ` Sergei Shtylyov
2014-04-24 22:44 ` [PATCH 2/2] ARM: shmobile: henninger: add Ether DT support Sergei Shtylyov
` (13 subsequent siblings)
14 siblings, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2014-04-24 22:42 UTC (permalink / raw)
To: linux-arm-kernel
Add the initial device tree for the R8A7791 SoC based Henninger board. SCIF0
serial port support is included, so that the serial console can work.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7791-henninger.dts | 50 ++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+)
Index: renesas/arch/arm/boot/dts/Makefile
===================================================================
--- renesas.orig/arch/arm/boot/dts/Makefile
+++ renesas/arch/arm/boot/dts/Makefile
@@ -321,6 +321,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += r7
sh7372-mackerel.dtb
dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \
r7s72100-genmai-reference.dtb \
+ r8a7791-henninger.dtb \
r8a7791-koelsch.dtb \
r8a7790-lager.dtb
dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -0,0 +1,50 @@
+/*
+ * Device Tree Source for the Henninger board
+ *
+ * Copyright (C) 2014 Renesas Solutions Corp.
+ * Copyright (C) 2014 Cogent Embedded, Inc.
+ *
+ * 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 "r8a7791.dtsi"
+
+/ {
+ model = "Henninger";
+ compatible = "renesas,henninger", "renesas,r8a7791";
+
+ aliases {
+ serial0 = &scif0;
+ };
+
+ chosen {
+ bootargs = "console=ttySC0,38400 ignore_loglevel";
+ };
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+
+ memory at 200000000 {
+ device_type = "memory";
+ reg = <2 0x00000000 0 0x40000000>;
+ };
+};
+
+&pfc {
+ scif0_pins: serial0 {
+ renesas,groups = "scif0_data_d";
+ renesas,function = "scif0";
+ };
+};
+
+&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH 2/2] ARM: shmobile: henninger: add Ether DT support
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
2014-04-24 22:42 ` [PATCH 1/2] ARM: shmobile: henninger: initial device tree Sergei Shtylyov
@ 2014-04-24 22:44 ` Sergei Shtylyov
2014-04-25 1:31 ` [PATCH 0/2] Add R8A7791/Henninger board " Simon Horman
` (12 subsequent siblings)
14 siblings, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2014-04-24 22:44 UTC (permalink / raw)
To: linux-arm-kernel
Define the Henninger board dependent part of the Ether device node.
Enable DHCP and NFS root for the kernel booting.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7791-henninger.dts | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -21,7 +21,7 @@
};
chosen {
- bootargs = "console=ttySC0,38400 ignore_loglevel";
+ bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp";
};
memory at 40000000 {
@@ -40,6 +40,16 @@
renesas,groups = "scif0_data_d";
renesas,function = "scif0";
};
+
+ ether_pins: ether {
+ renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
+ renesas,function = "eth";
+ };
+
+ phy1_pins: phy1 {
+ renesas,groups = "intc_irq0";
+ renesas,function = "intc";
+ };
};
&scif0 {
@@ -48,3 +58,19 @@
status = "okay";
};
+
+ðer {
+ pinctrl-0 = <ðer_pins &phy1_pins>;
+ pinctrl-names = "default";
+
+ phy-handle = <&phy1>;
+ renesas,ether-link-active-low;
+ status = "ok";
+
+ phy1: ethernet-phy at 1 {
+ reg = <1>;
+ interrupt-parent = <&irqc0>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ micrel,led-mode = <1>;
+ };
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH 0/2] Add R8A7791/Henninger board DT support
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
2014-04-24 22:42 ` [PATCH 1/2] ARM: shmobile: henninger: initial device tree Sergei Shtylyov
2014-04-24 22:44 ` [PATCH 2/2] ARM: shmobile: henninger: add Ether DT support Sergei Shtylyov
@ 2014-04-25 1:31 ` Simon Horman
2015-01-30 22:52 ` [PATCH] ARM: shmobile: silk: initial device tree Sergei Shtylyov
` (11 subsequent siblings)
14 siblings, 0 replies; 48+ messages in thread
From: Simon Horman @ 2014-04-25 1:31 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Apr 25, 2014 at 02:39:38AM +0400, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-v3.15-rc2-20140421' tag. Here we add support for the R8A7791-
> based Henninger board AKA R-Car M2 Low Cost Development Platform (M2-LCDP);
> this board is very like already supported Koelsch board, although some
> differences do exist. The board can be booted using the device tree only, with
> no pre-requisites...
>
> [1/2] ARM: shmobile: Henninger: initial device tree
> [2/2] ARM: shmobile: Henninger: add Ether DT support
Thanks, I have queued these up.
N.B: I do not currently have access to a Henninger board.
So unlike other boards for ARM-based Renesas SoCs that are present in
mainline I will not be boot-testing patches for this board.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (2 preceding siblings ...)
2014-04-25 1:31 ` [PATCH 0/2] Add R8A7791/Henninger board " Simon Horman
@ 2015-01-30 22:52 ` Sergei Shtylyov
2015-01-31 4:21 ` Simon Horman
` (2 more replies)
2015-02-11 22:06 ` [PATCH] ARM: shmobile: r8a7794: add PFC DT support Sergei Shtylyov
` (10 subsequent siblings)
14 siblings, 3 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-01-30 22:52 UTC (permalink / raw)
To: linux-arm-kernel
Add the initial device tree for the R8A7794 SoC based SILK low cost board.
SCIF2 serial port support is included, so that the serial console can work.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
Horman's 'renesas.git' repo.
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
Index: renesas/arch/arm/boot/dts/Makefile
===================================================================
--- renesas.orig/arch/arm/boot/dts/Makefile
+++ renesas/arch/arm/boot/dts/Makefile
@@ -421,6 +421,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += eme
r8a7791-koelsch.dtb \
r8a7791-porter.dtb \
r8a7794-alt.dtb \
+ r8a7794-silk.dtb \
sh73a0-kzm9g.dtb
dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
socfpga_arria10_socdk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -0,0 +1,41 @@
+/*
+ * Device Tree Source for the SILK board
+ *
+ * Copyright (C) 2014 Renesas Electronics Corporation
+ * Copyright (C) 2014-2015 Renesas Solutions Corp.
+ * Copyright (C) 2014-2015 Cogent Embedded, Inc.
+ *
+ * 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 "r8a7794.dtsi"
+
+/ {
+ model = "SILK";
+ compatible = "renesas,silk", "renesas,r8a7794";
+
+ aliases {
+ serial0 = &scif2;
+ };
+
+ chosen {
+ bootargs = "console=ttySC0,38400 ignore_loglevel";
+ stdout-path = &scif2;
+ };
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&scif2 {
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-01-30 22:52 ` [PATCH] ARM: shmobile: silk: initial device tree Sergei Shtylyov
@ 2015-01-31 4:21 ` Simon Horman
2015-01-31 18:27 ` Sergei Shtylyov
2015-02-02 11:05 ` Mark Rutland
2015-02-02 20:49 ` Sergei Shtylyov
2 siblings, 1 reply; 48+ messages in thread
From: Simon Horman @ 2015-01-31 4:21 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Jan 31, 2015 at 01:52:16AM +0300, Sergei Shtylyov wrote:
> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
> SCIF2 serial port support is included, so that the serial console can work.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
> Horman's 'renesas.git' repo.
>
> arch/arm/boot/dts/Makefile | 1
> arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
> 2 files changed, 42 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/Makefile
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/Makefile
> +++ renesas/arch/arm/boot/dts/Makefile
> @@ -421,6 +421,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += eme
> r8a7791-koelsch.dtb \
> r8a7791-porter.dtb \
> r8a7794-alt.dtb \
> + r8a7794-silk.dtb \
> sh73a0-kzm9g.dtb
> dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
> socfpga_arria10_socdk.dtb \
> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> ===================================================================
> --- /dev/null
> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
> @@ -0,0 +1,41 @@
> +/*
> + * Device Tree Source for the SILK board
> + *
> + * Copyright (C) 2014 Renesas Electronics Corporation
> + * Copyright (C) 2014-2015 Renesas Solutions Corp.
> + * Copyright (C) 2014-2015 Cogent Embedded, Inc.
> + *
> + * 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 "r8a7794.dtsi"
> +
> +/ {
> + model = "SILK";
> + compatible = "renesas,silk", "renesas,r8a7794";
> +
> + aliases {
> + serial0 = &scif2;
> + };
> +
> + chosen {
> + bootargs = "console=ttySC0,38400 ignore_loglevel";
Please remove console= for consistency with other boards
based on Renesas SoCs.
> + stdout-path = &scif2;
> + };
> +
> + memory at 40000000 {
> + device_type = "memory";
> + reg = <0 0x40000000 0 0x40000000>;
> + };
> +};
> +
> +&extal_clk {
> + clock-frequency = <20000000>;
> +};
> +
> +&scif2 {
> + status = "okay";
> +};
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-01-31 4:21 ` Simon Horman
@ 2015-01-31 18:27 ` Sergei Shtylyov
2015-02-02 0:19 ` Simon Horman
0 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-01-31 18:27 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 1/31/2015 7:21 AM, Simon Horman wrote:
>> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
>> SCIF2 serial port support is included, so that the serial console can work.
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>> ---
>> This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
>> Horman's 'renesas.git' repo.
>> arch/arm/boot/dts/Makefile | 1
>> arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
>> 2 files changed, 42 insertions(+)
[...]
>> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
>> ===================================================================
>> --- /dev/null
>> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
>> @@ -0,0 +1,41 @@
>> +/*
>> + * Device Tree Source for the SILK board
>> + *
>> + * Copyright (C) 2014 Renesas Electronics Corporation
>> + * Copyright (C) 2014-2015 Renesas Solutions Corp.
>> + * Copyright (C) 2014-2015 Cogent Embedded, Inc.
>> + *
>> + * 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 "r8a7794.dtsi"
>> +
>> +/ {
>> + model = "SILK";
>> + compatible = "renesas,silk", "renesas,r8a7794";
>> +
>> + aliases {
>> + serial0 = &scif2;
>> + };
>> +
>> + chosen {
>> + bootargs = "console=ttySC0,38400 ignore_loglevel";
> Please remove console= for consistency with other boards
> based on Renesas SoCs.
I can't, there will be no console at all.
WBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-01-31 18:27 ` Sergei Shtylyov
@ 2015-02-02 0:19 ` Simon Horman
2015-02-02 11:03 ` Mark Rutland
2015-02-04 22:46 ` Sergei Shtylyov
0 siblings, 2 replies; 48+ messages in thread
From: Simon Horman @ 2015-02-02 0:19 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sergei,
On Sat, Jan 31, 2015 at 09:27:05PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 1/31/2015 7:21 AM, Simon Horman wrote:
>
> >>Add the initial device tree for the R8A7794 SoC based SILK low cost board.
> >>SCIF2 serial port support is included, so that the serial console can work.
>
> >>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> >>---
> >>This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
> >>Horman's 'renesas.git' repo.
>
> >> arch/arm/boot/dts/Makefile | 1
> >> arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
> >> 2 files changed, 42 insertions(+)
>
> [...]
> >>Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> >>===================================================================
> >>--- /dev/null
> >>+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
> >>@@ -0,0 +1,41 @@
> >>+/*
> >>+ * Device Tree Source for the SILK board
> >>+ *
> >>+ * Copyright (C) 2014 Renesas Electronics Corporation
> >>+ * Copyright (C) 2014-2015 Renesas Solutions Corp.
> >>+ * Copyright (C) 2014-2015 Cogent Embedded, Inc.
> >>+ *
> >>+ * 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 "r8a7794.dtsi"
> >>+
> >>+/ {
> >>+ model = "SILK";
> >>+ compatible = "renesas,silk", "renesas,r8a7794";
> >>+
> >>+ aliases {
> >>+ serial0 = &scif2;
> >>+ };
> >>+
> >>+ chosen {
> >>+ bootargs = "console=ttySC0,38400 ignore_loglevel";
>
> >Please remove console= for consistency with other boards
> >based on Renesas SoCs.
>
> I can't, there will be no console at all.
Its not clear to me why that should be the case when you also have:
stdout-path = &scif2;
Is this a baud issue? If so is it possible to set uboot to 115200 bps?
This would be consistent with the way other boards are handled in mainline.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-02-02 0:19 ` Simon Horman
@ 2015-02-02 11:03 ` Mark Rutland
2015-02-04 22:46 ` Sergei Shtylyov
1 sibling, 0 replies; 48+ messages in thread
From: Mark Rutland @ 2015-02-02 11:03 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 02, 2015 at 12:19:12AM +0000, Simon Horman wrote:
> Hi Sergei,
>
> On Sat, Jan 31, 2015 at 09:27:05PM +0300, Sergei Shtylyov wrote:
> > Hello.
> >
> > On 1/31/2015 7:21 AM, Simon Horman wrote:
> >
> > >>Add the initial device tree for the R8A7794 SoC based SILK low cost board.
> > >>SCIF2 serial port support is included, so that the serial console can work.
> >
> > >>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >
> > >>---
> > >>This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
> > >>Horman's 'renesas.git' repo.
> >
> > >> arch/arm/boot/dts/Makefile | 1
> > >> arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
> > >> 2 files changed, 42 insertions(+)
> >
> > [...]
> > >>Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> > >>===================================================================
> > >>--- /dev/null
> > >>+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
> > >>@@ -0,0 +1,41 @@
> > >>+/*
> > >>+ * Device Tree Source for the SILK board
> > >>+ *
> > >>+ * Copyright (C) 2014 Renesas Electronics Corporation
> > >>+ * Copyright (C) 2014-2015 Renesas Solutions Corp.
> > >>+ * Copyright (C) 2014-2015 Cogent Embedded, Inc.
> > >>+ *
> > >>+ * 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 "r8a7794.dtsi"
> > >>+
> > >>+/ {
> > >>+ model = "SILK";
> > >>+ compatible = "renesas,silk", "renesas,r8a7794";
> > >>+
> > >>+ aliases {
> > >>+ serial0 = &scif2;
> > >>+ };
> > >>+
> > >>+ chosen {
> > >>+ bootargs = "console=ttySC0,38400 ignore_loglevel";
> >
> > >Please remove console= for consistency with other boards
> > >based on Renesas SoCs.
> >
> > I can't, there will be no console at all.
>
> Its not clear to me why that should be the case when you also have:
>
> stdout-path = &scif2;
>
> Is this a baud issue? If so is it possible to set uboot to 115200 bps?
> This would be consistent with the way other boards are handled in mainline.
If it's not possible to update the bootloader, the other option is to
use the console parametuers in stdout-path, e.g.
stdout-path = "serial0:38400n8";
That way all the console stuff should get set up as expected without a
command line being required. As far as I am aware, an explicit command
line should then override this if necessary.
Mark.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-01-30 22:52 ` [PATCH] ARM: shmobile: silk: initial device tree Sergei Shtylyov
2015-01-31 4:21 ` Simon Horman
@ 2015-02-02 11:05 ` Mark Rutland
2015-02-02 20:57 ` Sergei Shtylyov
2015-02-02 20:49 ` Sergei Shtylyov
2 siblings, 1 reply; 48+ messages in thread
From: Mark Rutland @ 2015-02-02 11:05 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jan 30, 2015 at 10:52:16PM +0000, Sergei Shtylyov wrote:
> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
> SCIF2 serial port support is included, so that the serial console can work.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
> Horman's 'renesas.git' repo.
>
> arch/arm/boot/dts/Makefile | 1
> arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
> 2 files changed, 42 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/Makefile
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/Makefile
> +++ renesas/arch/arm/boot/dts/Makefile
> @@ -421,6 +421,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += eme
> r8a7791-koelsch.dtb \
> r8a7791-porter.dtb \
> r8a7794-alt.dtb \
> + r8a7794-silk.dtb \
> sh73a0-kzm9g.dtb
> dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
> socfpga_arria10_socdk.dtb \
> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> ===================================================================
> --- /dev/null
> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
> @@ -0,0 +1,41 @@
> +/*
> + * Device Tree Source for the SILK board
> + *
> + * Copyright (C) 2014 Renesas Electronics Corporation
> + * Copyright (C) 2014-2015 Renesas Solutions Corp.
> + * Copyright (C) 2014-2015 Cogent Embedded, Inc.
> + *
> + * 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 "r8a7794.dtsi"
> +
> +/ {
> + model = "SILK";
Shouldn't that have a "Renesas" prefix or something like that?
It's unlikely that there will be another board called "SILK", but it
does make it hard for someone to get an idea of what the board is from
the model string alone.
Mark.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-01-30 22:52 ` [PATCH] ARM: shmobile: silk: initial device tree Sergei Shtylyov
2015-01-31 4:21 ` Simon Horman
2015-02-02 11:05 ` Mark Rutland
@ 2015-02-02 20:49 ` Sergei Shtylyov
2 siblings, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-02 20:49 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 01/31/2015 01:52 AM, Sergei Shtylyov wrote:
> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
> SCIF2 serial port support is included, so that the serial console can work.
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> ---
> This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
> Horman's 'renesas.git' repo.
>
> arch/arm/boot/dts/Makefile | 1
> arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
> 2 files changed, 42 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/Makefile
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/Makefile
> +++ renesas/arch/arm/boot/dts/Makefile
> @@ -421,6 +421,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += eme
> r8a7791-koelsch.dtb \
> r8a7791-porter.dtb \
Oops, the patch was additionally against the Henninger->Porter rename
patch. I will fix that.
> r8a7794-alt.dtb \
> + r8a7794-silk.dtb \
> sh73a0-kzm9g.dtb
WBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-02-02 11:05 ` Mark Rutland
@ 2015-02-02 20:57 ` Sergei Shtylyov
2015-02-03 0:36 ` Simon Horman
0 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-02 20:57 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 02/02/2015 02:05 PM, Mark Rutland wrote:
>> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
>> SCIF2 serial port support is included, so that the serial console can work.
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
[...]
>> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
>> ===================================================================
>> --- /dev/null
>> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
>> @@ -0,0 +1,41 @@
>> +/*
>> + * Device Tree Source for the SILK board
>> + *
>> + * Copyright (C) 2014 Renesas Electronics Corporation
>> + * Copyright (C) 2014-2015 Renesas Solutions Corp.
>> + * Copyright (C) 2014-2015 Cogent Embedded, Inc.
>> + *
>> + * 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 "r8a7794.dtsi"
>> +
>> +/ {
>> + model = "SILK";
> Shouldn't that have a "Renesas" prefix or something like that?
Historically. no SH-Mobile .dts has used the vendor name in the "model"
prop. I defer the decision to Simon but I think we should be at least consistent.
> It's unlikely that there will be another board called "SILK", but it
> does make it hard for someone to get an idea of what the board is from
> the model string alone.
Tend to agree here.
> Mark.
WBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-02-02 20:57 ` Sergei Shtylyov
@ 2015-02-03 0:36 ` Simon Horman
2015-02-03 9:53 ` Geert Uytterhoeven
2015-02-03 10:48 ` Sergei Shtylyov
0 siblings, 2 replies; 48+ messages in thread
From: Simon Horman @ 2015-02-03 0:36 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 02, 2015 at 11:57:50PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 02/02/2015 02:05 PM, Mark Rutland wrote:
>
> >>Add the initial device tree for the R8A7794 SoC based SILK low cost board.
> >>SCIF2 serial port support is included, so that the serial console can work.
>
> >>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> [...]
>
> >>Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> >>===================================================================
> >>--- /dev/null
> >>+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
> >>@@ -0,0 +1,41 @@
> >>+/*
> >>+ * Device Tree Source for the SILK board
> >>+ *
> >>+ * Copyright (C) 2014 Renesas Electronics Corporation
> >>+ * Copyright (C) 2014-2015 Renesas Solutions Corp.
> >>+ * Copyright (C) 2014-2015 Cogent Embedded, Inc.
> >>+ *
> >>+ * 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 "r8a7794.dtsi"
> >>+
> >>+/ {
> >>+ model = "SILK";
>
> >Shouldn't that have a "Renesas" prefix or something like that?
>
> Historically. no SH-Mobile .dts has used the vendor name in the "model"
> prop. I defer the decision to Simon but I think we should be at least
> consistent.
They are also my thoughts (except the bit about deferring to myself).
If there is a good motivation for a Renesas prefix then that is fine by me.
But in that case it seems that it would be appropriate to update
the existing renesas boards too.
The only thing that stood out to me about "SILK" was that unlike
other renesas boards names in .dtsi files it is all-capitals.
Its not a bit deal but as we are on the topic: is that intentional?
> >It's unlikely that there will be another board called "SILK", but it
> >does make it hard for someone to get an idea of what the board is from
> >the model string alone.
>
> Tend to agree here.
>
> >Mark.
>
> WBR, Sergei
>
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-02-03 0:36 ` Simon Horman
@ 2015-02-03 9:53 ` Geert Uytterhoeven
2015-02-04 0:28 ` Simon Horman
2015-02-03 10:48 ` Sergei Shtylyov
1 sibling, 1 reply; 48+ messages in thread
From: Geert Uytterhoeven @ 2015-02-03 9:53 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Feb 3, 2015 at 1:36 AM, Simon Horman <horms@verge.net.au> wrote:
> The only thing that stood out to me about "SILK" was that unlike
> other renesas boards names in .dtsi files it is all-capitals.
> Its not a bit deal but as we are on the topic: is that intentional?
Seems like we can use some consistency:
$ git grep -w model -- $(git grep -l renesas, -- arch/arm/boot/dts)
arch/arm/boot/dts/emev2-kzm9d.dts: model = "EMEV2 KZM9D Board";
arch/arm/boot/dts/r7s72100-genmai.dts: model = "Genmai";
arch/arm/boot/dts/r8a73a4-ape6evm.dts: model = "APE6EVM";
arch/arm/boot/dts/r8a7740-armadillo800eva.dts: model = "armadillo 800 eva";
arch/arm/boot/dts/r8a7778-bockw-reference.dts: model = "bockw";
arch/arm/boot/dts/r8a7778-bockw.dts: model = "bockw";
arch/arm/boot/dts/r8a7779-marzen.dts: model = "marzen";
arch/arm/boot/dts/r8a7790-lager.dts: model = "Lager";
arch/arm/boot/dts/r8a7791-henninger.dts: model = "Henninger";
arch/arm/boot/dts/r8a7791-koelsch.dts: model = "Koelsch";
arch/arm/boot/dts/r8a7794-alt.dts: model = "Alt";
arch/arm/boot/dts/sh73a0-kzm9g.dts: model = "KZM-A9-GT";
$
ePAPR says:
"The recommended format is: ?manufacturer,model?, where manufacturer is a
string describing the name of the manufacturer (such as a stock ticker symbol),
and model specifies the model number.
Example:
model = ?fsl,MPC8349EMITX?;"
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-02-03 0:36 ` Simon Horman
2015-02-03 9:53 ` Geert Uytterhoeven
@ 2015-02-03 10:48 ` Sergei Shtylyov
1 sibling, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-03 10:48 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 2/3/2015 3:36 AM, Simon Horman wrote:
>>>> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
>>>> SCIF2 serial port support is included, so that the serial console can work.
>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>> [...]
>>>> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
>>>> ===================================================================
>>>> --- /dev/null
>>>> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
>>>> @@ -0,0 +1,41 @@
>>>> +/*
>>>> + * Device Tree Source for the SILK board
>>>> + *
>>>> + * Copyright (C) 2014 Renesas Electronics Corporation
>>>> + * Copyright (C) 2014-2015 Renesas Solutions Corp.
>>>> + * Copyright (C) 2014-2015 Cogent Embedded, Inc.
>>>> + *
>>>> + * 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 "r8a7794.dtsi"
>>>> +
>>>> +/ {
>>>> + model = "SILK";
>>> Shouldn't that have a "Renesas" prefix or something like that?
>> Historically. no SH-Mobile .dts has used the vendor name in the "model"
>> prop. I defer the decision to Simon but I think we should be at least
>> consistent.
> They are also my thoughts (except the bit about deferring to myself).
> If there is a good motivation for a Renesas prefix then that is fine by me.
> But in that case it seems that it would be appropriate to update
> the existing renesas boards too.
> The only thing that stood out to me about "SILK" was that unlike
> other renesas boards names in .dtsi files it is all-capitals.
> Its not a bit deal but as we are on the topic: is that intentional?
Yes, it is all uppercase. See e.g. http://www.elinux.org/R-Car/Boards/SILK.
WBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-02-03 9:53 ` Geert Uytterhoeven
@ 2015-02-04 0:28 ` Simon Horman
0 siblings, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-02-04 0:28 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Feb 03, 2015 at 10:53:01AM +0100, Geert Uytterhoeven wrote:
> On Tue, Feb 3, 2015 at 1:36 AM, Simon Horman <horms@verge.net.au> wrote:
> > The only thing that stood out to me about "SILK" was that unlike
> > other renesas boards names in .dtsi files it is all-capitals.
> > Its not a bit deal but as we are on the topic: is that intentional?
>
> Seems like we can use some consistency:
>
> $ git grep -w model -- $(git grep -l renesas, -- arch/arm/boot/dts)
> arch/arm/boot/dts/emev2-kzm9d.dts: model = "EMEV2 KZM9D Board";
> arch/arm/boot/dts/r7s72100-genmai.dts: model = "Genmai";
> arch/arm/boot/dts/r8a73a4-ape6evm.dts: model = "APE6EVM";
> arch/arm/boot/dts/r8a7740-armadillo800eva.dts: model = "armadillo 800 eva";
> arch/arm/boot/dts/r8a7778-bockw-reference.dts: model = "bockw";
> arch/arm/boot/dts/r8a7778-bockw.dts: model = "bockw";
> arch/arm/boot/dts/r8a7779-marzen.dts: model = "marzen";
> arch/arm/boot/dts/r8a7790-lager.dts: model = "Lager";
> arch/arm/boot/dts/r8a7791-henninger.dts: model = "Henninger";
> arch/arm/boot/dts/r8a7791-koelsch.dts: model = "Koelsch";
> arch/arm/boot/dts/r8a7794-alt.dts: model = "Alt";
> arch/arm/boot/dts/sh73a0-kzm9g.dts: model = "KZM-A9-GT";
> $
>
> ePAPR says:
>
> "The recommended format is: ?manufacturer,model?, where manufacturer is a
> string describing the name of the manufacturer (such as a stock ticker symbol),
> and model specifies the model number.
>
> Example:
> model = ?fsl,MPC8349EMITX?;"
Agree we could use some consistency but before we start cooking up names
do we expect this to have any effect on compatibility for users?
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: initial device tree
2015-02-02 0:19 ` Simon Horman
2015-02-02 11:03 ` Mark Rutland
@ 2015-02-04 22:46 ` Sergei Shtylyov
1 sibling, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-04 22:46 UTC (permalink / raw)
To: linux-arm-kernel
On 02/02/2015 03:19 AM, Simon Horman wrote:
>>>> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
>>>> SCIF2 serial port support is included, so that the serial console can work.
>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>>> ---
>>>> This patch is against the 'renesas-devel-20150129-v3.19-rc6' tag of Simon
>>>> Horman's 'renesas.git' repo.
>>>> arch/arm/boot/dts/Makefile | 1
>>>> arch/arm/boot/dts/r8a7794-silk.dts | 41 +++++++++++++++++++++++++++++++++++++
>>>> 2 files changed, 42 insertions(+)
>> [...]
>>>> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
>>>> ===================================================================
>>>> --- /dev/null
>>>> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
>>>> @@ -0,0 +1,41 @@
>>>> +/*
>>>> + * Device Tree Source for the SILK board
>>>> + *
>>>> + * Copyright (C) 2014 Renesas Electronics Corporation
>>>> + * Copyright (C) 2014-2015 Renesas Solutions Corp.
>>>> + * Copyright (C) 2014-2015 Cogent Embedded, Inc.
>>>> + *
>>>> + * 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 "r8a7794.dtsi"
>>>> +
>>>> +/ {
>>>> + model = "SILK";
>>>> + compatible = "renesas,silk", "renesas,r8a7794";
>>>> +
>>>> + aliases {
>>>> + serial0 = &scif2;
>>>> + };
>>>> +
>>>> + chosen {
>>>> + bootargs = "console=ttySC0,38400 ignore_loglevel";
>>> Please remove console= for consistency with other boards
>>> based on Renesas SoCs.
>> I can't, there will be no console at all.
> Its not clear to me why that should be the case when you also have:
> stdout-path = &scif2;
> Is this a baud issue?
Don't think so, I would have seen at least some garbage on the console.
There was nothing. I'm still not sure what the problem was...
> If so is it possible to set uboot to 115200 bps?
Possible with the new board.
WBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add PFC DT support
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (3 preceding siblings ...)
2015-01-30 22:52 ` [PATCH] ARM: shmobile: silk: initial device tree Sergei Shtylyov
@ 2015-02-11 22:06 ` Sergei Shtylyov
2015-02-12 12:20 ` Geert Uytterhoeven
2015-02-11 22:27 ` [PATCH v2] ARM: shmobile: silk: initial device tree Sergei Shtylyov
` (9 subsequent siblings)
14 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-11 22:06 UTC (permalink / raw)
To: linux-arm-kernel
Define the generic R8A7794 part of the PFC device node.
Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against 'renesas-devel-20150211-v3.19' tag of Simon Horman's
'renesas.git' repo. It needs the R8A7794 PFC driver patch in order to work.
arch/arm/boot/dts/r8a7794.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7794.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi
+++ renesas/arch/arm/boot/dts/r8a7794.dtsi
@@ -107,6 +107,12 @@
<0 17 IRQ_TYPE_LEVEL_HIGH>;
};
+ pfc: pin-controller at e6060000 {
+ compatible = "renesas,pfc-r8a7794";
+ reg = <0 0xe6060000 0 0x11c>;
+ #gpio-range-cells = <3>;
+ };
+
dmac0: dma-controller at e6700000 {
compatible = "renesas,rcar-dmac";
reg = <0 0xe6700000 0 0x20000>;
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v2] ARM: shmobile: silk: initial device tree
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (4 preceding siblings ...)
2015-02-11 22:06 ` [PATCH] ARM: shmobile: r8a7794: add PFC DT support Sergei Shtylyov
@ 2015-02-11 22:27 ` Sergei Shtylyov
2015-02-11 22:41 ` [PATCH] ARM: shmobile: silk: add Ether DT support Sergei Shtylyov
` (8 subsequent siblings)
14 siblings, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-11 22:27 UTC (permalink / raw)
To: linux-arm-kernel
Add the initial device tree for the R8A7794 SoC based SILK low cost board.
SCIF2 serial port support is included, so that the serial console can work.
Based on the original patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20150211-v3.19' tag of Simon Horman's
'renesas.git' repo. It requires just posted R8A7794 PFC DT patch in order to
compile, and R8A7794 PFC driver patch in order for the pins to be configured.
Changes in version 2:
- removed "console=" parameter from the kernel command line;
- added PFC node with SCIF2 pins subnode and referred it from the SCIF2 node;
- rebased the patch
- mentioned the origin of patch in the changelog.
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7794-silk.dts | 51 +++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
Index: renesas/arch/arm/boot/dts/Makefile
===================================================================
--- renesas.orig/arch/arm/boot/dts/Makefile
+++ renesas/arch/arm/boot/dts/Makefile
@@ -421,6 +421,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += eme
r8a7791-henninger.dtb \
r8a7791-koelsch.dtb \
r8a7794-alt.dtb \
+ r8a7794-silk.dtb \
sh73a0-kzm9g.dtb
dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
socfpga_arria10_socdk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -0,0 +1,51 @@
+/*
+ * Device Tree Source for the SILK board
+ *
+ * Copyright (C) 2014 Renesas Electronics Corporation
+ * Copyright (C) 2014-2015 Renesas Solutions Corp.
+ * Copyright (C) 2014-2015 Cogent Embedded, Inc.
+ *
+ * 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 "r8a7794.dtsi"
+
+/ {
+ model = "SILK";
+ compatible = "renesas,silk", "renesas,r8a7794";
+
+ aliases {
+ serial0 = &scif2;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = &scif2;
+ };
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&pfc {
+ scif2_pins: serial2 {
+ renesas,groups = "scif2_data";
+ renesas,function = "scif2";
+ };
+};
+
+&scif2 {
+ pinctrl-0 = <&scif2_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: silk: add Ether DT support
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (5 preceding siblings ...)
2015-02-11 22:27 ` [PATCH v2] ARM: shmobile: silk: initial device tree Sergei Shtylyov
@ 2015-02-11 22:41 ` Sergei Shtylyov
2015-07-27 22:29 ` [PATCH v2] ARM: shmobile: r8a7794: add PFC " Sergei Shtylyov
` (7 subsequent siblings)
14 siblings, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-11 22:41 UTC (permalink / raw)
To: linux-arm-kernel
Define the SILK board dependent part of the Ether device node.
Enable DHCP and NFS root for the kernel booting.
Based on the original patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20150211-v3.19' tag of Simon Horman's
'renesas.git' repo. It depends on just posted SILK board initial DT patch in
order to apply, on just posted R8A7794 PFC DT patch in order to compile, and
on R8A7794 PFC driver patch in order for the pins to be configured.
arch/arm/boot/dts/r8a7794-silk.dts | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -22,7 +22,7 @@
};
chosen {
- bootargs = "ignore_loglevel";
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
stdout-path = &scif2;
};
@@ -41,6 +41,16 @@
renesas,groups = "scif2_data";
renesas,function = "scif2";
};
+
+ ether_pins: ether {
+ renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
+ renesas,function = "eth";
+ };
+
+ phy1_pins: phy1 {
+ renesas,groups = "intc_irq8";
+ renesas,function = "intc";
+ };
};
&scif2 {
@@ -49,3 +59,19 @@
status = "okay";
};
+
+ðer {
+ pinctrl-0 = <ðer_pins &phy1_pins>;
+ pinctrl-names = "default";
+
+ phy-handle = <&phy1>;
+ renesas,ether-link-active-low;
+ status = "okay";
+
+ phy1: ethernet-phy at 1 {
+ reg = <1>;
+ interrupt-parent = <&irqc0>;
+ interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
+ micrel,led-mode = <1>;
+ };
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add PFC DT support
2015-02-11 22:06 ` [PATCH] ARM: shmobile: r8a7794: add PFC DT support Sergei Shtylyov
@ 2015-02-12 12:20 ` Geert Uytterhoeven
2015-02-15 16:57 ` Simon Horman
0 siblings, 1 reply; 48+ messages in thread
From: Geert Uytterhoeven @ 2015-02-12 12:20 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Feb 11, 2015 at 11:06 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Define the generic R8A7794 part of the PFC device node.
>
> Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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] 48+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add PFC DT support
2015-02-12 12:20 ` Geert Uytterhoeven
@ 2015-02-15 16:57 ` Simon Horman
2015-02-15 17:00 ` Simon Horman
0 siblings, 1 reply; 48+ messages in thread
From: Simon Horman @ 2015-02-15 16:57 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Feb 12, 2015 at 01:20:07PM +0100, Geert Uytterhoeven wrote:
> On Wed, Feb 11, 2015 at 11:06 PM, Sergei Shtylyov
> <sergei.shtylyov@cogentembedded.com> wrote:
> > Define the generic R8A7794 part of the PFC device node.
> >
> > Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
> >
> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> Acked-by: by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add PFC DT support
2015-02-15 16:57 ` Simon Horman
@ 2015-02-15 17:00 ` Simon Horman
2015-02-15 17:02 ` Sergei Shtylyov
0 siblings, 1 reply; 48+ messages in thread
From: Simon Horman @ 2015-02-15 17:00 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Feb 15, 2015 at 11:57:41AM -0500, Simon Horman wrote:
> On Thu, Feb 12, 2015 at 01:20:07PM +0100, Geert Uytterhoeven wrote:
> > On Wed, Feb 11, 2015 at 11:06 PM, Sergei Shtylyov
> > <sergei.shtylyov@cogentembedded.com> wrote:
> > > Define the generic R8A7794 part of the PFC device node.
> > >
> > > Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
> > >
> > > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >
> > Acked-by: by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> Thanks, I have queued this up.
Sorry, I was a bit hasty here.
Could you repost this once the driver has been accepted?
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add PFC DT support
2015-02-15 17:00 ` Simon Horman
@ 2015-02-15 17:02 ` Sergei Shtylyov
2015-07-28 12:45 ` Sergei Shtylyov
0 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-02-15 17:02 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 02/15/2015 08:00 PM, Simon Horman wrote:
>>>> Define the generic R8A7794 part of the PFC device node.
>>>> Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>> Acked-by: by: Geert Uytterhoeven <geert+renesas@glider.be>
>> Thanks, I have queued this up.
> Sorry, I was a bit hasty here.
> Could you repost this once the driver has been accepted?
I don't expect it to change, but OK.
WBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v2] ARM: shmobile: r8a7794: add PFC DT support
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (6 preceding siblings ...)
2015-02-11 22:41 ` [PATCH] ARM: shmobile: silk: add Ether DT support Sergei Shtylyov
@ 2015-07-27 22:29 ` Sergei Shtylyov
2015-07-28 23:44 ` Simon Horman
2015-07-28 22:14 ` [PATCH v3] ARM: shmobile: silk: initial device tree Sergei Shtylyov
` (6 subsequent siblings)
14 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-07-27 22:29 UTC (permalink / raw)
To: linux-arm-kernel
Define the generic R8A7794 part of the PFC device node.
Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against 'renesas-devel-20150727-v4.2-rc4' tag of Simon Horman's
'renesas.git' repo.
Changes in version 2:
- refreshed the patch.
arch/arm/boot/dts/r8a7794.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7794.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi
+++ renesas/arch/arm/boot/dts/r8a7794.dtsi
@@ -108,6 +108,12 @@
clocks = <&mstp4_clks R8A7794_CLK_IRQC>;
};
+ pfc: pin-controller at e6060000 {
+ compatible = "renesas,pfc-r8a7794";
+ reg = <0 0xe6060000 0 0x11c>;
+ #gpio-range-cells = <3>;
+ };
+
dmac0: dma-controller at e6700000 {
compatible = "renesas,rcar-dmac";
reg = <0 0xe6700000 0 0x20000>;
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add PFC DT support
2015-02-15 17:02 ` Sergei Shtylyov
@ 2015-07-28 12:45 ` Sergei Shtylyov
2015-07-28 23:44 ` Simon Horman
0 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-07-28 12:45 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 2/15/2015 8:02 PM, Sergei Shtylyov wrote:
>>>>> Define the generic R8A7794 part of the PFC device node.
>>>>> Based on original patch by Hisashi Nakamura
>>>>> <hisashi.nakamura.ak@renesas.com>.
>>>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>>> Acked-by: by: Geert Uytterhoeven <geert+renesas@glider.be>
>>> Thanks, I have queued this up.
>> Sorry, I was a bit hasty here.
>> Could you repost this once the driver has been accepted?
> I don't expect it to change, but OK.
Sent v2 last night but overlooked Geert's ACK to v1. Should I resend?
MBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v3] ARM: shmobile: silk: initial device tree
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (7 preceding siblings ...)
2015-07-27 22:29 ` [PATCH v2] ARM: shmobile: r8a7794: add PFC " Sergei Shtylyov
@ 2015-07-28 22:14 ` Sergei Shtylyov
2015-07-30 0:07 ` Simon Horman
2015-08-03 13:00 ` Geert Uytterhoeven
2015-07-28 22:16 ` [PATCH RESEND] ARM: shmobile: silk: add Ether DT support Sergei Shtylyov
` (5 subsequent siblings)
14 siblings, 2 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-07-28 22:14 UTC (permalink / raw)
To: linux-arm-kernel
Add the initial device tree for the R8A7794 SoC based SILK low cost board.
SCIF2 serial port support is included, so that the serial console can work.
Based on the original patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20150728-v4.2-rc4' tag of Simon
Horman's 'renesas.git' repo. It requires R8A7794 PFC DT patch posted yesterday
in order to compile.
Changes in version 3:
- refreshed the patch;
- reformatted the changelog.
Changes in version 2:
- removed "console=" parameter from the kernel command line;
- added PFC node with SCIF2 pins subnode and referred it from the SCIF2 node;
- rebased the patch
- mentioned the origin of patch in the changelog.
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7794-silk.dts | 51 +++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
Index: renesas/arch/arm/boot/dts/Makefile
===================================================================
--- renesas.orig/arch/arm/boot/dts/Makefile
+++ renesas/arch/arm/boot/dts/Makefile
@@ -515,6 +515,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch.dtb \
r8a7793-gose.dtb \
r8a7794-alt.dtb \
+ r8a7794-silk.dtb \
sh73a0-kzm9g.dtb
dtb-$(CONFIG_ARCH_SOCFPGA) += \
socfpga_arria5_socdk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -0,0 +1,51 @@
+/*
+ * Device Tree Source for the SILK board
+ *
+ * Copyright (C) 2014 Renesas Electronics Corporation
+ * Copyright (C) 2014-2015 Renesas Solutions Corp.
+ * Copyright (C) 2014-2015 Cogent Embedded, Inc.
+ *
+ * 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 "r8a7794.dtsi"
+
+/ {
+ model = "SILK";
+ compatible = "renesas,silk", "renesas,r8a7794";
+
+ aliases {
+ serial0 = &scif2;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = &scif2;
+ };
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&pfc {
+ scif2_pins: serial2 {
+ renesas,groups = "scif2_data";
+ renesas,function = "scif2";
+ };
+};
+
+&scif2 {
+ pinctrl-0 = <&scif2_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH RESEND] ARM: shmobile: silk: add Ether DT support
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (8 preceding siblings ...)
2015-07-28 22:14 ` [PATCH v3] ARM: shmobile: silk: initial device tree Sergei Shtylyov
@ 2015-07-28 22:16 ` Sergei Shtylyov
2015-07-30 0:08 ` Simon Horman
2015-09-29 23:26 ` [PATCH] ARM: shmobile: porter: initial device tree Sergei Shtylyov
` (4 subsequent siblings)
14 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-07-28 22:16 UTC (permalink / raw)
To: linux-arm-kernel
Define the SILK board dependent part of the Ether device node.
Enable DHCP and NFS root for the kernel booting.
Based on the original patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20150728-v4.2-rc4' tag of Simon
Horman's 'renesas.git' repo. It depends on just posted SILK board initial DT
patch in order to apply and on R8A7794 PFC DT patch posted yesterday in order
to compile.
arch/arm/boot/dts/r8a7794-silk.dts | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -22,7 +22,7 @@
};
chosen {
- bootargs = "ignore_loglevel";
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
stdout-path = &scif2;
};
@@ -41,6 +41,16 @@
renesas,groups = "scif2_data";
renesas,function = "scif2";
};
+
+ ether_pins: ether {
+ renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
+ renesas,function = "eth";
+ };
+
+ phy1_pins: phy1 {
+ renesas,groups = "intc_irq8";
+ renesas,function = "intc";
+ };
};
&scif2 {
@@ -49,3 +59,19 @@
status = "okay";
};
+
+ðer {
+ pinctrl-0 = <ðer_pins &phy1_pins>;
+ pinctrl-names = "default";
+
+ phy-handle = <&phy1>;
+ renesas,ether-link-active-low;
+ status = "okay";
+
+ phy1: ethernet-phy at 1 {
+ reg = <1>;
+ interrupt-parent = <&irqc0>;
+ interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
+ micrel,led-mode = <1>;
+ };
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v2] ARM: shmobile: r8a7794: add PFC DT support
2015-07-27 22:29 ` [PATCH v2] ARM: shmobile: r8a7794: add PFC " Sergei Shtylyov
@ 2015-07-28 23:44 ` Simon Horman
0 siblings, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-07-28 23:44 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 28, 2015 at 01:29:31AM +0300, Sergei Shtylyov wrote:
> Define the generic R8A7794 part of the PFC device node.
>
> Based on original patch by Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: r8a7794: add PFC DT support
2015-07-28 12:45 ` Sergei Shtylyov
@ 2015-07-28 23:44 ` Simon Horman
0 siblings, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-07-28 23:44 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 28, 2015 at 03:45:47PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 2/15/2015 8:02 PM, Sergei Shtylyov wrote:
>
> >>>>>Define the generic R8A7794 part of the PFC device node.
>
> >>>>>Based on original patch by Hisashi Nakamura
> >>>>><hisashi.nakamura.ak@renesas.com>.
>
> >>>>>Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> >>>>Acked-by: by: Geert Uytterhoeven <geert+renesas@glider.be>
>
> >>>Thanks, I have queued this up.
>
> >>Sorry, I was a bit hasty here.
>
> >>Could you repost this once the driver has been accepted?
>
> > I don't expect it to change, but OK.
>
> Sent v2 last night but overlooked Geert's ACK to v1. Should I resend?
No need, I have queued up v2 with Geert's ACK.
Thanks for bringing the ACK to my attention,
I would surely have missed it otherwise.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v3] ARM: shmobile: silk: initial device tree
2015-07-28 22:14 ` [PATCH v3] ARM: shmobile: silk: initial device tree Sergei Shtylyov
@ 2015-07-30 0:07 ` Simon Horman
2015-08-03 13:00 ` Geert Uytterhoeven
1 sibling, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-07-30 0:07 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jul 29, 2015 at 01:14:59AM +0300, Sergei Shtylyov wrote:
> Add the initial device tree for the R8A7794 SoC based SILK low cost board.
> SCIF2 serial port support is included, so that the serial console can work.
>
> Based on the original patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH RESEND] ARM: shmobile: silk: add Ether DT support
2015-07-28 22:16 ` [PATCH RESEND] ARM: shmobile: silk: add Ether DT support Sergei Shtylyov
@ 2015-07-30 0:08 ` Simon Horman
0 siblings, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-07-30 0:08 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jul 29, 2015 at 01:16:02AM +0300, Sergei Shtylyov wrote:
> Define the SILK board dependent part of the Ether device node.
> Enable DHCP and NFS root for the kernel booting.
>
> Based on the original patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v3] ARM: shmobile: silk: initial device tree
2015-07-28 22:14 ` [PATCH v3] ARM: shmobile: silk: initial device tree Sergei Shtylyov
2015-07-30 0:07 ` Simon Horman
@ 2015-08-03 13:00 ` Geert Uytterhoeven
2015-08-03 15:13 ` Sergei Shtylyov
1 sibling, 1 reply; 48+ messages in thread
From: Geert Uytterhoeven @ 2015-08-03 13:00 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sergei,
On Wed, Jul 29, 2015 at 12:14 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> --- /dev/null
> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
> @@ -0,0 +1,51 @@
> +/ {
> + model = "SILK";
> + compatible = "renesas,silk", "renesas,r8a7794";
WARNING: DT compatible string "renesas,silk" appears un-documented --
check ./Documentation/devicetree/bindings/
Do you plan to update Documentation/devicetree/bindings/arm/shmobile.txt?
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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] 48+ messages in thread
* [PATCH v3] ARM: shmobile: silk: initial device tree
2015-08-03 13:00 ` Geert Uytterhoeven
@ 2015-08-03 15:13 ` Sergei Shtylyov
2015-08-03 15:19 ` Geert Uytterhoeven
2015-08-04 0:53 ` Simon Horman
0 siblings, 2 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-08-03 15:13 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 08/03/2015 04:00 PM, Geert Uytterhoeven wrote:
>> --- /dev/null
>> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
>> @@ -0,0 +1,51 @@
>> +/ {
>> + model = "SILK";
>> + compatible = "renesas,silk", "renesas,r8a7794";
> WARNING: DT compatible string "renesas,silk" appears un-documented --
> check ./Documentation/devicetree/bindings/
> Do you plan to update Documentation/devicetree/bindings/arm/shmobile.txt?
No, I had no idea I should record the board names somewhere too...
> Thanks!
> Gr{oetje,eeting}s,
> Geert
MBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v3] ARM: shmobile: silk: initial device tree
2015-08-03 15:13 ` Sergei Shtylyov
@ 2015-08-03 15:19 ` Geert Uytterhoeven
2015-08-04 0:53 ` Simon Horman
1 sibling, 0 replies; 48+ messages in thread
From: Geert Uytterhoeven @ 2015-08-03 15:19 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sergei,
On Mon, Aug 3, 2015 at 5:13 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> On 08/03/2015 04:00 PM, Geert Uytterhoeven wrote:
>>> --- /dev/null
>>> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
>>> @@ -0,0 +1,51 @@
>
>>> +/ {
>>> + model = "SILK";
>>> + compatible = "renesas,silk", "renesas,r8a7794";
>
>> WARNING: DT compatible string "renesas,silk" appears un-documented --
>> check ./Documentation/devicetree/bindings/
>
>> Do you plan to update Documentation/devicetree/bindings/arm/shmobile.txt?
>
> No, I had no idea I should record the board names somewhere too...
All "compatible" values should be documented before being used in a
.dts(i) file.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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] 48+ messages in thread
* [PATCH v3] ARM: shmobile: silk: initial device tree
2015-08-03 15:13 ` Sergei Shtylyov
2015-08-03 15:19 ` Geert Uytterhoeven
@ 2015-08-04 0:53 ` Simon Horman
1 sibling, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-08-04 0:53 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Aug 03, 2015 at 06:13:38PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 08/03/2015 04:00 PM, Geert Uytterhoeven wrote:
>
> >>--- /dev/null
> >>+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
> >>@@ -0,0 +1,51 @@
>
> >>+/ {
> >>+ model = "SILK";
> >>+ compatible = "renesas,silk", "renesas,r8a7794";
>
> >WARNING: DT compatible string "renesas,silk" appears un-documented --
> >check ./Documentation/devicetree/bindings/
>
> >Do you plan to update Documentation/devicetree/bindings/arm/shmobile.txt?
>
> No, I had no idea I should record the board names somewhere too...
Sergei, please submit a parch as suggested by Geert.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: porter: initial device tree
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (9 preceding siblings ...)
2015-07-28 22:16 ` [PATCH RESEND] ARM: shmobile: silk: add Ether DT support Sergei Shtylyov
@ 2015-09-29 23:26 ` Sergei Shtylyov
2015-09-30 6:51 ` Geert Uytterhoeven
2015-09-30 19:08 ` Sergei Shtylyov
2015-09-30 23:01 ` [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings Sergei Shtylyov
` (3 subsequent siblings)
14 siblings, 2 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-09-29 23:26 UTC (permalink / raw)
To: linux-arm-kernel
Add the initial device tree for the R8A7791 SoC based Porter low cost board
(which is a slightly modified version of the Henninger board).
SCIF0 serial port support is included, so that the serial console can work.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20150928-v4.3-rc3' tag of Simon
Horman's 'renesas.git' repo.
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7791-porter.dts | 54 +++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
Index: renesas/arch/arm/boot/dts/Makefile
===================================================================
--- renesas.orig/arch/arm/boot/dts/Makefile
+++ renesas/arch/arm/boot/dts/Makefile
@@ -532,6 +532,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7790-lager.dtb \
r8a7791-henninger.dtb \
r8a7791-koelsch.dtb \
+ r8a7791-porter.dtb \
r8a7793-gose.dtb \
r8a7794-alt.dtb \
r8a7794-silk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7791-porter.dts
@@ -0,0 +1,54 @@
+/*
+ * Device Tree Source for the Porter board
+ *
+ * Copyright (C) 2015 Cogent Embedded, Inc.
+ *
+ * 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 "r8a7791.dtsi"
+
+/ {
+ model = "Porter";
+ compatible = "renesas,porter", "renesas,r8a7791";
+
+ aliases {
+ serial0 = &scif0;
+ };
+
+ chosen {
+ bootargs = "console=ttySC0,115200 ignore_loglevel";
+ stdout-path = &scif0;
+ };
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+
+ memory at 200000000 {
+ device_type = "memory";
+ reg = <2 0x00000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&pfc {
+ scif0_pins: serial0 {
+ renesas,groups = "scif0_data_d";
+ renesas,function = "scif0";
+ };
+};
+
+&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: porter: initial device tree
2015-09-29 23:26 ` [PATCH] ARM: shmobile: porter: initial device tree Sergei Shtylyov
@ 2015-09-30 6:51 ` Geert Uytterhoeven
2015-09-30 13:33 ` Sergei Shtylyov
2015-09-30 19:08 ` Sergei Shtylyov
1 sibling, 1 reply; 48+ messages in thread
From: Geert Uytterhoeven @ 2015-09-30 6:51 UTC (permalink / raw)
To: linux-arm-kernel
Hi Sergei,
On Wed, Sep 30, 2015 at 1:26 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add the initial device tree for the R8A7791 SoC based Porter low cost board
> (which is a slightly modified version of the Henninger board).
Can you please tell us more about the differences?
It will help us reviewing future DTS updates.
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
If you update Documentation/devicetree/bindings/arm/shmobile.txt, you can
add my
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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] 48+ messages in thread
* [PATCH] ARM: shmobile: porter: initial device tree
2015-09-30 6:51 ` Geert Uytterhoeven
@ 2015-09-30 13:33 ` Sergei Shtylyov
0 siblings, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-09-30 13:33 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 9/30/2015 9:51 AM, Geert Uytterhoeven wrote:
>> Add the initial device tree for the R8A7791 SoC based Porter low cost board
>> (which is a slightly modified version of the Henninger board).
> Can you please tell us more about the differences?
> It will help us reviewing future DTS updates.
Sorry, I don't have such list handy. I'll be going thru the Henninger
patches one by one and look if they'd need any changes for Porter...
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> If you update Documentation/devicetree/bindings/arm/shmobile.txt, you can
Sorry, forgot about this one for the moment, will do.
> add my
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thank you!
> Gr{oetje,eeting}s,
>
> Geert
MBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: porter: initial device tree
2015-09-29 23:26 ` [PATCH] ARM: shmobile: porter: initial device tree Sergei Shtylyov
2015-09-30 6:51 ` Geert Uytterhoeven
@ 2015-09-30 19:08 ` Sergei Shtylyov
1 sibling, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-09-30 19:08 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
On 09/30/2015 02:26 AM, Sergei Shtylyov wrote:
> Add the initial device tree for the R8A7791 SoC based Porter low cost board
> (which is a slightly modified version of the Henninger board).
>
> SCIF0 serial port support is included, so that the serial console can work.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> This patch is against the 'renesas-devel-20150928-v4.3-rc3' tag of Simon
> Horman's 'renesas.git' repo.
Forgot to mention I had to disable USB-DMAC.
> Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
> ===================================================================
> --- /dev/null
> +++ renesas/arch/arm/boot/dts/r8a7791-porter.dts
> @@ -0,0 +1,54 @@
> +/*
> + * Device Tree Source for the Porter board
> + *
> + * Copyright (C) 2015 Cogent Embedded, Inc.
> + *
> + * 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 "r8a7791.dtsi"
> +
> +/ {
> + model = "Porter";
> + compatible = "renesas,porter", "renesas,r8a7791";
> +
> + aliases {
> + serial0 = &scif0;
> + };
> +
> + chosen {
> + bootargs = "console=ttySC0,115200 ignore_loglevel";
Oops, scratch that. I thought I removed console= but I forgot to refresh
the patch. :-/
MBR, Sergei
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (10 preceding siblings ...)
2015-09-29 23:26 ` [PATCH] ARM: shmobile: porter: initial device tree Sergei Shtylyov
@ 2015-09-30 23:01 ` Sergei Shtylyov
2015-10-01 5:59 ` Geert Uytterhoeven
2015-10-02 1:16 ` Simon Horman
2015-09-30 23:02 ` [PATCH v2 2/2] ARM: shmobile: porter: initial device tree Sergei Shtylyov
` (2 subsequent siblings)
14 siblings, 2 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-09-30 23:01 UTC (permalink / raw)
To: linux-arm-kernel
Add Porter device tree bindings documentation, listing it as a supported board.
This allows to use checkpatch to validate DTSes referring to the Porter board.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20150930-v4.3-rc3' tag of Simon
Horman's 'renesas.git' repo.
Changes in version 2:
- new patch.
Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++
1 file changed, 2 insertions(+)
Index: renesas/Documentation/devicetree/bindings/arm/shmobile.txt
===================================================================
--- renesas.orig/Documentation/devicetree/bindings/arm/shmobile.txt
+++ renesas/Documentation/devicetree/bindings/arm/shmobile.txt
@@ -55,5 +55,7 @@ Boards:
compatible = "renesas,lager", "renesas,r8a7790"
- Marzen
compatible = "renesas,marzen", "renesas,r8a7779"
+ - Porter (M2-LCDP)
+ compatible = "renesas,porter", "renesas,r8a7791"
- Silk
compatible = "renesas,silk", "renesas,r8a7794";
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v2 2/2] ARM: shmobile: porter: initial device tree
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (11 preceding siblings ...)
2015-09-30 23:01 ` [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings Sergei Shtylyov
@ 2015-09-30 23:02 ` Sergei Shtylyov
2015-10-02 21:53 ` [PATCH] ARM: shmobile: fix SILK board name Sergei Shtylyov
2015-10-05 22:51 ` [PATCH] ARM: shmobile: porter: add Ether DT support Sergei Shtylyov
14 siblings, 0 replies; 48+ messages in thread
From: Sergei Shtylyov @ 2015-09-30 23:02 UTC (permalink / raw)
To: linux-arm-kernel
Add the initial device tree for the R8A7791 SoC based Porter low cost board
(which is a slightly modified version of the Henninger board).
SCIF0 serial port support is included, so that the serial console can work.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
This patch is against the 'renesas-devel-20150930-v4.3-rc3' tag of Simon
Horman's 'renesas.git' repo.
Changes in version 2:
- removed the 'console=' kernel parameter from the "bootargs" prop;
- removed trailing space in the change log;
- added Geert's ACK.
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7791-porter.dts | 54 +++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
Index: renesas/arch/arm/boot/dts/Makefile
===================================================================
--- renesas.orig/arch/arm/boot/dts/Makefile
+++ renesas/arch/arm/boot/dts/Makefile
@@ -532,6 +532,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7790-lager.dtb \
r8a7791-henninger.dtb \
r8a7791-koelsch.dtb \
+ r8a7791-porter.dtb \
r8a7793-gose.dtb \
r8a7794-alt.dtb \
r8a7794-silk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7791-porter.dts
@@ -0,0 +1,54 @@
+/*
+ * Device Tree Source for the Porter board
+ *
+ * Copyright (C) 2015 Cogent Embedded, Inc.
+ *
+ * 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 "r8a7791.dtsi"
+
+/ {
+ model = "Porter";
+ compatible = "renesas,porter", "renesas,r8a7791";
+
+ aliases {
+ serial0 = &scif0;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = &scif0;
+ };
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+
+ memory at 200000000 {
+ device_type = "memory";
+ reg = <2 0x00000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&pfc {
+ scif0_pins: serial0 {
+ renesas,groups = "scif0_data_d";
+ renesas,function = "scif0";
+ };
+};
+
+&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings
2015-09-30 23:01 ` [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings Sergei Shtylyov
@ 2015-10-01 5:59 ` Geert Uytterhoeven
2015-10-02 1:16 ` Simon Horman
1 sibling, 0 replies; 48+ messages in thread
From: Geert Uytterhoeven @ 2015-10-01 5:59 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Oct 1, 2015 at 1:01 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add Porter device tree bindings documentation, listing it as a supported board.
>
> This allows to use checkpatch to validate DTSes referring to the Porter board.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at 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] 48+ messages in thread
* [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings
2015-09-30 23:01 ` [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings Sergei Shtylyov
2015-10-01 5:59 ` Geert Uytterhoeven
@ 2015-10-02 1:16 ` Simon Horman
1 sibling, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-10-02 1:16 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Oct 01, 2015 at 02:01:38AM +0300, Sergei Shtylyov wrote:
> Add Porter device tree bindings documentation, listing it as a supported board.
>
> This allows to use checkpatch to validate DTSes referring to the Porter board.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks Sergei,
I have queued this and the following patch up for v4.4.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: fix SILK board name
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (12 preceding siblings ...)
2015-09-30 23:02 ` [PATCH v2 2/2] ARM: shmobile: porter: initial device tree Sergei Shtylyov
@ 2015-10-02 21:53 ` Sergei Shtylyov
2015-10-05 3:03 ` Simon Horman
2015-10-05 22:51 ` [PATCH] ARM: shmobile: porter: add Ether DT support Sergei Shtylyov
14 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-10-02 21:53 UTC (permalink / raw)
To: linux-arm-kernel
Unfortunately, the SILK board bindings were not quite correct, as the board
name should be all caps. Fix that, adding the board model # in parens and
removing stray semicolon.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Documentation/devicetree/bindings/arm/shmobile.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: renesas/Documentation/devicetree/bindings/arm/shmobile.txt
===================================================================
--- renesas.orig/Documentation/devicetree/bindings/arm/shmobile.txt
+++ renesas/Documentation/devicetree/bindings/arm/shmobile.txt
@@ -57,5 +57,5 @@ Boards:
compatible = "renesas,marzen", "renesas,r8a7779"
- Porter (M2-LCDP)
compatible = "renesas,porter", "renesas,r8a7791"
- - Silk
- compatible = "renesas,silk", "renesas,r8a7794";
+ - SILK (RTP0RC7794LCB00011S)
+ compatible = "renesas,silk", "renesas,r8a7794"
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: fix SILK board name
2015-10-02 21:53 ` [PATCH] ARM: shmobile: fix SILK board name Sergei Shtylyov
@ 2015-10-05 3:03 ` Simon Horman
0 siblings, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-10-05 3:03 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Oct 03, 2015 at 12:53:38AM +0300, Sergei Shtylyov wrote:
> Unfortunately, the SILK board bindings were not quite correct, as the board
> name should be all caps. Fix that, adding the board model # in parens and
> removing stray semicolon.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: porter: add Ether DT support
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
` (13 preceding siblings ...)
2015-10-02 21:53 ` [PATCH] ARM: shmobile: fix SILK board name Sergei Shtylyov
@ 2015-10-05 22:51 ` Sergei Shtylyov
2015-10-06 0:45 ` Simon Horman
14 siblings, 1 reply; 48+ messages in thread
From: Sergei Shtylyov @ 2015-10-05 22:51 UTC (permalink / raw)
To: linux-arm-kernel
Define the Porter board dependent part of the Ether device node.
Enable DHCP and NFS root for the kernel booting.
This patch is analogous to the commit 26b0d2cf73cb (ARM: shmobile: henninger:
add Ether DT support) as there are no differences between those boards in this
respect.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
This patch is against the 'renesas-devel-20151005-v4.3-rc4' tag of Simon
Horman's 'renesas.git' repo.
arch/arm/boot/dts/r8a7791-porter.dts | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts
+++ renesas/arch/arm/boot/dts/r8a7791-porter.dts
@@ -20,7 +20,7 @@
};
chosen {
- bootargs = "ignore_loglevel";
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
stdout-path = &scif0;
};
@@ -44,6 +44,16 @@
renesas,groups = "scif0_data_d";
renesas,function = "scif0";
};
+
+ ether_pins: ether {
+ renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
+ renesas,function = "eth";
+ };
+
+ phy1_pins: phy1 {
+ renesas,groups = "intc_irq0";
+ renesas,function = "intc";
+ };
};
&scif0 {
@@ -52,3 +62,19 @@
status = "okay";
};
+
+ðer {
+ pinctrl-0 = <ðer_pins &phy1_pins>;
+ pinctrl-names = "default";
+
+ phy-handle = <&phy1>;
+ renesas,ether-link-active-low;
+ status = "ok";
+
+ phy1: ethernet-phy at 1 {
+ reg = <1>;
+ interrupt-parent = <&irqc0>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ micrel,led-mode = <1>;
+ };
+};
^ permalink raw reply [flat|nested] 48+ messages in thread
* [PATCH] ARM: shmobile: porter: add Ether DT support
2015-10-05 22:51 ` [PATCH] ARM: shmobile: porter: add Ether DT support Sergei Shtylyov
@ 2015-10-06 0:45 ` Simon Horman
0 siblings, 0 replies; 48+ messages in thread
From: Simon Horman @ 2015-10-06 0:45 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Oct 06, 2015 at 01:51:01AM +0300, Sergei Shtylyov wrote:
> Define the Porter board dependent part of the Ether device node.
> Enable DHCP and NFS root for the kernel booting.
>
> This patch is analogous to the commit 26b0d2cf73cb (ARM: shmobile: henninger:
> add Ether DT support) as there are no differences between those boards in this
> respect.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 48+ messages in thread
end of thread, other threads:[~2015-10-06 0:45 UTC | newest]
Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24 22:39 [PATCH 0/2] Add R8A7791/Henninger board DT support Sergei Shtylyov
2014-04-24 22:42 ` [PATCH 1/2] ARM: shmobile: henninger: initial device tree Sergei Shtylyov
2014-04-24 22:44 ` [PATCH 2/2] ARM: shmobile: henninger: add Ether DT support Sergei Shtylyov
2014-04-25 1:31 ` [PATCH 0/2] Add R8A7791/Henninger board " Simon Horman
2015-01-30 22:52 ` [PATCH] ARM: shmobile: silk: initial device tree Sergei Shtylyov
2015-01-31 4:21 ` Simon Horman
2015-01-31 18:27 ` Sergei Shtylyov
2015-02-02 0:19 ` Simon Horman
2015-02-02 11:03 ` Mark Rutland
2015-02-04 22:46 ` Sergei Shtylyov
2015-02-02 11:05 ` Mark Rutland
2015-02-02 20:57 ` Sergei Shtylyov
2015-02-03 0:36 ` Simon Horman
2015-02-03 9:53 ` Geert Uytterhoeven
2015-02-04 0:28 ` Simon Horman
2015-02-03 10:48 ` Sergei Shtylyov
2015-02-02 20:49 ` Sergei Shtylyov
2015-02-11 22:06 ` [PATCH] ARM: shmobile: r8a7794: add PFC DT support Sergei Shtylyov
2015-02-12 12:20 ` Geert Uytterhoeven
2015-02-15 16:57 ` Simon Horman
2015-02-15 17:00 ` Simon Horman
2015-02-15 17:02 ` Sergei Shtylyov
2015-07-28 12:45 ` Sergei Shtylyov
2015-07-28 23:44 ` Simon Horman
2015-02-11 22:27 ` [PATCH v2] ARM: shmobile: silk: initial device tree Sergei Shtylyov
2015-02-11 22:41 ` [PATCH] ARM: shmobile: silk: add Ether DT support Sergei Shtylyov
2015-07-27 22:29 ` [PATCH v2] ARM: shmobile: r8a7794: add PFC " Sergei Shtylyov
2015-07-28 23:44 ` Simon Horman
2015-07-28 22:14 ` [PATCH v3] ARM: shmobile: silk: initial device tree Sergei Shtylyov
2015-07-30 0:07 ` Simon Horman
2015-08-03 13:00 ` Geert Uytterhoeven
2015-08-03 15:13 ` Sergei Shtylyov
2015-08-03 15:19 ` Geert Uytterhoeven
2015-08-04 0:53 ` Simon Horman
2015-07-28 22:16 ` [PATCH RESEND] ARM: shmobile: silk: add Ether DT support Sergei Shtylyov
2015-07-30 0:08 ` Simon Horman
2015-09-29 23:26 ` [PATCH] ARM: shmobile: porter: initial device tree Sergei Shtylyov
2015-09-30 6:51 ` Geert Uytterhoeven
2015-09-30 13:33 ` Sergei Shtylyov
2015-09-30 19:08 ` Sergei Shtylyov
2015-09-30 23:01 ` [PATCH v2 1/2] ARM: shmobile: add Porter board DT bindings Sergei Shtylyov
2015-10-01 5:59 ` Geert Uytterhoeven
2015-10-02 1:16 ` Simon Horman
2015-09-30 23:02 ` [PATCH v2 2/2] ARM: shmobile: porter: initial device tree Sergei Shtylyov
2015-10-02 21:53 ` [PATCH] ARM: shmobile: fix SILK board name Sergei Shtylyov
2015-10-05 3:03 ` Simon Horman
2015-10-05 22:51 ` [PATCH] ARM: shmobile: porter: add Ether DT support Sergei Shtylyov
2015-10-06 0:45 ` 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).