lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e0ca517d-30d7-db19-4a67-073ae4411a2f@microchip.com>
Date:   Tue, 15 Nov 2022 05:40:26 +0000
From:   <Durai.ManickamKR@...rochip.com>
To:     <Claudiu.Beznea@...rochip.com>, <Nicolas.Ferre@...rochip.com>,
        <Cristian.Birsan@...rochip.com>, <Hari.PrasathGE@...rochip.com>,
        <davem@...emloft.net>, <krzysztof.kozlowski+dt@...aro.org>,
        <alexandre.belloni@...tlin.com>, <arnd@...db.de>, <olof@...om.net>,
        <soc@...nel.org>, <devicetree@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <Manikandan.M@...rochip.com>,
        <Kavyasree.Kotagiri@...rochip.com>, <Horatiu.Vultur@...rochip.com>
Subject: Re: [PATCHv1 6/8] ARM: dts: at91: sam9x60: Add missing flexcom
 definitions

On 31/10/22 15:58, Claudiu Beznea - M18063 wrote:
> On 31.10.2022 05:36, Durai Manickam KR wrote:
>> Added the missing flexcom functions for all the flexcom nodes.
>>
>> Signed-off-by: Durai Manickam KR <durai.manickamkr@...rochip.com>
>> Signed-off-by: Hari Prasath <Hari.PrasathGE@...rochip.com>
>> Signed-off-by: Manikandan M <manikandan.m@...rochip.com>
>> ---
>>   arch/arm/boot/dts/sam9x60.dtsi | 547 +++++++++++++++++++++++++++++++++
>>   1 file changed, 547 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/sam9x60.dtsi b/arch/arm/boot/dts/sam9x60.dtsi
>> index 74599d21ebcc..4902a2e5fc21 100644
>> --- a/arch/arm/boot/dts/sam9x60.dtsi
>> +++ b/arch/arm/boot/dts/sam9x60.dtsi
>> @@ -171,6 +171,27 @@ flx4: flexcom@...00000 {
>>   				ranges = <0x0 0xf0000000 0x800>;
>>   				status = "disabled";
>>   
>> +				uart4: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(8))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(9))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>>   				spi4: spi@400 {
>>   					compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
>>   					reg = <0x400 0x200>;
>> @@ -189,6 +210,24 @@ AT91_XDMAC_DT_PER_IF(1) |
>>   					atmel,fifo-size = <16>;
>>   					status = "disabled";
>>   				};
>> +
>> +				i2c4: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(8))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(9))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			flx5: flexcom@...04000 {
>> @@ -220,6 +259,43 @@ AT91_XDMAC_DT_PER_IF(1) |
>>   					atmel,fifo-size = <16>;
>>   					status = "disabled";
>>   				};
>> +
>> +				spi5: spi@400 {
>> +					compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
>> +					reg = <0x400 0x200>;
>> +					interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
>> +					clock-names = "spi_clk";
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(10))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(11))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c5: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(10))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(11))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			dma0: dma-controller@...08000 {
>> @@ -302,6 +378,45 @@ flx11: flexcom@...20000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf0020000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart11: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <32 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(22))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(23))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c11: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <32 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(22))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(23))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			flx12: flexcom@...24000 {
>> @@ -312,6 +427,45 @@ flx12: flexcom@...24000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf0024000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart12: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <33 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(24))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(25))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c12: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <33 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(24))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(25))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			pit64b: timer@...28000 {
>> @@ -431,6 +585,27 @@ flx6: flexcom@...10000 {
>>   				ranges = <0x0 0xf8010000 0x800>;
>>   				status = "disabled";
>>   
>> +				uart6: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <9 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(12))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(13))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>>   				i2c6: i2c@600 {
>>   					compatible = "microchip,sam9x60-i2c";
>>   					reg = <0x600 0x200>;
>> @@ -458,6 +633,45 @@ flx7: flexcom@...14000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf8014000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart7: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <10 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(14))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(15))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c7: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <10 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(14))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(15))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			flx8: flexcom@...18000 {
>> @@ -468,15 +682,96 @@ flx8: flexcom@...18000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf8018000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart8: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <11 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(16))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(17))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c8: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <11 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(16))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(17))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			flx0: flexcom@...1c000 {
>>   				compatible = "atmel,sama5d2-flexcom";
>>   				reg = <0xf801c000 0x200>;
>>   				clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
>> +				#address-cells = <1>;
>> +				#size-cells = <1>;
> This should go in a different patch.
>
> Appart from that some flexcom nodes don't have all the subnodes added but
> only a part of them. Is this by intention?

Hi Claudiu,

Some of the flexcom nodes does not have all the controller like UART, 
I2C and SPI. So referring the datasheet we have added all the available 
nodes for the flexcom.

>
>>   				ranges = <0x0 0xf801c000 0x800>;
>>   				status = "disabled";
>>   
>> +				uart0: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(0))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(1))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				spi0: spi@400 {
>> +					compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
>> +					reg = <0x400 0x200>;
>> +					interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
>> +					clock-names = "spi_clk";
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(0))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(1))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>>   				i2c0: i2c@600 {
>>   					compatible = "microchip,sam9x60-i2c";
>>   					reg = <0x600 0x200>;
>> @@ -506,6 +801,64 @@ flx1: flexcom@...20000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf8020000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart1: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(2))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(3))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				spi1: spi@400 {
>> +					compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
>> +					reg = <0x400 0x200>;
>> +					interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
>> +					clock-names = "spi_clk";
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(2))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(3))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c1: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(2))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(3))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			flx2: flexcom@...24000 {
>> @@ -516,6 +869,64 @@ flx2: flexcom@...24000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf8024000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart2: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(4))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(5))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				spi2: spi@400 {
>> +					compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
>> +					reg = <0x400 0x200>;
>> +					interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
>> +					clock-names = "spi_clk";
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(4))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(5))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c2: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(4))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(5))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			flx3: flexcom@...28000 {
>> @@ -526,6 +937,64 @@ flx3: flexcom@...28000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf8028000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart3: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(6))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(7))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				spi3: spi@400 {
>> +					compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi";
>> +					reg = <0x400 0x200>;
>> +					interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
>> +					clock-names = "spi_clk";
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(6))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(7))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c3: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(6))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(7))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			macb0: ethernet@...2c000 {
>> @@ -591,6 +1060,45 @@ flx9: flexcom@...40000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf8040000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart9: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <15 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(18))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(19))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c9: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <15 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(18))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(19))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			flx10: flexcom@...44000 {
>> @@ -601,6 +1109,45 @@ flx10: flexcom@...44000 {
>>   				#size-cells = <1>;
>>   				ranges = <0x0 0xf8044000 0x800>;
>>   				status = "disabled";
>> +
>> +				uart10: serial@200 {
>> +					compatible = "microchip,sam9x60-usart", "atmel,at91sam9260-usart";
>> +					reg = <0x200 0x200>;
>> +					interrupts = <16 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(20))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(21))>;
>> +					dma-names = "tx", "rx";
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
>> +					clock-names = "usart";
>> +					atmel,use-dma-rx;
>> +					atmel,use-dma-tx;
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>> +
>> +				i2c10: i2c@600 {
>> +					compatible = "microchip,sam9x60-i2c";
>> +					reg = <0x600 0x200>;
>> +					interrupts = <16 IRQ_TYPE_LEVEL_HIGH 7>;
>> +					clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
>> +					dmas = <&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(20))>,
>> +						<&dma0
>> +						(AT91_XDMAC_DT_MEM_IF(0) |
>> +						 AT91_XDMAC_DT_PER_IF(1) |
>> +						 AT91_XDMAC_DT_PERID(21))>;
>> +					dma-names = "tx", "rx";
>> +					atmel,fifo-size = <16>;
>> +					status = "disabled";
>> +				};
>>   			};
>>   
>>   			isi: isi@...48000 {


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