diff options
41 files changed, 2461 insertions, 101 deletions
diff --git a/Documentation/devicetree/bindings/arm/fsl.txt b/Documentation/devicetree/bindings/arm/fsl.txt new file mode 100644 index 000000000000..e2401cd632ab --- /dev/null +++ b/Documentation/devicetree/bindings/arm/fsl.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | i.MX51 Babbage Board | ||
| 2 | Required root node properties: | ||
| 3 | - compatible = "fsl,imx51-babbage", "fsl,imx51"; | ||
| 4 | |||
| 5 | i.MX53 Automotive Reference Design Board | ||
| 6 | Required root node properties: | ||
| 7 | - compatible = "fsl,imx53-ard", "fsl,imx53"; | ||
| 8 | |||
| 9 | i.MX53 Evaluation Kit | ||
| 10 | Required root node properties: | ||
| 11 | - compatible = "fsl,imx53-evk", "fsl,imx53"; | ||
| 12 | |||
| 13 | i.MX53 Quick Start Board | ||
| 14 | Required root node properties: | ||
| 15 | - compatible = "fsl,imx53-qsb", "fsl,imx53"; | ||
| 16 | |||
| 17 | i.MX53 Smart Mobile Reference Design Board | ||
| 18 | Required root node properties: | ||
| 19 | - compatible = "fsl,imx53-smd", "fsl,imx53"; | ||
diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt new file mode 100644 index 000000000000..52916b4aa1fe --- /dev/null +++ b/Documentation/devicetree/bindings/arm/gic.txt | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | * ARM Generic Interrupt Controller | ||
| 2 | |||
| 3 | ARM SMP cores are often associated with a GIC, providing per processor | ||
| 4 | interrupts (PPI), shared processor interrupts (SPI) and software | ||
| 5 | generated interrupts (SGI). | ||
| 6 | |||
| 7 | Primary GIC is attached directly to the CPU and typically has PPIs and SGIs. | ||
| 8 | Secondary GICs are cascaded into the upward interrupt controller and do not | ||
| 9 | have PPIs or SGIs. | ||
| 10 | |||
| 11 | Main node required properties: | ||
| 12 | |||
| 13 | - compatible : should be one of: | ||
| 14 | "arm,cortex-a9-gic" | ||
| 15 | "arm,arm11mp-gic" | ||
| 16 | - interrupt-controller : Identifies the node as an interrupt controller | ||
| 17 | - #interrupt-cells : Specifies the number of cells needed to encode an | ||
| 18 | interrupt source. The type shall be a <u32> and the value shall be 3. | ||
| 19 | |||
| 20 | The 1st cell is the interrupt type; 0 for SPI interrupts, 1 for PPI | ||
| 21 | interrupts. | ||
| 22 | |||
| 23 | The 2nd cell contains the interrupt number for the interrupt type. | ||
| 24 | SPI interrupts are in the range [0-987]. PPI interrupts are in the | ||
| 25 | range [0-15]. | ||
| 26 | |||
| 27 | The 3rd cell is the flags, encoded as follows: | ||
| 28 | bits[3:0] trigger type and level flags. | ||
| 29 | 1 = low-to-high edge triggered | ||
| 30 | 2 = high-to-low edge triggered | ||
| 31 | 4 = active high level-sensitive | ||
| 32 | 8 = active low level-sensitive | ||
| 33 | bits[15:8] PPI interrupt cpu mask. Each bit corresponds to each of | ||
| 34 | the 8 possible cpus attached to the GIC. A bit set to '1' indicated | ||
| 35 | the interrupt is wired to that CPU. Only valid for PPI interrupts. | ||
| 36 | |||
| 37 | - reg : Specifies base physical address(s) and size of the GIC registers. The | ||
| 38 | first region is the GIC distributor register base and size. The 2nd region is | ||
| 39 | the GIC cpu interface register base and size. | ||
| 40 | |||
| 41 | Optional | ||
| 42 | - interrupts : Interrupt source of the parent interrupt controller. Only | ||
| 43 | present on secondary GICs. | ||
| 44 | |||
| 45 | Example: | ||
| 46 | |||
| 47 | intc: interrupt-controller@fff11000 { | ||
| 48 | compatible = "arm,cortex-a9-gic"; | ||
| 49 | #interrupt-cells = <3>; | ||
| 50 | #address-cells = <1>; | ||
| 51 | interrupt-controller; | ||
| 52 | reg = <0xfff11000 0x1000>, | ||
| 53 | <0xfff10100 0x100>; | ||
| 54 | }; | ||
| 55 | |||
diff --git a/Documentation/devicetree/bindings/tty/serial/msm_serial.txt b/Documentation/devicetree/bindings/tty/serial/msm_serial.txt new file mode 100644 index 000000000000..aef383eb8876 --- /dev/null +++ b/Documentation/devicetree/bindings/tty/serial/msm_serial.txt | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | * Qualcomm MSM UART | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : | ||
| 5 | - "qcom,msm-uart", and one of "qcom,msm-hsuart" or | ||
| 6 | "qcom,msm-lsuart". | ||
| 7 | - reg : offset and length of the register set for the device | ||
| 8 | for the hsuart operating in compatible mode, there should be a | ||
| 9 | second pair describing the gsbi registers. | ||
| 10 | - interrupts : should contain the uart interrupt. | ||
| 11 | |||
| 12 | There are two different UART blocks used in MSM devices, | ||
| 13 | "qcom,msm-hsuart" and "qcom,msm-lsuart". The msm-serial driver is | ||
| 14 | able to handle both of these, and matches against the "qcom,msm-uart" | ||
| 15 | as the compatibility. | ||
| 16 | |||
| 17 | The registers for the "qcom,msm-hsuart" device need to specify both | ||
| 18 | register blocks, even for the common driver. | ||
| 19 | |||
| 20 | Example: | ||
| 21 | |||
| 22 | uart@19c400000 { | ||
| 23 | compatible = "qcom,msm-hsuart", "qcom,msm-uart"; | ||
| 24 | reg = <0x19c40000 0x1000>, | ||
| 25 | <0x19c00000 0x1000>; | ||
| 26 | interrupts = <195>; | ||
| 27 | }; | ||
diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi new file mode 100644 index 000000000000..aeef04269cf8 --- /dev/null +++ b/arch/arm/boot/dts/at91sam9g20.dtsi | |||
| @@ -0,0 +1,119 @@ | |||
| 1 | /* | ||
| 2 | * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 family SoC | ||
| 3 | * | ||
| 4 | * Copyright (C) 2011 Atmel, | ||
| 5 | * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>, | ||
| 6 | * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | ||
| 7 | * | ||
| 8 | * Licensed under GPLv2 or later. | ||
| 9 | */ | ||
| 10 | |||
| 11 | /include/ "skeleton.dtsi" | ||
| 12 | |||
| 13 | / { | ||
| 14 | model = "Atmel AT91SAM9G20 family SoC"; | ||
| 15 | compatible = "atmel,at91sam9g20"; | ||
| 16 | interrupt-parent = <&aic>; | ||
| 17 | |||
| 18 | aliases { | ||
| 19 | serial0 = &dbgu; | ||
| 20 | |||
