ARM: dts: at91: Add `atmel,usart-mode` required property to serial nodes
authorSergiu Moga <sergiu.moga@microchip.com>
Tue, 13 Sep 2022 14:21:55 +0000 (17:21 +0300)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 16 Sep 2022 07:41:36 +0000 (10:41 +0300)
Add the missing required DT property `atmel,usart-mode` to the serial
nodes of Atmel/Microchip DT files.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220913142205.162399-4-sergiu.moga@microchip.com
16 files changed:
arch/arm/boot/dts/at91-sam9x60ek.dts
arch/arm/boot/dts/at91rm9200.dtsi
arch/arm/boot/dts/at91sam9260.dtsi
arch/arm/boot/dts/at91sam9261.dtsi
arch/arm/boot/dts/at91sam9263.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/boot/dts/at91sam9n12.dtsi
arch/arm/boot/dts/at91sam9rl.dtsi
arch/arm/boot/dts/at91sam9x5.dtsi
arch/arm/boot/dts/at91sam9x5_usart3.dtsi
arch/arm/boot/dts/sam9x60.dtsi
arch/arm/boot/dts/sama5d2.dtsi
arch/arm/boot/dts/sama5d3.dtsi
arch/arm/boot/dts/sama5d3_uart.dtsi
arch/arm/boot/dts/sama5d4.dtsi
arch/arm/boot/dts/sama7g5.dtsi

