Skip to content

Commit 2f9d013

Browse files
Andrei Simionclaudiubeznea
authored andcommitted
ARM: dts: microchip: sam9x60: Add missing property atmel,usart-mode
Add the atmel,usart-mode property to the UART nodes. This ensures compliance with the atmel,at91-usart.yaml schema and resolves the errors below: serial@200: $nodename:0: 'serial@200' does not match '^spi(@.*|-([0-9]|[1-9][0-9]+))?$' serial@200: atmel,use-dma-rx: False schema does not allow True serial@200: atmel,use-dma-tx: False schema does not allow True serial@200: atmel,fifo-size: False schema does not allow [[16]] These errors indicate that the property atmel,usart-mode = <AT91_USART_MODE_SERIAL> is missing for UART nodes 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, and 12. Fixes: 99c8083 ("ARM: dts: at91: sam9x60: Add missing flexcom definitions") Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Andrei Simion <andrei.simion@microchip.com> Link: https://lore.kernel.org/r/20240912093307.40488-1-andrei.simion@microchip.com [claudiu.beznea: move the atmel,usart-mode close to vendor specific properties to cope with DTS coding style] Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
1 parent 9852d85 commit 2f9d013

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm/boot/dts/microchip/sam9x60.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
dma-names = "tx", "rx";
187187
clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
188188
clock-names = "usart";
189+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
189190
atmel,use-dma-rx;
190191
atmel,use-dma-tx;
191192
atmel,fifo-size = <16>;
@@ -388,6 +389,7 @@
388389
dma-names = "tx", "rx";
389390
clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
390391
clock-names = "usart";
392+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
391393
atmel,use-dma-rx;
392394
atmel,use-dma-tx;
393395
atmel,fifo-size = <16>;
@@ -439,6 +441,7 @@
439441
dma-names = "tx", "rx";
440442
clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
441443
clock-names = "usart";
444+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
442445
atmel,use-dma-rx;
443446
atmel,use-dma-tx;
444447
atmel,fifo-size = <16>;
@@ -598,6 +601,7 @@
598601
dma-names = "tx", "rx";
599602
clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
600603
clock-names = "usart";
604+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
601605
atmel,use-dma-rx;
602606
atmel,use-dma-tx;
603607
atmel,fifo-size = <16>;
@@ -649,6 +653,7 @@
649653
dma-names = "tx", "rx";
650654
clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
651655
clock-names = "usart";
656+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
652657
atmel,use-dma-rx;
653658
atmel,use-dma-tx;
654659
atmel,fifo-size = <16>;
@@ -700,6 +705,7 @@
700705
dma-names = "tx", "rx";
701706
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
702707
clock-names = "usart";
708+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
703709
atmel,use-dma-rx;
704710
atmel,use-dma-tx;
705711
atmel,fifo-size = <16>;
@@ -751,6 +757,7 @@
751757
dma-names = "tx", "rx";
752758
clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
753759
clock-names = "usart";
760+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
754761
atmel,use-dma-rx;
755762
atmel,use-dma-tx;
756763
atmel,fifo-size = <16>;
@@ -821,6 +828,7 @@
821828
dma-names = "tx", "rx";
822829
clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
823830
clock-names = "usart";
831+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
824832
atmel,use-dma-rx;
825833
atmel,use-dma-tx;
826834
atmel,fifo-size = <16>;
@@ -891,6 +899,7 @@
891899
dma-names = "tx", "rx";
892900
clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
893901
clock-names = "usart";
902+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
894903
atmel,use-dma-rx;
895904
atmel,use-dma-tx;
896905
atmel,fifo-size = <16>;
@@ -961,6 +970,7 @@
961970
dma-names = "tx", "rx";
962971
clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
963972
clock-names = "usart";
973+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
964974
atmel,use-dma-rx;
965975
atmel,use-dma-tx;
966976
atmel,fifo-size = <16>;
@@ -1086,6 +1096,7 @@
10861096
dma-names = "tx", "rx";
10871097
clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
10881098
clock-names = "usart";
1099+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
10891100
atmel,use-dma-rx;
10901101
atmel,use-dma-tx;
10911102
atmel,fifo-size = <16>;
@@ -1137,6 +1148,7 @@
11371148
dma-names = "tx", "rx";
11381149
clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
11391150
clock-names = "usart";
1151+
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
11401152
atmel,use-dma-rx;
11411153
atmel,use-dma-tx;
11421154
atmel,fifo-size = <16>;

0 commit comments

Comments
 (0)