* [PATCH/RFC 01/12] ARM: shmobile: armadillo dts: Add aliases for all serial ports
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
[not found] ` <1431452235-11692-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
` (10 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Add aliases for the remaining serial ports that don't already have an
alias.
This is a temporary workaround, until of_alias_add() is called when
loading a device tree overlay that adds an alias.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
index 2e31d8c01cbf6a74..e51ad203be73dcdb 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -20,7 +20,15 @@
compatible = "renesas,armadillo800eva", "renesas,r8a7740";
aliases {
+ serial0 = &scifa0;
serial1 = &scifa1;
+ serial2 = &scifa2;
+ serial3 = &scifa3;
+ serial4 = &scifa4;
+ serial5 = &scifa5;
+ serial6 = &scifa6;
+ serial7 = &scifa7;
+ serial8 = &scifb;
};
chosen {
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
[parent not found: <1431452235-11692-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>]
* [PATCH/RFC 02/12] ARM: shmobile: koelsch dts: Add aliases for all serial ports
[not found] ` <1431452235-11692-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 06/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF2 on EXIO A Geert Uytterhoeven
1 sibling, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven
Add aliases for the remaining serial ports that don't already have an
alias.
This is a temporary workaround, until of_alias_add() is called when
loading a device tree overlay that adds an alias.
Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index e9c24036f00027c9..c1cd047173b6aed7 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -50,6 +50,22 @@
aliases {
serial0 = &scif0;
serial1 = &scif1;
+ serial2 = &scif2;
+ serial3 = &scif3;
+ serial4 = &scif4;
+ serial5 = &scif5;
+ serial6 = &scifa0;
+ serial7 = &scifa1;
+ serial8 = &scifa2;
+ serial9 = &scifa3;
+ serial10 = &scifa4;
+ serial11 = &scifa5;
+ serial12 = &scifb0;
+ serial13 = &scifb1;
+ serial14 = &scifb2;
+ serial15 = &hscif0;
+ serial16 = &hscif1;
+ serial17 = &hscif2;
};
chosen {
--
1.9.1
--
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 related [flat|nested] 17+ messages in thread
* [PATCH/RFC 06/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF2 on EXIO A
[not found] ` <1431452235-11692-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-05-12 17:37 ` [PATCH/RFC 02/12] ARM: shmobile: koelsch " Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
1 sibling, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven
Provide access to HSCIF2 on EXIO Connector A.
FIXME Document "ctsrts" DT property.
Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
arch/arm/boot/dts/Makefile | 1 +
.../boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso | 53 ++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d800690e3aaf7bab..d5d2386694d57391 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -672,6 +672,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7740-armadillo800eva-con15-scifa0.dtbo \
r8a7740-armadillo800eva-con15-scifb.dtbo \
r8a7791-koelsch-exio-a-hscif1.dtbo \
+ r8a7791-koelsch-exio-a-hscif2.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso
new file mode 100644
index 0000000000000000..7570096b0377fc89
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso
@@ -0,0 +1,53 @@
+/*
+ * Device Tree Overlay for HSCIF2 on r8a7791/Koelsch EXIO Connector A
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector A pin 66
+ * - TXD = EXIO Connector A pin 62
+ * - CTS = EXIO Connector A pin 60
+ * - RTS = EXIO Connector A pin 65
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial17 = &hscif2; */
+ serial17 = "/serial@e62d0000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ hscif2_pins: serial17 {
+ renesas,groups = "hscif2_data_b",
+ "hscif2_ctrl_b";
+ renesas,function = "hscif2";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&hscif2>;
+
+ __overlay__ {
+ pinctrl-0 = <&hscif2_pins>;
+ pinctrl-names = "default";
+
+ ctsrts;
+ status = "okay";
+ };
+ };
+};
--
1.9.1
--
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 related [flat|nested] 17+ messages in thread
* [PATCH/RFC 03/12] ARM: shmobile: armadillo dts: Add overlay for SCIFA0 on CON15
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 01/12] ARM: shmobile: armadillo dts: Add aliases for all " Geert Uytterhoeven
[not found] ` <1431452235-11692-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 04/12] ARM: shmobile: armadillo dts: Add overlay for SCIFB " Geert Uytterhoeven
` (8 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIFA0 on the Expansion Interface Connector (CON15),
as documented in Table 18.15 of the "Armadillo-800 EVA Product Manual".
FIXME Document "ctsrts" DT property.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 5 ++
.../dts/r8a7740-armadillo800eva-con15-scifa0.dtso | 53 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 93be426297370a2c..5366e2112ad1ea18 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -666,6 +666,11 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
mt6592-evb.dtb \
mt8127-moose.dtb \
mt8135-evbp1.dtb
+
+ifeq ($(CONFIG_OF_OVERLAY),y)
+dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
+ r8a7740-armadillo800eva-con15-scifa0.dtbo \
+endif
endif
always := $(dtb-y)
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso
new file mode 100644
index 0000000000000000..4a7d89ddf61d3dc2
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso
@@ -0,0 +1,53 @@
+/*
+ * Device Tree Overlay for SCIFA0 on r8a7740/Armadillo-800 EVA Expansion
+ * Interface Connector
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = CON15 pin 23
+ * - TXD = CON15 pin 25
+ * - CTS = CON15 pin 35
+ * - RTS = CON15 pin 34
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial0 = &scifa0; */
+ serial0 = "/serial@e6c40000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifa0_pins: serial0 {
+ renesas,groups = "scifa0_data", "scifa0_ctrl";
+ renesas,function = "scifa0";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&scifa0>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifa0_pins>;
+ pinctrl-names = "default";
+
+ ctsrts;
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH/RFC 04/12] ARM: shmobile: armadillo dts: Add overlay for SCIFB on CON15
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (2 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 03/12] ARM: shmobile: armadillo dts: Add overlay for SCIFA0 on CON15 Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 05/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF1 on EXIO A Geert Uytterhoeven
` (7 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIFB on the Expansion Interface Connector (CON15), as
documented in Table 18.15 of the "Armadillo-800 EVA Product Manual".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../dts/r8a7740-armadillo800eva-con15-scifb.dtso | 52 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 5366e2112ad1ea18..1f2478d6254ea70f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -670,6 +670,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
ifeq ($(CONFIG_OF_OVERLAY),y)
dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7740-armadillo800eva-con15-scifa0.dtbo \
+ r8a7740-armadillo800eva-con15-scifb.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso
new file mode 100644
index 0000000000000000..34e46580e09565a9
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso
@@ -0,0 +1,52 @@
+/*
+ * Device Tree Overlay for SCIFB on r8a7740/Armadillo-800 EVA Expansion
+ * Interface Connector
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = CON15 pin 41
+ * - TXD = CON15 pin 40
+ * - SCK = CON15 pin 42
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial8 = &scifb; */
+ serial8 = "/serial@e6c30000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifb_pins: serial8 {
+ renesas,groups = "scifb_data_0";
+ renesas,function = "scifb";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&scifb>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifb_pins>;
+ pinctrl-names = "default";
+
+ ctsrts;
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH/RFC 05/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF1 on EXIO A
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (3 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 04/12] ARM: shmobile: armadillo dts: Add overlay for SCIFB " Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 07/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB0 " Geert Uytterhoeven
` (6 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to HSCIF1 on EXIO Connector A.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../boot/dts/r8a7791-koelsch-exio-a-hscif1.dtso | 49 ++++++++++++++++++++++
2 files changed, 50 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif1.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 1f2478d6254ea70f..d800690e3aaf7bab 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -671,6 +671,7 @@ ifeq ($(CONFIG_OF_OVERLAY),y)
dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7740-armadillo800eva-con15-scifa0.dtbo \
r8a7740-armadillo800eva-con15-scifb.dtbo \
+ r8a7791-koelsch-exio-a-hscif1.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif1.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif1.dtso
new file mode 100644
index 0000000000000000..03793154b6fa2cb1
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif1.dtso
@@ -0,0 +1,49 @@
+/*
+ * Device Tree Overlay for HSCIF1 on r8a7791/Koelsch EXIO Connector A
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector A pin 72
+ * - TXD = EXIO Connector A pin 53
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial16 = &hscif1; */
+ serial16 = "/serial@e62c8000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ hscif1_pins: serial16 {
+ renesas,groups = "hscif1_data_b";
+ renesas,function = "hscif1";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&hscif1>;
+
+ __overlay__ {
+ pinctrl-0 = <&hscif1_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH/RFC 07/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB0 on EXIO A
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (4 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 05/12] ARM: shmobile: koelsch dts: Add overlay for HSCIF1 on EXIO A Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 08/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB1 " Geert Uytterhoeven
` (5 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIFB0 on EXIO Connector A.
FIXME Document "ctsrts" DT property.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../boot/dts/r8a7791-koelsch-exio-a-scifb0.dtso | 53 ++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb0.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index d5d2386694d57391..576fa500e987ad2b 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -673,6 +673,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7740-armadillo800eva-con15-scifb.dtbo \
r8a7791-koelsch-exio-a-hscif1.dtbo \
r8a7791-koelsch-exio-a-hscif2.dtbo \
+ r8a7791-koelsch-exio-a-scifb0.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb0.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb0.dtso
new file mode 100644
index 0000000000000000..30b83c5d36b4fbe6
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb0.dtso
@@ -0,0 +1,53 @@
+/*
+ * Device Tree Overlay for SCIFB0 on r8a7791/Koelsch EXIO Connector A
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector A pin 66
+ * - TXD = EXIO Connector A pin 60
+ * - CTS = EXIO Connector A pin 65
+ * - RTS = EXIO Connector A pin 62
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial12 = &scifb0; */
+ serial12 = "/serial@e6c20000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifb0_pins: serial12 {
+ renesas,groups = "scifb0_data_b",
+ "scifb0_ctrl_b";
+ renesas,function = "scifb0";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&scifb0>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifb0_pins>;
+ pinctrl-names = "default";
+
+ ctsrts;
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH/RFC 08/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB1 on EXIO A
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (5 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 07/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB0 " Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-09-10 12:24 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 09/12] ARM: shmobile: koelsch dts: Add overlay for SCIF3 on EXIO C Geert Uytterhoeven
` (4 subsequent siblings)
11 siblings, 1 reply; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIFB1 on EXIO Connector A.
FIXME SCIFB1 TX works, RX doesn't.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../boot/dts/r8a7791-koelsch-exio-a-scifb1.dtso | 51 ++++++++++++++++++++++
2 files changed, 52 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb1.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 576fa500e987ad2b..19e36347aeb302b1 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -674,6 +674,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch-exio-a-hscif1.dtbo \
r8a7791-koelsch-exio-a-hscif2.dtbo \
r8a7791-koelsch-exio-a-scifb0.dtbo \
+ r8a7791-koelsch-exio-a-scifb1.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb1.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb1.dtso
new file mode 100644
index 0000000000000000..660a5b87e687f133
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb1.dtso
@@ -0,0 +1,51 @@
+/*
+ * Device Tree Overlay for SCIFB1 on r8a7791/Koelsch EXIO Connector A
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector A pin 72
+ * - TXD = EXIO Connector A pin 53
+ * - SCK = EXIO Connector A pin 39
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial13 = &scifb1; */
+ serial13 = "/serial@e6c30000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifb1_pins: serial13 {
+ renesas,groups = "scifb1_data_b",
+ "scifb1_clk_b";
+ renesas,function = "scifb1";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&scifb1>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifb1_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH/RFC 08/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB1 on EXIO A
2015-05-12 17:37 ` [PATCH/RFC 08/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB1 " Geert Uytterhoeven
@ 2015-09-10 12:24 ` Geert Uytterhoeven
0 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-09-10 12:24 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Simon Horman, Magnus Damm, Pantelis Antoniou, Linux-sh list,
devicetree@vger.kernel.org
On Tue, May 12, 2015 at 7:37 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> Provide access to SCIFB1 on EXIO Connector A.
>
> FIXME SCIFB1 TX works, RX doesn't.
FTR, fixed by "[PATCH] pinctrl: sh-pfc: r8a7791/r8a7793: Correct SCIFB1_B SCK
MOD_SEL value" (http://thread.gmane.org/gmane.linux.kernel.gpio/10523).
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] 17+ messages in thread
* [PATCH/RFC 09/12] ARM: shmobile: koelsch dts: Add overlay for SCIF3 on EXIO C
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (6 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 08/12] ARM: shmobile: koelsch dts: Add overlay for SCIFB1 " Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 10/12] ARM: shmobile: koelsch dts: Add overlay for SCIF5 " Geert Uytterhoeven
` (3 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIF3 on EXIO Connector C.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../arm/boot/dts/r8a7791-koelsch-exio-c-scif3.dtso | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif3.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 19e36347aeb302b1..ec2abfe19329b791 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -675,6 +675,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch-exio-a-hscif2.dtbo \
r8a7791-koelsch-exio-a-scifb0.dtbo \
r8a7791-koelsch-exio-a-scifb1.dtbo \
+ r8a7791-koelsch-exio-c-scif3.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif3.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif3.dtso
new file mode 100644
index 0000000000000000..3cb5fd138c0997c6
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif3.dtso
@@ -0,0 +1,60 @@
+/*
+ * Device Tree Overlay for SCIF3 on r8a7791/Koelsch EXIO Connector C
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector C pin 40
+ * - TXD = EXIO Connector C pin 38
+ *
+ * Notes:
+ * - As these pins are shared with SDHI0, the latter is disabled first.
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial3 = &scif3; */
+ serial3 = "/serial@e6ea8000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scif3_pins: serial3 {
+ renesas,groups = "scif3_data_c";
+ renesas,function = "scif3";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&sdhi0>;
+
+ __overlay__ {
+ status = "disabled";
+ };
+ };
+
+ fragment@3 {
+ target = <&scif3>;
+
+ __overlay__ {
+ pinctrl-0 = <&scif3_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH/RFC 10/12] ARM: shmobile: koelsch dts: Add overlay for SCIF5 on EXIO C
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (7 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 09/12] ARM: shmobile: koelsch dts: Add overlay for SCIF3 on EXIO C Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 11/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(b) " Geert Uytterhoeven
` (2 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIF5 on EXIO Connector C.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index ec2abfe19329b791..655a967b0566a3d1 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -676,6 +676,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch-exio-a-scifb0.dtbo \
r8a7791-koelsch-exio-a-scifb1.dtbo \
r8a7791-koelsch-exio-c-scif3.dtbo \
+ r8a7791-koelsch-exio-c-scif5.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso
new file mode 100644
index 0000000000000000..37ec7006e1174a37
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso
@@ -0,0 +1,60 @@
+/*
+ * Device Tree Overlay for SCIF5 on r8a7791/Koelsch EXIO Connector C
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector C pin 39
+ * - TXD = EXIO Connector C pin 37
+ *
+ * Notes:
+ * - As these pins are shared with SDHI2, the latter is disabled first.
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial5 = &scif5; */
+ serial5 = "/serial@e6ee8000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scif5_pins: serial5 {
+ renesas,groups = "scif5_data_b";
+ renesas,function = "scif5";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&sdhi2>;
+
+ __overlay__ {
+ status = "disabled";
+ };
+ };
+
+ fragment@3 {
+ target = <&scif5>;
+
+ __overlay__ {
+ pinctrl-0 = <&scif5_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH/RFC 11/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(b) on EXIO C
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (8 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 10/12] ARM: shmobile: koelsch dts: Add overlay for SCIF5 " Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-12 17:37 ` [PATCH/RFC 12/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(c) " Geert Uytterhoeven
2015-05-13 8:16 ` [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Pantelis Antoniou
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIFA5(b) on EXIO Connector C.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../boot/dts/r8a7791-koelsch-exio-c-scifa5-b.dtso | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-b.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 655a967b0566a3d1..a5cf8a6daf12ea1a 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -677,6 +677,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch-exio-a-scifb1.dtbo \
r8a7791-koelsch-exio-c-scif3.dtbo \
r8a7791-koelsch-exio-c-scif5.dtbo \
+ r8a7791-koelsch-exio-c-scifa5-b.dtbo \
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-b.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-b.dtso
new file mode 100644
index 0000000000000000..f8b7ea5ffc4b7247
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-b.dtso
@@ -0,0 +1,60 @@
+/*
+ * Device Tree Overlay for SCIFA5(b) on r8a7791/Koelsch EXIO Connector C
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector C pin 40
+ * - TXD = EXIO Connector C pin 38
+ *
+ * Notes:
+ * - As these pins are shared with SDHI0, the latter is disabled first.
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial11 = &scifa5; */
+ serial11 = "/serial@e6c80000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifa5_pins_b: serial11_b {
+ renesas,groups = "scifa5_data_b";
+ renesas,function = "scifa5";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&sdhi0>;
+
+ __overlay__ {
+ status = "disabled";
+ };
+ };
+
+ fragment@3 {
+ target = <&scifa5>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifa5_pins_b>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [PATCH/RFC 12/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(c) on EXIO C
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (9 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 11/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(b) " Geert Uytterhoeven
@ 2015-05-12 17:37 ` Geert Uytterhoeven
2015-05-13 8:16 ` [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Pantelis Antoniou
11 siblings, 0 replies; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-12 17:37 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Pantelis Antoniou, linux-sh, devicetree, Geert Uytterhoeven
Provide access to SCIFA5(c) on EXIO Connector C.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/boot/dts/Makefile | 1 +
.../boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso | 60 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index a5cf8a6daf12ea1a..096d4939991b33c5 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -678,6 +678,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7791-koelsch-exio-c-scif3.dtbo \
r8a7791-koelsch-exio-c-scif5.dtbo \
r8a7791-koelsch-exio-c-scifa5-b.dtbo \
+ r8a7791-koelsch-exio-c-scifa5-c.dtbo
endif
endif
diff --git a/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso
new file mode 100644
index 0000000000000000..062cf6740207ddcf
--- /dev/null
+++ b/arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso
@@ -0,0 +1,60 @@
+/*
+ * Device Tree Overlay for SCIFA5(c) on r8a7791/Koelsch EXIO Connector C
+ *
+ * Copyright (C) 2015 Glider bvba
+ *
+ * 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.
+ *
+ * Pinout:
+ * - RXD = EXIO Connector C pin 39
+ * - TXD = EXIO Connector C pin 37
+ *
+ * Notes:
+ * - As these pins are shared with SDHI2, the latter is disabled first.
+ */
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ fragment@0 {
+ target-path = "/aliases";
+
+ __overlay__ {
+ /* serial11 = &scifa5; */
+ serial11 = "/serial@e6c80000";
+ };
+ };
+
+ fragment@1 {
+ target = <&pfc>;
+
+ __overlay__ {
+ scifa5_pins_c: serial11_c {
+ renesas,groups = "scifa5_data_c";
+ renesas,function = "scifa5";
+ };
+ };
+ };
+
+ fragment@2 {
+ target = <&sdhi2>;
+
+ __overlay__ {
+ status = "disabled";
+ };
+ };
+
+ fragment@3 {
+ target = <&scifa5>;
+
+ __overlay__ {
+ pinctrl-0 = <&scifa5_pins_c>;
+ pinctrl-names = "default";
+
+ status = "okay";
+ };
+ };
+};
--
1.9.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports
2015-05-12 17:37 [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Geert Uytterhoeven
` (10 preceding siblings ...)
2015-05-12 17:37 ` [PATCH/RFC 12/12] ARM: shmobile: koelsch dts: Add overlay for SCIFA5(c) " Geert Uytterhoeven
@ 2015-05-13 8:16 ` Pantelis Antoniou
2015-05-13 8:19 ` Geert Uytterhoeven
11 siblings, 1 reply; 17+ messages in thread
From: Pantelis Antoniou @ 2015-05-13 8:16 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Simon Horman, Magnus Damm, linux-sh, devicetree
Hi Geert,
In general it looks just fine to me.
> On May 12, 2015, at 20:37 , Geert Uytterhoeven <geert+renesas@glider.be> wrote:
>
> Hi all,
>
> This patch series adds device tree overlays to use various serial ports
> on expansion ports on the r8a7740/armadillo and r8a7791/koelsch
> development boards.
>
> This is an RFC for various reasons:
> - Do we want to store device tree overlay sources in the kernel source
> tree (see also the patch mentioned under dependencies)?
> - The first two patches add aliases for all serial ports to the main
> dts files, as of_alias_add() is not called yet when loading a device
> tree overlay that adds an alias.
> - The overlay sources use full paths to refer to the device nodes for
> creating aliases, as path references (unlike phandle references) are
> not yet supported by overlays.
Hmm, phandle references are completely supported. You just have to remember
to build your base tree with the -@ option to generate the fixups :)
> - The "ctsrts" DT property is not yet documented.
> - On Koelsch, SCIFB1 works for TX only. As SCIFB works on armadillo,
> and the same pins work for HSCIF1 on koelsch, this may be a silly
> pinctrl issue. Or not.
> - As the EXIO connectors on koelsch carry i2c signals, we can go wild
> and add i2c EEPROMs for identification, and implement a capemgr,
> like on BeagleBone ;-)
>
FWIW you’ve been CCed in the submission of the beaglebone cape-manager.
Most of the code is dealing with bone’s EEPROM format but I am sure you’ll
find stuff to cannibalize if you go to that path :)
Some people have expressed some amount of interest for basic compatibility
among extension boards that do simple low-speed I/O.
For example an expansion board that provides a few I2C peripherals should
in theory be portable between any number of boards that provide a physically
identical i2c bus.
Now how to go about doing this is a different matter altogether.
> How to use it, using overlay configfs:
> - Copy your dtsos to /lib/firmware
> - mkdir /sys/kernel/config/device-tree/overlays/scif3
> - echo r8a7791-koelsch-exio-c-scif3.dtso >
> /sys/kernel/config/device-tree/overlays/scif3/path
> - Play with your new serial port
> - rmdir /sys/kernel/config/device-tree/overlays/scif3
>
> This depends on:
> - https://github.com/pantoniou/linux-beagle-track-mainline.git#bbb-overlays
> for overlay configfs.
> - "[PATCH/RFC] kbuild: Create a rule for building device tree overlay
> objects" (https://lkml.org/lkml/2015/5/12/343), for building the dtsos.
>
> Thanks for your comments!
>
> Geert Uytterhoeven (12):
> ARM: shmobile: armadillo dts: Add aliases for all serial ports
> ARM: shmobile: koelsch dts: Add aliases for all serial ports
> ARM: shmobile: armadillo dts: Add overlay for SCIFA0 on CON15
> ARM: shmobile: armadillo dts: Add overlay for SCIFB on CON15
> ARM: shmobile: koelsch dts: Add overlay for HSCIF1 on EXIO A
> ARM: shmobile: koelsch dts: Add overlay for HSCIF2 on EXIO A
> ARM: shmobile: koelsch dts: Add overlay for SCIFB0 on EXIO A
> ARM: shmobile: koelsch dts: Add overlay for SCIFB1 on EXIO A
> ARM: shmobile: koelsch dts: Add overlay for SCIF3 on EXIO C
> ARM: shmobile: koelsch dts: Add overlay for SCIF5 on EXIO C
> ARM: shmobile: koelsch dts: Add overlay for SCIFA5(b) on EXIO C
> ARM: shmobile: koelsch dts: Add overlay for SCIFA5(c) on EXIO C
>
> arch/arm/boot/dts/Makefile | 14 +++++
> .../dts/r8a7740-armadillo800eva-con15-scifa0.dtso | 53 +++++++++++++++++++
> .../dts/r8a7740-armadillo800eva-con15-scifb.dtso | 52 +++++++++++++++++++
> arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 8 +++
> .../boot/dts/r8a7791-koelsch-exio-a-hscif1.dtso | 49 ++++++++++++++++++
> .../boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso | 53 +++++++++++++++++++
> .../boot/dts/r8a7791-koelsch-exio-a-scifb0.dtso | 53 +++++++++++++++++++
> .../boot/dts/r8a7791-koelsch-exio-a-scifb1.dtso | 51 ++++++++++++++++++
> .../arm/boot/dts/r8a7791-koelsch-exio-c-scif3.dtso | 60 ++++++++++++++++++++++
> .../arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso | 60 ++++++++++++++++++++++
> .../boot/dts/r8a7791-koelsch-exio-c-scifa5-b.dtso | 60 ++++++++++++++++++++++
> .../boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso | 60 ++++++++++++++++++++++
> arch/arm/boot/dts/r8a7791-koelsch.dts | 16 ++++++
> 13 files changed, 589 insertions(+)
> create mode 100644 arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifa0.dtso
> create mode 100644 arch/arm/boot/dts/r8a7740-armadillo800eva-con15-scifb.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif1.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-hscif2.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb0.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-a-scifb1.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif3.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scif5.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-b.dtso
> create mode 100644 arch/arm/boot/dts/r8a7791-koelsch-exio-c-scifa5-c.dtso
>
> --
> 1.9.1
>
> Gr{oetje,eeting}s,
>
> Geert
>
All in all, I’m happy that someone else is using this stuff, I could use the company ;)
> --
> 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
Regards
— Pantelis
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports
2015-05-13 8:16 ` [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports Pantelis Antoniou
@ 2015-05-13 8:19 ` Geert Uytterhoeven
2015-05-13 8:20 ` Pantelis Antoniou
0 siblings, 1 reply; 17+ messages in thread
From: Geert Uytterhoeven @ 2015-05-13 8:19 UTC (permalink / raw)
To: Pantelis Antoniou
Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Linux-sh list,
devicetree@vger.kernel.org
Hi Pantelis,
On Wed, May 13, 2015 at 10:16 AM, Pantelis Antoniou
<pantelis.antoniou@konsulko.com> wrote:
>> - The overlay sources use full paths to refer to the device nodes for
>> creating aliases, as path references (unlike phandle references) are
>> not yet supported by overlays.
>
> Hmm, phandle references are completely supported. You just have to remember
> to build your base tree with the -@ option to generate the fixups :)
The aliases need _path_ references.
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] 17+ messages in thread
* Re: [PATCH/RFC 00/12] ARM: shmobile: dts: Add overlays for various serial ports
2015-05-13 8:19 ` Geert Uytterhoeven
@ 2015-05-13 8:20 ` Pantelis Antoniou
0 siblings, 0 replies; 17+ messages in thread
From: Pantelis Antoniou @ 2015-05-13 8:20 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Linux-sh list,
devicetree@vger.kernel.org
Hi Geert,
> On May 13, 2015, at 11:19 , Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Pantelis,
>
> On Wed, May 13, 2015 at 10:16 AM, Pantelis Antoniou
> <pantelis.antoniou@konsulko.com> wrote:
>>> - The overlay sources use full paths to refer to the device nodes for
>>> creating aliases, as path references (unlike phandle references) are
>>> not yet supported by overlays.
>>
>> Hmm, phandle references are completely supported. You just have to remember
>> to build your base tree with the -@ option to generate the fixups :)
> The aliases need _path_ references.
>
Ugh, yeah, that’s a problem :)
> 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] 17+ messages in thread