* [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT
@ 2015-03-04 16:26 ` Nicolas Ferre
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2015-03-04 16:26 UTC (permalink / raw)
To: linux-kernel, linux-arm-kernel
Cc: Boris BREZILLON, Alexandre Belloni, Ludovic Desroches, Nicolas Ferre
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index e30fee2edd55..def05e20e9d6 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -26,6 +26,7 @@
serial2 = &usart1;
serial3 = &usart2;
serial4 = &usart3;
+ serial5 = &uart0;
gpio0 = &pioA;
gpio1 = &pioB;
gpio2 = &pioC;
@@ -206,6 +207,17 @@
status = "disabled";
};
+ uart0: serial@f0024000 {
+ compatible = "atmel,at91sam9260-usart";
+ reg = <0xf0024000 0x100>;
+ interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart0>;
+ clocks = <&uart0_clk>;
+ clock-names = "usart";
+ status = "disabled";
+ };
+
pwm0: pwm@f002c000 {
compatible = "atmel,sama5d3-pwm";
reg = <0xf002c000 0x300>;
@@ -764,6 +776,14 @@
};
};
+ uart0 {
+ pinctrl_uart0: uart0-0 {
+ atmel,pins =
+ <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* conflicts with PWMFI2, ISI_D8 */
+ AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with ISI_PCK */
+ };
+ };
+
usart0 {
pinctrl_usart0: usart0-0 {
atmel,pins =
@@ -1098,6 +1118,12 @@
atmel,clk-output-range = <0 66000000>;
};
+ uart0_clk: uart0_clk {
+ #clock-cells = <0>;
+ reg = <16>;
+ atmel,clk-output-range = <0 66000000>;
+ };
+
twi0_clk: twi0_clk {
reg = <18>;
#clock-cells = <0>;
--
2.1.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT
@ 2015-03-04 16:26 ` Nicolas Ferre
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2015-03-04 16:26 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
arch/arm/boot/dts/sama5d3.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index e30fee2edd55..def05e20e9d6 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -26,6 +26,7 @@
serial2 = &usart1;
serial3 = &usart2;
serial4 = &usart3;
+ serial5 = &uart0;
gpio0 = &pioA;
gpio1 = &pioB;
gpio2 = &pioC;
@@ -206,6 +207,17 @@
status = "disabled";
};
+ uart0: serial at f0024000 {
+ compatible = "atmel,at91sam9260-usart";
+ reg = <0xf0024000 0x100>;
+ interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart0>;
+ clocks = <&uart0_clk>;
+ clock-names = "usart";
+ status = "disabled";
+ };
+
pwm0: pwm at f002c000 {
compatible = "atmel,sama5d3-pwm";
reg = <0xf002c000 0x300>;
@@ -764,6 +776,14 @@
};
};
+ uart0 {
+ pinctrl_uart0: uart0-0 {
+ atmel,pins =
+ <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* conflicts with PWMFI2, ISI_D8 */
+ AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with ISI_PCK */
+ };
+ };
+
usart0 {
pinctrl_usart0: usart0-0 {
atmel,pins =
@@ -1098,6 +1118,12 @@
atmel,clk-output-range = <0 66000000>;
};
+ uart0_clk: uart0_clk {
+ #clock-cells = <0>;
+ reg = <16>;
+ atmel,clk-output-range = <0 66000000>;
+ };
+
twi0_clk: twi0_clk {
reg = <18>;
#clock-cells = <0>;
--
2.1.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT
2015-03-04 16:26 ` Nicolas Ferre
@ 2015-03-04 16:39 ` Nicolas Ferre
-1 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2015-03-04 16:39 UTC (permalink / raw)
To: linux-kernel, linux-arm-kernel, Boris BREZILLON,
Alexandre Belloni, Ludovic Desroches
Le 04/03/2015 17:26, Nicolas Ferre a écrit :
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Please, forget this patch. It is handled by
arch/arm/boot/dts/sama5d3_uart.dtsi file.
Sorry for the noise ;-)
Bye,
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index e30fee2edd55..def05e20e9d6 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -26,6 +26,7 @@
> serial2 = &usart1;
> serial3 = &usart2;
> serial4 = &usart3;
> + serial5 = &uart0;
> gpio0 = &pioA;
> gpio1 = &pioB;
> gpio2 = &pioC;
> @@ -206,6 +207,17 @@
> status = "disabled";
> };
>
> + uart0: serial@f0024000 {
> + compatible = "atmel,at91sam9260-usart";
> + reg = <0xf0024000 0x100>;
> + interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart0>;
> + clocks = <&uart0_clk>;
> + clock-names = "usart";
> + status = "disabled";
> + };
> +
> pwm0: pwm@f002c000 {
> compatible = "atmel,sama5d3-pwm";
> reg = <0xf002c000 0x300>;
> @@ -764,6 +776,14 @@
> };
> };
>
> + uart0 {
> + pinctrl_uart0: uart0-0 {
> + atmel,pins =
> + <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* conflicts with PWMFI2, ISI_D8 */
> + AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with ISI_PCK */
> + };
> + };
> +
> usart0 {
> pinctrl_usart0: usart0-0 {
> atmel,pins =
> @@ -1098,6 +1118,12 @@
> atmel,clk-output-range = <0 66000000>;
> };
>
> + uart0_clk: uart0_clk {
> + #clock-cells = <0>;
> + reg = <16>;
> + atmel,clk-output-range = <0 66000000>;
> + };
> +
> twi0_clk: twi0_clk {
> reg = <18>;
> #clock-cells = <0>;
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT
@ 2015-03-04 16:39 ` Nicolas Ferre
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2015-03-04 16:39 UTC (permalink / raw)
To: linux-arm-kernel
Le 04/03/2015 17:26, Nicolas Ferre a ?crit :
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Please, forget this patch. It is handled by
arch/arm/boot/dts/sama5d3_uart.dtsi file.
Sorry for the noise ;-)
Bye,
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index e30fee2edd55..def05e20e9d6 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -26,6 +26,7 @@
> serial2 = &usart1;
> serial3 = &usart2;
> serial4 = &usart3;
> + serial5 = &uart0;
> gpio0 = &pioA;
> gpio1 = &pioB;
> gpio2 = &pioC;
> @@ -206,6 +207,17 @@
> status = "disabled";
> };
>
> + uart0: serial at f0024000 {
> + compatible = "atmel,at91sam9260-usart";
> + reg = <0xf0024000 0x100>;
> + interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart0>;
> + clocks = <&uart0_clk>;
> + clock-names = "usart";
> + status = "disabled";
> + };
> +
> pwm0: pwm at f002c000 {
> compatible = "atmel,sama5d3-pwm";
> reg = <0xf002c000 0x300>;
> @@ -764,6 +776,14 @@
> };
> };
>
> + uart0 {
> + pinctrl_uart0: uart0-0 {
> + atmel,pins =
> + <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* conflicts with PWMFI2, ISI_D8 */
> + AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with ISI_PCK */
> + };
> + };
> +
> usart0 {
> pinctrl_usart0: usart0-0 {
> atmel,pins =
> @@ -1098,6 +1118,12 @@
> atmel,clk-output-range = <0 66000000>;
> };
>
> + uart0_clk: uart0_clk {
> + #clock-cells = <0>;
> + reg = <16>;
> + atmel,clk-output-range = <0 66000000>;
> + };
> +
> twi0_clk: twi0_clk {
> reg = <18>;
> #clock-cells = <0>;
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT
2015-03-04 16:26 ` Nicolas Ferre
@ 2015-03-04 21:13 ` Jean-Christophe PLAGNIOL-VILLARD
-1 siblings, 0 replies; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2015-03-04 21:13 UTC (permalink / raw)
To: Nicolas Ferre
Cc: linux-kernel, linux-arm-kernel, Boris BREZILLON,
Ludovic Desroches, Alexandre Belloni
On 17:26 Wed 04 Mar , Nicolas Ferre wrote:
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
please keep in Cc for at91 related work
Best Regards,
J.
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index e30fee2edd55..def05e20e9d6 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -26,6 +26,7 @@
> serial2 = &usart1;
> serial3 = &usart2;
> serial4 = &usart3;
> + serial5 = &uart0;
> gpio0 = &pioA;
> gpio1 = &pioB;
> gpio2 = &pioC;
> @@ -206,6 +207,17 @@
> status = "disabled";
> };
>
> + uart0: serial@f0024000 {
> + compatible = "atmel,at91sam9260-usart";
> + reg = <0xf0024000 0x100>;
> + interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart0>;
> + clocks = <&uart0_clk>;
> + clock-names = "usart";
> + status = "disabled";
> + };
> +
> pwm0: pwm@f002c000 {
> compatible = "atmel,sama5d3-pwm";
> reg = <0xf002c000 0x300>;
> @@ -764,6 +776,14 @@
> };
> };
>
> + uart0 {
> + pinctrl_uart0: uart0-0 {
> + atmel,pins =
> + <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* conflicts with PWMFI2, ISI_D8 */
> + AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with ISI_PCK */
> + };
> + };
> +
> usart0 {
> pinctrl_usart0: usart0-0 {
> atmel,pins =
> @@ -1098,6 +1118,12 @@
> atmel,clk-output-range = <0 66000000>;
> };
>
> + uart0_clk: uart0_clk {
> + #clock-cells = <0>;
> + reg = <16>;
> + atmel,clk-output-range = <0 66000000>;
> + };
> +
> twi0_clk: twi0_clk {
> reg = <18>;
> #clock-cells = <0>;
> --
> 2.1.3
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT
@ 2015-03-04 21:13 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 6+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2015-03-04 21:13 UTC (permalink / raw)
To: linux-arm-kernel
On 17:26 Wed 04 Mar , Nicolas Ferre wrote:
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
please keep in Cc for at91 related work
Best Regards,
J.
> ---
> arch/arm/boot/dts/sama5d3.dtsi | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
> index e30fee2edd55..def05e20e9d6 100644
> --- a/arch/arm/boot/dts/sama5d3.dtsi
> +++ b/arch/arm/boot/dts/sama5d3.dtsi
> @@ -26,6 +26,7 @@
> serial2 = &usart1;
> serial3 = &usart2;
> serial4 = &usart3;
> + serial5 = &uart0;
> gpio0 = &pioA;
> gpio1 = &pioB;
> gpio2 = &pioC;
> @@ -206,6 +207,17 @@
> status = "disabled";
> };
>
> + uart0: serial at f0024000 {
> + compatible = "atmel,at91sam9260-usart";
> + reg = <0xf0024000 0x100>;
> + interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_uart0>;
> + clocks = <&uart0_clk>;
> + clock-names = "usart";
> + status = "disabled";
> + };
> +
> pwm0: pwm at f002c000 {
> compatible = "atmel,sama5d3-pwm";
> reg = <0xf002c000 0x300>;
> @@ -764,6 +776,14 @@
> };
> };
>
> + uart0 {
> + pinctrl_uart0: uart0-0 {
> + atmel,pins =
> + <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* conflicts with PWMFI2, ISI_D8 */
> + AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with ISI_PCK */
> + };
> + };
> +
> usart0 {
> pinctrl_usart0: usart0-0 {
> atmel,pins =
> @@ -1098,6 +1118,12 @@
> atmel,clk-output-range = <0 66000000>;
> };
>
> + uart0_clk: uart0_clk {
> + #clock-cells = <0>;
> + reg = <16>;
> + atmel,clk-output-range = <0 66000000>;
> + };
> +
> twi0_clk: twi0_clk {
> reg = <18>;
> #clock-cells = <0>;
> --
> 2.1.3
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-04 21:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04 16:26 [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT Nicolas Ferre
2015-03-04 16:26 ` Nicolas Ferre
2015-03-04 16:39 ` Nicolas Ferre
2015-03-04 16:39 ` Nicolas Ferre
2015-03-04 21:13 ` Jean-Christophe PLAGNIOL-VILLARD
2015-03-04 21:13 ` Jean-Christophe PLAGNIOL-VILLARD
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.