index 67bce8d..4ba52ba 100644 (file)
        uart1: serial@200 {
                compatible = "microchip,sam9x60-dbgu", "microchip,sam9x60-usart", "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                reg = <0x200 0x200>;
+               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
                dmas = <&dma0
                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
index d1181ea..7a11332 100644 (file)
@@ -13,6 +13,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91rm9200-dbgu", "atmel,at91rm9200-usart";
                                reg = <0xfffff200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
                        usart0: serial@fffc0000 {
                                compatible = "atmel,at91rm9200-usart";
                                reg = <0xfffc0000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart1: serial@fffc4000 {
                                compatible = "atmel,at91rm9200-usart";
                                reg = <0xfffc4000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart2: serial@fffc8000 {
                                compatible = "atmel,at91rm9200-usart";
                                reg = <0xfffc8000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart3: serial@fffcc000 {
                                compatible = "atmel,at91rm9200-usart";
                                reg = <0xfffcc000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
index 9d9820d..789fe35 100644 (file)
@@ -11,6 +11,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
                        usart0: serial@fffb0000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb0000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart1: serial@fffb4000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb4000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart2: serial@fffb8000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb8000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart3: serial@fffd0000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffd0000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        uart0: serial@fffd4000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffd4000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <24 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        uart1: serial@fffd8000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffd8000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <25 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
index 259aca5..ee0bd1a 100644 (file)
@@ -9,6 +9,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        usart0: serial@fffb0000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb0000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart1: serial@fffb4000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb4000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart2: serial@fffb8000{
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb8000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
index c080df8..3ce9ea9 100644 (file)
@@ -9,6 +9,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        dbgu: serial@ffffee00 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xffffee00 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
                        usart0: serial@fff8c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfff8c000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart1: serial@fff90000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfff90000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart2: serial@fff94000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfff94000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
index 0979456..95f5d76 100644 (file)
@@ -13,6 +13,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
 
                        dbgu: serial@ffffee00 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                reg = <0xffffee00 0x200>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                        usart0: serial@fff8c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfff8c000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart1: serial@fff90000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfff90000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart2: serial@fff94000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfff94000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart3: serial@fff98000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfff98000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
index 556f35c..83114d2 100644 (file)
@@ -11,6 +11,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
                        usart0: serial@f801c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf801c000 0x4000>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart0>;
                        usart1: serial@f8020000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8020000 0x4000>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart1>;
                        usart2: serial@f8024000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8024000 0x4000>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart2>;
                        usart3: serial@f8028000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8028000 0x4000>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart3>;
index 12c6348..364a2ff 100644 (file)
@@ -11,6 +11,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pwm/pwm.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        usart0: serial@fffb0000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb0000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart1: serial@fffb4000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb4000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart2: serial@fffb8000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffb8000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        usart3: serial@fffbc000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfffbc000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
                                atmel,use-dma-rx;
                                atmel,use-dma-tx;
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
index ea3b113..0c26c92 100644 (file)
@@ -13,6 +13,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        dbgu: serial@fffff200 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
                        usart0: serial@f801c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf801c000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart0>;
                        usart1: serial@f8020000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8020000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart1>;
                        usart2: serial@f8024000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8024000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart2>;
                        uart0: serial@f8040000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8040000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_uart0>;
                        uart1: serial@f8044000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8044000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_uart1>;
index 098d3fe..a47c765 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <dt-bindings/pinctrl/at91.h>
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        aliases {
@@ -44,6 +45,7 @@
                        usart3: serial@f8028000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8028000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_usart3>;
index d3f60f6..8f5477e 100644 (file)
@@ -12,6 +12,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 #include <dt-bindings/mfd/atmel-flexcom.h>
 
 / {
                        dbgu: serial@fffff200 {
                                compatible = "microchip,sam9x60-dbgu", "microchip,sam9x60-usart", "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfffff200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <47 IRQ_TYPE_LEVEL_HIGH 7>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
index 2c50a02..14c35c1 100644 (file)
@@ -9,6 +9,7 @@
 #include <dt-bindings/dma/at91.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
 
 / {
                        uart0: serial@f801c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf801c000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <24 IRQ_TYPE_LEVEL_HIGH 7>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                        uart1: serial@f8020000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8020000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <25 IRQ_TYPE_LEVEL_HIGH 7>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                        uart2: serial@f8024000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8024000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <26 IRQ_TYPE_LEVEL_HIGH 7>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                                uart5: serial@200 {
                                        compatible = "atmel,at91sam9260-usart";
                                        reg = <0x200 0x200>;
+                                       atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                        interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>;
                                        clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
                                        clock-names = "usart";
                                uart6: serial@200 {
                                        compatible = "atmel,at91sam9260-usart";
                                        reg = <0x200 0x200>;
+                                       atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                        interrupts = <20 IRQ_TYPE_LEVEL_HIGH 7>;
                                        clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
                                        clock-names = "usart";
                        uart3: serial@fc008000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfc008000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <27 IRQ_TYPE_LEVEL_HIGH 7>;
                                dmas = <&dma1
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                        uart4: serial@fc00c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfc00c000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
                                         AT91_XDMAC_DT_PERID(43))>,
                                uart7: serial@200 {
                                        compatible = "atmel,at91sam9260-usart";
                                        reg = <0x200 0x200>;
+                                       atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                        interrupts = <21 IRQ_TYPE_LEVEL_HIGH 7>;
                                        clocks = <&pmc PMC_TYPE_PERIPHERAL 21>;
                                        clock-names = "usart";
                                uart8: serial@200 {
                                        compatible = "atmel,at91sam9260-usart";
                                        reg = <0x200 0x200>;
+                                       atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                        interrupts = <22 IRQ_TYPE_LEVEL_HIGH 7>;
                                        clocks = <&pmc PMC_TYPE_PERIPHERAL 22>;
                                        clock-names = "usart";
                                uart9: serial@200 {
                                        compatible = "atmel,at91sam9260-usart";
                                        reg = <0x200 0x200>;
+                                       atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                        interrupts = <23 IRQ_TYPE_LEVEL_HIGH 7>;
                                        clocks = <&pmc PMC_TYPE_PERIPHERAL 23>;
                                        clock-names = "usart";
index 2d0935a..bde8e92 100644 (file)
@@ -12,6 +12,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        #address-cells = <1>;
                        usart0: serial@f001c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf001c000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(3)>,
                                       <&dma0 2 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
                        usart1: serial@f0020000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf0020000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <13 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(5)>,
                                       <&dma0 2 (AT91_DMA_CFG_PER_ID(6) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
                        uart0: serial@f0024000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf0024000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_uart0>;
                        usart2: serial@f8020000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8020000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(7)>,
                                       <&dma1 2 (AT91_DMA_CFG_PER_ID(8) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
                        usart3: serial@f8024000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8024000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(9)>,
                                       <&dma1 2 (AT91_DMA_CFG_PER_ID(10) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
                        dbgu: serial@ffffee00 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xffffee00 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <2 IRQ_TYPE_LEVEL_HIGH 7>;
                                dmas = <&dma1 2 AT91_DMA_CFG_PER_ID(13)>,
                                       <&dma1 2 (AT91_DMA_CFG_PER_ID(14) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
index a3eaba9..44d1173 100644 (file)
@@ -9,6 +9,7 @@
 #include <dt-bindings/pinctrl/at91.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/clock/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        aliases {
@@ -39,6 +40,7 @@
                        uart0: serial@f0024000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf0024000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_uart0>;
@@ -50,6 +52,7 @@
                        uart1: serial@f8028000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8028000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_uart1>;
index 1e5c018..af62157 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <dt-bindings/clock/at91.h>
 #include <dt-bindings/dma/at91.h>
+#include <dt-bindings/mfd/at91-usart.h>
 #include <dt-bindings/pinctrl/at91.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/gpio/gpio.h>
                        uart0: serial@f8004000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8004000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <27 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        usart0: serial@f802c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf802c000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        usart1: serial@f8030000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xf8030000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        uart1: serial@fc004000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfc004000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma0
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        usart2: serial@fc008000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfc008000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <29 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma1
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        usart3: serial@fc00c000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfc00c000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <30 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma1
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        usart4: serial@fc010000 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0xfc010000 0x100>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <31 IRQ_TYPE_LEVEL_HIGH 5>;
                                dmas = <&dma1
                                        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
                        dbgu: serial@fc069000 {
                                compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart";
                                reg = <0xfc069000 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <45 IRQ_TYPE_LEVEL_HIGH 7>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_dbgu>;
index 249f9c6..7bd8ae8 100644 (file)
@@ -14,6 +14,7 @@
 #include <dt-bindings/clock/at91.h>
 #include <dt-bindings/dma/at91.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/mfd/at91-usart.h>
 
 / {
        model = "Microchip SAMA7G5 family SoC";
                        uart0: serial@200 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0x200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
                                clock-names = "usart";
                        uart3: serial@200 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0x200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
                                clock-names = "usart";
                        uart4: serial@200 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0x200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
                                clock-names = "usart";
                        uart7: serial@200 {
                                compatible = "atmel,at91sam9260-usart";
                                reg = <0x200 0x200>;
+                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
                                interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
                                clock-names = "usart";