* [PATCH] at91: serial: sam9g25: add usart3 to dtsi
@ 2013-09-19 12:33 Jiri Prchal
2013-09-19 12:58 ` Nicolas Ferre
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Prchal @ 2013-09-19 12:33 UTC (permalink / raw)
To: linux-arm-kernel
Hope it should be in g25 because not all x5 socs have usart3.
Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz>
---
arch/arm/boot/dts/at91sam9g25.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9g25.dtsi b/arch/arm/boot/dts/at91sam9g25.dtsi
index b4ec6fe..ba0966f 100644
--- a/arch/arm/boot/dts/at91sam9g25.dtsi
+++ b/arch/arm/boot/dts/at91sam9g25.dtsi
@@ -12,6 +12,10 @@
model = "Atmel AT91SAM9G25 SoC";
compatible = "atmel,at91sam9g25", "atmel,at91sam9x5";
+ aliases {
+ serial4 = &usart3;
+ };
+
ahb {
apb {
pinctrl at fffff400 {
@@ -23,6 +27,16 @@
0x003fffff 0x003f8000 0x00000000 /* pioD */
>;
};
+
+ usart3: serial at f8028000 {
+ compatible = "atmel,at91sam9260-usart";
+ reg = <0xf8028000 0x200>;
+ interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usart3>;
+ status = "disabled";
+ };
+
};
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH] at91: serial: sam9g25: add usart3 to dtsi
2013-09-19 12:33 [PATCH] at91: serial: sam9g25: add usart3 to dtsi Jiri Prchal
@ 2013-09-19 12:58 ` Nicolas Ferre
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Ferre @ 2013-09-19 12:58 UTC (permalink / raw)
To: linux-arm-kernel
On 19/09/2013 14:33, Jiri Prchal :
> Hope it should be in g25 because not all x5 socs have usart3.
Well there is a pending rework of these optional peripherals for sam9x5
series. So we may end-up with this usart3 declaration in a separated
file that will be included in both sam9g25 and sam9x25 product
descriptions (together with the already existing pinctrl declaration
that resides in at91sam9x5.dtsi).
So, I keep your code and will try to make sure that it is included
during the move to that model. If you do not see it appearing, please
remind us then...
Thanks a lot, bye,
> Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz>
> ---
> arch/arm/boot/dts/at91sam9g25.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/at91sam9g25.dtsi b/arch/arm/boot/dts/at91sam9g25.dtsi
> index b4ec6fe..ba0966f 100644
> --- a/arch/arm/boot/dts/at91sam9g25.dtsi
> +++ b/arch/arm/boot/dts/at91sam9g25.dtsi
> @@ -12,6 +12,10 @@
> model = "Atmel AT91SAM9G25 SoC";
> compatible = "atmel,at91sam9g25", "atmel,at91sam9x5";
>
> + aliases {
> + serial4 = &usart3;
> + };
> +
> ahb {
> apb {
> pinctrl at fffff400 {
> @@ -23,6 +27,16 @@
> 0x003fffff 0x003f8000 0x00000000 /* pioD */
> >;
> };
> +
> + usart3: serial at f8028000 {
> + compatible = "atmel,at91sam9260-usart";
> + reg = <0xf8028000 0x200>;
> + interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usart3>;
> + status = "disabled";
> + };
> +
> };
> };
> };
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-19 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-19 12:33 [PATCH] at91: serial: sam9g25: add usart3 to dtsi Jiri Prchal
2013-09-19 12:58 ` Nicolas Ferre
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.