diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 01:56:19 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 01:56:19 -0400 |
commit | 18d4ed4342c14ebeebe60d267b171053efcdfa87 (patch) | |
tree | f315e77f66cbb70869e2f80cde5c18380a80901e /Documentation/devicetree | |
parent | 722d0daf2b607a32dad1357bf797e3803484af0a (diff) | |
parent | 22de4534ae12d61257fc0e53d2571686b03305bc (diff) |
Merge branch 'for-3.1' into for-3.2
Conflict due to the fix for the register map failure - taken the for-3.1
version.
Conflicts:
sound/soc/codecs/sgtl5000.c
Diffstat (limited to 'Documentation/devicetree')
25 files changed, 402 insertions, 10 deletions
diff --git a/Documentation/devicetree/bindings/arm/arm-boards b/Documentation/devicetree/bindings/arm/arm-boards new file mode 100644 index 000000000000..91f26148af79 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/arm-boards | |||
@@ -0,0 +1,20 @@ | |||
1 | ARM Versatile Application and Platform Baseboards | ||
2 | ------------------------------------------------- | ||
3 | ARM's development hardware platform with connectors for customizable | ||
4 | core tiles. The hardware configuration of the Versatile boards is | ||
5 | highly customizable. | ||
6 | |||
7 | Required properties (in root node): | ||
8 | compatible = "arm,versatile-ab"; /* Application baseboard */ | ||
9 | compatible = "arm,versatile-pb"; /* Platform baseboard */ | ||
10 | |||
11 | Interrupt controllers: | ||
12 | - VIC required properties: | ||
13 | compatible = "arm,versatile-vic"; | ||
14 | interrupt-controller; | ||
15 | #interrupt-cells = <1>; | ||
16 | |||
17 | - SIC required properties: | ||
18 | compatible = "arm,versatile-sic"; | ||
19 | interrupt-controller; | ||
20 | #interrupt-cells = <1>; | ||
diff --git a/Documentation/devicetree/bindings/arm/pmu.txt b/Documentation/devicetree/bindings/arm/pmu.txt new file mode 100644 index 000000000000..1c044eb320cc --- /dev/null +++ b/Documentation/devicetree/bindings/arm/pmu.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | * ARM Performance Monitor Units | ||
2 | |||
3 | ARM cores often have a PMU for counting cpu and cache events like cache misses | ||
4 | and hits. The interface to the PMU is part of the ARM ARM. The ARM PMU | ||
5 | representation in the device tree should be done as under:- | ||
6 | |||
7 | Required properties: | ||
8 | |||
9 | - compatible : should be one of | ||
10 | "arm,cortex-a9-pmu" | ||
11 | "arm,cortex-a8-pmu" | ||
12 | "arm,arm1176-pmu" | ||
13 | "arm,arm1136-pmu" | ||
14 | - interrupts : 1 combined interrupt or 1 per core. | ||
15 | |||
16 | Example: | ||
17 | |||
18 | pmu { | ||
19 | compatible = "arm,cortex-a9-pmu"; | ||
20 | interrupts = <100 101>; | ||
21 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/primecell.txt b/Documentation/devicetree/bindings/arm/primecell.txt new file mode 100644 index 000000000000..1d5d7a870ec7 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/primecell.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | * ARM Primecell Peripherals | ||
2 | |||
3 | ARM, Ltd. Primecell peripherals have a standard id register that can be used to | ||
4 | identify the peripheral type, vendor, and revision. This value can be used for | ||
5 | driver matching. | ||
6 | |||
7 | Required properties: | ||
8 | |||
9 | - compatible : should be a specific value for peripheral and "arm,primecell" | ||
10 | |||
11 | Optional properties: | ||
12 | |||
13 | - arm,primecell-periphid : Value to override the h/w value with | ||
14 | |||
15 | Example: | ||
16 | |||
17 | serial@fff36000 { | ||
18 | compatible = "arm,pl011", "arm,primecell"; | ||
19 | arm,primecell-periphid = <0x00341011>; | ||
20 | }; | ||
21 | |||
diff --git a/Documentation/devicetree/bindings/arm/sirf.txt b/Documentation/devicetree/bindings/arm/sirf.txt new file mode 100644 index 000000000000..6b07f65b32de --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sirf.txt | |||
@@ -0,0 +1,3 @@ | |||
1 | prima2 "cb" evalutation board | ||
2 | Required root node properties: | ||
3 | - compatible = "sirf,prima2-cb", "sirf,prima2"; | ||
diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt new file mode 100644 index 000000000000..6f1ed830b4f7 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/xilinx.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | Xilinx Zynq EP107 Emulation Platform board | ||
2 | |||
3 | This board is an emulation platform for the Zynq product which is | ||
4 | based on an ARM Cortex A9 processor. | ||
5 | |||
6 | Required root node properties: | ||
7 | - compatible = "xlnx,zynq-ep107"; | ||
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/sec.txt b/Documentation/devicetree/bindings/crypto/fsl-sec2.txt index 2b6f2d45c45a..38988ef1336b 100644 --- a/Documentation/devicetree/bindings/powerpc/fsl/sec.txt +++ b/Documentation/devicetree/bindings/crypto/fsl-sec2.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | Freescale SoC SEC Security Engines | 1 | Freescale SoC SEC Security Engines versions 2.x-3.x |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | 4 | ||
diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt new file mode 100644 index 000000000000..d1e3f443e205 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | * Freescale Smart Direct Memory Access (SDMA) Controller for i.MX | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Should be "fsl,<chip>-sdma" | ||
5 | - reg : Should contain SDMA registers location and length | ||
6 | - interrupts : Should contain SDMA interrupt | ||
7 | - fsl,sdma-ram-script-name : Should contain the full path of SDMA RAM | ||
8 | scripts firmware | ||
9 | |||
10 | Examples: | ||
11 | |||
12 | sdma@83fb0000 { | ||
13 | compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; | ||
14 | reg = <0x83fb0000 0x4000>; | ||
15 | interrupts = <6>; | ||
16 | fsl,sdma-ram-script-name = "sdma-imx51.bin"; | ||
17 | }; | ||
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt new file mode 100644 index 000000000000..4363ae4b3c14 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | * Freescale i.MX/MXC GPIO controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Should be "fsl,<soc>-gpio" | ||
5 | - reg : Address and length of the register set for the device | ||
6 | - interrupts : Should be the port interrupt shared by all 32 pins, if | ||
7 | one number. If two numbers, the first one is the interrupt shared | ||
8 | by low 16 pins and the second one is for high 16 pins. | ||
9 | - gpio-controller : Marks the device node as a gpio controller. | ||
10 | - #gpio-cells : Should be two. The first cell is the pin number and | ||
11 | the second cell is used to specify optional parameters (currently | ||
12 | unused). | ||
13 | |||
14 | Example: | ||
15 | |||
16 | gpio0: gpio@73f84000 { | ||
17 | compatible = "fsl,imx51-gpio", "fsl,imx31-gpio"; | ||
18 | reg = <0x73f84000 0x4000>; | ||
19 | interrupts = <50 51>; | ||
20 | gpio-controller; | ||
21 | #gpio-cells = <2>; | ||
22 | }; | ||
diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt index edaa84d288a1..4e16ba4feab0 100644 --- a/Documentation/devicetree/bindings/gpio/gpio.txt +++ b/Documentation/devicetree/bindings/gpio/gpio.txt | |||
@@ -4,17 +4,45 @@ Specifying GPIO information for devices | |||
4 | 1) gpios property | 4 | 1) gpios property |
5 | ----------------- | 5 | ----------------- |
6 | 6 | ||
7 | Nodes that makes use of GPIOs should define them using `gpios' property, | 7 | Nodes that makes use of GPIOs should specify them using one or more |
8 | format of which is: <&gpio-controller1-phandle gpio1-specifier | 8 | properties, each containing a 'gpio-list': |
9 | &gpio-controller2-phandle gpio2-specifier | ||
10 | 0 /* holes are permitted, means no GPIO 3 */ | ||
11 | &gpio-controller4-phandle gpio4-specifier | ||
12 | ...>; | ||
13 | 9 | ||
14 | Note that gpio-specifier length is controller dependent. | 10 | gpio-list ::= <single-gpio> [gpio-list] |
11 | single-gpio ::= <gpio-phandle> <gpio-specifier> | ||
12 | gpio-phandle : phandle to gpio controller node | ||
13 | gpio-specifier : Array of #gpio-cells specifying specific gpio | ||
14 | (controller specific) | ||
15 | |||
16 | GPIO properties should be named "[<name>-]gpios". Exact | ||
17 | meaning of each gpios property must be documented in the device tree | ||
18 | binding for each device. | ||
19 | |||
20 | For example, the following could be used to describe gpios pins to use | ||
21 | as chip select lines; with chip selects 0, 1 and 3 populated, and chip | ||
22 | select 2 left empty: | ||
23 | |||
24 | gpio1: gpio1 { | ||
25 | gpio-controller | ||
26 | #gpio-cells = <2>; | ||
27 | }; | ||
28 | gpio2: gpio2 { | ||
29 | gpio-controller | ||
30 | #gpio-cells = <1>; | ||
31 | }; | ||
32 | [...] | ||
33 | chipsel-gpios = <&gpio1 12 0>, | ||
34 | <&gpio1 13 0>, | ||
35 | <0>, /* holes are permitted, means no GPIO 2 */ | ||
36 | <&gpio2 2>; | ||
37 | |||
38 | Note that gpio-specifier length is controller dependent. In the | ||
39 | above example, &gpio1 uses 2 cells to specify a gpio, while &gpio2 | ||
40 | only uses one. | ||
15 | 41 | ||
16 | gpio-specifier may encode: bank, pin position inside the bank, | 42 | gpio-specifier may encode: bank, pin position inside the bank, |
17 | whether pin is open-drain and whether pin is logically inverted. | 43 | whether pin is open-drain and whether pin is logically inverted. |
44 | Exact meaning of each specifier cell is controller specific, and must | ||
45 | be documented in the device tree binding for the device. | ||
18 | 46 | ||
19 | Example of the node using GPIOs: | 47 | Example of the node using GPIOs: |
20 | 48 | ||
@@ -28,8 +56,8 @@ and empty GPIO flags as accepted by the "qe_pio_e" gpio-controller. | |||
28 | 2) gpio-controller nodes | 56 | 2) gpio-controller nodes |
29 | ------------------------ | 57 | ------------------------ |
30 | 58 | ||
31 | Every GPIO controller node must have #gpio-cells property defined, | 59 | Every GPIO controller node must both an empty "gpio-controller" |
32 | this information will be used to translate gpio-specifiers. | 60 | property, and have #gpio-cells contain the size of the gpio-specifier. |
33 | 61 | ||
34 | Example of two SOC GPIO banks defined as gpio-controller nodes: | 62 | Example of two SOC GPIO banks defined as gpio-controller nodes: |
35 | 63 | ||
diff --git a/Documentation/devicetree/bindings/gpio/gpio_keys.txt b/Documentation/devicetree/bindings/gpio/gpio_keys.txt new file mode 100644 index 000000000000..5c2c02140a62 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio_keys.txt | |||
@@ -0,0 +1,36 @@ | |||
1 | Device-Tree bindings for input/gpio_keys.c keyboard driver | ||
2 | |||
3 | Required properties: | ||
4 | - compatible = "gpio-keys"; | ||
5 | |||
6 | Optional properties: | ||
7 | - autorepeat: Boolean, Enable auto repeat feature of Linux input | ||
8 | subsystem. | ||
9 | |||
10 | Each button (key) is represented as a sub-node of "gpio-keys": | ||
11 | Subnode properties: | ||
12 | |||
13 | - gpios: OF device-tree gpio specification. | ||
14 | - label: Descriptive name of the key. | ||
15 | - linux,code: Keycode to emit. | ||
16 | |||
17 | Optional subnode-properties: | ||
18 | - linux,input-type: Specify event type this button/key generates. | ||
19 | If not specified defaults to <1> == EV_KEY. | ||
20 | - debounce-interval: Debouncing interval time in milliseconds. | ||
21 | If not specified defaults to 5. | ||
22 | - gpio-key,wakeup: Boolean, button can wake-up the system. | ||
23 | |||
24 | Example nodes: | ||
25 | |||
26 | gpio_keys { | ||
27 | compatible = "gpio-keys"; | ||
28 | #address-cells = <1>; | ||
29 | #size-cells = <0>; | ||
30 | autorepeat; | ||
31 | button@21 { | ||
32 | label = "GPIO Key UP"; | ||
33 | linux,code = <103>; | ||
34 | gpios = <&gpio1 0 1>; | ||
35 | }; | ||
36 | ... | ||
diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt new file mode 100644 index 000000000000..eb4b530d64e1 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | NVIDIA Tegra 2 GPIO controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "nvidia,tegra20-gpio" | ||
5 | - #gpio-cells : Should be two. The first cell is the pin number and the | ||
6 | second cell is used to specify optional parameters: | ||
7 | - bit 0 specifies polarity (0 for normal, 1 for inverted) | ||
8 | - gpio-controller : Marks the device node as a GPIO controller. | ||
diff --git a/Documentation/devicetree/bindings/i2c/arm-versatile.txt b/Documentation/devicetree/bindings/i2c/arm-versatile.txt new file mode 100644 index 000000000000..361d31c51b6f --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/arm-versatile.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | i2c Controller on ARM Versatile platform: | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Must be "arm,versatile-i2c"; | ||
5 | - reg | ||
6 | - #address-cells = <1>; | ||
7 | - #size-cells = <0>; | ||
8 | |||
9 | Optional properties: | ||
10 | - Child nodes conforming to i2c bus binding | ||
diff --git a/Documentation/devicetree/bindings/input/fsl-mma8450.txt b/Documentation/devicetree/bindings/input/fsl-mma8450.txt new file mode 100644 index 000000000000..a00c94ccbdee --- /dev/null +++ b/Documentation/devicetree/bindings/input/fsl-mma8450.txt | |||
@@ -0,0 +1,11 @@ | |||
1 | * Freescale MMA8450 3-Axis Accelerometer | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "fsl,mma8450". | ||
5 | |||
6 | Example: | ||
7 | |||
8 | accelerometer: mma8450@1c { | ||
9 | compatible = "fsl,mma8450"; | ||
10 | reg = <0x1c>; | ||
11 | }; | ||
diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt new file mode 100644 index 000000000000..ab22fe6e73ab --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | |||
@@ -0,0 +1,34 @@ | |||
1 | * Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX | ||
2 | |||
3 | The Enhanced Secure Digital Host Controller on Freescale i.MX family | ||
4 | provides an interface for MMC, SD, and SDIO types of memory cards. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible : Should be "fsl,<chip>-esdhc" | ||
8 | - reg : Should contain eSDHC registers location and length | ||
9 | - interrupts : Should contain eSDHC interrupt | ||
10 | |||
11 | Optional properties: | ||
12 | - fsl,card-wired : Indicate the card is wired to host permanently | ||
13 | - fsl,cd-internal : Indicate to use controller internal card detection | ||
14 | - fsl,wp-internal : Indicate to use controller internal write protection | ||
15 | - cd-gpios : Specify GPIOs for card detection | ||
16 | - wp-gpios : Specify GPIOs for write protection | ||
17 | |||
18 | Examples: | ||
19 | |||
20 | esdhc@70004000 { | ||
21 | compatible = "fsl,imx51-esdhc"; | ||
22 | reg = <0x70004000 0x4000>; | ||
23 | interrupts = <1>; | ||
24 | fsl,cd-internal; | ||
25 | fsl,wp-internal; | ||
26 | }; | ||
27 | |||
28 | esdhc@70008000 { | ||
29 | compatible = "fsl,imx51-esdhc"; | ||
30 | reg = <0x70008000 0x4000>; | ||
31 | interrupts = <2>; | ||
32 | cd-gpios = <&gpio0 6 0>; /* GPIO1_6 */ | ||
33 | wp-gpios = <&gpio0 5 0>; /* GPIO1_5 */ | ||
34 | }; | ||
diff --git a/Documentation/devicetree/bindings/mtd/arm-versatile.txt b/Documentation/devicetree/bindings/mtd/arm-versatile.txt new file mode 100644 index 000000000000..476845db94d0 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/arm-versatile.txt | |||
@@ -0,0 +1,8 @@ | |||
1 | Flash device on ARM Versatile board | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : must be "arm,versatile-flash"; | ||
5 | - bank-width : width in bytes of flash interface. | ||
6 | |||
7 | Optional properties: | ||
8 | - Subnode partition map from mtd flash binding | ||
diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt index 1a729f089866..1a729f089866 100755..100644 --- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt +++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | |||
diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt new file mode 100644 index 000000000000..de439517dff0 --- /dev/null +++ b/Documentation/devicetree/bindings/net/fsl-fec.txt | |||
@@ -0,0 +1,24 @@ | |||
1 | * Freescale Fast Ethernet Controller (FEC) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Should be "fsl,<soc>-fec" | ||
5 | - reg : Address and length of the register set for the device | ||
6 | - interrupts : Should contain fec interrupt | ||
7 | - phy-mode : String, operation mode of the PHY interface. | ||
8 | Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii", | ||
9 | "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii". | ||
10 | - phy-reset-gpios : Should specify the gpio for phy reset | ||
11 | |||
12 | Optional properties: | ||
13 | - local-mac-address : 6 bytes, mac address | ||
14 | |||
15 | Example: | ||
16 | |||
17 | fec@83fec000 { | ||
18 | compatible = "fsl,imx51-fec", "fsl,imx27-fec"; | ||
19 | reg = <0x83fec000 0x4000>; | ||
20 | interrupts = <87>; | ||
21 | phy-mode = "mii"; | ||
22 | phy-reset-gpios = <&gpio1 14 0>; /* GPIO2_14 */ | ||
23 | local-mac-address = [00 04 9F 01 1B B9]; | ||
24 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/smsc-lan91c111.txt b/Documentation/devicetree/bindings/net/smsc-lan91c111.txt new file mode 100644 index 000000000000..953049b4248a --- /dev/null +++ b/Documentation/devicetree/bindings/net/smsc-lan91c111.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | SMSC LAN91c111 Ethernet mac | ||
2 | |||
3 | Required properties: | ||
4 | - compatible = "smsc,lan91c111"; | ||
5 | - reg : physical address and size of registers | ||
6 | - interrupts : interrupt connection | ||
7 | |||
8 | Optional properties: | ||
9 | - phy-device : phandle to Ethernet phy | ||
10 | - local-mac-address : Ethernet mac address to use | ||
diff --git a/Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt b/Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt new file mode 100644 index 000000000000..a2891ceb6344 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/olpc-xo1-rtc.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | OLPC XO-1 RTC | ||
2 | ~~~~~~~~~~~~~ | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : "olpc,xo1-rtc" | ||
diff --git a/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt new file mode 100644 index 000000000000..9841057d112b --- /dev/null +++ b/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt | |||
@@ -0,0 +1,22 @@ | |||
1 | * Freescale (Enhanced) Configurable Serial Peripheral Interface | ||
2 | (CSPI/eCSPI) for i.MX | ||
3 | |||
4 | Required properties: | ||
5 | - compatible : Should be "fsl,<soc>-cspi" or "fsl,<soc>-ecspi" | ||
6 | - reg : Offset and length of the register set for the device | ||
7 | - interrupts : Should contain CSPI/eCSPI interrupt | ||
8 | - fsl,spi-num-chipselects : Contains the number of the chipselect | ||
9 | - cs-gpios : Specifies the gpio pins to be used for chipselects. | ||
10 | |||
11 | Example: | ||
12 | |||
13 | ecspi@70010000 { | ||
14 | #address-cells = <1>; | ||
15 | #size-cells = <0>; | ||
16 | compatible = "fsl,imx51-ecspi"; | ||
17 | reg = <0x70010000 0x4000>; | ||
18 | interrupts = <36>; | ||
19 | fsl,spi-num-chipselects = <2>; | ||
20 | cs-gpios = <&gpio3 24 0>, /* GPIO4_24 */ | ||
21 | <&gpio3 25 0>; /* GPIO4_25 */ | ||
22 | }; | ||
diff --git a/Documentation/devicetree/bindings/spi/spi_nvidia.txt b/Documentation/devicetree/bindings/spi/spi_nvidia.txt new file mode 100644 index 000000000000..6b9e51896693 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi_nvidia.txt | |||
@@ -0,0 +1,5 @@ | |||
1 | NVIDIA Tegra 2 SPI device | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : should be "nvidia,tegra20-spi". | ||
5 | - gpios : should specify GPIOs used for chipselect. | ||
diff --git a/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt new file mode 100644 index 000000000000..a9c0406280e8 --- /dev/null +++ b/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | * Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Should be "fsl,<soc>-uart" | ||
5 | - reg : Address and length of the register set for the device | ||
6 | - interrupts : Should contain uart interrupt | ||
7 | |||
8 | Optional properties: | ||
9 | - fsl,uart-has-rtscts : Indicate the uart has rts and cts | ||
10 | - fsl,irda-mode : Indicate the uart supports irda mode | ||
11 | |||
12 | Example: | ||
13 | |||
14 | uart@73fbc000 { | ||
15 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; | ||
16 | reg = <0x73fbc000 0x4000>; | ||
17 | interrupts = <31>; | ||
18 | fsl,uart-has-rtscts; | ||
19 | }; | ||
diff --git a/Documentation/devicetree/bindings/tty/serial/of-serial.txt b/Documentation/devicetree/bindings/tty/serial/of-serial.txt new file mode 100644 index 000000000000..b8b27b0aca10 --- /dev/null +++ b/Documentation/devicetree/bindings/tty/serial/of-serial.txt | |||
@@ -0,0 +1,36 @@ | |||
1 | * UART (Universal Asynchronous Receiver/Transmitter) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : one of: | ||
5 | - "ns8250" | ||
6 | - "ns16450" | ||
7 | - "ns16550a" | ||
8 | - "ns16550" | ||
9 | - "ns16750" | ||
10 | - "ns16850" | ||
11 | - "nvidia,tegra20-uart" | ||
12 | - "ibm,qpace-nwp-serial" | ||
13 | - "serial" if the port type is unknown. | ||
14 | - reg : offset and length of the register set for the device. | ||
15 | - interrupts : should contain uart interrupt. | ||
16 | - clock-frequency : the input clock frequency for the UART. | ||
17 | |||
18 | Optional properties: | ||
19 | - current-speed : the current active speed of the UART. | ||
20 | - reg-offset : offset to apply to the mapbase from the start of the registers. | ||
21 | - reg-shift : quantity to shift the register offsets by. | ||
22 | - reg-io-width : the size (in bytes) of the IO accesses that should be | ||
23 | performed on the device. There are some systems that require 32-bit | ||
24 | accesses to the UART (e.g. TI davinci). | ||
25 | - used-by-rtas : set to indicate that the port is in use by the OpenFirmware | ||
26 | RTAS and should not be registered. | ||
27 | |||
28 | Example: | ||
29 | |||
30 | uart@80230000 { | ||
31 | compatible = "ns8250"; | ||
32 | reg = <0x80230000 0x100>; | ||
33 | clock-frequency = <3686400>; | ||
34 | interrupts = <10>; | ||
35 | reg-shift = <2>; | ||
36 | }; | ||
diff --git a/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt new file mode 100644 index 000000000000..2144af1a5264 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | * Freescale i.MX Watchdog Timer (WDT) Controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Should be "fsl,<soc>-wdt" | ||
5 | - reg : Should contain WDT registers location and length | ||
6 | - interrupts : Should contain WDT interrupt | ||
7 | |||
8 | Examples: | ||
9 | |||
10 | wdt@73f98000 { | ||
11 | compatible = "fsl,imx51-wdt", "fsl,imx21-wdt"; | ||
12 | reg = <0x73f98000 0x4000>; | ||
13 | interrupts = <58>; | ||
14 | }; | ||
diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt new file mode 100644 index 000000000000..79ead8263ae4 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.txt | |||
@@ -0,0 +1,11 @@ | |||
1 | * Samsung's Watchdog Timer Controller | ||
2 | |||
3 | The Samsung's Watchdog controller is used for resuming system operation | ||
4 | after a preset amount of time during which the WDT reset event has not | ||
5 | occured. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible : should be "samsung,s3c2410-wdt" | ||
9 | - reg : base physical address of the controller and length of memory mapped | ||
10 | region. | ||
11 | - interrupts : interrupt number to the cpu. | ||