[PATCH v2 5/6] ARM: dts: at91: add samx7 dtsi

Alexandre Belloni alexandre.belloni at free-electrons.com
Thu Oct 20 02:41:34 PDT 2016


From: Szemző András <sza at esh.hu>

Add device tree support for Atmel samx7 SoCs family.

Signed-off-by: Szemző András <sza at esh.hu>
Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
---
 arch/arm/boot/dts/samx7.dtsi | 1128 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 1128 insertions(+)
 create mode 100644 arch/arm/boot/dts/samx7.dtsi

diff --git a/arch/arm/boot/dts/samx7.dtsi b/arch/arm/boot/dts/samx7.dtsi
new file mode 100644
index 000000000000..a4b36586d108
--- /dev/null
+++ b/arch/arm/boot/dts/samx7.dtsi
@@ -0,0 +1,1128 @@
+/*
+ * samx7.dtsi - Device Tree Include file for SAMx7 family SoCs
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ *     modify it under the terms of the GNU General Public License as
+ *     published by the Free Software Foundation; either version 2 of the
+ *     License, or (at your option) any later version.
+ *
+ *     This file is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ *     obtaining a copy of this software and associated documentation
+ *     files (the "Software"), to deal in the Software without
+ *     restriction, including without limitation the rights to use,
+ *     copy, modify, merge, publish, distribute, sublicense, and/or
+ *     sell copies of the Software, and to permit persons to whom the
+ *     Software is furnished to do so, subject to the following
+ *     conditions:
+ *
+ *     The above copyright notice and this permission notice shall be
+ *     included in all copies or substantial portions of the Software.
+ *
+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ *     OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "armv7-m.dtsi"
+#include <dt-bindings/pinctrl/at91.h>
+#include <dt-bindings/dma/at91.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/clock/at91.h>
+#include <dt-bindings/pwm/pwm.h>
+
+/ {
+	model = "Atmel SAMx7 family SoC";
+	compatible = "atmel,samx7";
+
+	aliases {
+		serial0 = &usart0;
+		serial1 = &usart1;
+		serial2 = &usart2;
+		serial3 = &uart0;
+		serial4 = &uart1;
+		serial5 = &uart2;
+		serial6 = &uart3;
+		serial7 = &uart4;
+		gpio0 = &pioA;
+		gpio1 = &pioB;
+		gpio2 = &pioC;
+		gpio3 = &pioD;
+		gpio4 = &pioE;
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
+		i2c2 = &i2c2;
+		tcb0 = &tcb0;
+		tcb1 = &tcb1;
+		tcb2 = &tcb2;
+		tcb3 = &tcb3;
+		pwm0 = &pwm0;
+		pwm1 = &pwm1;
+	};
+
+	clocks {
+
+		clk_slck: clk-slck {
+			#clock-cells = <0>;
+			compatible = "fixed-clock";
+		};
+
+		clk_mck: clk-mck {
+			#clock-cells = <0>;
+			compatible = "fixed-clock";
+		};
+	};
+
+	soc {
+
+		pmc: pmc at 0x400e0600 {
+			compatible = "atmel,at91sam9x5-pmc", "syscon";
+			reg = <0x400e0600 0x200>;
+			interrupts = <5>;
+			interrupt-controller;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			#interrupt-cells = <1>;
+
+			periphck {
+				compatible = "atmel,at91sam9x5-clk-peripheral";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				clocks = <&clk_mck>;
+
+				uart0_clk: uart0_clk {
+					#clock-cells = <0>;
+					reg = <7>;
+				};
+
+				uart1_clk: uart1_clk {
+					#clock-cells = <0>;
+					reg = <8>;
+				};
+
+				smc_clk: smc_clk {
+					#clock-cells = <0>;
+					reg = <9>;
+				};
+
+				pioA_clk: pioA_clk {
+					#clock-cells = <0>;
+					reg = <10>;
+				};
+
+				pioB_clk: pioB_clk {
+					#clock-cells = <0>;
+					reg = <11>;
+				};
+
+				pioC_clk: pioC_clk {
+					#clock-cells = <0>;
+					reg = <12>;
+				};
+
+				usart0_clk: usart0_clk {
+					#clock-cells = <0>;
+					reg = <13>;
+				};
+
+				usart1_clk: usart1_clk {
+					#clock-cells = <0>;
+					reg = <14>;
+				};
+
+				usart2_clk: usart2_clk {
+					#clock-cells = <0>;
+					reg = <15>;
+				};
+
+				pioD_clk: pioD_clk {
+					#clock-cells = <0>;
+					reg = <16>;
+				};
+
+				pioE_clk: pioE_clk {
+					#clock-cells = <0>;
+					reg = <17>;
+				};
+
+				mci_clk: mci_clk {
+					#clock-cells = <0>;
+					reg = <18>;
+				};
+
+				twi0_clk: twi0_clk {
+					#clock-cells = <0>;
+					reg = <19>;
+				};
+
+				twi1_clk: twi1_clk {
+					#clock-cells = <0>;
+					reg = <20>;
+				};
+
+				spi0_clk: spi0_clk {
+					#clock-cells = <0>;
+					reg = <21>;
+				};
+
+				ssc_clk: ssc_clk {
+					#clock-cells = <0>;
+					reg = <22>;
+				};
+
+				tcb0_clk: tcb0_clk {
+					#clock-cells = <0>;
+					reg = <23>;
+				};
+
+				tcb1_clk: tcb1_clk {
+					#clock-cells = <0>;
+					reg = <24>;
+				};
+
+				tcb2_clk: tcb2_clk {
+					#clock-cells = <0>;
+					reg = <25>;
+				};
+
+				tcb3_clk: tcb3_clk {
+					#clock-cells = <0>;
+					reg = <26>;
+				};
+
+				tcb4_clk: tcb4_clk {
+					#clock-cells = <0>;
+					reg = <27>;
+				};
+
+				tcb5_clk: tcb5_clk {
+					#clock-cells = <0>;
+					reg = <28>;
+				};
+
+				afec0_clk: afec0_clk {
+					#clock-cells = <0>;
+					reg = <29>;
+				};
+
+				dacc_clk: dacc_clk {
+					#clock-cells = <0>;
+					reg = <30>;
+				};
+
+				pwm0_clk: pwm0_clk {
+					#clock-cells = <0>;
+					reg = <31>;
+				};
+
+				icm_clk: cim_clk {
+					#clock-cells = <0>;
+					reg = <32>;
+				};
+
+				acc_clk: acc_clk {
+					#clock-cells = <0>;
+					reg = <33>;
+				};
+
+				usbhs_clk: usbhs_clk {
+					#clock-cells = <0>;
+					reg = <34>;
+				};
+
+				can0_clk: can0_clk {
+					#clock-cells = <0>;
+					reg = <35>;
+				};
+
+				can1_clk: can1_clk {
+					#clock-cells = <0>;
+					reg = <37>;
+				};
+
+				macb_clk: macb_clk {
+					#clock-cells = <0>;
+					reg = <39>;
+				};
+
+				afec1_clk: afec1_clk {
+					#clock-cells = <0>;
+					reg = <40>;
+				};
+
+				twi2_clk: twi2_clk {
+					#clock-cells = <0>;
+					reg = <41>;
+				};
+
+				spi1_clk: spi1_clk {
+					#clock-cells = <0>;
+					reg = <42>;
+				};
+
+				qspi_clk: qspi_clk {
+					#clock-cells = <0>;
+					reg = <43>;
+				};
+
+				uart2_clk: uart2_clk {
+					#clock-cells = <0>;
+					reg = <44>;
+				};
+
+				uart3_clk: uart3_clk {
+					#clock-cells = <0>;
+					reg = <45>;
+				};
+
+				uart4_clk: uart4_clk {
+					#clock-cells = <0>;
+					reg = <46>;
+				};
+
+				tcb6_clk: tcb6_clk {
+					#clock-cells = <0>;
+					reg = <47>;
+				};
+
+				tcb7_clk: tcb7_clk {
+					#clock-cells = <0>;
+					reg = <48>;
+				};
+
+				tcb8_clk: tcb8_clk {
+					#clock-cells = <0>;
+					reg = <49>;
+				};
+
+				tcb9_clk: tcb9_clk {
+					#clock-cells = <0>;
+					reg = <50>;
+				};
+
+				tcb10_clk: tcb10_clk {
+					#clock-cells = <0>;
+					reg = <51>;
+				};
+
+				tcb11_clk: tcb11_clk {
+					#clock-cells = <0>;
+					reg = <52>;
+				};
+
+				aes_clk: aes_clk {
+					#clock-cells = <0>;
+					reg = <56>;
+				};
+
+				trng_clk: trng_clk {
+					#clock-cells = <0>;
+					reg = <57>;
+				};
+
+				dma_clk: dma_clk {
+					#clock-cells = <0>;
+					reg = <58>;
+				};
+
+				isi_clk: isi_clk {
+					#clock-cells = <0>;
+					reg = <59>;
+				};
+
+				pwm1_clk: pwm1_clk {
+					#clock-cells = <0>;
+					reg = <60>;
+				};
+
+				i2sc0_clk: i2sc0_clk {
+					#clock-cells = <0>;
+					reg = <69>;
+				};
+
+				i2sc1_clk: i2sc1_clk {
+					#clock-cells = <0>;
+					reg = <70>;
+				};
+			};
+		};
+
+		pinctrl at 0x400e0e00 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "atmel,sama5d3-pinctrl", "atmel,at91sam9x5-pinctrl", "simple-bus";
+			ranges = <0x400e0e00 0x400e0e00 0xa00>;
+
+			pioA: gpio at 0x400e0e00 {
+				compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+				reg = <0x400e0e00 0x200>;
+				interrupts = <10>;
+				#gpio-cells = <2>;
+				gpio-controller;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				clocks = <&pioA_clk>;
+			};
+
+			pioB: gpio at 0x400e1000 {
+				compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+				reg = <0x400e1000 0x200>;
+				interrupts = <11>;
+				#gpio-cells = <2>;
+				gpio-controller;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				clocks = <&pioB_clk>;
+			};
+
+			pioC: gpio at 0x400e1200 {
+				compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+				reg = <0x400e1200 0x200>;
+				interrupts = <12>;
+				#gpio-cells = <2>;
+				gpio-controller;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				clocks = <&pioC_clk>;
+			};
+
+			pioD: gpio at 0x400e1400 {
+				compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+				reg = <0x400e1400 0x200>;
+				interrupts = <16>;
+				#gpio-cells = <2>;
+				gpio-controller;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				clocks = <&pioD_clk>;
+			};
+
+			pioE: gpio at 0x400e1600 {
+				compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
+				reg = <0x400e1600 0x200>;
+				interrupts = <17>;
+				#gpio-cells = <2>;
+				gpio-controller;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				clocks = <&pioE_clk>;
+			};
+
+			macb {
+				pinctrl_macb_rmii: macb_rmii-0 {
+					atmel,pins =
+						<AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 4 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 5 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 6 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 7 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 8 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 AT91_PIOD 9 AT91_PERIPH_A AT91_PINCTRL_NONE
+						 >;
+				};
+			};
+
+			mmc {
+				pinctrl_mmc_clk_cmd_dat0: mmc_clk_cmd_dat0 {
+					atmel,pins =
+						<AT91_PIOA 25 AT91_PERIPH_D AT91_PINCTRL_NONE		/* MCI_CK */
+						 AT91_PIOA 28 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI_CDA */
+						 AT91_PIOA 30 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI_DB0 */
+						>;
+				};
+				pinctrl_mmc_dat1_3: mmc_dat1_3 {
+					atmel,pins =
+						<AT91_PIOA 31 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI_DB1 */
+						 AT91_PIOA 26 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI_DB2 */
+						 AT91_PIOA 27 AT91_PERIPH_C AT91_PINCTRL_PULL_UP	/* MCI_DB3 */
+						>;
+				};
+			};
+
+			i2c0 {
+				pinctrl_i2c0: i2c0-0 {
+					atmel,pins =
+						<AT91_PIOA 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* I2C0 data */
+						 AT91_PIOA 4 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* I2C0 clock */
+				};
+			};
+
+			i2c1 {
+				pinctrl_i2c1: i2c1-0 {
+					atmel,pins =
+						<AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE	/* I2C1 data */
+						 AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* I2C1 clock */
+				};
+			};
+
+			i2c2 {
+				pinctrl_i2c2: i2c2-0 {
+					atmel,pins =
+						<AT91_PIOD 27 AT91_PERIPH_C AT91_PINCTRL_NONE	/* I2C2 data */
+						 AT91_PIOD 28 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* I2C2 clock */
+				};
+			};
+
+			qspi {
+				pinctrl_qspi: qspi-0 {
+					atmel,pins =
+						<AT91_PIOA 14 AT91_PERIPH_A AT91_PINCTRL_NONE	/* QSCK */
+						 AT91_PIOA 11 AT91_PERIPH_A AT91_PINCTRL_NONE	/* QCS */
+						 AT91_PIOA 13 AT91_PERIPH_A AT91_PINCTRL_NONE	/* QIO0 */
+						 AT91_PIOA 12 AT91_PERIPH_A AT91_PINCTRL_NONE	/* QIO1 */
+						 AT91_PIOA 17 AT91_PERIPH_A AT91_PINCTRL_NONE	/* QIO2 */
+						 AT91_PIOD 31 AT91_PERIPH_A AT91_PINCTRL_NONE	/* QIO3 */
+						>;
+				};
+			};
+
+			usart0 {
+				pinctrl_usart0: usart0-0 {
+					atmel,pins =
+						<AT91_PIOB 0 AT91_PERIPH_C AT91_PINCTRL_NONE		/* RXD */
+						 AT91_PIOB 1 AT91_PERIPH_C AT91_PINCTRL_PULL_UP		/* TXD */
+						>;
+				};
+
+				pinctrl_usart0_rts: usart0_rts-0 {
+					atmel,pins = <AT91_PIOB 3 AT91_PERIPH_C AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_usart0_cts: usart0_cts-0 {
+					atmel,pins = <AT91_PIOB 2 AT91_PERIPH_C AT91_PINCTRL_NONE>;
+				};
+			};
+
+			usart1 {
+				pinctrl_usart1: usart1-0 {
+					atmel,pins =
+						<AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE		/* RXD */
+						 AT91_PIOB  4 AT91_PERIPH_D AT91_PINCTRL_PULL_UP	/* TXD */
+						>;
+				};
+
+				pinctrl_usart1_rts: usart1_rts-0 {
+					atmel,pins = <AT91_PIOA 24 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_usart1_cts: usart1_cts-0 {
+					atmel,pins = <AT91_PIOA 25 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+			};
+
+			usart2 {
+				pinctrl_usart2: usart2-0 {
+					atmel,pins =
+						<AT91_PIOD 15 AT91_PERIPH_B AT91_PINCTRL_NONE		/* RXD */
+						 AT91_PIOD 16 AT91_PERIPH_B AT91_PINCTRL_PULL_UP	/* TXD */
+						>;
+				};
+
+				pinctrl_usart2_rts: usart2_rts-0 {
+					atmel,pins = <AT91_PIOD 18 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_usart2_cts: usart2_cts-0 {
+					atmel,pins = <AT91_PIOD 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+			};
+
+			spi0 {
+				pinctrl_spi0: spi0-0 {
+					atmel,pins =
+						<AT91_PIOD 20 AT91_PERIPH_B AT91_PINCTRL_NONE	/* SPI0_MISO */
+						 AT91_PIOD 21 AT91_PERIPH_B AT91_PINCTRL_NONE	/* SPI0_MOSI */
+						 AT91_PIOD 22 AT91_PERIPH_B AT91_PINCTRL_NONE	/* SPI0_SPCK */
+						>;
+				};
+			};
+
+			spi1 {
+				pinctrl_spi1: spi1-0 {
+					atmel,pins =
+						<AT91_PIOC 26 AT91_PERIPH_C AT91_PINCTRL_NONE	/* SPI1_MISO */
+						 AT91_PIOC 27 AT91_PERIPH_C AT91_PINCTRL_NONE	/* SPI1_MOSI */
+						 AT91_PIOC 24 AT91_PERIPH_C AT91_PINCTRL_NONE	/* SPI1_SPCK */
+						>;
+				};
+			};
+
+			can0 {
+				pinctrl_can0_rx_tx: can0_rx_tx {
+					atmel,pins =
+						<AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* RX */
+						 AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;	/* TX */
+				};
+			};
+
+			can1 {
+				pinctrl_can1_rx_tx: can1_rx_tx {
+					atmel,pins =
+						<AT91_PIOC 12 AT91_PERIPH_C AT91_PINCTRL_NONE	/* RX */
+						 AT91_PIOC 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* TX */
+				};
+			};
+
+			pwm0 {
+				pinctrl_pwm0_pwmh0_0: pwm0_pwmh0-0 {
+					atmel,pins =
+						<AT91_PIOA 0 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh0_1: pwm0_pwmh0-1 {
+					atmel,pins =
+						<AT91_PIOA 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh0_2: pwm0_pwmh0-2 {
+					atmel,pins =
+						<AT91_PIOA 23 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh0_3: pwm0_pwmh0-3 {
+					atmel,pins =
+						<AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh0_4: pwm0_pwmh0-4 {
+					atmel,pins =
+						<AT91_PIOD 11 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh0_5: pwm0_pwmh0-5 {
+					atmel,pins =
+						<AT91_PIOD 20 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_pwm0_pwmh1_0: pwm0_pwmh1-0 {
+					atmel,pins =
+						<AT91_PIOA 2 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh1_1: pwm0_pwmh1-1 {
+					atmel,pins =
+						<AT91_PIOA 12 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh1_2: pwm0_pwmh1-2 {
+					atmel,pins =
+						<AT91_PIOA 24 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh1_3: pwm0_pwmh1-3 {
+					atmel,pins =
+						<AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh1_4: pwm0_pwmh1-4 {
+					atmel,pins =
+						<AT91_PIOD 21 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_pwm0_pwmh2_0: pwm0_pwmh2-0 {
+					atmel,pins =
+						<AT91_PIOA 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh2_1: pwm0_pwmh2-1 {
+					atmel,pins =
+						<AT91_PIOA 25 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh2_2: pwm0_pwmh2-2 {
+					atmel,pins =
+						<AT91_PIOB 4 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh2_3: pwm0_pwmh2-3 {
+					atmel,pins =
+						<AT91_PIOC 19 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh2_4: pwm0_pwmh2-4 {
+					atmel,pins =
+						<AT91_PIOD 22 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_pwm0_pwmh3_0: pwm0_pwmh3-0 {
+					atmel,pins =
+						<AT91_PIOA 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh3_1: pwm0_pwmh3-1 {
+					atmel,pins =
+						<AT91_PIOA 14 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh3_2: pwm0_pwmh3-2 {
+					atmel,pins =
+						<AT91_PIOA 17 AT91_PERIPH_C AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh3_3: pwm0_pwmh3-3 {
+					atmel,pins =
+						<AT91_PIOC 13 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh3_4: pwm0_pwmh3-4 {
+					atmel,pins =
+						<AT91_PIOC 21 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm0_pwmh3_5: pwm0_pwmh3-5 {
+					atmel,pins =
+						<AT91_PIOD 23 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+			};
+
+			pwm1 {
+				pinctrl_pwm1_pwmh0_0: pwm1_pwmh0-0 {
+					atmel,pins =
+						<AT91_PIOA 12 AT91_PERIPH_C AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm1_pwmh0_1: pwm1_pwmh0-1 {
+					atmel,pins =
+						<AT91_PIOD 1 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_pwm1_pwmh1_0: pwm1_pwmh1-0 {
+					atmel,pins =
+						<AT91_PIOA 14 AT91_PERIPH_C AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm1_pwmh1_1: pwm1_pwmh1-1 {
+					atmel,pins =
+						<AT91_PIOD 3 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_pwm1_pwmh2_0: pwm1_pwmh2-0 {
+					atmel,pins =
+						<AT91_PIOA 31 AT91_PERIPH_D AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm1_pwmh2_1: pwm1_pwmh2-1 {
+					atmel,pins =
+						<AT91_PIOD 5 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+
+				pinctrl_pwm1_pwmh3_0: pwm1_pwmh3-0 {
+					atmel,pins =
+						<AT91_PIOA 8 AT91_PERIPH_A AT91_PINCTRL_NONE>;
+				};
+				pinctrl_pwm1_pwmh3_1: pwm1_pwmh3-1 {
+					atmel,pins =
+						<AT91_PIOD 7 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+				};
+			};
+
+			ssc {
+				pinctrl_ssc_tx: ssc_tx {
+					atmel,pins =
+						<AT91_PIOB 1 AT91_PERIPH_D AT91_PINCTRL_NONE	/* TK */
+						 AT91_PIOB 0 AT91_PERIPH_D AT91_PINCTRL_NONE	/* TF */
+						 AT91_PIOD 26 AT91_PERIPH_B AT91_PINCTRL_NONE>;	/* TD */
+				};
+
+				pinctrl_ssc_rx: ssc_rx {
+					atmel,pins =
+						<AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE	/* RK */
+						 AT91_PIOD 24 AT91_PERIPH_B AT91_PINCTRL_NONE	/* RF */
+						 AT91_PIOA 10 AT91_PERIPH_C AT91_PINCTRL_NONE>;	/* RD */
+				};
+			};
+		};
+
+		chipid: chipid at 0x400e0940 {
+			compatible = "atmel,sama5d2-chipid";
+			reg = <0x400e0940 0xc0>;
+		};
+
+		rstc at 400e1800 {
+			compatible = "atmel,samx7-rstc";
+			reg = <0x400e1800 0x10>;
+			clocks = <&clk_slck>;
+		};
+
+		ssc: ssc at 40004000 {
+			compatible = "atmel,at91sam9g45-ssc";
+			reg = <0x40004000 0x4000>;
+			interrupts = <22>;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(32))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(33))>;
+			dma-names = "tx", "rx";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_ssc_tx &pinctrl_ssc_rx>;
+			clocks = <&ssc_clk>;
+			clock-names = "pclk";
+			status = "disabled";
+		};
+
+		pwm0: pwm at 40020000 {
+			compatible = "atmel,sama5d3-pwm";
+			reg = <0x40020000 0x4000>;
+			interrupts = <31>;
+			#pwm-cells = <3>;
+			clocks = <&pwm0_clk>;
+			status = "disabled";
+		};
+
+		pwm1: pwm at 4005c000 {
+			compatible = "atmel,sama5d3-pwm";
+			reg = <0x4005c000 0x4000>;
+			interrupts = <60>;
+			#pwm-cells = <3>;
+			clocks = <&pwm1_clk>;
+			status = "disabled";
+		};
+
+		watchdog at 400e1850 {
+			compatible = "atmel,at91sam9260-wdt";
+			reg = <0x400e1850 0x10>;
+			interrupts = <4>;
+			clocks = <&clk_slck>;
+			atmel,watchdog-type = "hardware";
+			atmel,reset-type = "all";
+			atmel,dbg-halt;
+			status = "disabled";
+		};
+
+		tcb0: timer at 4000c000 {
+			compatible = "atmel,at91rm9200-tcb";
+			reg = <0x4000c000 0x4000>;
+			interrupts = <23 24 25>;
+			clocks = <&tcb0_clk>, <&tcb1_clk>, <&tcb2_clk>, <&clk_slck>;
+			clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
+			status = "disabled";
+		};
+
+		tcb1: timer at 40010000 {
+			compatible = "atmel,at91rm9200-tcb";
+			reg = <0x40010000 0x4000>;
+			interrupts = <26 27 28>;
+			clocks = <&tcb3_clk>, <&tcb4_clk>, <&tcb5_clk>, <&clk_slck>;
+			clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
+			status = "disabled";
+		};
+
+		tcb2: timer at 40014000 {
+			compatible = "atmel,at91rm9200-tcb";
+			reg = <0x40014000 0x4000>;
+			interrupts = <47 48 49>;
+			clocks = <&tcb6_clk>, <&tcb7_clk>, <&tcb8_clk>, <&clk_slck>;
+			clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
+			status = "disabled";
+		};
+
+		tcb3: timer at 40054000 {
+			compatible = "atmel,at91rm9200-tcb";
+			reg = <0x40054000 0x4000>;
+			interrupts = <50 51 52>;
+			clocks = <&tcb9_clk>, <&tcb10_clk>, <&tcb11_clk>, <&clk_slck>;
+			clock-names = "t0_clk", "t1_clk", "t2_clk", "slow_clk";
+			status = "disabled";
+		};
+
+		dma: dma-controller at 40078000 {
+			compatible = "atmel,sama5d4-dma";
+			reg = <0x40078000 0x4000>;
+			interrupts = <58>;
+			#dma-cells = <1>;
+			clocks = <&dma_clk>;
+			clock-names = "dma_clk";
+			status = "disabled";
+		};
+
+		qspi: qspi at 4007c000 {
+			compatible = "atmel,sama5d2-qspi";
+			reg = <0x4007c000 0x4000>, <0x80000000 0x20000000>;
+			reg-names = "qspi_base", "qspi_mmap";
+			interrupts = <43>;
+			clocks = <&qspi_clk>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_qspi>;
+			status = "disabled";
+		};
+
+		aes at 4006c000 {
+			compatible = "atmel,at91sam9g46-aes";
+			reg = <0x4006c000 0x4000>;
+			interrupts = <56>;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(37))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(38))>;
+			dma-names = "tx", "rx";
+			clocks = <&aes_clk>;
+			clock-names = "aes_clk";
+			status = "disabled";
+		};
+
+		i2c0: i2c at 40018000 {
+			compatible = "atmel,sama5d2-i2c";
+			reg = <0x40018000 0x4000>;
+			interrupts = <19>;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(14))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(15))>;
+			dma-names = "tx", "rx";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&twi0_clk>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_i2c0>;
+			status = "disabled";
+		};
+
+		i2c1: i2c at 4001c000 {
+			compatible = "atmel,sama5d2-i2c";
+			reg = <0x4001c000 0x4000>;
+			interrupts = <20>;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(16))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(17))>;
+			dma-names = "tx", "rx";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&twi1_clk>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_i2c1>;
+			status = "disabled";
+		};
+
+		i2c2: i2c at 40060000 {
+			compatible = "atmel,sama5d2-i2c";
+			reg = <0x40060000 0x4000>;
+			interrupts = <41>;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(18))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(19))>;
+			dma-names = "tx", "rx";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&twi2_clk>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_i2c2>;
+			status = "disabled";
+		};
+
+		mmc0: mmc at 40000000 {
+			compatible = "atmel,hsmci";
+			reg = <0x40000000 0x4000>;
+			interrupts = <18>;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)
+				| AT91_XDMAC_DT_PERID(0))>;
+			dma-names = "rxtx";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_mmc_clk_cmd_dat0 &pinctrl_mmc_dat1_3>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&mci_clk>;
+			clock-names = "mci_clk";
+			status = "disabled";
+		};
+
+		spi0: spi at 40008000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "atmel,at91rm9200-spi";
+			reg = <0x40008000 0x4000>;
+			interrupts = <21>;
+			atmel,fifo-size = <0>;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(1))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(2))>;
+			dma-names = "tx", "rx";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_spi0>;
+			clocks = <&spi0_clk>;
+			clock-names = "spi_clk";
+			status = "disabled";
+		};
+
+		trng at 4007000 {
+			compatible = "atmel,at91sam9g45-trng";
+			reg = <0x40070000 0x4000>;
+			interrupts = <57>;
+			clocks = <&trng_clk>;
+			status = "disabled";
+		};
+
+		rtc at 400e1860 {
+			compatible = "atmel,at91rm9200-rtc";
+			reg = <0x400e1860 0x30>;
+			interrupts = <2>;
+			clocks = <&clk_slck>;
+			status = "disabled";
+		};
+
+		usart0: serial at 40024000 {
+			compatible = "atmel,at91sam9260-usart";
+			reg = <0x40024000 0x4000>;
+			interrupts = <13>;
+			clocks = <&usart0_clk>;
+			clock-names = "usart";
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(7))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(8))>;
+			dma-names = "tx", "rx";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usart0>;
+			status = "disabled";
+		};
+
+		usart1: serial at 40028000 {
+			compatible = "atmel,at91sam9260-usart";
+			reg = <0x40028000 0x4000>;
+			interrupts = <14>;
+			clocks = <&usart1_clk>;
+			clock-names = "usart";
+			atmel,use-dma-rx;
+			atmel,use-dma-tx;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(9))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(10))>;
+			dma-names = "tx", "rx";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usart1>;
+			status = "disabled";
+		};
+
+		usart2: serial at 4002c000 {
+			compatible = "atmel,same70-usart";
+			reg = <0x4002c000 0x4000>;
+			interrupts = <15>;
+			clocks =  <&usart2_clk>;
+			clock-names = "usart";
+			atmel,use-dma-rx;
+			atmel,use-dma-tx;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(11))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(12))>;
+			dma-names = "tx", "rx";
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usart2>;
+			status = "disabled";
+		};
+
+		uart0: serial at 400e0800 {
+			compatible = "atmel,at91sam9260-usart";
+			reg = <0x400e0800 0x140>;
+			interrupts = <7>;
+			clocks = <&uart0_clk>;
+			clock-names = "usart";
+			atmel,use-dma-rx;
+			atmel,use-dma-tx;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(20))>,
+			       <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(21))>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+
+		uart1: serial at 400e0a00 {
+			compatible = "atmel,at91sam9260-usart";
+			reg = <0x400e0a00 0x200>;
+			interrupts = <8>;
+			clocks = <&uart1_clk>;
+			clock-names = "usart";
+			atmel,use-dma-rx;
+			atmel,use-dma-tx;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(22))>,
+			       <&dma
+				 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(23))>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+
+		uart2: serial at 400e1a00 {
+			compatible = "atmel,at91sam9260-usart";
+			reg = <0x400e1a00 0x200>;
+			interrupts = <44>;
+			clocks = <&uart2_clk>;
+			clock-names = "usart";
+			atmel,use-dma-rx;
+			atmel,use-dma-tx;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(24))>,
+			       <&dma
+				 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(25))>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+
+		uart3: serial at 400e1c00 {
+			compatible = "atmel,at91sam9260-usart";
+			reg = <0x400e1c00 0x200>;
+			interrupts = <45>;
+			clocks = <&uart3_clk>;
+			clock-names = "usart";
+			atmel,use-dma-rx;
+			atmel,use-dma-tx;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(26))>,
+			       <&dma
+				 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(27))>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+
+		uart4: serial at 400e1e00 {
+			compatible = "atmel,at91sam9260-usart";
+			reg = <0x400e1e00 0x200>;
+			interrupts = <46>;
+			clocks = <&uart4_clk>;
+			clock-names = "usart";
+			atmel,use-dma-rx;
+			atmel,use-dma-tx;
+			dmas = <&dma
+				(AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(28))>,
+			       <&dma
+				 (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
+				 AT91_XDMAC_DT_PERID(29))>;
+			dma-names = "tx", "rx";
+			status = "disabled";
+		};
+	};
+};
-- 
2.9.3




More information about the linux-arm-kernel mailing list