[PATCH 5/8] ARM: dts: at91: sam9x7: Add initial DT for sam9x7 SoC

Manikandan.M at microchip.com Manikandan.M at microchip.com
Mon Feb 24 07:20:08 CET 2025


Hi Sumit Grag,

On 21/02/25 3:42 pm, Sumit Garg wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Hi Manikandan,
> 
> On Fri, 21 Feb 2025 at 15:34, Manikandan Muralidharan
> <manikandan.m at microchip.com> wrote:
>>
>> From: Varshini Rajendran <varshini.rajendran at microchip.com>
>>
>> Add initial device tree for sam9x7 SoC family.
>>
>> Signed-off-by: Varshini Rajendran <varshini.rajendran at microchip.com>
>> [manikandan.m at microchip.com: Align with Linux DT]
>> Signed-off-by: Manikandan Muralidharan <manikandan.m at microchip.com>
>> ---
>>   arch/arm/dts/sam9x7.dtsi | 1273 ++++++++++++++++++++++++++++++++++++++
> 
> This SoC DT is already present here [1], so try to enable OF_UPSTREAM
> as described here [2].
There are differences in SoC DTSI and DT wrt to clock, memory and other 
frameworks in u-boot hence it cannot directly use the DT from the 
upstream path.
We are working internally to reduce the difference starting from PIO3 
pinctrl DT and Driver which got merged recently
> 
> [1] ./dts/upstream/src/arm/microchip/sam9x7.dtsi
> [2] https://docs.u-boot.org/en/latest/develop/devicetree/control.html#where-do-i-get-a-devicetree-file-for-my-board
> 
> -Sumit
> 
>>   1 file changed, 1273 insertions(+)
>>   create mode 100644 arch/arm/dts/sam9x7.dtsi
>>
>> diff --git a/arch/arm/dts/sam9x7.dtsi b/arch/arm/dts/sam9x7.dtsi
>> new file mode 100644
>> index 00000000000..35c81fa4a4a
>> --- /dev/null
>> +++ b/arch/arm/dts/sam9x7.dtsi
>> @@ -0,0 +1,1273 @@
>> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
>> +/*
>> + * sam9x7.dtsi - Device Tree Include file for Microchip SAM9X7 SoC family
>> + *
>> + * Copyright (C) 2025 Microchip Technology Inc. and its subsidiaries
>> + *
>> + * Author: Balamanikandan Gunasundar <balamanikandan.gunasundar at microchip.com>
>> + *        Varshini Rajendran <varshini.rajendran at microchip.com>
>> + */
>> +
>> +#include <dt-bindings/clk/at91.h>
>> +#include <dt-bindings/dma/at91.h>
>> +#include <dt-bindings/gpio/gpio.h>
>> +#include <dt-bindings/interrupt-controller/irq.h>
>> +#include <dt-bindings/mfd/at91-usart.h>
>> +#include <dt-bindings/mfd/atmel-flexcom.h>
>> +#include <dt-bindings/pinctrl/at91.h>
>> +#include "skeleton.dtsi"
>> +
>> +/ {
>> +       model = "Microchip SAM9X7 SoC";
>> +       compatible = "microchip,sam9x7";
>> +       #address-cells = <1>;
>> +       #size-cells = <1>;
>> +       interrupt-parent = <&aic>;
>> +
>> +       aliases {
>> +               serial0 = &dbgu;
>> +               gpio0 = &pioA;
>> +               gpio1 = &pioB;
>> +               gpio2 = &pioC;
>> +               gpio3 = &pioD;
>> +       };
>> +
>> +       cpus {
>> +               #address-cells = <1>;
>> +               #size-cells = <0>;
>> +
>> +               cpu at 0 {
>> +                       compatible = "arm,arm926ej-s";
>> +                       reg = <0>;
>> +                       device_type = "cpu";
>> +                       clocks = <&pmc PMC_TYPE_CORE 25>, <&pmc PMC_TYPE_CORE 17>, <&main_xtal>; /* ID_MCK_PRES, ID_MCK_DIV */
>> +                       clock-names = "cpu", "master", "xtal";
>> +               };
>> +       };
>> +
>> +       clocks {
>> +               slow_rc_osc: slow_rc_osc {
>> +                       compatible = "fixed-clock";
>> +                       #clock-cells = <0>;
>> +                       clock-frequency = <18500>;
>> +               };
>> +
>> +               main_rc: main_rc {
>> +                       compatible = "fixed-clock";
>> +                       #clock-cells = <0>;
>> +                       clock-frequency = <12000000>;
>> +               };
>> +
>> +               slow_xtal: clock-slowxtal {
>> +                       compatible = "fixed-clock";
>> +                       #clock-cells = <0>;
>> +               };
>> +
>> +               main_xtal: clock-mainxtal {
>> +                       compatible = "fixed-clock";
>> +                       #clock-cells = <0>;
>> +               };
>> +       };
>> +
>> +       sram: sram at 300000 {
>> +               compatible = "mmio-sram";
>> +               reg = <0x300000 0x10000>;
>> +               ranges = <0 0x300000 0x10000>;
>> +               #address-cells = <1>;
>> +               #size-cells = <1>;
>> +       };
>> +
>> +       ahb {
>> +               compatible = "simple-bus";
>> +               ranges;
>> +               #address-cells = <1>;
>> +               #size-cells = <1>;
>> +
>> +               sdmmc0: mmc at 80000000 {
>> +                       compatible = "microchip,sam9x7-sdhci", "microchip,sam9x60-sdhci";
>> +                       reg = <0x80000000 0x300>;
>> +                       interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 12>, <&pmc PMC_TYPE_GCK 12>;
>> +                       clock-names = "hclock", "multclk";
>> +                       assigned-clocks = <&pmc PMC_TYPE_GCK 12>;
>> +                       assigned-clock-rates = <100000000>;
>> +                       status = "disabled";
>> +               };
>> +
>> +               sdmmc1: mmc at 90000000 {
>> +                       compatible = "microchip,sam9x7-sdhci", "microchip,sam9x60-sdhci";
>> +                       reg = <0x90000000 0x300>;
>> +                       interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_GCK 26>;
>> +                       clock-names = "hclock", "multclk";
>> +                       assigned-clocks = <&pmc PMC_TYPE_GCK 26>;
>> +                       assigned-clock-rates = <100000000>;
>> +                       status = "disabled";
>> +               };
>> +       };
>> +
>> +       apb {
>> +               compatible = "simple-bus";
>> +               ranges;
>> +               #address-cells = <1>;
>> +               #size-cells = <1>;
>> +
>> +               flx4: flexcom at f0000000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf0000000 0x200>;
>> +                       ranges = <0x0 0xf0000000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
>> +                       status = "disabled";
>> +
>> +                       uart4: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       spi4: spi at 400 {
>> +                               compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
>> +                               reg = <0x400 0x200>;
>> +                               interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 13>;
>> +                               clock-names = "spi_clk";
>> +                               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";
>> +                       };
>> +
>> +                       i2c4: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f0004000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf0004000 0x200>;
>> +                       ranges = <0x0 0xf0004000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
>> +                       status = "disabled";
>> +
>> +                       uart5: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 14>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       spi5: spi at 400 {
>> +                               compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
>> +                               reg = <0x400 0x200>;
>> +                               interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <14 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f0008000 {
>> +                       compatible = "microchip,sam9x7-dma", "atmel,sama5d4-dma";
>> +                       reg = <0xf0008000 0x1000>;
>> +                       interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       #dma-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 20>;
>> +                       clock-names = "dma_clk";
>> +                       status = "disabled";
>> +               };
>> +
>> +               ssc: ssc at f0010000 {
>> +                       compatible = "microchip,sam9x7-ssc", "atmel,at91sam9g45-ssc";
>> +                       reg = <0xf0010000 0x4000>;
>> +                       interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 28>;
>> +                       clock-names = "pclk";
>> +                       dmas = <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(38))>,
>> +                              <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(39))>;
>> +                       dma-names = "tx", "rx";
>> +                       status = "disabled";
>> +               };
>> +
>> +               i2s: i2s at f001c000 {
>> +                       compatible = "microchip,sam9x7-i2smcc", "microchip,sam9x60-i2smcc";
>> +                       reg = <0xf001c000 0x100>;
>> +                       interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 34>, <&pmc PMC_TYPE_GCK 34>;
>> +                       clock-names = "pclk", "gclk";
>> +                       dmas = <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(36))>,
>> +                              <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(37))>;
>> +                       dma-names = "tx", "rx";
>> +                       status = "disabled";
>> +               };
>> +
>> +               flx11: flexcom at f0020000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf0020000 0x200>;
>> +                       ranges = <0x0 0xf0020000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
>> +                       status = "disabled";
>> +
>> +                       uart11: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <32 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 32>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       i2c11: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <32 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f0024000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf0024000 0x200>;
>> +                       ranges = <0x0 0xf0024000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
>> +                       status = "disabled";
>> +
>> +                       uart12: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <33 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 33>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       i2c12: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <33 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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";
>> +                       };
>> +               };
>> +
>> +               pit64b0: timer at f0028000 {
>> +                       compatible = "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b";
>> +                       reg = <0xf0028000 0x100>;
>> +                       interrupts = <37 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 37>, <&pmc PMC_TYPE_GCK 37>;
>> +                       clock-names = "pclk", "gclk";
>> +               };
>> +
>> +               sha: crypto at f002c000 {
>> +                       compatible = "microchip,sam9x7-sha", "atmel,at91sam9g46-sha";
>> +                       reg = <0xf002c000 0x100>;
>> +                       interrupts = <41 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
>> +                       clock-names = "sha_clk";
>> +                       dmas = <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(34))>;
>> +                       dma-names = "tx";
>> +               };
>> +
>> +               trng: rng at f0030000 {
>> +                       compatible = "microchip,sam9x7-trng", "microchip,sam9x60-trng";
>> +                       reg = <0xf0030000 0x100>;
>> +                       interrupts = <38 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
>> +                       status = "disabled";
>> +               };
>> +
>> +               aes: crypto at f0034000 {
>> +                       compatible = "microchip,sam9x7-aes", "atmel,at91sam9g46-aes";
>> +                       reg = <0xf0034000 0x100>;
>> +                       interrupts = <39 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 39>;
>> +                       clock-names = "aes_clk";
>> +                       dmas = <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(32))>,
>> +                              <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(33))>;
>> +                       dma-names = "tx", "rx";
>> +               };
>> +
>> +               tdes: crypto at f0038000 {
>> +                       compatible = "microchip,sam9x7-tdes", "atmel,at91sam9g46-tdes";
>> +                       reg = <0xf0038000 0x100>;
>> +                       interrupts = <40 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 40>;
>> +                       clock-names = "tdes_clk";
>> +                       dmas = <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(31))>,
>> +                              <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(30))>;
>> +                       dma-names = "tx", "rx";
>> +               };
>> +
>> +               classd: sound at f003c000 {
>> +                       compatible = "microchip,sam9x7-classd", "atmel,sama5d2-classd";
>> +                       reg = <0xf003c000 0x100>;
>> +                       interrupts = <42 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 42>, <&pmc PMC_TYPE_GCK 42>;
>> +                       clock-names = "pclk", "gclk";
>> +                       dmas = <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(35))>;
>> +                       dma-names = "tx";
>> +                       status = "disabled";
>> +               };
>> +
>> +               pit64b1: timer at f0040000 {
>> +                       compatible = "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b";
>> +                       reg = <0xf0040000 0x100>;
>> +                       interrupts = <58 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 58>, <&pmc PMC_TYPE_GCK 58>;
>> +                       clock-names = "pclk", "gclk";
>> +               };
>> +
>> +               can0: can at f8000000 {
>> +                       compatible = "bosch,m_can";
>> +                       reg = <0xf8000000 0x100>, <0x300000 0x7800>;
>> +                       reg-names = "m_can", "message_ram";
>> +                       interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>,
>> +                                    <68 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       interrupt-names = "int0", "int1";
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 29>, <&pmc PMC_TYPE_GCK 29>;
>> +                       clock-names = "hclk", "cclk";
>> +                       assigned-clocks = <&pmc PMC_TYPE_CORE 2>, <&pmc PMC_TYPE_GCK 29>;
>> +                       assigned-clock-rates = <480000000>, <40000000>;
>> +                       assigned-clock-parents = <&pmc PMC_TYPE_CORE 2>, <&pmc PMC_TYPE_CORE 2>;
>> +                       bosch,mram-cfg = <0x3400 0 0 64 0 0 32 32>;
>> +                       status = "disabled";
>> +               };
>> +
>> +               can1: can at f8004000 {
>> +                       compatible = "bosch,m_can";
>> +                       reg = <0xf8004000 0x100>, <0x300000 0xbc00>;
>> +                       reg-names = "m_can", "message_ram";
>> +                       interrupts = <30 IRQ_TYPE_LEVEL_HIGH 0>,
>> +                                    <69 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       interrupt-names = "int0", "int1";
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 30>, <&pmc PMC_TYPE_GCK 30>;
>> +                       clock-names = "hclk", "cclk";
>> +                       assigned-clocks = <&pmc PMC_TYPE_CORE 2>, <&pmc PMC_TYPE_GCK 30>;
>> +                       assigned-clock-rates = <480000000>, <40000000>;
>> +                       assigned-clock-parents = <&pmc PMC_TYPE_CORE 2>, <&pmc PMC_TYPE_CORE 2>;
>> +                       bosch,mram-cfg = <0x7800 0 0 64 0 0 32 32>;
>> +                       status = "disabled";
>> +               };
>> +
>> +               tcb: timer at f8008000 {
>> +                       compatible = "microchip,sam9x7-tcb","atmel,sama5d2-tcb", "simple-mfd", "syscon";
>> +                       reg = <0xf8008000 0x100>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <0>;
>> +                       interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 17>, <&pmc PMC_TYPE_GCK 17>, <&clk32k 0>;
>> +                       clock-names = "t0_clk", "gclk", "slow_clk";
>> +               };
>> +
>> +               flx6: flexcom at f8010000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8010000 0x200>;
>> +                       ranges = <0x0 0xf8010000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
>> +                       status = "disabled";
>> +
>> +                       uart6: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <9 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
>> +                               clock-names = "usart";
>> +                               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";
>> +                               atmel,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       i2c6: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <9 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 9>;
>> +                               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";
>> +                               atmel,fifo-size = <16>;
>> +                               status = "disabled";
>> +                       };
>> +               };
>> +
>> +               flx7: flexcom at f8014000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8014000 0x200>;
>> +                       ranges = <0x0 0xf8014000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
>> +                       status = "disabled";
>> +
>> +                       uart7: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <10 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 10>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       i2c7: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <10 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f8018000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8018000 0x200>;
>> +                       ranges = <0x0 0xf8018000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
>> +                       status = "disabled";
>> +
>> +                       uart8: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <11 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       i2c8: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <11 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f801c000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf801c000 0x200>;
>> +                       ranges = <0x0 0xf801c000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
>> +                       status = "disabled";
>> +
>> +                       uart0: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       spi0: spi at 400 {
>> +                               compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
>> +                               reg = <0x400 0x200>;
>> +                               interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <5 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 5>;
>> +                               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";
>> +                       };
>> +               };
>> +
>> +               flx1: flexcom at f8020000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8020000 0x200>;
>> +                       ranges = <0x0 0xf8020000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
>> +                       status = "disabled";
>> +
>> +                       uart1: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 6>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       spi1: spi at 400 {
>> +                               compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
>> +                               reg = <0x400 0x200>;
>> +                               interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <6 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f8024000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8024000 0x200>;
>> +                       ranges = <0x0 0xf8024000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
>> +                       status = "disabled";
>> +
>> +                       uart2: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 7>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       spi2: spi at 400 {
>> +                               compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
>> +                               reg = <0x400 0x200>;
>> +                               interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <7 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f8028000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8028000 0x200>;
>> +                       ranges = <0x0 0xf8028000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
>> +                       status = "disabled";
>> +
>> +                       uart3: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 8>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       spi3: spi at 400 {
>> +                               compatible = "microchip,sam9x7-spi", "atmel,at91rm9200-spi";
>> +                               reg = <0x400 0x200>;
>> +                               interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <8 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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";
>> +                       };
>> +               };
>> +
>> +               gmac: ethernet at f802c000 {
>> +                       compatible = "microchip,sam9x7-gem", "cdns,sama7g5-gem";
>> +                       reg = <0xf802c000 0x1000>;
>> +                       interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>,        /* Queue 0 */
>> +                                    <60 IRQ_TYPE_LEVEL_HIGH 3>,        /* Queue 1 */
>> +                                    <61 IRQ_TYPE_LEVEL_HIGH 3>,        /* Queue 2 */
>> +                                    <62 IRQ_TYPE_LEVEL_HIGH 3>,        /* Queue 3 */
>> +                                    <63 IRQ_TYPE_LEVEL_HIGH 3>,        /* Queue 4 */
>> +                                    <64 IRQ_TYPE_LEVEL_HIGH 3>;        /* Queue 5 */
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_GCK 24>, <&pmc PMC_TYPE_GCK 67>;
>> +                       clock-names = "hclk", "pclk", "tx_clk", "tsu_clk";
>> +                       assigned-clocks = <&pmc PMC_TYPE_GCK 67>;
>> +                       assigned-clock-rates = <266666666>;
>> +                       status = "disabled";
>> +               };
>> +
>> +               pwm0: pwm at f8034000 {
>> +                       compatible = "microchip,sam9x7-pwm", "microchip,sam9x60-pwm";
>> +                       reg = <0xf8034000 0x300>;
>> +                       interrupts = <18 IRQ_TYPE_LEVEL_HIGH 4>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
>> +                       #pwm-cells = <3>;
>> +                       status = "disabled";
>> +               };
>> +
>> +               flx9: flexcom at f8040000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8040000 0x200>;
>> +                       ranges = <0x0 0xf8040000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
>> +                       status = "disabled";
>> +
>> +                       uart9: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <15 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 15>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       i2c9: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <15 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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 at f8044000 {
>> +                       compatible = "microchip,sam9x7-flexcom", "atmel,sama5d2-flexcom";
>> +                       reg = <0xf8044000 0x200>;
>> +                       ranges = <0x0 0xf8044000 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
>> +                       status = "disabled";
>> +
>> +                       uart10: serial at 200 {
>> +                               compatible = "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                               reg = <0x200 0x200>;
>> +                               interrupts = <16 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
>> +                               clock-names = "usart";
>> +                               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,use-dma-rx;
>> +                               atmel,use-dma-tx;
>> +                               atmel,fifo-size = <16>;
>> +                               atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                               status = "disabled";
>> +                       };
>> +
>> +                       i2c10: i2c at 600 {
>> +                               compatible = "microchip,sam9x7-i2c", "microchip,sam9x60-i2c";
>> +                               reg = <0x600 0x200>;
>> +                               interrupts = <16 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                               #address-cells = <1>;
>> +                               #size-cells = <0>;
>> +                               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";
>> +                       };
>> +               };
>> +
>> +               matrix: matrix at ffffde00 {
>> +                       compatible = "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon";
>> +                       reg = <0xffffde00 0x200>;
>> +               };
>> +
>> +               pmecc: ecc-engine at ffffe000 {
>> +                       compatible = "microchip,sam9x7-pmecc", "atmel,at91sam9g45-pmecc";
>> +                       reg = <0xffffe000 0x300>, <0xffffe600 0x100>;
>> +               };
>> +
>> +               mpddrc: mpddrc at ffffe800 {
>> +                       compatible = "microchip,sam9x7-ddramc", "atmel,sama5d3-ddramc";
>> +                       reg = <0xffffe800 0x200>;
>> +                       clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_CORE 1>;
>> +                       clock-names = "ddrck", "mpddr";
>> +               };
>> +
>> +               smc: smc at ffffea00 {
>> +                       compatible = "microchip,sam9x7-smc", "atmel,at91sam9260-smc", "syscon";
>> +                       reg = <0xffffea00 0x100>;
>> +               };
>> +
>> +               aic: interrupt-controller at fffff100 {
>> +                       compatible = "microchip,sam9x7-aic";
>> +                       reg = <0xfffff100 0x100>;
>> +                       #interrupt-cells = <3>;
>> +                       interrupt-controller;
>> +                       atmel,external-irqs = <31>;
>> +               };
>> +
>> +               dbgu: serial at fffff200 {
>> +                       compatible = "microchip,sam9x7-dbgu", "atmel,at91sam9260-dbgu", "microchip,sam9x7-usart", "atmel,at91sam9260-usart";
>> +                       reg = <0xfffff200 0x200>;
>> +                       interrupts = <47 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       clocks = <&pmc PMC_TYPE_PERIPHERAL 47>;
>> +                       clock-names = "usart";
>> +                       dmas = <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(28))>,
>> +                              <&dma0
>> +                               (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
>> +                                AT91_XDMAC_DT_PERID(29))>;
>> +                       dma-names = "tx", "rx";
>> +                       atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
>> +                       status = "disabled";
>> +               };
>> +
>> +               pinctrl: pinctrl at fffff400 {
>> +                       compatible = "microchip,sam9x7-pinctrl", "microchip,sam9x60-pinctrl", "simple-mfd";
>> +                       ranges = <0xfffff400 0xfffff400 0x800>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +
>> +                       /* mux-mask corresponding to sam9x7 SoC in TFBGA228L package */
>> +                       atmel,mux-mask = <
>> +                                        /*  A          B          C          D   */
>> +                                        0xffffffff 0xffffefc0 0xc0ffd000 0x00000000    /* pioA */
>> +                                        0x07ffffff 0x0805fe7f 0x01ff9f81 0x06078000    /* pioB */
>> +                                        0xffffffff 0x07dfffff 0xfa3fffff 0x00000000    /* pioC */
>> +                                        0x00003fff 0x00003fe0 0x0000003f 0x00000000    /* pioD */
>> +                                        >;
>> +
>> +                       pioA: gpio at fffff400 {
>> +                               compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
>> +                               reg = <0xfffff400 0x200>;
>> +                               interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
>> +                               #interrupt-cells = <2>;
>> +                               interrupt-controller;
>> +                               #gpio-cells = <2>;
>> +                               gpio-controller;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 2>;
>> +                       };
>> +
>> +                       pioB: gpio at fffff600 {
>> +                               compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
>> +                               reg = <0xfffff600 0x200>;
>> +                               interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
>> +                               #interrupt-cells = <2>;
>> +                               interrupt-controller;
>> +                               #gpio-cells = <2>;
>> +                               gpio-controller;
>> +                               #gpio-lines = <26>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 3>;
>> +                       };
>> +
>> +                       pioC: gpio at fffff800 {
>> +                               compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
>> +                               reg = <0xfffff800 0x200>;
>> +                               interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
>> +                               #interrupt-cells = <2>;
>> +                               interrupt-controller;
>> +                               #gpio-cells = <2>;
>> +                               gpio-controller;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 4>;
>> +                       };
>> +
>> +                       pioD: gpio at fffffa00 {
>> +                               compatible = "microchip,sam9x7-gpio", "microchip,sam9x60-gpio", "atmel,at91rm9200-gpio";
>> +                               reg = <0xfffffa00 0x200>;
>> +                               interrupts = <44 IRQ_TYPE_LEVEL_HIGH 1>;
>> +                               #interrupt-cells = <2>;
>> +                               interrupt-controller;
>> +                               #gpio-cells = <2>;
>> +                               gpio-controller;
>> +                               #gpio-lines = <22>;
>> +                               clocks = <&pmc PMC_TYPE_PERIPHERAL 44>;
>> +                       };
>> +               };
>> +
>> +               pmc: clock-controller at fffffc00 {
>> +                       compatible = "microchip,sam9x7-pmc", "syscon";
>> +                       reg = <0xfffffc00 0x200>;
>> +                       interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       #clock-cells = <2>;
>> +                       clocks = <&clk32k 1>, <&clk32k 0>, <&main_xtal>, <&main_rc>;
>> +                       clock-names = "td_slck", "md_slck", "main_xtal", "main_rc";
>> +               };
>> +
>> +               reset_controller: reset-controller at fffffe00 {
>> +                       compatible = "microchip,sam9x7-rstc", "microchip,sam9x60-rstc";
>> +                       reg = <0xfffffe00 0x10>;
>> +                       clocks = <&clk32k 0>;
>> +               };
>> +
>> +               poweroff: poweroff at fffffe10 {
>> +                       compatible = "microchip,sam9x7-shdwc", "microchip,sam9x60-shdwc";
>> +                       reg = <0xfffffe10 0x10>;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <0>;
>> +                       clocks = <&clk32k 0>;
>> +                       atmel,wakeup-rtc-timer;
>> +                       atmel,wakeup-rtt-timer;
>> +                       status = "disabled";
>> +               };
>> +
>> +               rtt: rtc at fffffe20 {
>> +                       compatible = "microchip,sam9x7-rtt", "atmel,at91sam9260-rtt";
>> +                       reg = <0xfffffe20 0x20>;
>> +                       interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       clocks = <&clk32k 0>;
>> +               };
>> +
>> +               clk32k: clock-controller at fffffe50 {
>> +                       compatible = "microchip,sam9x7-sckc", "microchip,sam9x60-sckc";
>> +                       reg = <0xfffffe50 0x4>;
>> +                       clocks = <&slow_rc_osc>, <&slow_xtal>;
>> +                       #clock-cells = <1>;
>> +               };
>> +
>> +               gpbr: syscon at fffffe60 {
>> +                       compatible = "microchip,sam9x7-gpbr", "atmel,at91sam9260-gpbr", "syscon";
>> +                       reg = <0xfffffe60 0x10>;
>> +               };
>> +
>> +               rtc: rtc at fffffea8 {
>> +                       compatible = "microchip,sam9x7-rtc", "microchip,sam9x60-rtc";
>> +                       reg = <0xfffffea8 0x100>;
>> +                       interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       clocks = <&clk32k 0>;
>> +               };
>> +
>> +               watchdog: watchdog at ffffff80 {
>> +                       compatible = "microchip,sam9x7-wdt", "microchip,sam9x60-wdt";
>> +                       reg = <0xffffff80 0x24>;
>> +                       interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
>> +                       status = "disabled";
>> +               };
>> +       };
>> +};
>> --
>> 2.25.1
>>

-- 
Thanks and Regards,
Manikandan M.



More information about the U-Boot mailing list