* [PATCH v2 1/3] ARM: at91: Add Special Function Registers binding documentation
@ 2014-11-25 16:40 Alexandre Belloni
2014-11-25 16:40 ` [PATCH v2 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
2014-11-25 16:40 ` [PATCH v2 3/3] ARM: at91: sama5d4: " Alexandre Belloni
0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-11-25 16:40 UTC (permalink / raw)
To: Nicolas Ferre
Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon, linux-kernel,
linux-arm-kernel, Alexandre Belloni
The special function registers gather some registers that allow to tweak
features provided by IPs controlled through another register range.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
Documentation/devicetree/bindings/arm/atmel-at91.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/atmel-at91.txt b/Documentation/devicetree/bindings/arm/atmel-at91.txt
index 562cda9d86d9..a6427de45785 100644
--- a/Documentation/devicetree/bindings/arm/atmel-at91.txt
+++ b/Documentation/devicetree/bindings/arm/atmel-at91.txt
@@ -136,3 +136,20 @@ Example:
compatible = "atmel,at91sam9260-rstc";
reg = <0xfffffd00 0x10>;
};
+
+Special Function Registers (SFR)
+
+Special Function Registers (SFR) manage specific aspects of the integrated
+memory, bridge implementations, processor and other functionality not controlled
+elsewhere.
+
+required properties:
+- compatible: Should be "atmel,<chip>-sfr", "syscon".
+ <chip> can be "at91sam9260", "at91sam9rl" or "at91sam9x5".
+- reg: Should contain registers location and length
+
+ sfr@f0038000 {
+ compatible = "atmel,sama5d3-sfr", "syscon";
+ reg = <0xf0038000 0x4000>;
+ };
+
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/3] ARM: at91: sama5d3: Add SFR
2014-11-25 16:40 [PATCH v2 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
@ 2014-11-25 16:40 ` Alexandre Belloni
2014-11-25 16:40 ` [PATCH v2 3/3] ARM: at91: sama5d4: " Alexandre Belloni
1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2014-11-25 16:40 UTC (permalink / raw)
To: Nicolas Ferre
Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon, linux-kernel,
linux-arm-kernel, Alexandre Belloni
The sama5d3 has Special Function Registers that allow to manage OHCI, EBI and
the UTMI clock.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 5f4144d1e3a1..499b59f48055 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -217,6 +217,11 @@
status = "disabled";
};
+ sfr: sfr@f0038000 {
+ compatible = "atmel,sama5d3-sfr", "syscon";
+ reg = <0xf0038000 0x4000>;
+ };
+
mmc1: mmc@f8000000 {
compatible = "atmel,hsmci";
reg = <0xf8000000 0x600>;
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 3/3] ARM: at91: sama5d4: Add SFR
2014-11-25 16:40 [PATCH v2 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-11-25 16:40 ` [PATCH v2 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
@ 2014-11-25 16:40 ` Alexandre Belloni
2014-11-26 3:13 ` Josh Wu
1 sibling, 1 reply; 4+ messages in thread
From: Alexandre Belloni @ 2014-11-25 16:40 UTC (permalink / raw)
To: Nicolas Ferre
Cc: Jean-Christophe Plagniol-Villard, Boris Brezillon, linux-kernel,
linux-arm-kernel, Alexandre Belloni
The sama4d4 has Special Function Registers that allow to manage DDR, OHCI, EBI
and AIC interrupt redirection.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
arch/arm/boot/dts/sama5d4.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index e0157b0f075c..9e281e22d591 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -826,6 +826,11 @@
status = "disabled";
};
+ sfr: sfr@f8028000 {
+ compatible = "atmel,sama5d4-sfr", "syscon";
+ reg = <0xf8028000 0x4000>;
+ };
+
mmc1: mmc@fc000000 {
compatible = "atmel,hsmci";
reg = <0xfc000000 0x600>;
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 3/3] ARM: at91: sama5d4: Add SFR
2014-11-25 16:40 ` [PATCH v2 3/3] ARM: at91: sama5d4: " Alexandre Belloni
@ 2014-11-26 3:13 ` Josh Wu
0 siblings, 0 replies; 4+ messages in thread
From: Josh Wu @ 2014-11-26 3:13 UTC (permalink / raw)
To: Alexandre Belloni, Nicolas Ferre
Cc: Boris Brezillon, Jean-Christophe Plagniol-Villard, linux-kernel,
linux-arm-kernel
Hi, Alexandre
On 11/26/2014 12:40 AM, Alexandre Belloni wrote:
> The sama4d4 has Special Function Registers that allow to manage DDR, OHCI, EBI
> and AIC interrupt redirection.
Just a nitpick, It should be sama5d4, not sama4d4.
Best Regards,
Josh Wu
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
> arch/arm/boot/dts/sama5d4.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
> index e0157b0f075c..9e281e22d591 100644
> --- a/arch/arm/boot/dts/sama5d4.dtsi
> +++ b/arch/arm/boot/dts/sama5d4.dtsi
> @@ -826,6 +826,11 @@
> status = "disabled";
> };
>
> + sfr: sfr@f8028000 {
> + compatible = "atmel,sama5d4-sfr", "syscon";
> + reg = <0xf8028000 0x4000>;
> + };
> +
> mmc1: mmc@fc000000 {
> compatible = "atmel,hsmci";
> reg = <0xfc000000 0x600>;
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-26 3:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25 16:40 [PATCH v2 1/3] ARM: at91: Add Special Function Registers binding documentation Alexandre Belloni
2014-11-25 16:40 ` [PATCH v2 2/3] ARM: at91: sama5d3: Add SFR Alexandre Belloni
2014-11-25 16:40 ` [PATCH v2 3/3] ARM: at91: sama5d4: " Alexandre Belloni
2014-11-26 3:13 ` Josh Wu
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).