Commit 5e8b3bc3 authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD Committed by Nicolas Ferre

ARM: at91: dt: switch to standard IRQ flag defines

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent c9d0f317
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include <dt-bindings/pinctrl/at91.h> #include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
/ { / {
...@@ -79,25 +80,29 @@ pmc: pmc@fffffc00 { ...@@ -79,25 +80,29 @@ pmc: pmc@fffffc00 {
st: timer@fffffd00 { st: timer@fffffd00 {
compatible = "atmel,at91rm9200-st"; compatible = "atmel,at91rm9200-st";
reg = <0xfffffd00 0x100>; reg = <0xfffffd00 0x100>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
}; };
tcb0: timer@fffa0000 { tcb0: timer@fffa0000 {
compatible = "atmel,at91rm9200-tcb"; compatible = "atmel,at91rm9200-tcb";
reg = <0xfffa0000 0x100>; reg = <0xfffa0000 0x100>;
interrupts = <17 4 0 18 4 0 19 4 0>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0
18 IRQ_TYPE_LEVEL_HIGH 0
19 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
tcb1: timer@fffa4000 { tcb1: timer@fffa4000 {
compatible = "atmel,at91rm9200-tcb"; compatible = "atmel,at91rm9200-tcb";
reg = <0xfffa4000 0x100>; reg = <0xfffa4000 0x100>;
interrupts = <20 4 0 21 4 0 22 4 0>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0
21 IRQ_TYPE_LEVEL_HIGH 0
22 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
i2c0: i2c@fffb8000 { i2c0: i2c@fffb8000 {
compatible = "atmel,at91rm9200-i2c"; compatible = "atmel,at91rm9200-i2c";
reg = <0xfffb8000 0x4000>; reg = <0xfffb8000 0x4000>;
interrupts = <12 4 6>; interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_twi>; pinctrl-0 = <&pinctrl_twi>;
#address-cells = <1>; #address-cells = <1>;
...@@ -108,7 +113,7 @@ i2c0: i2c@fffb8000 { ...@@ -108,7 +113,7 @@ i2c0: i2c@fffb8000 {
mmc0: mmc@fffb4000 { mmc0: mmc@fffb4000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfffb4000 0x4000>; reg = <0xfffb4000 0x4000>;
interrupts = <10 4 0>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -117,7 +122,7 @@ mmc0: mmc@fffb4000 { ...@@ -117,7 +122,7 @@ mmc0: mmc@fffb4000 {
ssc0: ssc@fffd0000 { ssc0: ssc@fffd0000 {
compatible = "atmel,at91rm9200-ssc"; compatible = "atmel,at91rm9200-ssc";
reg = <0xfffd0000 0x4000>; reg = <0xfffd0000 0x4000>;
interrupts = <14 4 5>; interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
status = "disable"; status = "disable";
...@@ -126,7 +131,7 @@ ssc0: ssc@fffd0000 { ...@@ -126,7 +131,7 @@ ssc0: ssc@fffd0000 {
ssc1: ssc@fffd4000 { ssc1: ssc@fffd4000 {
compatible = "atmel,at91rm9200-ssc"; compatible = "atmel,at91rm9200-ssc";
reg = <0xfffd4000 0x4000>; reg = <0xfffd4000 0x4000>;
interrupts = <15 4 5>; interrupts = <15 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
status = "disable"; status = "disable";
...@@ -135,7 +140,7 @@ ssc1: ssc@fffd4000 { ...@@ -135,7 +140,7 @@ ssc1: ssc@fffd4000 {
ssc2: ssc@fffd8000 { ssc2: ssc@fffd8000 {
compatible = "atmel,at91rm9200-ssc"; compatible = "atmel,at91rm9200-ssc";
reg = <0xfffd8000 0x4000>; reg = <0xfffd8000 0x4000>;
interrupts = <16 4 5>; interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>; pinctrl-0 = <&pinctrl_ssc2_tx &pinctrl_ssc2_rx>;
status = "disable"; status = "disable";
...@@ -144,7 +149,7 @@ ssc2: ssc@fffd8000 { ...@@ -144,7 +149,7 @@ ssc2: ssc@fffd8000 {
macb0: ethernet@fffbc000 { macb0: ethernet@fffbc000 {
compatible = "cdns,at91rm9200-emac", "cdns,emac"; compatible = "cdns,at91rm9200-emac", "cdns,emac";
reg = <0xfffbc000 0x4000>; reg = <0xfffbc000 0x4000>;
interrupts = <24 4 3>; interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
phy-mode = "rmii"; phy-mode = "rmii";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb_rmii>; pinctrl-0 = <&pinctrl_macb_rmii>;
...@@ -396,7 +401,7 @@ pinctrl_twi_gpio: twi_gpio-0 { ...@@ -396,7 +401,7 @@ pinctrl_twi_gpio: twi_gpio-0 {
pioA: gpio@fffff400 { pioA: gpio@fffff400 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x200>; reg = <0xfffff400 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -406,7 +411,7 @@ pioA: gpio@fffff400 { ...@@ -406,7 +411,7 @@ pioA: gpio@fffff400 {
pioB: gpio@fffff600 { pioB: gpio@fffff600 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff600 0x200>; reg = <0xfffff600 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -416,7 +421,7 @@ pioB: gpio@fffff600 { ...@@ -416,7 +421,7 @@ pioB: gpio@fffff600 {
pioC: gpio@fffff800 { pioC: gpio@fffff800 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff800 0x200>; reg = <0xfffff800 0x200>;
interrupts = <4 4 1>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -426,7 +431,7 @@ pioC: gpio@fffff800 { ...@@ -426,7 +431,7 @@ pioC: gpio@fffff800 {
pioD: gpio@fffffa00 { pioD: gpio@fffffa00 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffffa00 0x200>; reg = <0xfffffa00 0x200>;
interrupts = <5 4 1>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -437,7 +442,7 @@ pioD: gpio@fffffa00 { ...@@ -437,7 +442,7 @@ pioD: gpio@fffffa00 {
dbgu: serial@fffff200 { dbgu: serial@fffff200 {
compatible = "atmel,at91rm9200-usart"; compatible = "atmel,at91rm9200-usart";
reg = <0xfffff200 0x200>; reg = <0xfffff200 0x200>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dbgu>; pinctrl-0 = <&pinctrl_dbgu>;
status = "disabled"; status = "disabled";
...@@ -446,7 +451,7 @@ dbgu: serial@fffff200 { ...@@ -446,7 +451,7 @@ dbgu: serial@fffff200 {
usart0: serial@fffc0000 { usart0: serial@fffc0000 {
compatible = "atmel,at91rm9200-usart"; compatible = "atmel,at91rm9200-usart";
reg = <0xfffc0000 0x200>; reg = <0xfffc0000 0x200>;
interrupts = <6 4 5>; interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -457,7 +462,7 @@ usart0: serial@fffc0000 { ...@@ -457,7 +462,7 @@ usart0: serial@fffc0000 {
usart1: serial@fffc4000 { usart1: serial@fffc4000 {
compatible = "atmel,at91rm9200-usart"; compatible = "atmel,at91rm9200-usart";
reg = <0xfffc4000 0x200>; reg = <0xfffc4000 0x200>;
interrupts = <7 4 5>; interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -468,7 +473,7 @@ usart1: serial@fffc4000 { ...@@ -468,7 +473,7 @@ usart1: serial@fffc4000 {
usart2: serial@fffc8000 { usart2: serial@fffc8000 {
compatible = "atmel,at91rm9200-usart"; compatible = "atmel,at91rm9200-usart";
reg = <0xfffc8000 0x200>; reg = <0xfffc8000 0x200>;
interrupts = <8 4 5>; interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -479,7 +484,7 @@ usart2: serial@fffc8000 { ...@@ -479,7 +484,7 @@ usart2: serial@fffc8000 {
usart3: serial@fffcc000 { usart3: serial@fffcc000 {
compatible = "atmel,at91rm9200-usart"; compatible = "atmel,at91rm9200-usart";
reg = <0xfffcc000 0x200>; reg = <0xfffcc000 0x200>;
interrupts = <23 4 5>; interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -490,7 +495,7 @@ usart3: serial@fffcc000 { ...@@ -490,7 +495,7 @@ usart3: serial@fffcc000 {
usb1: gadget@fffb0000 { usb1: gadget@fffb0000 {
compatible = "atmel,at91rm9200-udc"; compatible = "atmel,at91rm9200-udc";
reg = <0xfffb0000 0x4000>; reg = <0xfffb0000 0x4000>;
interrupts = <11 4 2>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -515,7 +520,7 @@ &pioB 1 GPIO_ACTIVE_HIGH ...@@ -515,7 +520,7 @@ &pioB 1 GPIO_ACTIVE_HIGH
usb0: ohci@00300000 { usb0: ohci@00300000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci"; compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00300000 0x100000>; reg = <0x00300000 0x100000>;
interrupts = <23 4 2>; interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
}; };
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include <dt-bindings/pinctrl/at91.h> #include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
/ { / {
...@@ -86,19 +87,23 @@ shdwc@fffffd10 { ...@@ -86,19 +87,23 @@ shdwc@fffffd10 {
pit: timer@fffffd30 { pit: timer@fffffd30 {
compatible = "atmel,at91sam9260-pit"; compatible = "atmel,at91sam9260-pit";
reg = <0xfffffd30 0xf>; reg = <0xfffffd30 0xf>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
}; };
tcb0: timer@fffa0000 { tcb0: timer@fffa0000 {
compatible = "atmel,at91rm9200-tcb"; compatible = "atmel,at91rm9200-tcb";
reg = <0xfffa0000 0x100>; reg = <0xfffa0000 0x100>;
interrupts = <17 4 0 18 4 0 19 4 0>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0
18 IRQ_TYPE_LEVEL_HIGH 0
19 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
tcb1: timer@fffdc000 { tcb1: timer@fffdc000 {
compatible = "atmel,at91rm9200-tcb"; compatible = "atmel,at91rm9200-tcb";
reg = <0xfffdc000 0x100>; reg = <0xfffdc000 0x100>;
interrupts = <26 4 0 27 4 0 28 4 0>; interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0
27 IRQ_TYPE_LEVEL_HIGH 0
28 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
pinctrl@fffff400 { pinctrl@fffff400 {
...@@ -345,7 +350,7 @@ AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A SPI1_MOSI pin */ ...@@ -345,7 +350,7 @@ AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A SPI1_MOSI pin */
pioA: gpio@fffff400 { pioA: gpio@fffff400 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x200>; reg = <0xfffff400 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -355,7 +360,7 @@ pioA: gpio@fffff400 { ...@@ -355,7 +360,7 @@ pioA: gpio@fffff400 {
pioB: gpio@fffff600 { pioB: gpio@fffff600 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff600 0x200>; reg = <0xfffff600 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -365,7 +370,7 @@ pioB: gpio@fffff600 { ...@@ -365,7 +370,7 @@ pioB: gpio@fffff600 {
pioC: gpio@fffff800 { pioC: gpio@fffff800 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff800 0x200>; reg = <0xfffff800 0x200>;
interrupts = <4 4 1>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -376,7 +381,7 @@ pioC: gpio@fffff800 { ...@@ -376,7 +381,7 @@ pioC: gpio@fffff800 {
dbgu: serial@fffff200 { dbgu: serial@fffff200 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffff200 0x200>; reg = <0xfffff200 0x200>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dbgu>; pinctrl-0 = <&pinctrl_dbgu>;
status = "disabled"; status = "disabled";
...@@ -385,7 +390,7 @@ dbgu: serial@fffff200 { ...@@ -385,7 +390,7 @@ dbgu: serial@fffff200 {
usart0: serial@fffb0000 { usart0: serial@fffb0000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffb0000 0x200>; reg = <0xfffb0000 0x200>;
interrupts = <6 4 5>; interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -396,7 +401,7 @@ usart0: serial@fffb0000 { ...@@ -396,7 +401,7 @@ usart0: serial@fffb0000 {
usart1: serial@fffb4000 { usart1: serial@fffb4000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffb4000 0x200>; reg = <0xfffb4000 0x200>;
interrupts = <7 4 5>; interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -407,7 +412,7 @@ usart1: serial@fffb4000 { ...@@ -407,7 +412,7 @@ usart1: serial@fffb4000 {
usart2: serial@fffb8000 { usart2: serial@fffb8000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffb8000 0x200>; reg = <0xfffb8000 0x200>;
interrupts = <8 4 5>; interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -418,7 +423,7 @@ usart2: serial@fffb8000 { ...@@ -418,7 +423,7 @@ usart2: serial@fffb8000 {
usart3: serial@fffd0000 { usart3: serial@fffd0000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffd0000 0x200>; reg = <0xfffd0000 0x200>;
interrupts = <23 4 5>; interrupts = <23 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -429,7 +434,7 @@ usart3: serial@fffd0000 { ...@@ -429,7 +434,7 @@ usart3: serial@fffd0000 {
uart0: serial@fffd4000 { uart0: serial@fffd4000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffd4000 0x200>; reg = <0xfffd4000 0x200>;
interrupts = <24 4 5>; interrupts = <24 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -440,7 +445,7 @@ uart0: serial@fffd4000 { ...@@ -440,7 +445,7 @@ uart0: serial@fffd4000 {
uart1: serial@fffd8000 { uart1: serial@fffd8000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffd8000 0x200>; reg = <0xfffd8000 0x200>;
interrupts = <25 4 5>; interrupts = <25 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -451,7 +456,7 @@ uart1: serial@fffd8000 { ...@@ -451,7 +456,7 @@ uart1: serial@fffd8000 {
macb0: ethernet@fffc4000 { macb0: ethernet@fffc4000 {
compatible = "cdns,at32ap7000-macb", "cdns,macb"; compatible = "cdns,at32ap7000-macb", "cdns,macb";
reg = <0xfffc4000 0x100>; reg = <0xfffc4000 0x100>;
interrupts = <21 4 3>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb_rmii>; pinctrl-0 = <&pinctrl_macb_rmii>;
status = "disabled"; status = "disabled";
...@@ -460,14 +465,14 @@ macb0: ethernet@fffc4000 { ...@@ -460,14 +465,14 @@ macb0: ethernet@fffc4000 {
usb1: gadget@fffa4000 { usb1: gadget@fffa4000 {
compatible = "atmel,at91rm9200-udc"; compatible = "atmel,at91rm9200-udc";
reg = <0xfffa4000 0x4000>; reg = <0xfffa4000 0x4000>;
interrupts = <10 4 2>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
i2c0: i2c@fffac000 { i2c0: i2c@fffac000 {
compatible = "atmel,at91sam9260-i2c"; compatible = "atmel,at91sam9260-i2c";
reg = <0xfffac000 0x100>; reg = <0xfffac000 0x100>;
interrupts = <11 4 6>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -476,7 +481,7 @@ i2c0: i2c@fffac000 { ...@@ -476,7 +481,7 @@ i2c0: i2c@fffac000 {
mmc0: mmc@fffa8000 { mmc0: mmc@fffa8000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfffa8000 0x600>; reg = <0xfffa8000 0x600>;
interrupts = <9 4 0>; interrupts = <9 IRQ_TYPE_LEVEL_HIGH 0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -485,7 +490,7 @@ mmc0: mmc@fffa8000 { ...@@ -485,7 +490,7 @@ mmc0: mmc@fffa8000 {
ssc0: ssc@fffbc000 { ssc0: ssc@fffbc000 {
compatible = "atmel,at91rm9200-ssc"; compatible = "atmel,at91rm9200-ssc";
reg = <0xfffbc000 0x4000>; reg = <0xfffbc000 0x4000>;
interrupts = <14 4 5>; interrupts = <14 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
status = "disabled"; status = "disabled";
...@@ -496,7 +501,7 @@ spi0: spi@fffc8000 { ...@@ -496,7 +501,7 @@ spi0: spi@fffc8000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xfffc8000 0x200>; reg = <0xfffc8000 0x200>;
interrupts = <12 4 3>; interrupts = <12 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0>; pinctrl-0 = <&pinctrl_spi0>;
status = "disabled"; status = "disabled";
...@@ -507,7 +512,7 @@ spi1: spi@fffcc000 { ...@@ -507,7 +512,7 @@ spi1: spi@fffcc000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xfffcc000 0x200>; reg = <0xfffcc000 0x200>;
interrupts = <13 4 3>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1>; pinctrl-0 = <&pinctrl_spi1>;
status = "disabled"; status = "disabled";
...@@ -516,7 +521,7 @@ spi1: spi@fffcc000 { ...@@ -516,7 +521,7 @@ spi1: spi@fffcc000 {
adc0: adc@fffe0000 { adc0: adc@fffe0000 {
compatible = "atmel,at91sam9260-adc"; compatible = "atmel,at91sam9260-adc";
reg = <0xfffe0000 0x100>; reg = <0xfffe0000 0x100>;
interrupts = <5 4 0>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH 0>;
atmel,adc-use-external-triggers; atmel,adc-use-external-triggers;
atmel,adc-channels-used = <0xf>; atmel,adc-channels-used = <0xf>;
atmel,adc-vref = <3300>; atmel,adc-vref = <3300>;
...@@ -579,7 +584,7 @@ &pioC 14 GPIO_ACTIVE_HIGH ...@@ -579,7 +584,7 @@ &pioC 14 GPIO_ACTIVE_HIGH
usb0: ohci@00500000 { usb0: ohci@00500000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci"; compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00500000 0x100000>; reg = <0x00500000 0x100000>;
interrupts = <20 4 2>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
}; };
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include <dt-bindings/pinctrl/at91.h> #include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
/ { / {
...@@ -74,13 +75,13 @@ ramc: ramc@ffffe200 { ...@@ -74,13 +75,13 @@ ramc: ramc@ffffe200 {
pit: timer@fffffd30 { pit: timer@fffffd30 {
compatible = "atmel,at91sam9260-pit"; compatible = "atmel,at91sam9260-pit";
reg = <0xfffffd30 0xf>; reg = <0xfffffd30 0xf>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
}; };
tcb0: timer@fff7c000 { tcb0: timer@fff7c000 {
compatible = "atmel,at91rm9200-tcb"; compatible = "atmel,at91rm9200-tcb";
reg = <0xfff7c000 0x100>; reg = <0xfff7c000 0x100>;
interrupts = <19 4 0>; interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
rstc@fffffd00 { rstc@fffffd00 {
...@@ -326,7 +327,7 @@ AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A SPI1_MOSI pin */ ...@@ -326,7 +327,7 @@ AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB13 periph A SPI1_MOSI pin */
pioA: gpio@fffff200 { pioA: gpio@fffff200 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff200 0x200>; reg = <0xfffff200 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -336,7 +337,7 @@ pioA: gpio@fffff200 { ...@@ -336,7 +337,7 @@ pioA: gpio@fffff200 {
pioB: gpio@fffff400 { pioB: gpio@fffff400 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x200>; reg = <0xfffff400 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -346,7 +347,7 @@ pioB: gpio@fffff400 { ...@@ -346,7 +347,7 @@ pioB: gpio@fffff400 {
pioC: gpio@fffff600 { pioC: gpio@fffff600 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff600 0x200>; reg = <0xfffff600 0x200>;
interrupts = <4 4 1>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -356,7 +357,7 @@ pioC: gpio@fffff600 { ...@@ -356,7 +357,7 @@ pioC: gpio@fffff600 {
pioD: gpio@fffff800 { pioD: gpio@fffff800 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff800 0x200>; reg = <0xfffff800 0x200>;
interrupts = <4 4 1>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -366,7 +367,7 @@ pioD: gpio@fffff800 { ...@@ -366,7 +367,7 @@ pioD: gpio@fffff800 {
pioE: gpio@fffffa00 { pioE: gpio@fffffa00 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffffa00 0x200>; reg = <0xfffffa00 0x200>;
interrupts = <4 4 1>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -377,7 +378,7 @@ pioE: gpio@fffffa00 { ...@@ -377,7 +378,7 @@ pioE: gpio@fffffa00 {
dbgu: serial@ffffee00 { dbgu: serial@ffffee00 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xffffee00 0x200>; reg = <0xffffee00 0x200>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dbgu>; pinctrl-0 = <&pinctrl_dbgu>;
status = "disabled"; status = "disabled";
...@@ -386,7 +387,7 @@ dbgu: serial@ffffee00 { ...@@ -386,7 +387,7 @@ dbgu: serial@ffffee00 {
usart0: serial@fff8c000 { usart0: serial@fff8c000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfff8c000 0x200>; reg = <0xfff8c000 0x200>;
interrupts = <7 4 5>; interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -397,7 +398,7 @@ usart0: serial@fff8c000 { ...@@ -397,7 +398,7 @@ usart0: serial@fff8c000 {
usart1: serial@fff90000 { usart1: serial@fff90000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfff90000 0x200>; reg = <0xfff90000 0x200>;
interrupts = <8 4 5>; interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -408,7 +409,7 @@ usart1: serial@fff90000 { ...@@ -408,7 +409,7 @@ usart1: serial@fff90000 {
usart2: serial@fff94000 { usart2: serial@fff94000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfff94000 0x200>; reg = <0xfff94000 0x200>;
interrupts = <9 4 5>; interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -419,7 +420,7 @@ usart2: serial@fff94000 { ...@@ -419,7 +420,7 @@ usart2: serial@fff94000 {
ssc0: ssc@fff98000 { ssc0: ssc@fff98000 {
compatible = "atmel,at91rm9200-ssc"; compatible = "atmel,at91rm9200-ssc";
reg = <0xfff98000 0x4000>; reg = <0xfff98000 0x4000>;
interrupts = <16 4 5>; interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
status = "disabled"; status = "disabled";
...@@ -428,7 +429,7 @@ ssc0: ssc@fff98000 { ...@@ -428,7 +429,7 @@ ssc0: ssc@fff98000 {
ssc1: ssc@fff9c000 { ssc1: ssc@fff9c000 {
compatible = "atmel,at91rm9200-ssc"; compatible = "atmel,at91rm9200-ssc";
reg = <0xfff9c000 0x4000>; reg = <0xfff9c000 0x4000>;
interrupts = <17 4 5>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
status = "disabled"; status = "disabled";
...@@ -437,7 +438,7 @@ ssc1: ssc@fff9c000 { ...@@ -437,7 +438,7 @@ ssc1: ssc@fff9c000 {
macb0: ethernet@fffbc000 { macb0: ethernet@fffbc000 {
compatible = "cdns,at32ap7000-macb", "cdns,macb"; compatible = "cdns,at32ap7000-macb", "cdns,macb";
reg = <0xfffbc000 0x100>; reg = <0xfffbc000 0x100>;
interrupts = <21 4 3>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb_rmii>; pinctrl-0 = <&pinctrl_macb_rmii>;
status = "disabled"; status = "disabled";
...@@ -446,14 +447,14 @@ macb0: ethernet@fffbc000 { ...@@ -446,14 +447,14 @@ macb0: ethernet@fffbc000 {
usb1: gadget@fff78000 { usb1: gadget@fff78000 {
compatible = "atmel,at91rm9200-udc"; compatible = "atmel,at91rm9200-udc";
reg = <0xfff78000 0x4000>; reg = <0xfff78000 0x4000>;
interrupts = <24 4 2>; interrupts = <24 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
i2c0: i2c@fff88000 { i2c0: i2c@fff88000 {
compatible = "atmel,at91sam9263-i2c"; compatible = "atmel,at91sam9263-i2c";
reg = <0xfff88000 0x100>; reg = <0xfff88000 0x100>;
interrupts = <13 4 6>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -462,7 +463,7 @@ i2c0: i2c@fff88000 { ...@@ -462,7 +463,7 @@ i2c0: i2c@fff88000 {
mmc0: mmc@fff80000 { mmc0: mmc@fff80000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfff80000 0x600>; reg = <0xfff80000 0x600>;
interrupts = <10 4 0>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -471,7 +472,7 @@ mmc0: mmc@fff80000 { ...@@ -471,7 +472,7 @@ mmc0: mmc@fff80000 {
mmc1: mmc@fff84000 { mmc1: mmc@fff84000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfff84000 0x600>; reg = <0xfff84000 0x600>;
interrupts = <11 4 0>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -488,7 +489,7 @@ spi0: spi@fffa4000 { ...@@ -488,7 +489,7 @@ spi0: spi@fffa4000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xfffa4000 0x200>; reg = <0xfffa4000 0x200>;
interrupts = <14 4 3>; interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0>; pinctrl-0 = <&pinctrl_spi0>;
status = "disabled"; status = "disabled";
...@@ -499,7 +500,7 @@ spi1: spi@fffa8000 { ...@@ -499,7 +500,7 @@ spi1: spi@fffa8000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xfffa8000 0x200>; reg = <0xfffa8000 0x200>;
interrupts = <15 4 3>; interrupts = <15 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1>; pinctrl-0 = <&pinctrl_spi1>;
status = "disabled"; status = "disabled";
...@@ -527,7 +528,7 @@ &pioD 15 GPIO_ACTIVE_HIGH ...@@ -527,7 +528,7 @@ &pioD 15 GPIO_ACTIVE_HIGH
usb0: ohci@00a00000 { usb0: ohci@00a00000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci"; compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00a00000 0x100000>; reg = <0x00a00000 0x100000>;
interrupts = <29 4 2>; interrupts = <29 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
}; };
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include <dt-bindings/pinctrl/at91.h> #include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
/ { / {
...@@ -85,7 +86,7 @@ rstc@fffffd00 { ...@@ -85,7 +86,7 @@ rstc@fffffd00 {
pit: timer@fffffd30 { pit: timer@fffffd30 {
compatible = "atmel,at91sam9260-pit"; compatible = "atmel,at91sam9260-pit";
reg = <0xfffffd30 0xf>; reg = <0xfffffd30 0xf>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
}; };
...@@ -97,19 +98,19 @@ shdwc@fffffd10 { ...@@ -97,19 +98,19 @@ shdwc@fffffd10 {
tcb0: timer@fff7c000 { tcb0: timer@fff7c000 {
compatible = "atmel,at91rm9200-tcb"; compatible = "atmel,at91rm9200-tcb";
reg = <0xfff7c000 0x100>; reg = <0xfff7c000 0x100>;
interrupts = <18 4 0>; interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
tcb1: timer@fffd4000 { tcb1: timer@fffd4000 {
compatible = "atmel,at91rm9200-tcb"; compatible = "atmel,at91rm9200-tcb";
reg = <0xfffd4000 0x100>; reg = <0xfffd4000 0x100>;
interrupts = <18 4 0>; interrupts = <18 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
dma: dma-controller@ffffec00 { dma: dma-controller@ffffec00 {
compatible = "atmel,at91sam9g45-dma"; compatible = "atmel,at91sam9g45-dma";
reg = <0xffffec00 0x200>; reg = <0xffffec00 0x200>;
interrupts = <21 4 0>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
#dma-cells = <2>; #dma-cells = <2>;
}; };
...@@ -346,7 +347,7 @@ AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A SPI1_MOSI pin */ ...@@ -346,7 +347,7 @@ AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB15 periph A SPI1_MOSI pin */
pioA: gpio@fffff200 { pioA: gpio@fffff200 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff200 0x200>; reg = <0xfffff200 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -356,7 +357,7 @@ pioA: gpio@fffff200 { ...@@ -356,7 +357,7 @@ pioA: gpio@fffff200 {
pioB: gpio@fffff400 { pioB: gpio@fffff400 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x200>; reg = <0xfffff400 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -366,7 +367,7 @@ pioB: gpio@fffff400 { ...@@ -366,7 +367,7 @@ pioB: gpio@fffff400 {
pioC: gpio@fffff600 { pioC: gpio@fffff600 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff600 0x200>; reg = <0xfffff600 0x200>;
interrupts = <4 4 1>; interrupts = <4 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -376,7 +377,7 @@ pioC: gpio@fffff600 { ...@@ -376,7 +377,7 @@ pioC: gpio@fffff600 {
pioD: gpio@fffff800 { pioD: gpio@fffff800 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffff800 0x200>; reg = <0xfffff800 0x200>;
interrupts = <5 4 1>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -386,7 +387,7 @@ pioD: gpio@fffff800 { ...@@ -386,7 +387,7 @@ pioD: gpio@fffff800 {
pioE: gpio@fffffa00 { pioE: gpio@fffffa00 {
compatible = "atmel,at91rm9200-gpio"; compatible = "atmel,at91rm9200-gpio";
reg = <0xfffffa00 0x200>; reg = <0xfffffa00 0x200>;
interrupts = <5 4 1>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -397,7 +398,7 @@ pioE: gpio@fffffa00 { ...@@ -397,7 +398,7 @@ pioE: gpio@fffffa00 {
dbgu: serial@ffffee00 { dbgu: serial@ffffee00 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xffffee00 0x200>; reg = <0xffffee00 0x200>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dbgu>; pinctrl-0 = <&pinctrl_dbgu>;
status = "disabled"; status = "disabled";
...@@ -406,7 +407,7 @@ dbgu: serial@ffffee00 { ...@@ -406,7 +407,7 @@ dbgu: serial@ffffee00 {
usart0: serial@fff8c000 { usart0: serial@fff8c000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfff8c000 0x200>; reg = <0xfff8c000 0x200>;
interrupts = <7 4 5>; interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -417,7 +418,7 @@ usart0: serial@fff8c000 { ...@@ -417,7 +418,7 @@ usart0: serial@fff8c000 {
usart1: serial@fff90000 { usart1: serial@fff90000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfff90000 0x200>; reg = <0xfff90000 0x200>;
interrupts = <8 4 5>; interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -428,7 +429,7 @@ usart1: serial@fff90000 { ...@@ -428,7 +429,7 @@ usart1: serial@fff90000 {
usart2: serial@fff94000 { usart2: serial@fff94000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfff94000 0x200>; reg = <0xfff94000 0x200>;
interrupts = <9 4 5>; interrupts = <9 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -439,7 +440,7 @@ usart2: serial@fff94000 { ...@@ -439,7 +440,7 @@ usart2: serial@fff94000 {
usart3: serial@fff98000 { usart3: serial@fff98000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfff98000 0x200>; reg = <0xfff98000 0x200>;
interrupts = <10 4 5>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 5>;
atmel,use-dma-rx; atmel,use-dma-rx;
atmel,use-dma-tx; atmel,use-dma-tx;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -450,7 +451,7 @@ usart3: serial@fff98000 { ...@@ -450,7 +451,7 @@ usart3: serial@fff98000 {
macb0: ethernet@fffbc000 { macb0: ethernet@fffbc000 {
compatible = "cdns,at32ap7000-macb", "cdns,macb"; compatible = "cdns,at32ap7000-macb", "cdns,macb";
reg = <0xfffbc000 0x100>; reg = <0xfffbc000 0x100>;
interrupts = <25 4 3>; interrupts = <25 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb_rmii>; pinctrl-0 = <&pinctrl_macb_rmii>;
status = "disabled"; status = "disabled";
...@@ -459,7 +460,7 @@ macb0: ethernet@fffbc000 { ...@@ -459,7 +460,7 @@ macb0: ethernet@fffbc000 {
i2c0: i2c@fff84000 { i2c0: i2c@fff84000 {
compatible = "atmel,at91sam9g10-i2c"; compatible = "atmel,at91sam9g10-i2c";
reg = <0xfff84000 0x100>; reg = <0xfff84000 0x100>;
interrupts = <12 4 6>; interrupts = <12 IRQ_TYPE_LEVEL_HIGH 6>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -468,7 +469,7 @@ i2c0: i2c@fff84000 { ...@@ -468,7 +469,7 @@ i2c0: i2c@fff84000 {
i2c1: i2c@fff88000 { i2c1: i2c@fff88000 {
compatible = "atmel,at91sam9g10-i2c"; compatible = "atmel,at91sam9g10-i2c";
reg = <0xfff88000 0x100>; reg = <0xfff88000 0x100>;
interrupts = <13 4 6>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 6>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -477,7 +478,7 @@ i2c1: i2c@fff88000 { ...@@ -477,7 +478,7 @@ i2c1: i2c@fff88000 {
ssc0: ssc@fff9c000 { ssc0: ssc@fff9c000 {
compatible = "atmel,at91sam9g45-ssc"; compatible = "atmel,at91sam9g45-ssc";
reg = <0xfff9c000 0x4000>; reg = <0xfff9c000 0x4000>;
interrupts = <16 4 5>; interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
status = "disabled"; status = "disabled";
...@@ -486,7 +487,7 @@ ssc0: ssc@fff9c000 { ...@@ -486,7 +487,7 @@ ssc0: ssc@fff9c000 {
ssc1: ssc@fffa0000 { ssc1: ssc@fffa0000 {
compatible = "atmel,at91sam9g45-ssc"; compatible = "atmel,at91sam9g45-ssc";
reg = <0xfffa0000 0x4000>; reg = <0xfffa0000 0x4000>;
interrupts = <17 4 5>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>; pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
status = "disabled"; status = "disabled";
...@@ -495,7 +496,7 @@ ssc1: ssc@fffa0000 { ...@@ -495,7 +496,7 @@ ssc1: ssc@fffa0000 {
adc0: adc@fffb0000 { adc0: adc@fffb0000 {
compatible = "atmel,at91sam9260-adc"; compatible = "atmel,at91sam9260-adc";
reg = <0xfffb0000 0x100>; reg = <0xfffb0000 0x100>;
interrupts = <20 4 0>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
atmel,adc-use-external-triggers; atmel,adc-use-external-triggers;
atmel,adc-channels-used = <0xff>; atmel,adc-channels-used = <0xff>;
atmel,adc-vref = <3300>; atmel,adc-vref = <3300>;
...@@ -535,7 +536,7 @@ trigger@3 { ...@@ -535,7 +536,7 @@ trigger@3 {
mmc0: mmc@fff80000 { mmc0: mmc@fff80000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfff80000 0x600>; reg = <0xfff80000 0x600>;
interrupts = <11 4 0>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
dmas = <&dma 1 0>; dmas = <&dma 1 0>;
dma-names = "rxtx"; dma-names = "rxtx";
#address-cells = <1>; #address-cells = <1>;
...@@ -546,7 +547,7 @@ mmc0: mmc@fff80000 { ...@@ -546,7 +547,7 @@ mmc0: mmc@fff80000 {
mmc1: mmc@fffd0000 { mmc1: mmc@fffd0000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xfffd0000 0x600>; reg = <0xfffd0000 0x600>;
interrupts = <29 4 0>; interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
dmas = <&dma 1 13>; dmas = <&dma 1 13>;
dma-names = "rxtx"; dma-names = "rxtx";
#address-cells = <1>; #address-cells = <1>;
...@@ -604,14 +605,14 @@ &pioC 14 GPIO_ACTIVE_HIGH ...@@ -604,14 +605,14 @@ &pioC 14 GPIO_ACTIVE_HIGH
usb0: ohci@00700000 { usb0: ohci@00700000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci"; compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00700000 0x100000>; reg = <0x00700000 0x100000>;
interrupts = <22 4 2>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
usb1: ehci@00800000 { usb1: ehci@00800000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00800000 0x100000>; reg = <0x00800000 0x100000>;
interrupts = <22 4 2>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
}; };
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include <dt-bindings/pinctrl/at91.h> #include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
/ { / {
...@@ -79,7 +80,7 @@ rstc@fffffe00 { ...@@ -79,7 +80,7 @@ rstc@fffffe00 {
pit: timer@fffffe30 { pit: timer@fffffe30 {
compatible = "atmel,at91sam9260-pit"; compatible = "atmel,at91sam9260-pit";
reg = <0xfffffe30 0xf>; reg = <0xfffffe30 0xf>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
}; };
shdwc@fffffe10 { shdwc@fffffe10 {
...@@ -90,7 +91,7 @@ shdwc@fffffe10 { ...@@ -90,7 +91,7 @@ shdwc@fffffe10 {
mmc0: mmc@f0008000 { mmc0: mmc@f0008000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xf0008000 0x600>; reg = <0xf0008000 0x600>;
interrupts = <12 4 0>; interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
dmas = <&dma 1 0>; dmas = <&dma 1 0>;
dma-names = "rxtx"; dma-names = "rxtx";
#address-cells = <1>; #address-cells = <1>;
...@@ -101,19 +102,19 @@ mmc0: mmc@f0008000 { ...@@ -101,19 +102,19 @@ mmc0: mmc@f0008000 {
tcb0: timer@f8008000 { tcb0: timer@f8008000 {
compatible = "atmel,at91sam9x5-tcb"; compatible = "atmel,at91sam9x5-tcb";
reg = <0xf8008000 0x100>; reg = <0xf8008000 0x100>;
interrupts = <17 4 0>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
tcb1: timer@f800c000 { tcb1: timer@f800c000 {
compatible = "atmel,at91sam9x5-tcb"; compatible = "atmel,at91sam9x5-tcb";
reg = <0xf800c000 0x100>; reg = <0xf800c000 0x100>;
interrupts = <17 4 0>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
dma: dma-controller@ffffec00 { dma: dma-controller@ffffec00 {
compatible = "atmel,at91sam9g45-dma"; compatible = "atmel,at91sam9g45-dma";
reg = <0xffffec00 0x200>; reg = <0xffffec00 0x200>;
interrupts = <20 4 0>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
#dma-cells = <2>; #dma-cells = <2>;
}; };
...@@ -287,7 +288,7 @@ AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */ ...@@ -287,7 +288,7 @@ AT91_PIOA 22 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA22 periph B SPI1_MOSI pin */
pioA: gpio@fffff400 { pioA: gpio@fffff400 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x200>; reg = <0xfffff400 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -297,7 +298,7 @@ pioA: gpio@fffff400 { ...@@ -297,7 +298,7 @@ pioA: gpio@fffff400 {
pioB: gpio@fffff600 { pioB: gpio@fffff600 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffff600 0x200>; reg = <0xfffff600 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -307,7 +308,7 @@ pioB: gpio@fffff600 { ...@@ -307,7 +308,7 @@ pioB: gpio@fffff600 {
pioC: gpio@fffff800 { pioC: gpio@fffff800 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffff800 0x200>; reg = <0xfffff800 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -317,7 +318,7 @@ pioC: gpio@fffff800 { ...@@ -317,7 +318,7 @@ pioC: gpio@fffff800 {
pioD: gpio@fffffa00 { pioD: gpio@fffffa00 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffffa00 0x200>; reg = <0xfffffa00 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -328,7 +329,7 @@ pioD: gpio@fffffa00 { ...@@ -328,7 +329,7 @@ pioD: gpio@fffffa00 {
dbgu: serial@fffff200 { dbgu: serial@fffff200 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffff200 0x200>; reg = <0xfffff200 0x200>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dbgu>; pinctrl-0 = <&pinctrl_dbgu>;
status = "disabled"; status = "disabled";
...@@ -337,7 +338,7 @@ dbgu: serial@fffff200 { ...@@ -337,7 +338,7 @@ dbgu: serial@fffff200 {
ssc0: ssc@f0010000 { ssc0: ssc@f0010000 {
compatible = "atmel,at91sam9g45-ssc"; compatible = "atmel,at91sam9g45-ssc";
reg = <0xf0010000 0x4000>; reg = <0xf0010000 0x4000>;
interrupts = <28 4 5>; interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
status = "disabled"; status = "disabled";
...@@ -346,7 +347,7 @@ ssc0: ssc@f0010000 { ...@@ -346,7 +347,7 @@ ssc0: ssc@f0010000 {
usart0: serial@f801c000 { usart0: serial@f801c000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xf801c000 0x4000>; reg = <0xf801c000 0x4000>;
interrupts = <5 4 5>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart0>; pinctrl-0 = <&pinctrl_usart0>;
status = "disabled"; status = "disabled";
...@@ -355,7 +356,7 @@ usart0: serial@f801c000 { ...@@ -355,7 +356,7 @@ usart0: serial@f801c000 {
usart1: serial@f8020000 { usart1: serial@f8020000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xf8020000 0x4000>; reg = <0xf8020000 0x4000>;
interrupts = <6 4 5>; interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart1>; pinctrl-0 = <&pinctrl_usart1>;
status = "disabled"; status = "disabled";
...@@ -364,7 +365,7 @@ usart1: serial@f8020000 { ...@@ -364,7 +365,7 @@ usart1: serial@f8020000 {
usart2: serial@f8024000 { usart2: serial@f8024000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xf8024000 0x4000>; reg = <0xf8024000 0x4000>;
interrupts = <7 4 5>; interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart2>; pinctrl-0 = <&pinctrl_usart2>;
status = "disabled"; status = "disabled";
...@@ -373,7 +374,7 @@ usart2: serial@f8024000 { ...@@ -373,7 +374,7 @@ usart2: serial@f8024000 {
usart3: serial@f8028000 { usart3: serial@f8028000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xf8028000 0x4000>; reg = <0xf8028000 0x4000>;
interrupts = <8 4 5>; interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart3>; pinctrl-0 = <&pinctrl_usart3>;
status = "disabled"; status = "disabled";
...@@ -382,7 +383,7 @@ usart3: serial@f8028000 { ...@@ -382,7 +383,7 @@ usart3: serial@f8028000 {
i2c0: i2c@f8010000 { i2c0: i2c@f8010000 {
compatible = "atmel,at91sam9x5-i2c"; compatible = "atmel,at91sam9x5-i2c";
reg = <0xf8010000 0x100>; reg = <0xf8010000 0x100>;
interrupts = <9 4 6>; interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
dmas = <&dma 1 13>, dmas = <&dma 1 13>,
<&dma 1 14>; <&dma 1 14>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -394,7 +395,7 @@ i2c0: i2c@f8010000 { ...@@ -394,7 +395,7 @@ i2c0: i2c@f8010000 {
i2c1: i2c@f8014000 { i2c1: i2c@f8014000 {
compatible = "atmel,at91sam9x5-i2c"; compatible = "atmel,at91sam9x5-i2c";
reg = <0xf8014000 0x100>; reg = <0xf8014000 0x100>;
interrupts = <10 4 6>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
dmas = <&dma 1 15>, dmas = <&dma 1 15>,
<&dma 1 16>; <&dma 1 16>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -408,7 +409,7 @@ spi0: spi@f0000000 { ...@@ -408,7 +409,7 @@ spi0: spi@f0000000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xf0000000 0x100>; reg = <0xf0000000 0x100>;
interrupts = <13 4 3>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0>; pinctrl-0 = <&pinctrl_spi0>;
status = "disabled"; status = "disabled";
...@@ -419,7 +420,7 @@ spi1: spi@f0004000 { ...@@ -419,7 +420,7 @@ spi1: spi@f0004000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xf0004000 0x100>; reg = <0xf0004000 0x100>;
interrupts = <14 4 3>; interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1>; pinctrl-0 = <&pinctrl_spi1>;
status = "disabled"; status = "disabled";
...@@ -450,7 +451,7 @@ &pioD 4 GPIO_ACTIVE_HIGH ...@@ -450,7 +451,7 @@ &pioD 4 GPIO_ACTIVE_HIGH
usb0: ohci@00500000 { usb0: ohci@00500000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci"; compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00500000 0x00100000>; reg = <0x00500000 0x00100000>;
interrupts = <22 4 2>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
}; };
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "skeleton.dtsi" #include "skeleton.dtsi"
#include <dt-bindings/pinctrl/at91.h> #include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
/ { / {
...@@ -87,32 +88,32 @@ shdwc@fffffe10 { ...@@ -87,32 +88,32 @@ shdwc@fffffe10 {
pit: timer@fffffe30 { pit: timer@fffffe30 {
compatible = "atmel,at91sam9260-pit"; compatible = "atmel,at91sam9260-pit";
reg = <0xfffffe30 0xf>; reg = <0xfffffe30 0xf>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
}; };
tcb0: timer@f8008000 { tcb0: timer@f8008000 {
compatible = "atmel,at91sam9x5-tcb"; compatible = "atmel,at91sam9x5-tcb";
reg = <0xf8008000 0x100>; reg = <0xf8008000 0x100>;
interrupts = <17 4 0>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
tcb1: timer@f800c000 { tcb1: timer@f800c000 {
compatible = "atmel,at91sam9x5-tcb"; compatible = "atmel,at91sam9x5-tcb";
reg = <0xf800c000 0x100>; reg = <0xf800c000 0x100>;
interrupts = <17 4 0>; interrupts = <17 IRQ_TYPE_LEVEL_HIGH 0>;
}; };
dma0: dma-controller@ffffec00 { dma0: dma-controller@ffffec00 {
compatible = "atmel,at91sam9g45-dma"; compatible = "atmel,at91sam9g45-dma";
reg = <0xffffec00 0x200>; reg = <0xffffec00 0x200>;
interrupts = <20 4 0>; interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>;
#dma-cells = <2>; #dma-cells = <2>;
}; };
dma1: dma-controller@ffffee00 { dma1: dma-controller@ffffee00 {
compatible = "atmel,at91sam9g45-dma"; compatible = "atmel,at91sam9g45-dma";
reg = <0xffffee00 0x200>; reg = <0xffffee00 0x200>;
interrupts = <21 4 0>; interrupts = <21 IRQ_TYPE_LEVEL_HIGH 0>;
#dma-cells = <2>; #dma-cells = <2>;
}; };
...@@ -416,7 +417,7 @@ pinctrl_i2c_gpio2: i2c_gpio2-0 { ...@@ -416,7 +417,7 @@ pinctrl_i2c_gpio2: i2c_gpio2-0 {
pioA: gpio@fffff400 { pioA: gpio@fffff400 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffff400 0x200>; reg = <0xfffff400 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -426,7 +427,7 @@ pioA: gpio@fffff400 { ...@@ -426,7 +427,7 @@ pioA: gpio@fffff400 {
pioB: gpio@fffff600 { pioB: gpio@fffff600 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffff600 0x200>; reg = <0xfffff600 0x200>;
interrupts = <2 4 1>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#gpio-lines = <19>; #gpio-lines = <19>;
...@@ -437,7 +438,7 @@ pioB: gpio@fffff600 { ...@@ -437,7 +438,7 @@ pioB: gpio@fffff600 {
pioC: gpio@fffff800 { pioC: gpio@fffff800 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffff800 0x200>; reg = <0xfffff800 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
interrupt-controller; interrupt-controller;
...@@ -447,7 +448,7 @@ pioC: gpio@fffff800 { ...@@ -447,7 +448,7 @@ pioC: gpio@fffff800 {
pioD: gpio@fffffa00 { pioD: gpio@fffffa00 {
compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
reg = <0xfffffa00 0x200>; reg = <0xfffffa00 0x200>;
interrupts = <3 4 1>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH 1>;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#gpio-lines = <22>; #gpio-lines = <22>;
...@@ -459,7 +460,7 @@ pioD: gpio@fffffa00 { ...@@ -459,7 +460,7 @@ pioD: gpio@fffffa00 {
ssc0: ssc@f0010000 { ssc0: ssc@f0010000 {
compatible = "atmel,at91sam9g45-ssc"; compatible = "atmel,at91sam9g45-ssc";
reg = <0xf0010000 0x4000>; reg = <0xf0010000 0x4000>;
interrupts = <28 4 5>; interrupts = <28 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>; pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
status = "disabled"; status = "disabled";
...@@ -468,7 +469,7 @@ ssc0: ssc@f0010000 { ...@@ -468,7 +469,7 @@ ssc0: ssc@f0010000 {
mmc0: mmc@f0008000 { mmc0: mmc@f0008000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xf0008000 0x600>; reg = <0xf0008000 0x600>;
interrupts = <12 4 0>; interrupts = <12 IRQ_TYPE_LEVEL_HIGH 0>;
dmas = <&dma0 1 0>; dmas = <&dma0 1 0>;
dma-names = "rxtx"; dma-names = "rxtx";
#address-cells = <1>; #address-cells = <1>;
...@@ -479,7 +480,7 @@ mmc0: mmc@f0008000 { ...@@ -479,7 +480,7 @@ mmc0: mmc@f0008000 {
mmc1: mmc@f000c000 { mmc1: mmc@f000c000 {
compatible = "atmel,hsmci"; compatible = "atmel,hsmci";
reg = <0xf000c000 0x600>; reg = <0xf000c000 0x600>;
interrupts = <26 4 0>; interrupts = <26 IRQ_TYPE_LEVEL_HIGH 0>;
dmas = <&dma1 1 0>; dmas = <&dma1 1 0>;
dma-names = "rxtx"; dma-names = "rxtx";
#address-cells = <1>; #address-cells = <1>;
...@@ -490,7 +491,7 @@ mmc1: mmc@f000c000 { ...@@ -490,7 +491,7 @@ mmc1: mmc@f000c000 {
dbgu: serial@fffff200 { dbgu: serial@fffff200 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xfffff200 0x200>; reg = <0xfffff200 0x200>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dbgu>; pinctrl-0 = <&pinctrl_dbgu>;
status = "disabled"; status = "disabled";
...@@ -499,7 +500,7 @@ dbgu: serial@fffff200 { ...@@ -499,7 +500,7 @@ dbgu: serial@fffff200 {
usart0: serial@f801c000 { usart0: serial@f801c000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xf801c000 0x200>; reg = <0xf801c000 0x200>;
interrupts = <5 4 5>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart0>; pinctrl-0 = <&pinctrl_usart0>;
status = "disabled"; status = "disabled";
...@@ -508,7 +509,7 @@ usart0: serial@f801c000 { ...@@ -508,7 +509,7 @@ usart0: serial@f801c000 {
usart1: serial@f8020000 { usart1: serial@f8020000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xf8020000 0x200>; reg = <0xf8020000 0x200>;
interrupts = <6 4 5>; interrupts = <6 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart1>; pinctrl-0 = <&pinctrl_usart1>;
status = "disabled"; status = "disabled";
...@@ -517,7 +518,7 @@ usart1: serial@f8020000 { ...@@ -517,7 +518,7 @@ usart1: serial@f8020000 {
usart2: serial@f8024000 { usart2: serial@f8024000 {
compatible = "atmel,at91sam9260-usart"; compatible = "atmel,at91sam9260-usart";
reg = <0xf8024000 0x200>; reg = <0xf8024000 0x200>;
interrupts = <7 4 5>; interrupts = <7 IRQ_TYPE_LEVEL_HIGH 5>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usart2>; pinctrl-0 = <&pinctrl_usart2>;
status = "disabled"; status = "disabled";
...@@ -526,7 +527,7 @@ usart2: serial@f8024000 { ...@@ -526,7 +527,7 @@ usart2: serial@f8024000 {
macb0: ethernet@f802c000 { macb0: ethernet@f802c000 {
compatible = "cdns,at32ap7000-macb", "cdns,macb"; compatible = "cdns,at32ap7000-macb", "cdns,macb";
reg = <0xf802c000 0x100>; reg = <0xf802c000 0x100>;
interrupts = <24 4 3>; interrupts = <24 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_macb0_rmii>; pinctrl-0 = <&pinctrl_macb0_rmii>;
status = "disabled"; status = "disabled";
...@@ -535,14 +536,14 @@ macb0: ethernet@f802c000 { ...@@ -535,14 +536,14 @@ macb0: ethernet@f802c000 {
macb1: ethernet@f8030000 { macb1: ethernet@f8030000 {
compatible = "cdns,at32ap7000-macb", "cdns,macb"; compatible = "cdns,at32ap7000-macb", "cdns,macb";
reg = <0xf8030000 0x100>; reg = <0xf8030000 0x100>;
interrupts = <27 4 3>; interrupts = <27 IRQ_TYPE_LEVEL_HIGH 3>;
status = "disabled"; status = "disabled";
}; };
i2c0: i2c@f8010000 { i2c0: i2c@f8010000 {
compatible = "atmel,at91sam9x5-i2c"; compatible = "atmel,at91sam9x5-i2c";
reg = <0xf8010000 0x100>; reg = <0xf8010000 0x100>;
interrupts = <9 4 6>; interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>;
dmas = <&dma0 1 7>, dmas = <&dma0 1 7>,
<&dma0 1 8>; <&dma0 1 8>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -556,7 +557,7 @@ i2c0: i2c@f8010000 { ...@@ -556,7 +557,7 @@ i2c0: i2c@f8010000 {
i2c1: i2c@f8014000 { i2c1: i2c@f8014000 {
compatible = "atmel,at91sam9x5-i2c"; compatible = "atmel,at91sam9x5-i2c";
reg = <0xf8014000 0x100>; reg = <0xf8014000 0x100>;
interrupts = <10 4 6>; interrupts = <10 IRQ_TYPE_LEVEL_HIGH 6>;
dmas = <&dma1 1 5>, dmas = <&dma1 1 5>,
<&dma1 1 6>; <&dma1 1 6>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -570,7 +571,7 @@ i2c1: i2c@f8014000 { ...@@ -570,7 +571,7 @@ i2c1: i2c@f8014000 {
i2c2: i2c@f8018000 { i2c2: i2c@f8018000 {
compatible = "atmel,at91sam9x5-i2c"; compatible = "atmel,at91sam9x5-i2c";
reg = <0xf8018000 0x100>; reg = <0xf8018000 0x100>;
interrupts = <11 4 6>; interrupts = <11 IRQ_TYPE_LEVEL_HIGH 6>;
dmas = <&dma0 1 9>, dmas = <&dma0 1 9>,
<&dma0 1 10>; <&dma0 1 10>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -584,7 +585,7 @@ i2c2: i2c@f8018000 { ...@@ -584,7 +585,7 @@ i2c2: i2c@f8018000 {
adc0: adc@f804c000 { adc0: adc@f804c000 {
compatible = "atmel,at91sam9260-adc"; compatible = "atmel,at91sam9260-adc";
reg = <0xf804c000 0x100>; reg = <0xf804c000 0x100>;
interrupts = <19 4 0>; interrupts = <19 IRQ_TYPE_LEVEL_HIGH 0>;
atmel,adc-use-external; atmel,adc-use-external;
atmel,adc-channels-used = <0xffff>; atmel,adc-channels-used = <0xffff>;
atmel,adc-vref = <3300>; atmel,adc-vref = <3300>;
...@@ -627,7 +628,7 @@ spi0: spi@f0000000 { ...@@ -627,7 +628,7 @@ spi0: spi@f0000000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xf0000000 0x100>; reg = <0xf0000000 0x100>;
interrupts = <13 4 3>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi0>; pinctrl-0 = <&pinctrl_spi0>;
status = "disabled"; status = "disabled";
...@@ -638,7 +639,7 @@ spi1: spi@f0004000 { ...@@ -638,7 +639,7 @@ spi1: spi@f0004000 {
#size-cells = <0>; #size-cells = <0>;
compatible = "atmel,at91rm9200-spi"; compatible = "atmel,at91rm9200-spi";
reg = <0xf0004000 0x100>; reg = <0xf0004000 0x100>;
interrupts = <14 4 3>; interrupts = <14 IRQ_TYPE_LEVEL_HIGH 3>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_spi1>; pinctrl-0 = <&pinctrl_spi1>;
status = "disabled"; status = "disabled";
...@@ -647,7 +648,7 @@ spi1: spi@f0004000 { ...@@ -647,7 +648,7 @@ spi1: spi@f0004000 {
rtc@fffffeb0 { rtc@fffffeb0 {
compatible = "atmel,at91rm9200-rtc"; compatible = "atmel,at91rm9200-rtc";
reg = <0xfffffeb0 0x40>; reg = <0xfffffeb0 0x40>;
interrupts = <1 4 7>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
status = "disabled"; status = "disabled";
}; };
}; };
...@@ -676,14 +677,14 @@ &pioD 4 GPIO_ACTIVE_HIGH ...@@ -676,14 +677,14 @@ &pioD 4 GPIO_ACTIVE_HIGH
usb0: ohci@00600000 { usb0: ohci@00600000 {
compatible = "atmel,at91rm9200-ohci", "usb-ohci"; compatible = "atmel,at91rm9200-ohci", "usb-ohci";
reg = <0x00600000 0x100000>; reg = <0x00600000 0x100000>;
interrupts = <22 4 2>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
usb1: ehci@00700000 { usb1: ehci@00700000 {
compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
reg = <0x00700000 0x100000>; reg = <0x00700000 0x100000>;
interrupts = <22 4 2>; interrupts = <22 IRQ_TYPE_LEVEL_HIGH 2>;
status = "disabled"; status = "disabled";
}; };
}; };
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment