diff mbox

at91: serial: sam9g25: add usart3 to dtsi

Message ID 1379594016-9408-1-git-send-email-jiri.prchal@aksignal.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Jiri Prchal Sept. 19, 2013, 12:33 p.m. UTC
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(+)

Comments

Nicolas Ferre Sept. 19, 2013, 12:58 p.m. UTC | #1
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@fffff400 {
> @@ -23,6 +27,16 @@
>   				       0x003fffff 0x003f8000 0x00000000  /* pioD */
>   				      >;
>   			};
> +
> +			usart3: serial@f8028000 {
> +				compatible = "atmel,at91sam9260-usart";
> +				reg = <0xf8028000 0x200>;
> +				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
> +				pinctrl-names = "default";
> +				pinctrl-0 = <&pinctrl_usart3>;
> +				status = "disabled";
> +			};
> +
>   		};
>   	};
>   };
>
diff mbox

Patch

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@fffff400 {
@@ -23,6 +27,16 @@ 
 				       0x003fffff 0x003f8000 0x00000000  /* pioD */
 				      >;
 			};
+
+			usart3: serial@f8028000 {
+				compatible = "atmel,at91sam9260-usart";
+				reg = <0xf8028000 0x200>;
+				interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&pinctrl_usart3>;
+				status = "disabled";
+			};
+
 		};
 	};
 };