diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 17:53:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-22 17:53:38 -0400 |
commit | 8181780c163e7111f15619067cfa044172d532e1 (patch) | |
tree | 7eec99ddd1b20e9018edfba5c05a179b317c27fe /Documentation | |
parent | 7235dd74a4733d4b3651349b5261d2e06996427d (diff) | |
parent | 99ce39e359fa29e4b609a6a13485e7573eda5dfb (diff) |
Merge branch 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6
* 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6:
dt: include linux/errno.h in linux/of_address.h
of/address: Add of_find_matching_node_by_address helper
dt: remove extra xsysace platform_driver registration
tty/serial: Add devicetree support for nVidia Tegra serial ports
dt: add empty of_property_read_u32[_array] for non-dt
dt: bindings: move SEC node under new crypto/
dt: add helper function to read u32 arrays
tty/serial: change of_serial to use new of_property_read_u32() api
dt: add 'const' for of_property_read_string parameter **out_string
dt: add helper functions to read u32 and string property values
tty: of_serial: support for 32 bit accesses
dt: document the of_serial bindings
dt/platform: allow device name to be overridden
drivers/amba: create devices from device tree
dt: add of_platform_populate() for creating device from the device tree
dt: Add default match table for bus ids
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/arm/primecell.txt | 21 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/crypto/fsl-sec2.txt (renamed from Documentation/devicetree/bindings/powerpc/fsl/sec.txt) | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/tty/serial/of-serial.txt | 36 |
3 files changed, 58 insertions, 1 deletions
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/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/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 | }; | ||