Commit f1ea096c authored by Nicolas Ferre's avatar Nicolas Ferre

ARM: at91/dt: sama5d3: add uart0

Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
parent e5566891
...@@ -26,6 +26,7 @@ aliases { ...@@ -26,6 +26,7 @@ aliases {
serial2 = &usart1; serial2 = &usart1;
serial3 = &usart2; serial3 = &usart2;
serial4 = &usart3; serial4 = &usart3;
serial5 = &uart0;
gpio0 = &pioA; gpio0 = &pioA;
gpio1 = &pioB; gpio1 = &pioB;
gpio2 = &pioC; gpio2 = &pioC;
...@@ -206,6 +207,17 @@ usart1: serial@f0020000 { ...@@ -206,6 +207,17 @@ usart1: serial@f0020000 {
status = "disabled"; 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 { pwm0: pwm@f002c000 {
compatible = "atmel,sama5d3-pwm"; compatible = "atmel,sama5d3-pwm";
reg = <0xf002c000 0x300>; reg = <0xf002c000 0x300>;
...@@ -764,6 +776,14 @@ AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB10 periph B RF1, conflicts wit ...@@ -764,6 +776,14 @@ AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE /* PB10 periph B RF1, conflicts wit
}; };
}; };
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 { usart0 {
pinctrl_usart0: usart0-0 { pinctrl_usart0: usart0-0 {
atmel,pins = atmel,pins =
...@@ -1098,6 +1118,12 @@ usart3_clk: usart3_clk { ...@@ -1098,6 +1118,12 @@ usart3_clk: usart3_clk {
atmel,clk-output-range = <0 66000000>; 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 { twi0_clk: twi0_clk {
reg = <18>; reg = <18>;
#clock-cells = <0>; #clock-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment