* [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263
@ 2014-12-19 8:51 Alexander Stein
[not found] ` <1418979100-13243-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stein @ 2014-12-19 8:51 UTC (permalink / raw)
To: Nicolas Ferre, Jean-Christophe Plagniol-Villard, Andrew Victor,
Alexandre Belloni, Boris Brezillon
Cc: Alexander Stein,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
This is based on and requires Boris' work on an EBI driver for AT91. Please
refer to https://lkml.org/lkml/2014/12/3/806.
The reason I added no pinctrl is that those pins from EBI1 in my case are not
muxable. They are fixed so there is nothing I can test here.
I used this patchset and the EBI to configure a PSRAM to be used by the
atmel_lcdfb driver which works so far.
This also means EBI0 is rather untested, but it should behave like EBI1 if
the numbers are correct.
Best regards,
Alexander
Alexander Stein (3):
ARM: at91/dt: add matrix node in at91sam9263 dtsi
ARM: at91/dt: add SMC0/1 nodes in at91sam9263 dtsi
ARM: at91/dt: add EBI (External Bus Interface) node in at91sam9263
dtsi
arch/arm/boot/dts/at91sam9263.dtsi | 44 ++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
--
2.2.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 [flat|nested] 6+ messages in thread
* [PATCH 1/3] ARM: at91/dt: add matrix node in at91sam9263 dtsi
[not found] ` <1418979100-13243-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
@ 2014-12-19 8:51 ` Alexander Stein
2014-12-19 8:51 ` [PATCH 2/3] ARM: at91/dt: add SMC0/1 nodes " Alexander Stein
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2014-12-19 8:51 UTC (permalink / raw)
To: Nicolas Ferre, Jean-Christophe Plagniol-Villard, Andrew Victor,
Alexandre Belloni, Boris Brezillon
Cc: Alexander Stein,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Add matrix node in at91sam9263 dtsi so that it can be referenced by other
devices.
Signed-off-by: Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org>
---
arch/arm/boot/dts/at91sam9263.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
index fd8d242..8cc5337 100644
--- a/arch/arm/boot/dts/at91sam9263.dtsi
+++ b/arch/arm/boot/dts/at91sam9263.dtsi
@@ -356,6 +356,11 @@
reg = <0xffffe800 0x200>;
};
+ matrix: matrix@ffffec00 {
+ compatible = "atmel,at91sam9263-matrix", "syscon";
+ reg = <0xffffec00 0x200>;
+ };
+
pit: timer@fffffd30 {
compatible = "atmel,at91sam9260-pit";
reg = <0xfffffd30 0xf>;
--
2.2.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] 6+ messages in thread
* [PATCH 2/3] ARM: at91/dt: add SMC0/1 nodes in at91sam9263 dtsi
[not found] ` <1418979100-13243-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
2014-12-19 8:51 ` [PATCH 1/3] ARM: at91/dt: add matrix node in at91sam9263 dtsi Alexander Stein
@ 2014-12-19 8:51 ` Alexander Stein
2014-12-19 8:51 ` [PATCH 3/3] ARM: at91/dt: add EBI (External Bus Interface) node " Alexander Stein
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2014-12-19 8:51 UTC (permalink / raw)
To: Nicolas Ferre, Jean-Christophe Plagniol-Villard, Andrew Victor,
Alexandre Belloni, Boris Brezillon
Cc: Alexander Stein,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Add the SMC0/1 (Static Memory Controller) nodes in at91sam9263sama5d3 dtsi.
Signed-off-by: Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org>
---
arch/arm/boot/dts/at91sam9263.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
index 8cc5337..914990b 100644
--- a/arch/arm/boot/dts/at91sam9263.dtsi
+++ b/arch/arm/boot/dts/at91sam9263.dtsi
@@ -351,11 +351,21 @@
reg = <0xffffe200 0x200>;
};
+ smc0: smc0@ffffe400 {
+ compatible = "atmel,at91sam9260-smc", "syscon";
+ reg = <0xffffe400 0x200>;
+ };
+
ramc1: ramc@ffffe800 {
compatible = "atmel,at91sam9260-sdramc";
reg = <0xffffe800 0x200>;
};
+ smc1: smc1@ffffea00 {
+ compatible = "atmel,at91sam9260-smc", "syscon";
+ reg = <0xffffea00 0x200>;
+ };
+
matrix: matrix@ffffec00 {
compatible = "atmel,at91sam9263-matrix", "syscon";
reg = <0xffffec00 0x200>;
--
2.2.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] 6+ messages in thread
* [PATCH 3/3] ARM: at91/dt: add EBI (External Bus Interface) node in at91sam9263 dtsi
[not found] ` <1418979100-13243-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
2014-12-19 8:51 ` [PATCH 1/3] ARM: at91/dt: add matrix node in at91sam9263 dtsi Alexander Stein
2014-12-19 8:51 ` [PATCH 2/3] ARM: at91/dt: add SMC0/1 nodes " Alexander Stein
@ 2014-12-19 8:51 ` Alexander Stein
2014-12-21 11:14 ` [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263 Alexandre Belloni
2014-12-29 15:33 ` Boris Brezillon
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2014-12-19 8:51 UTC (permalink / raw)
To: Nicolas Ferre, Jean-Christophe Plagniol-Villard, Andrew Victor,
Alexandre Belloni, Boris Brezillon
Cc: Alexander Stein,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Add EBI node to at91sam9263 dtsi.
Signed-off-by: Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org>
---
arch/arm/boot/dts/at91sam9263.dtsi | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
index 914990b..9d9ab2a 100644
--- a/arch/arm/boot/dts/at91sam9263.dtsi
+++ b/arch/arm/boot/dts/at91sam9263.dtsi
@@ -994,6 +994,22 @@
status = "disabled";
};
+ ebi0: ebi0@10000000 {
+ compatible = "atmel,at91sam9263-ebi0", "simple-bus";
+ #address-cells = <2>;
+ #size-cells = <1>;
+ atmel,smc = <&smc0>;
+ atmel,matrix = <&matrix>;
+ reg = <0x10000000 0x60000000>;
+ ranges = <0x0 0x0 0x10000000 0x10000000
+ 0x1 0x0 0x20000000 0x10000000
+ 0x2 0x0 0x30000000 0x10000000
+ 0x3 0x0 0x40000000 0x10000000
+ 0x4 0x0 0x50000000 0x10000000
+ 0x5 0x0 0x60000000 0x10000000>;
+ clocks = <&mck>;
+ };
+
nand0: nand@40000000 {
compatible = "atmel,at91rm9200-nand";
#address-cells = <1>;
@@ -1012,6 +1028,19 @@
status = "disabled";
};
+ ebi1: ebi1@70000000 {
+ compatible = "atmel,at91sam9263-ebi1", "simple-bus";
+ #address-cells = <2>;
+ #size-cells = <1>;
+ atmel,smc = <&smc1>;
+ atmel,matrix = <&matrix>;
+ reg = <0x70000000 0x30000000>;
+ ranges = <0x0 0x0 0x70000000 0x10000000
+ 0x1 0x0 0x80000000 0x10000000
+ 0x2 0x0 0x90000000 0x10000000>;
+ clocks = <&mck>;
+ };
+
usb0: ohci@00a00000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00a00000 0x100000>;
--
2.2.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] 6+ messages in thread
* Re: [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263
[not found] ` <1418979100-13243-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
` (2 preceding siblings ...)
2014-12-19 8:51 ` [PATCH 3/3] ARM: at91/dt: add EBI (External Bus Interface) node " Alexander Stein
@ 2014-12-21 11:14 ` Alexandre Belloni
2014-12-29 15:33 ` Boris Brezillon
4 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2014-12-21 11:14 UTC (permalink / raw)
To: Alexander Stein
Cc: Nicolas Ferre, Jean-Christophe Plagniol-Villard, Andrew Victor,
Boris Brezillon,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
The whole series is
Acked-by: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
On 19/12/2014 at 09:51:37 +0100, Alexander Stein wrote :
> This is based on and requires Boris' work on an EBI driver for AT91. Please
> refer to https://lkml.org/lkml/2014/12/3/806.
> The reason I added no pinctrl is that those pins from EBI1 in my case are not
> muxable. They are fixed so there is nothing I can test here.
> I used this patchset and the EBI to configure a PSRAM to be used by the
> atmel_lcdfb driver which works so far.
> This also means EBI0 is rather untested, but it should behave like EBI1 if
> the numbers are correct.
>
> Best regards,
> Alexander
>
> Alexander Stein (3):
> ARM: at91/dt: add matrix node in at91sam9263 dtsi
> ARM: at91/dt: add SMC0/1 nodes in at91sam9263 dtsi
> ARM: at91/dt: add EBI (External Bus Interface) node in at91sam9263
> dtsi
>
> arch/arm/boot/dts/at91sam9263.dtsi | 44 ++++++++++++++++++++++++++++++++++++++
> 1 file changed, 44 insertions(+)
>
> --
> 2.2.1
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
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] 6+ messages in thread
* Re: [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263
[not found] ` <1418979100-13243-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
` (3 preceding siblings ...)
2014-12-21 11:14 ` [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263 Alexandre Belloni
@ 2014-12-29 15:33 ` Boris Brezillon
4 siblings, 0 replies; 6+ messages in thread
From: Boris Brezillon @ 2014-12-29 15:33 UTC (permalink / raw)
To: Alexander Stein
Cc: Nicolas Ferre, Jean-Christophe Plagniol-Villard, Andrew Victor,
Alexandre Belloni,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Hi Alexander,
On Fri, 19 Dec 2014 09:51:37 +0100
Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org> wrote:
> This is based on and requires Boris' work on an EBI driver for AT91. Please
> refer to https://lkml.org/lkml/2014/12/3/806.
> The reason I added no pinctrl is that those pins from EBI1 in my case are not
> muxable. They are fixed so there is nothing I can test here.
> I used this patchset and the EBI to configure a PSRAM to be used by the
> atmel_lcdfb driver which works so far.
> This also means EBI0 is rather untested, but it should behave like EBI1 if
> the numbers are correct.
Thanks for your patches.
Unless there are other changes in the EBI/SMC bindings (which I'm not
sure since the EBI driver has not been accepted yet) you have my
Acked-by: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Regards,
Boris
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
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] 6+ messages in thread
end of thread, other threads:[~2014-12-29 15:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 8:51 [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263 Alexander Stein
[not found] ` <1418979100-13243-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
2014-12-19 8:51 ` [PATCH 1/3] ARM: at91/dt: add matrix node in at91sam9263 dtsi Alexander Stein
2014-12-19 8:51 ` [PATCH 2/3] ARM: at91/dt: add SMC0/1 nodes " Alexander Stein
2014-12-19 8:51 ` [PATCH 3/3] ARM: at91/dt: add EBI (External Bus Interface) node " Alexander Stein
2014-12-21 11:14 ` [PATCH 0/3] add Atmel EBI (External Bus Interface) DT nodes for AT91SAM9263 Alexandre Belloni
2014-12-29 15:33 ` Boris Brezillon
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).