* [PATCH 0/3] Add R8A7792/Wheat board support
@ 2016-08-26 20:16 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:16 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: linux, magnus.damm, linux-arm-kernel
Hello.
Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160826-v4.8-rc3' tag. We add the device tree support for
the R8A7792-based Wheat board. I have only sparse board documentation
at this point, according to which this board somewhat differs from the other
R-Car evaluation boards in that it has debug serial port, debug Ethernet chip,
and a NOR flash on the separate debug board (connected to the main board
with a ribbon cable). I'm not sure how to approach this (DT overlay, perhaps?),
for now I'm just posting the debug UART/Ethernet support the same way it was
done for the Blanche board -- these components seem to be the same between
these 2 boards...
[1/3] DT: arm: shmobile: document Wheat board
[2/3] ARM: dts: wheat: initial device tree
[3/3] ARM: dts: wheat: add Ethernet support
WBR, Sergei
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 0/3] Add R8A7792/Wheat board support
@ 2016-08-26 20:16 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:16 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Hello.
Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160826-v4.8-rc3' tag. We add the device tree support for
the R8A7792-based Wheat board. I have only sparse board documentation
at this point, according to which this board somewhat differs from the other
R-Car evaluation boards in that it has debug serial port, debug Ethernet chip,
and a NOR flash on the separate debug board (connected to the main board
with a ribbon cable). I'm not sure how to approach this (DT overlay, perhaps?),
for now I'm just posting the debug UART/Ethernet support the same way it was
done for the Blanche board -- these components seem to be the same between
these 2 boards...
[1/3] DT: arm: shmobile: document Wheat board
[2/3] ARM: dts: wheat: initial device tree
[3/3] ARM: dts: wheat: add Ethernet support
WBR, Sergei
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 0/3] Add R8A7792/Wheat board support
@ 2016-08-26 20:16 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:16 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20160826-v4.8-rc3' tag. We add the device tree support for
the R8A7792-based Wheat board. I have only sparse board documentation
at this point, according to which this board somewhat differs from the other
R-Car evaluation boards in that it has debug serial port, debug Ethernet chip,
and a NOR flash on the separate debug board (connected to the main board
with a ribbon cable). I'm not sure how to approach this (DT overlay, perhaps?),
for now I'm just posting the debug UART/Ethernet support the same way it was
done for the Blanche board -- these components seem to be the same between
these 2 boards...
[1/3] DT: arm: shmobile: document Wheat board
[2/3] ARM: dts: wheat: initial device tree
[3/3] ARM: dts: wheat: add Ethernet support
WBR, Sergei
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 1/3] DT: arm: shmobile: document Wheat board
2016-08-26 20:16 ` Sergei Shtylyov
(?)
(?)
@ 2016-08-26 20:20 ` Sergei Shtylyov
[not found] ` <81794087.EqU2I9TLcp-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-09-02 12:56 ` Rob Herring
-1 siblings, 2 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:20 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree; +Cc: magnus.damm
Document the Wheat device tree bindings, listing it as a supported board.
This allows to use checkpatch.pl to validate .dts files referring to the
Wheat board.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
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
@@ -69,3 +69,5 @@ Boards:
compatible = "renesas,salvator-x", "renesas,r8a7796";
- SILK (RTP0RC7794LCB00011S)
compatible = "renesas,silk", "renesas,r8a7794"
+ - Wheat
+ compatible = "renesas,wheat", "renesas,r8a7792"
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 2/3] ARM: dts: wheat: initial device tree
2016-08-26 20:16 ` Sergei Shtylyov
(?)
@ 2016-08-26 20:21 ` Sergei Shtylyov
-1 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:21 UTC (permalink / raw)
To: horms-/R6kz+dDXgpPR4JQBCEnsQ,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w, linux-lFZ/pmaqli7XmaaqVzeoHQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Add the initial device tree for the R8A7792 SoC based Wheat board.
The Wheat board itself has no serial ports wired up, the USB serial chips
are situated on a separate debug board and one of them is connected to
SCFI0 -- include unconditional support for it, so that the serial console
can work.
Based on the original (and large) patch by Vladimir Barinov
<vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7792-wheat.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
@@ -659,6 +659,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch.dtb \
r8a7791-porter.dtb \
r8a7792-blanche.dtb \
+ r8a7792-wheat.dtb \
r8a7793-gose.dtb \
r8a7794-alt.dtb \
r8a7794-silk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7792-wheat.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7792-wheat.dts
@@ -0,0 +1,50 @@
+/*
+ * Device Tree Source for the Wheat board
+ *
+ * Copyright (C) 2016 Renesas Electronics Corporation
+ * Copyright (C) 2016 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 "r8a7792.dtsi"
+
+/ {
+ model = "Wheat";
+ compatible = "renesas,wheat", "renesas,r8a7792";
+
+ aliases {
+ serial0 = &scif0;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&pfc {
+ scif0_pins: scif0 {
+ groups = "scif0_data";
+ function = "scif0";
+ };
+};
+
+&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 2/3] ARM: dts: wheat: initial device tree
@ 2016-08-26 20:21 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:21 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
Add the initial device tree for the R8A7792 SoC based Wheat board.
The Wheat board itself has no serial ports wired up, the USB serial chips
are situated on a separate debug board and one of them is connected to
SCFI0 -- include unconditional support for it, so that the serial console
can work.
Based on the original (and large) patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7792-wheat.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
@@ -659,6 +659,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch.dtb \
r8a7791-porter.dtb \
r8a7792-blanche.dtb \
+ r8a7792-wheat.dtb \
r8a7793-gose.dtb \
r8a7794-alt.dtb \
r8a7794-silk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7792-wheat.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7792-wheat.dts
@@ -0,0 +1,50 @@
+/*
+ * Device Tree Source for the Wheat board
+ *
+ * Copyright (C) 2016 Renesas Electronics Corporation
+ * Copyright (C) 2016 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 "r8a7792.dtsi"
+
+/ {
+ model = "Wheat";
+ compatible = "renesas,wheat", "renesas,r8a7792";
+
+ aliases {
+ serial0 = &scif0;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&pfc {
+ scif0_pins: scif0 {
+ groups = "scif0_data";
+ function = "scif0";
+ };
+};
+
+&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 2/3] ARM: dts: wheat: initial device tree
@ 2016-08-26 20:21 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:21 UTC (permalink / raw)
To: linux-arm-kernel
Add the initial device tree for the R8A7792 SoC based Wheat board.
The Wheat board itself has no serial ports wired up, the USB serial chips
are situated on a separate debug board and one of them is connected to
SCFI0 -- include unconditional support for it, so that the serial console
can work.
Based on the original (and large) patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/Makefile | 1
arch/arm/boot/dts/r8a7792-wheat.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
@@ -659,6 +659,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch.dtb \
r8a7791-porter.dtb \
r8a7792-blanche.dtb \
+ r8a7792-wheat.dtb \
r8a7793-gose.dtb \
r8a7794-alt.dtb \
r8a7794-silk.dtb \
Index: renesas/arch/arm/boot/dts/r8a7792-wheat.dts
===================================================================
--- /dev/null
+++ renesas/arch/arm/boot/dts/r8a7792-wheat.dts
@@ -0,0 +1,50 @@
+/*
+ * Device Tree Source for the Wheat board
+ *
+ * Copyright (C) 2016 Renesas Electronics Corporation
+ * Copyright (C) 2016 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 "r8a7792.dtsi"
+
+/ {
+ model = "Wheat";
+ compatible = "renesas,wheat", "renesas,r8a7792";
+
+ aliases {
+ serial0 = &scif0;
+ };
+
+ chosen {
+ bootargs = "ignore_loglevel";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory at 40000000 {
+ device_type = "memory";
+ reg = <0 0x40000000 0 0x40000000>;
+ };
+};
+
+&extal_clk {
+ clock-frequency = <20000000>;
+};
+
+&pfc {
+ scif0_pins: scif0 {
+ groups = "scif0_data";
+ function = "scif0";
+ };
+};
+
+&scif0 {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 3/3] ARM: dts: wheat: add Ethernet support
2016-08-26 20:16 ` Sergei Shtylyov
(?)
@ 2016-08-26 20:23 ` Sergei Shtylyov
-1 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:23 UTC (permalink / raw)
To: horms-/R6kz+dDXgpPR4JQBCEnsQ,
linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
devicetree-u79uwXL29TY76Z2rM5mHXA
Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w, linux-lFZ/pmaqli7XmaaqVzeoHQ,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet
chip was used instead on the Wheat debug board; this chip is compatible
with SMSC LAN9115 for which there's a (device tree aware) driver.
Describe the chip in the Wheat device tree unconditionally (the driver
should fail the probe if the debug board isn't connected); enable DHCP and
NFS root in the command line for the kernel boot...
Based on the original (and large) patch by Vladimir Barinov
<vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
---
arch/arm/boot/dts/r8a7792-wheat.dts | 38 +++++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7792-wheat.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792-wheat.dts
+++ renesas/arch/arm/boot/dts/r8a7792-wheat.dts
@@ -21,7 +21,7 @@
};
chosen {
- bootargs = "ignore_loglevel";
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
stdout-path = "serial0:115200n8";
};
@@ -29,6 +29,31 @@
device_type = "memory";
reg = <0 0x40000000 0 0x40000000>;
};
+
+ d3_3v: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "D3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ ethernet@18000000 {
+ compatible = "smsc,lan89218", "smsc,lan9115";
+ reg = <0 0x18000000 0 0x100>;
+ phy-mode = "mii";
+ interrupt-parent = <&irqc>;
+ interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+ smsc,irq-push-pull;
+ smsc,save-mac-address;
+ reg-io-width = <4>;
+ vddvario-supply = <&d3_3v>;
+ vdd33a-supply = <&d3_3v>;
+
+ pinctrl-0 = <&lan89218_pins>;
+ pinctrl-names = "default";
+ };
};
&extal_clk {
@@ -40,6 +65,17 @@
groups = "scif0_data";
function = "scif0";
};
+
+ lan89218_pins: lan89218 {
+ intc {
+ groups = "intc_irq0";
+ function = "intc";
+ };
+ lbsc {
+ groups = "lbsc_ex_cs0";
+ function = "lbsc";
+ };
+ };
};
&scif0 {
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 3/3] ARM: dts: wheat: add Ethernet support
@ 2016-08-26 20:23 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:23 UTC (permalink / raw)
To: horms, linux-renesas-soc, robh+dt, mark.rutland, devicetree
Cc: magnus.damm, linux, linux-arm-kernel
R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet
chip was used instead on the Wheat debug board; this chip is compatible
with SMSC LAN9115 for which there's a (device tree aware) driver.
Describe the chip in the Wheat device tree unconditionally (the driver
should fail the probe if the debug board isn't connected); enable DHCP and
NFS root in the command line for the kernel boot...
Based on the original (and large) patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7792-wheat.dts | 38 +++++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7792-wheat.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792-wheat.dts
+++ renesas/arch/arm/boot/dts/r8a7792-wheat.dts
@@ -21,7 +21,7 @@
};
chosen {
- bootargs = "ignore_loglevel";
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
stdout-path = "serial0:115200n8";
};
@@ -29,6 +29,31 @@
device_type = "memory";
reg = <0 0x40000000 0 0x40000000>;
};
+
+ d3_3v: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "D3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ ethernet@18000000 {
+ compatible = "smsc,lan89218", "smsc,lan9115";
+ reg = <0 0x18000000 0 0x100>;
+ phy-mode = "mii";
+ interrupt-parent = <&irqc>;
+ interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+ smsc,irq-push-pull;
+ smsc,save-mac-address;
+ reg-io-width = <4>;
+ vddvario-supply = <&d3_3v>;
+ vdd33a-supply = <&d3_3v>;
+
+ pinctrl-0 = <&lan89218_pins>;
+ pinctrl-names = "default";
+ };
};
&extal_clk {
@@ -40,6 +65,17 @@
groups = "scif0_data";
function = "scif0";
};
+
+ lan89218_pins: lan89218 {
+ intc {
+ groups = "intc_irq0";
+ function = "intc";
+ };
+ lbsc {
+ groups = "lbsc_ex_cs0";
+ function = "lbsc";
+ };
+ };
};
&scif0 {
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 3/3] ARM: dts: wheat: add Ethernet support
@ 2016-08-26 20:23 ` Sergei Shtylyov
0 siblings, 0 replies; 19+ messages in thread
From: Sergei Shtylyov @ 2016-08-26 20:23 UTC (permalink / raw)
To: linux-arm-kernel
R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet
chip was used instead on the Wheat debug board; this chip is compatible
with SMSC LAN9115 for which there's a (device tree aware) driver.
Describe the chip in the Wheat device tree unconditionally (the driver
should fail the probe if the debug board isn't connected); enable DHCP and
NFS root in the command line for the kernel boot...
Based on the original (and large) patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
arch/arm/boot/dts/r8a7792-wheat.dts | 38 +++++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
Index: renesas/arch/arm/boot/dts/r8a7792-wheat.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7792-wheat.dts
+++ renesas/arch/arm/boot/dts/r8a7792-wheat.dts
@@ -21,7 +21,7 @@
};
chosen {
- bootargs = "ignore_loglevel";
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
stdout-path = "serial0:115200n8";
};
@@ -29,6 +29,31 @@
device_type = "memory";
reg = <0 0x40000000 0 0x40000000>;
};
+
+ d3_3v: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "D3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-boot-on;
+ regulator-always-on;
+ };
+
+ ethernet at 18000000 {
+ compatible = "smsc,lan89218", "smsc,lan9115";
+ reg = <0 0x18000000 0 0x100>;
+ phy-mode = "mii";
+ interrupt-parent = <&irqc>;
+ interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+ smsc,irq-push-pull;
+ smsc,save-mac-address;
+ reg-io-width = <4>;
+ vddvario-supply = <&d3_3v>;
+ vdd33a-supply = <&d3_3v>;
+
+ pinctrl-0 = <&lan89218_pins>;
+ pinctrl-names = "default";
+ };
};
&extal_clk {
@@ -40,6 +65,17 @@
groups = "scif0_data";
function = "scif0";
};
+
+ lan89218_pins: lan89218 {
+ intc {
+ groups = "intc_irq0";
+ function = "intc";
+ };
+ lbsc {
+ groups = "lbsc_ex_cs0";
+ function = "lbsc";
+ };
+ };
};
&scif0 {
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 1/3] DT: arm: shmobile: document Wheat board
2016-08-26 20:20 ` [PATCH 1/3] DT: arm: shmobile: document Wheat board Sergei Shtylyov
@ 2016-08-29 7:57 ` Geert Uytterhoeven
2016-09-02 12:56 ` Rob Herring
1 sibling, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2016-08-29 7:57 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Simon Horman, Linux-Renesas, Rob Herring, Mark Rutland,
devicetree-u79uwXL29TY76Z2rM5mHXA, Magnus Damm
On Fri, Aug 26, 2016 at 10:20 PM, Sergei Shtylyov
<sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> wrote:
> Document the Wheat device tree bindings, listing it as a supported board.
>
> This allows to use checkpatch.pl to validate .dts files referring to the
> Wheat board.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
Acked-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 1/3] DT: arm: shmobile: document Wheat board
@ 2016-08-29 7:57 ` Geert Uytterhoeven
0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2016-08-29 7:57 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Simon Horman, Linux-Renesas, Rob Herring, Mark Rutland,
devicetree, Magnus Damm
On Fri, Aug 26, 2016 at 10:20 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Document the Wheat device tree bindings, listing it as a supported board.
>
> This allows to use checkpatch.pl to validate .dts files referring to the
> Wheat 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@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] 19+ messages in thread
* Re: [PATCH 2/3] ARM: dts: wheat: initial device tree
2016-08-26 20:21 ` Sergei Shtylyov
@ 2016-08-29 8:03 ` Geert Uytterhoeven
-1 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2016-08-29 8:03 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Simon Horman, Linux-Renesas, Rob Herring, Mark Rutland,
devicetree, Magnus Damm, Russell King, linux-arm-kernel
On Fri, Aug 26, 2016 at 10:21 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add the initial device tree for the R8A7792 SoC based Wheat board.
> The Wheat board itself has no serial ports wired up, the USB serial chips
> are situated on a separate debug board and one of them is connected to
> SCFI0 -- include unconditional support for it, so that the serial console
> can work.
>
> Based on the original (and large) patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
(limited to review that can be done without board documentation)
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] 19+ messages in thread
* [PATCH 2/3] ARM: dts: wheat: initial device tree
@ 2016-08-29 8:03 ` Geert Uytterhoeven
0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2016-08-29 8:03 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 26, 2016 at 10:21 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add the initial device tree for the R8A7792 SoC based Wheat board.
> The Wheat board itself has no serial ports wired up, the USB serial chips
> are situated on a separate debug board and one of them is connected to
> SCFI0 -- include unconditional support for it, so that the serial console
> can work.
>
> Based on the original (and large) patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
(limited to review that can be done without board documentation)
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] 19+ messages in thread
* Re: [PATCH 3/3] ARM: dts: wheat: add Ethernet support
2016-08-26 20:23 ` Sergei Shtylyov
@ 2016-08-29 8:05 ` Geert Uytterhoeven
-1 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2016-08-29 8:05 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Simon Horman, Linux-Renesas, Rob Herring, Mark Rutland,
devicetree, Magnus Damm, Russell King, linux-arm-kernel
On Fri, Aug 26, 2016 at 10:23 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet
> chip was used instead on the Wheat debug board; this chip is compatible
> with SMSC LAN9115 for which there's a (device tree aware) driver.
> Describe the chip in the Wheat device tree unconditionally (the driver
> should fail the probe if the debug board isn't connected); enable DHCP and
> NFS root in the command line for the kernel boot...
>
> Based on the original (and large) patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
(limited to review that can be done without board documentation)
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] 19+ messages in thread
* [PATCH 3/3] ARM: dts: wheat: add Ethernet support
@ 2016-08-29 8:05 ` Geert Uytterhoeven
0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2016-08-29 8:05 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 26, 2016 at 10:23 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> R8A7792 SoC doesn't have the EtherMAC core, so SMSC LAN89218 Ethernet
> chip was used instead on the Wheat debug board; this chip is compatible
> with SMSC LAN9115 for which there's a (device tree aware) driver.
> Describe the chip in the Wheat device tree unconditionally (the driver
> should fail the probe if the debug board isn't connected); enable DHCP and
> NFS root in the command line for the kernel boot...
>
> Based on the original (and large) patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
(limited to review that can be done without board documentation)
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] 19+ messages in thread
* Re: [PATCH 0/3] Add R8A7792/Wheat board support
2016-08-26 20:16 ` Sergei Shtylyov
@ 2016-08-29 9:02 ` Simon Horman
-1 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2016-08-29 9:02 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: linux-renesas-soc, robh+dt, mark.rutland, devicetree,
magnus.damm, linux, linux-arm-kernel
On Fri, Aug 26, 2016 at 11:16:49PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-20160826-v4.8-rc3' tag. We add the device tree support for
> the R8A7792-based Wheat board. I have only sparse board documentation
> at this point, according to which this board somewhat differs from the other
> R-Car evaluation boards in that it has debug serial port, debug Ethernet chip,
> and a NOR flash on the separate debug board (connected to the main board
> with a ribbon cable). I'm not sure how to approach this (DT overlay, perhaps?),
> for now I'm just posting the debug UART/Ethernet support the same way it was
> done for the Blanche board -- these components seem to be the same between
> these 2 boards...
>
> [1/3] DT: arm: shmobile: document Wheat board
> [2/3] ARM: dts: wheat: initial device tree
> [3/3] ARM: dts: wheat: add Ethernet support
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 0/3] Add R8A7792/Wheat board support
@ 2016-08-29 9:02 ` Simon Horman
0 siblings, 0 replies; 19+ messages in thread
From: Simon Horman @ 2016-08-29 9:02 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Aug 26, 2016 at 11:16:49PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-20160826-v4.8-rc3' tag. We add the device tree support for
> the R8A7792-based Wheat board. I have only sparse board documentation
> at this point, according to which this board somewhat differs from the other
> R-Car evaluation boards in that it has debug serial port, debug Ethernet chip,
> and a NOR flash on the separate debug board (connected to the main board
> with a ribbon cable). I'm not sure how to approach this (DT overlay, perhaps?),
> for now I'm just posting the debug UART/Ethernet support the same way it was
> done for the Blanche board -- these components seem to be the same between
> these 2 boards...
>
> [1/3] DT: arm: shmobile: document Wheat board
> [2/3] ARM: dts: wheat: initial device tree
> [3/3] ARM: dts: wheat: add Ethernet support
Thanks, I have queued this up.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 1/3] DT: arm: shmobile: document Wheat board
2016-08-26 20:20 ` [PATCH 1/3] DT: arm: shmobile: document Wheat board Sergei Shtylyov
[not found] ` <81794087.EqU2I9TLcp-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
@ 2016-09-02 12:56 ` Rob Herring
1 sibling, 0 replies; 19+ messages in thread
From: Rob Herring @ 2016-09-02 12:56 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: horms, linux-renesas-soc, mark.rutland, devicetree, magnus.damm
On Fri, Aug 26, 2016 at 11:20:05PM +0300, Sergei Shtylyov wrote:
> Document the Wheat device tree bindings, listing it as a supported board.
>
> This allows to use checkpatch.pl to validate .dts files referring to the
> Wheat board.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2016-09-02 12:56 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-26 20:16 [PATCH 0/3] Add R8A7792/Wheat board support Sergei Shtylyov
2016-08-26 20:16 ` Sergei Shtylyov
2016-08-26 20:16 ` Sergei Shtylyov
2016-08-26 20:20 ` [PATCH 1/3] DT: arm: shmobile: document Wheat board Sergei Shtylyov
[not found] ` <81794087.EqU2I9TLcp-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-08-29 7:57 ` Geert Uytterhoeven
2016-08-29 7:57 ` Geert Uytterhoeven
2016-09-02 12:56 ` Rob Herring
[not found] ` <3665116.9BjHTnhfR3-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>
2016-08-26 20:21 ` [PATCH 2/3] ARM: dts: wheat: initial device tree Sergei Shtylyov
2016-08-26 20:21 ` Sergei Shtylyov
2016-08-26 20:21 ` Sergei Shtylyov
2016-08-29 8:03 ` Geert Uytterhoeven
2016-08-29 8:03 ` Geert Uytterhoeven
2016-08-26 20:23 ` [PATCH 3/3] ARM: dts: wheat: add Ethernet support Sergei Shtylyov
2016-08-26 20:23 ` Sergei Shtylyov
2016-08-26 20:23 ` Sergei Shtylyov
2016-08-29 8:05 ` Geert Uytterhoeven
2016-08-29 8:05 ` Geert Uytterhoeven
2016-08-29 9:02 ` [PATCH 0/3] Add R8A7792/Wheat board support Simon Horman
2016-08-29 9:02 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.