diff options
Diffstat (limited to 'Documentation/devicetree')
62 files changed, 1025 insertions, 92 deletions
diff --git a/Documentation/devicetree/bindings/arm/armada-370-xp-mpic.txt b/Documentation/devicetree/bindings/arm/armada-370-xp-mpic.txt new file mode 100644 index 000000000000..70c0dc5f00ed --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armada-370-xp-mpic.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | Marvell Armada 370 and Armada XP Interrupt Controller | ||
2 | ----------------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible: Should be "marvell,mpic" | ||
6 | - interrupt-controller: Identifies the node as an interrupt controller. | ||
7 | - #interrupt-cells: The number of cells to define the interrupts. Should be 1. | ||
8 | The cell is the IRQ number | ||
9 | - reg: Should contain PMIC registers location and length. First pair | ||
10 | for the main interrupt registers, second pair for the per-CPU | ||
11 | interrupt registers | ||
12 | |||
13 | Example: | ||
14 | |||
15 | mpic: interrupt-controller@d0020000 { | ||
16 | compatible = "marvell,mpic"; | ||
17 | #interrupt-cells = <1>; | ||
18 | #address-cells = <1>; | ||
19 | #size-cells = <1>; | ||
20 | interrupt-controller; | ||
21 | reg = <0xd0020000 0x1000>, | ||
22 | <0xd0021000 0x1000>; | ||
23 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/armada-370-xp-timer.txt b/Documentation/devicetree/bindings/arm/armada-370-xp-timer.txt new file mode 100644 index 000000000000..8b6ea2267c94 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armada-370-xp-timer.txt | |||
@@ -0,0 +1,11 @@ | |||
1 | Marvell Armada 370 and Armada XP Global Timers | ||
2 | ---------------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible: Should be "marvell,armada-370-xp-timer" | ||
6 | - interrupts: Should contain the list of Global Timer interrupts | ||
7 | - reg: Should contain the base address of the Global Timer registers | ||
8 | |||
9 | Optional properties: | ||
10 | - marvell,timer-25Mhz: Tells whether the Global timer supports the 25 | ||
11 | Mhz fixed mode (available on Armada XP and not on Armada 370) | ||
diff --git a/Documentation/devicetree/bindings/arm/armada-370-xp.txt b/Documentation/devicetree/bindings/arm/armada-370-xp.txt new file mode 100644 index 000000000000..c6ed90ea6e17 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armada-370-xp.txt | |||
@@ -0,0 +1,24 @@ | |||
1 | Marvell Armada 370 and Armada XP Platforms Device Tree Bindings | ||
2 | --------------------------------------------------------------- | ||
3 | |||
4 | Boards with a SoC of the Marvell Armada 370 and Armada XP families | ||
5 | shall have the following property: | ||
6 | |||
7 | Required root node property: | ||
8 | |||
9 | compatible: must contain "marvell,armada-370-xp" | ||
10 | |||
11 | In addition, boards using the Marvell Armada 370 SoC shall have the | ||
12 | following property: | ||
13 | |||
14 | Required root node property: | ||
15 | |||
16 | compatible: must contain "marvell,armada370" | ||
17 | |||
18 | In addition, boards using the Marvell Armada XP SoC shall have the | ||
19 | following property: | ||
20 | |||
21 | Required root node property: | ||
22 | |||
23 | compatible: must contain "marvell,armadaxp" | ||
24 | |||
diff --git a/Documentation/devicetree/bindings/arm/atmel-aic.txt b/Documentation/devicetree/bindings/arm/atmel-aic.txt index aabca4f83402..19078bf5cca8 100644 --- a/Documentation/devicetree/bindings/arm/atmel-aic.txt +++ b/Documentation/devicetree/bindings/arm/atmel-aic.txt | |||
@@ -4,7 +4,7 @@ Required properties: | |||
4 | - compatible: Should be "atmel,<chip>-aic" | 4 | - compatible: Should be "atmel,<chip>-aic" |
5 | - interrupt-controller: Identifies the node as an interrupt controller. | 5 | - interrupt-controller: Identifies the node as an interrupt controller. |
6 | - interrupt-parent: For single AIC system, it is an empty property. | 6 | - interrupt-parent: For single AIC system, it is an empty property. |
7 | - #interrupt-cells: The number of cells to define the interrupts. It sould be 2. | 7 | - #interrupt-cells: The number of cells to define the interrupts. It sould be 3. |
8 | The first cell is the IRQ number (aka "Peripheral IDentifier" on datasheet). | 8 | The first cell is the IRQ number (aka "Peripheral IDentifier" on datasheet). |
9 | The second cell is used to specify flags: | 9 | The second cell is used to specify flags: |
10 | bits[3:0] trigger type and level flags: | 10 | bits[3:0] trigger type and level flags: |
@@ -14,7 +14,10 @@ Required properties: | |||
14 | 8 = active low level-sensitive. | 14 | 8 = active low level-sensitive. |
15 | Valid combinations are 1, 2, 3, 4, 8. | 15 | Valid combinations are 1, 2, 3, 4, 8. |
16 | Default flag for internal sources should be set to 4 (active high). | 16 | Default flag for internal sources should be set to 4 (active high). |
17 | The third cell is used to specify the irq priority from 0 (lowest) to 7 | ||
18 | (highest). | ||
17 | - reg: Should contain AIC registers location and length | 19 | - reg: Should contain AIC registers location and length |
20 | - atmel,external-irqs: u32 array of external irqs. | ||
18 | 21 | ||
19 | Examples: | 22 | Examples: |
20 | /* | 23 | /* |
@@ -24,7 +27,7 @@ Examples: | |||
24 | compatible = "atmel,at91rm9200-aic"; | 27 | compatible = "atmel,at91rm9200-aic"; |
25 | interrupt-controller; | 28 | interrupt-controller; |
26 | interrupt-parent; | 29 | interrupt-parent; |
27 | #interrupt-cells = <2>; | 30 | #interrupt-cells = <3>; |
28 | reg = <0xfffff000 0x200>; | 31 | reg = <0xfffff000 0x200>; |
29 | }; | 32 | }; |
30 | 33 | ||
@@ -34,5 +37,5 @@ Examples: | |||
34 | dma: dma-controller@ffffec00 { | 37 | dma: dma-controller@ffffec00 { |
35 | compatible = "atmel,at91sam9g45-dma"; | 38 | compatible = "atmel,at91sam9g45-dma"; |
36 | reg = <0xffffec00 0x200>; | 39 | reg = <0xffffec00 0x200>; |
37 | interrupts = <21 4>; | 40 | interrupts = <21 4 5>; |
38 | }; | 41 | }; |
diff --git a/Documentation/devicetree/bindings/arm/davinci/cp-intc.txt b/Documentation/devicetree/bindings/arm/davinci/cp-intc.txt new file mode 100644 index 000000000000..597e8a089fe4 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/davinci/cp-intc.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | * TI Common Platform Interrupt Controller | ||
2 | |||
3 | Common Platform Interrupt Controller (cp_intc) is used on | ||
4 | OMAP-L1x SoCs and can support several configurable number | ||
5 | of interrupts. | ||
6 | |||
7 | Main node required properties: | ||
8 | |||
9 | - compatible : should be: | ||
10 | "ti,cp-intc" | ||
11 | - interrupt-controller : Identifies the node as an interrupt controller | ||
12 | - #interrupt-cells : Specifies the number of cells needed to encode an | ||
13 | interrupt source. The type shall be a <u32> and the value shall be 1. | ||
14 | |||
15 | The cell contains the interrupt number in the range [0-128]. | ||
16 | - ti,intc-size: Number of interrupts handled by the interrupt controller. | ||
17 | - reg: physical base address and size of the intc registers map. | ||
18 | |||
19 | Example: | ||
20 | |||
21 | intc: interrupt-controller@1 { | ||
22 | compatible = "ti,cp-intc"; | ||
23 | interrupt-controller; | ||
24 | #interrupt-cells = <1>; | ||
25 | ti,intc-size = <101>; | ||
26 | reg = <0xfffee000 0x2000>; | ||
27 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/mvebu-system-controller.txt b/Documentation/devicetree/bindings/arm/mvebu-system-controller.txt new file mode 100644 index 000000000000..081c6a786c8a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mvebu-system-controller.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | MVEBU System Controller | ||
2 | ----------------------- | ||
3 | MVEBU (Marvell SOCs: Armada 370/XP, Dove, mv78xx0, Kirkwood, Orion5x) | ||
4 | |||
5 | Required properties: | ||
6 | |||
7 | - compatible: one of: | ||
8 | - "marvell,orion-system-controller" | ||
9 | - "marvell,armada-370-xp-system-controller" | ||
10 | - reg: Should contain system controller registers location and length. | ||
11 | |||
12 | Example: | ||
13 | |||
14 | system-controller@d0018200 { | ||
15 | compatible = "marvell,armada-370-xp-system-controller"; | ||
16 | reg = <0xd0018200 0x500>; | ||
17 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/olimex.txt b/Documentation/devicetree/bindings/arm/olimex.txt new file mode 100644 index 000000000000..007fb5c685a1 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/olimex.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | Olimex i.MX Platforms Device Tree Bindings | ||
2 | ------------------------------------------ | ||
3 | |||
4 | i.MX23 Olinuxino Low Cost Board | ||
5 | Required root node properties: | ||
6 | - compatible = "olimex,imx23-olinuxino", "fsl,imx23"; | ||
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index e78e8bccac30..ccdd0e53451f 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt | |||
@@ -47,3 +47,9 @@ Boards: | |||
47 | 47 | ||
48 | - AM335X EVM : Software Developement Board for AM335x | 48 | - AM335X EVM : Software Developement Board for AM335x |
49 | compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3" | 49 | compatible = "ti,am335x-evm", "ti,am33xx", "ti,omap3" |
50 | |||
51 | - AM335X Bone : Low cost community board | ||
52 | compatible = "ti,am335x-bone", "ti,am33xx", "ti,omap3" | ||
53 | |||
54 | - OMAP5 EVM : Evaluation Module | ||
55 | compatible = "ti,omap5-evm", "ti,omap5" | ||
diff --git a/Documentation/devicetree/bindings/arm/primecell.txt b/Documentation/devicetree/bindings/arm/primecell.txt index 951ca46789d4..64fc82bc8928 100644 --- a/Documentation/devicetree/bindings/arm/primecell.txt +++ b/Documentation/devicetree/bindings/arm/primecell.txt | |||
@@ -13,11 +13,17 @@ Required properties: | |||
13 | Optional properties: | 13 | Optional properties: |
14 | 14 | ||
15 | - arm,primecell-periphid : Value to override the h/w value with | 15 | - arm,primecell-periphid : Value to override the h/w value with |
16 | - clocks : From common clock binding. First clock is phandle to clock for apb | ||
17 | pclk. Additional clocks are optional and specific to those peripherals. | ||
18 | - clock-names : From common clock binding. Shall be "apb_pclk" for first clock. | ||
16 | 19 | ||
17 | Example: | 20 | Example: |
18 | 21 | ||
19 | serial@fff36000 { | 22 | serial@fff36000 { |
20 | compatible = "arm,pl011", "arm,primecell"; | 23 | compatible = "arm,pl011", "arm,primecell"; |
21 | arm,primecell-periphid = <0x00341011>; | 24 | arm,primecell-periphid = <0x00341011>; |
25 | clocks = <&pclk>; | ||
26 | clock-names = "apb_pclk"; | ||
27 | |||
22 | }; | 28 | }; |
23 | 29 | ||
diff --git a/Documentation/devicetree/bindings/arm/tegra/emc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt index 09335f8eee00..4c33b29dc660 100644 --- a/Documentation/devicetree/bindings/arm/tegra/emc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt | |||
@@ -15,7 +15,7 @@ Child device nodes describe the memory settings for different configurations and | |||
15 | 15 | ||
16 | Example: | 16 | Example: |
17 | 17 | ||
18 | emc@7000f400 { | 18 | memory-controller@7000f400 { |
19 | #address-cells = < 1 >; | 19 | #address-cells = < 1 >; |
20 | #size-cells = < 0 >; | 20 | #size-cells = < 0 >; |
21 | compatible = "nvidia,tegra20-emc"; | 21 | compatible = "nvidia,tegra20-emc"; |
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt index c25a0a55151d..866d93421eba 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-mc.txt | |||
@@ -8,7 +8,7 @@ Required properties: | |||
8 | - interrupts : Should contain MC General interrupt. | 8 | - interrupts : Should contain MC General interrupt. |
9 | 9 | ||
10 | Example: | 10 | Example: |
11 | mc { | 11 | memory-controller@0x7000f000 { |
12 | compatible = "nvidia,tegra20-mc"; | 12 | compatible = "nvidia,tegra20-mc"; |
13 | reg = <0x7000f000 0x024 | 13 | reg = <0x7000f000 0x024 |
14 | 0x7000f03c 0x3c4>; | 14 | 0x7000f03c 0x3c4>; |
diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt index e47e73f612f4..bdf1a612422b 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra30-mc.txt | |||
@@ -8,7 +8,7 @@ Required properties: | |||
8 | - interrupts : Should contain MC General interrupt. | 8 | - interrupts : Should contain MC General interrupt. |
9 | 9 | ||
10 | Example: | 10 | Example: |
11 | mc { | 11 | memory-controller { |
12 | compatible = "nvidia,tegra30-mc"; | 12 | compatible = "nvidia,tegra30-mc"; |
13 | reg = <0x7000f000 0x010 | 13 | reg = <0x7000f000 0x010 |
14 | 0x7000f03c 0x1b4 | 14 | 0x7000f03c 0x1b4 |
diff --git a/Documentation/devicetree/bindings/clock/calxeda.txt b/Documentation/devicetree/bindings/clock/calxeda.txt new file mode 100644 index 000000000000..0a6ac1bdcda1 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/calxeda.txt | |||
@@ -0,0 +1,17 @@ | |||
1 | Device Tree Clock bindings for Calxeda highbank platform | ||
2 | |||
3 | This binding uses the common clock binding[1]. | ||
4 | |||
5 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
6 | |||
7 | Required properties: | ||
8 | - compatible : shall be one of the following: | ||
9 | "calxeda,hb-pll-clock" - for a PLL clock | ||
10 | "calxeda,hb-a9periph-clock" - The A9 peripheral clock divided from the | ||
11 | A9 clock. | ||
12 | "calxeda,hb-a9bus-clock" - The A9 bus clock divided from the A9 clock. | ||
13 | "calxeda,hb-emmc-clock" - Divided clock for MMC/SD controller. | ||
14 | - reg : shall be the control register offset from SYSREGs base for the clock. | ||
15 | - clocks : shall be the input parent clock phandle for the clock. This is | ||
16 | either an oscillator or a pll output. | ||
17 | - #clock-cells : from common clock binding; shall be set to 0. | ||
diff --git a/Documentation/devicetree/bindings/clock/clock-bindings.txt b/Documentation/devicetree/bindings/clock/clock-bindings.txt new file mode 100644 index 000000000000..eb65d417f8c4 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/clock-bindings.txt | |||
@@ -0,0 +1,117 @@ | |||
1 | This binding is a work-in-progress, and are based on some experimental | ||
2 | work by benh[1]. | ||
3 | |||
4 | Sources of clock signal can be represented by any node in the device | ||
5 | tree. Those nodes are designated as clock providers. Clock consumer | ||
6 | nodes use a phandle and clock specifier pair to connect clock provider | ||
7 | outputs to clock inputs. Similar to the gpio specifiers, a clock | ||
8 | specifier is an array of one more more cells identifying the clock | ||
9 | output on a device. The length of a clock specifier is defined by the | ||
10 | value of a #clock-cells property in the clock provider node. | ||
11 | |||
12 | [1] http://patchwork.ozlabs.org/patch/31551/ | ||
13 | |||
14 | ==Clock providers== | ||
15 | |||
16 | Required properties: | ||
17 | #clock-cells: Number of cells in a clock specifier; Typically 0 for nodes | ||
18 | with a single clock output and 1 for nodes with multiple | ||
19 | clock outputs. | ||
20 | |||
21 | Optional properties: | ||
22 | clock-output-names: Recommended to be a list of strings of clock output signal | ||
23 | names indexed by the first cell in the clock specifier. | ||
24 | However, the meaning of clock-output-names is domain | ||
25 | specific to the clock provider, and is only provided to | ||
26 | encourage using the same meaning for the majority of clock | ||
27 | providers. This format may not work for clock providers | ||
28 | using a complex clock specifier format. In those cases it | ||
29 | is recommended to omit this property and create a binding | ||
30 | specific names property. | ||
31 | |||
32 | Clock consumer nodes must never directly reference | ||
33 | the provider's clock-output-names property. | ||
34 | |||
35 | For example: | ||
36 | |||
37 | oscillator { | ||
38 | #clock-cells = <1>; | ||
39 | clock-output-names = "ckil", "ckih"; | ||
40 | }; | ||
41 | |||
42 | - this node defines a device with two clock outputs, the first named | ||
43 | "ckil" and the second named "ckih". Consumer nodes always reference | ||
44 | clocks by index. The names should reflect the clock output signal | ||
45 | names for the device. | ||
46 | |||
47 | ==Clock consumers== | ||
48 | |||
49 | Required properties: | ||
50 | clocks: List of phandle and clock specifier pairs, one pair | ||
51 | for each clock input to the device. Note: if the | ||
52 | clock provider specifies '0' for #clock-cells, then | ||
53 | only the phandle portion of the pair will appear. | ||
54 | |||
55 | Optional properties: | ||
56 | clock-names: List of clock input name strings sorted in the same | ||
57 | order as the clocks property. Consumers drivers | ||
58 | will use clock-names to match clock input names | ||
59 | with clocks specifiers. | ||
60 | clock-ranges: Empty property indicating that child nodes can inherit named | ||
61 | clocks from this node. Useful for bus nodes to provide a | ||
62 | clock to their children. | ||
63 | |||
64 | For example: | ||
65 | |||
66 | device { | ||
67 | clocks = <&osc 1>, <&ref 0>; | ||
68 | clock-names = "baud", "register"; | ||
69 | }; | ||
70 | |||
71 | |||
72 | This represents a device with two clock inputs, named "baud" and "register". | ||
73 | The baud clock is connected to output 1 of the &osc device, and the register | ||
74 | clock is connected to output 0 of the &ref. | ||
75 | |||
76 | ==Example== | ||
77 | |||
78 | /* external oscillator */ | ||
79 | osc: oscillator { | ||
80 | compatible = "fixed-clock"; | ||
81 | #clock-cells = <1>; | ||
82 | clock-frequency = <32678>; | ||
83 | clock-output-names = "osc"; | ||
84 | }; | ||
85 | |||
86 | /* phase-locked-loop device, generates a higher frequency clock | ||
87 | * from the external oscillator reference */ | ||
88 | pll: pll@4c000 { | ||
89 | compatible = "vendor,some-pll-interface" | ||
90 | #clock-cells = <1>; | ||
91 | clocks = <&osc 0>; | ||
92 | clock-names = "ref"; | ||
93 | reg = <0x4c000 0x1000>; | ||
94 | clock-output-names = "pll", "pll-switched"; | ||
95 | }; | ||
96 | |||
97 | /* UART, using the low frequency oscillator for the baud clock, | ||
98 | * and the high frequency switched PLL output for register | ||
99 | * clocking */ | ||
100 | uart@a000 { | ||
101 | compatible = "fsl,imx-uart"; | ||
102 | reg = <0xa000 0x1000>; | ||
103 | interrupts = <33>; | ||
104 | clocks = <&osc 0>, <&pll 1>; | ||
105 | clock-names = "baud", "register"; | ||
106 | }; | ||
107 | |||
108 | This DT fragment defines three devices: an external oscillator to provide a | ||
109 | low-frequency reference clock, a PLL device to generate a higher frequency | ||
110 | clock signal, and a UART. | ||
111 | |||
112 | * The oscillator is fixed-frequency, and provides one clock output, named "osc". | ||
113 | * The PLL is both a clock provider and a clock consumer. It uses the clock | ||
114 | signal generated by the external oscillator, and provides two output signals | ||
115 | ("pll" and "pll-switched"). | ||
116 | * The UART has its baud clock connected the external oscillator and its | ||
117 | register clock connected to the PLL clock (the "pll-switched" signal) | ||
diff --git a/Documentation/devicetree/bindings/clock/fixed-clock.txt b/Documentation/devicetree/bindings/clock/fixed-clock.txt new file mode 100644 index 000000000000..0b1fe7824093 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fixed-clock.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | Binding for simple fixed-rate clock sources. | ||
2 | |||
3 | This binding uses the common clock binding[1]. | ||
4 | |||
5 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
6 | |||
7 | Required properties: | ||
8 | - compatible : shall be "fixed-clock". | ||
9 | - #clock-cells : from common clock binding; shall be set to 0. | ||
10 | - clock-frequency : frequency of clock in Hz. Should be a single cell. | ||
11 | |||
12 | Optional properties: | ||
13 | - gpios : From common gpio binding; gpio connection to clock enable pin. | ||
14 | - clock-output-names : From common clock binding. | ||
15 | |||
16 | Example: | ||
17 | clock { | ||
18 | compatible = "fixed-clock"; | ||
19 | #clock-cells = <0>; | ||
20 | clock-frequency = <1000000000>; | ||
21 | }; | ||
diff --git a/Documentation/devicetree/bindings/fb/mxsfb.txt b/Documentation/devicetree/bindings/fb/mxsfb.txt new file mode 100644 index 000000000000..b41e5e52a676 --- /dev/null +++ b/Documentation/devicetree/bindings/fb/mxsfb.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | * Freescale MXS LCD Interface (LCDIF) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "fsl,<chip>-lcdif". Supported chips include | ||
5 | imx23 and imx28. | ||
6 | - reg: Address and length of the register set for lcdif | ||
7 | - interrupts: Should contain lcdif interrupts | ||
8 | |||
9 | Optional properties: | ||
10 | - panel-enable-gpios : Should specify the gpio for panel enable | ||
11 | |||
12 | Examples: | ||
13 | |||
14 | lcdif@80030000 { | ||
15 | compatible = "fsl,imx28-lcdif"; | ||
16 | reg = <0x80030000 2000>; | ||
17 | interrupts = <38 86>; | ||
18 | panel-enable-gpios = <&gpio3 30 0>; | ||
19 | }; | ||
diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt index 4363ae4b3c14..4f3929713ae4 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt | |||
@@ -8,8 +8,16 @@ Required properties: | |||
8 | by low 16 pins and the second one is for high 16 pins. | 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. | 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 | 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 | 11 | the second cell is used to specify the gpio polarity: |
12 | unused). | 12 | 0 = active high |
13 | 1 = active low | ||
14 | - interrupt-controller: Marks the device node as an interrupt controller. | ||
15 | - #interrupt-cells : Should be 2. The first cell is the GPIO number. | ||
16 | The second cell bits[3:0] is used to specify trigger type and level flags: | ||
17 | 1 = low-to-high edge triggered. | ||
18 | 2 = high-to-low edge triggered. | ||
19 | 4 = active high level-sensitive. | ||
20 | 8 = active low level-sensitive. | ||
13 | 21 | ||
14 | Example: | 22 | Example: |
15 | 23 | ||
@@ -19,4 +27,6 @@ gpio0: gpio@73f84000 { | |||
19 | interrupts = <50 51>; | 27 | interrupts = <50 51>; |
20 | gpio-controller; | 28 | gpio-controller; |
21 | #gpio-cells = <2>; | 29 | #gpio-cells = <2>; |
30 | interrupt-controller; | ||
31 | #interrupt-cells = <2>; | ||
22 | }; | 32 | }; |
diff --git a/Documentation/devicetree/bindings/gpio/gpio-mxs.txt b/Documentation/devicetree/bindings/gpio/gpio-mxs.txt index 0c35673f7a3e..1e677a47b836 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-mxs.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-mxs.txt | |||
@@ -13,8 +13,9 @@ Required properties for GPIO node: | |||
13 | - interrupts : Should be the port interrupt shared by all 32 pins. | 13 | - interrupts : Should be the port interrupt shared by all 32 pins. |
14 | - gpio-controller : Marks the device node as a gpio controller. | 14 | - gpio-controller : Marks the device node as a gpio controller. |
15 | - #gpio-cells : Should be two. The first cell is the pin number and | 15 | - #gpio-cells : Should be two. The first cell is the pin number and |
16 | the second cell is used to specify optional parameters (currently | 16 | the second cell is used to specify the gpio polarity: |
17 | unused). | 17 | 0 = active high |
18 | 1 = active low | ||
18 | - interrupt-controller: Marks the device node as an interrupt controller. | 19 | - interrupt-controller: Marks the device node as an interrupt controller. |
19 | - #interrupt-cells : Should be 2. The first cell is the GPIO number. | 20 | - #interrupt-cells : Should be 2. The first cell is the GPIO number. |
20 | The second cell bits[3:0] is used to specify trigger type and level flags: | 21 | The second cell bits[3:0] is used to specify trigger type and level flags: |
diff --git a/Documentation/devicetree/bindings/gpio/gpio-nmk.txt b/Documentation/devicetree/bindings/gpio/gpio-nmk.txt index ee87467ad8d6..8315ac7780ef 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-nmk.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-nmk.txt | |||
@@ -26,6 +26,6 @@ Example: | |||
26 | #gpio-cells = <2>; | 26 | #gpio-cells = <2>; |
27 | gpio-controller; | 27 | gpio-controller; |
28 | interrupt-controller; | 28 | interrupt-controller; |
29 | supports-sleepmode; | 29 | st,supports-sleepmode; |
30 | gpio-bank = <1>; | 30 | gpio-bank = <1>; |
31 | }; | 31 | }; |
diff --git a/Documentation/devicetree/bindings/gpio/led.txt b/Documentation/devicetree/bindings/gpio/led.txt index fd2bd56e7195..9bb308abd221 100644 --- a/Documentation/devicetree/bindings/gpio/led.txt +++ b/Documentation/devicetree/bindings/gpio/led.txt | |||
@@ -55,4 +55,4 @@ run-control { | |||
55 | gpios = <&mpc8572 7 0>; | 55 | gpios = <&mpc8572 7 0>; |
56 | default-state = "on"; | 56 | default-state = "on"; |
57 | }; | 57 | }; |
58 | } | 58 | }; |
diff --git a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt b/Documentation/devicetree/bindings/gpio/nvidia,tegra20-gpio.txt index 023c9526e5f8..023c9526e5f8 100644 --- a/Documentation/devicetree/bindings/gpio/gpio_nvidia.txt +++ b/Documentation/devicetree/bindings/gpio/nvidia,tegra20-gpio.txt | |||
diff --git a/Documentation/devicetree/bindings/input/tegra-kbc.txt b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt index 72683be6de35..72683be6de35 100644 --- a/Documentation/devicetree/bindings/input/tegra-kbc.txt +++ b/Documentation/devicetree/bindings/input/nvidia,tegra20-kbc.txt | |||
diff --git a/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt b/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt new file mode 100644 index 000000000000..89fb5434b730 --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | NVIDIA Tegra 30 IOMMU H/W, SMMU (System Memory Management Unit) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "nvidia,tegra30-smmu" | ||
5 | - reg : Should contain 3 register banks(address and length) for each | ||
6 | of the SMMU register blocks. | ||
7 | - interrupts : Should contain MC General interrupt. | ||
8 | - nvidia,#asids : # of ASIDs | ||
9 | - dma-window : IOVA start address and length. | ||
10 | - nvidia,ahb : phandle to the ahb bus connected to SMMU. | ||
11 | |||
12 | Example: | ||
13 | smmu { | ||
14 | compatible = "nvidia,tegra30-smmu"; | ||
15 | reg = <0x7000f010 0x02c | ||
16 | 0x7000f1f0 0x010 | ||
17 | 0x7000f228 0x05c>; | ||
18 | nvidia,#asids = <4>; /* # of ASIDs */ | ||
19 | dma-window = <0 0x40000000>; /* IOVA start & length */ | ||
20 | nvidia,ahb = <&ahb>; | ||
21 | }; | ||
diff --git a/Documentation/devicetree/bindings/mfd/tps65910.txt b/Documentation/devicetree/bindings/mfd/tps65910.txt index 645f5eaadb3f..d2802d4717bc 100644 --- a/Documentation/devicetree/bindings/mfd/tps65910.txt +++ b/Documentation/devicetree/bindings/mfd/tps65910.txt | |||
@@ -17,18 +17,46 @@ Required properties: | |||
17 | device need to be present. The definition for each of these nodes is defined | 17 | device need to be present. The definition for each of these nodes is defined |
18 | using the standard binding for regulators found at | 18 | using the standard binding for regulators found at |
19 | Documentation/devicetree/bindings/regulator/regulator.txt. | 19 | Documentation/devicetree/bindings/regulator/regulator.txt. |
20 | The regulator is matched with the regulator-compatible. | ||
20 | 21 | ||
21 | The valid names for regulators are: | 22 | The valid regulator-compatible values are: |
22 | tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1, | 23 | tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1, |
23 | vaux2, vaux33, vmmc | 24 | vaux2, vaux33, vmmc |
24 | tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5, | 25 | tps65911: vrtc, vio, vdd1, vdd3, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5, |
25 | ldo6, ldo7, ldo8 | 26 | ldo6, ldo7, ldo8 |
26 | 27 | ||
28 | - xxx-supply: Input voltage supply regulator. | ||
29 | These entries are require if regulators are enabled for a device. Missing of these | ||
30 | properties can cause the regulator registration fails. | ||
31 | If some of input supply is powered through battery or always-on supply then | ||
32 | also it is require to have these parameters with proper node handle of always | ||
33 | on power supply. | ||
34 | tps65910: | ||
35 | vcc1-supply: VDD1 input. | ||
36 | vcc2-supply: VDD2 input. | ||
37 | vcc3-supply: VAUX33 and VMMC input. | ||
38 | vcc4-supply: VAUX1 and VAUX2 input. | ||
39 | vcc5-supply: VPLL and VDAC input. | ||
40 | vcc6-supply: VDIG1 and VDIG2 input. | ||
41 | vcc7-supply: VRTC input. | ||
42 | vccio-supply: VIO input. | ||
43 | tps65911: | ||
44 | vcc1-supply: VDD1 input. | ||
45 | vcc2-supply: VDD2 input. | ||
46 | vcc3-supply: LDO6, LDO7 and LDO8 input. | ||
47 | vcc4-supply: LDO5 input. | ||
48 | vcc5-supply: LDO3 and LDO4 input. | ||
49 | vcc6-supply: LDO1 and LDO2 input. | ||
50 | vcc7-supply: VRTC input. | ||
51 | vccio-supply: VIO input. | ||
52 | |||
27 | Optional properties: | 53 | Optional properties: |
28 | - ti,vmbch-threshold: (tps65911) main battery charged threshold | 54 | - ti,vmbch-threshold: (tps65911) main battery charged threshold |
29 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | 55 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) |
30 | - ti,vmbch2-threshold: (tps65911) main battery discharged threshold | 56 | - ti,vmbch2-threshold: (tps65911) main battery discharged threshold |
31 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) | 57 | comparator. (see VMBCH_VSEL in TPS65910 datasheet) |
58 | - ti,en-ck32k-xtal: enable external 32-kHz crystal oscillator (see CK32K_CTRL | ||
59 | in TPS6591X datasheet) | ||
32 | - ti,en-gpio-sleep: enable sleep control for gpios | 60 | - ti,en-gpio-sleep: enable sleep control for gpios |
33 | There should be 9 entries here, one for each gpio. | 61 | There should be 9 entries here, one for each gpio. |
34 | 62 | ||
@@ -56,74 +84,110 @@ Example: | |||
56 | 84 | ||
57 | ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; | 85 | ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>; |
58 | 86 | ||
87 | vcc1-supply = <®_parent>; | ||
88 | vcc2-supply = <&some_reg>; | ||
89 | vcc3-supply = <...>; | ||
90 | vcc4-supply = <...>; | ||
91 | vcc5-supply = <...>; | ||
92 | vcc6-supply = <...>; | ||
93 | vcc7-supply = <...>; | ||
94 | vccio-supply = <...>; | ||
95 | |||
59 | regulators { | 96 | regulators { |
60 | vdd1_reg: vdd1 { | 97 | #address-cells = <1>; |
98 | #size-cells = <0>; | ||
99 | |||
100 | vdd1_reg: regulator@0 { | ||
101 | regulator-compatible = "vdd1"; | ||
102 | reg = <0>; | ||
61 | regulator-min-microvolt = < 600000>; | 103 | regulator-min-microvolt = < 600000>; |
62 | regulator-max-microvolt = <1500000>; | 104 | regulator-max-microvolt = <1500000>; |
63 | regulator-always-on; | 105 | regulator-always-on; |
64 | regulator-boot-on; | 106 | regulator-boot-on; |
65 | ti,regulator-ext-sleep-control = <0>; | 107 | ti,regulator-ext-sleep-control = <0>; |
66 | }; | 108 | }; |
67 | vdd2_reg: vdd2 { | 109 | vdd2_reg: regulator@1 { |
110 | regulator-compatible = "vdd2"; | ||
111 | reg = <1>; | ||
68 | regulator-min-microvolt = < 600000>; | 112 | regulator-min-microvolt = < 600000>; |
69 | regulator-max-microvolt = <1500000>; | 113 | regulator-max-microvolt = <1500000>; |
70 | regulator-always-on; | 114 | regulator-always-on; |
71 | regulator-boot-on; | 115 | regulator-boot-on; |
72 | ti,regulator-ext-sleep-control = <4>; | 116 | ti,regulator-ext-sleep-control = <4>; |
73 | }; | 117 | }; |
74 | vddctrl_reg: vddctrl { | 118 | vddctrl_reg: regulator@2 { |
119 | regulator-compatible = "vddctrl"; | ||
120 | reg = <2>; | ||
75 | regulator-min-microvolt = < 600000>; | 121 | regulator-min-microvolt = < 600000>; |
76 | regulator-max-microvolt = <1400000>; | 122 | regulator-max-microvolt = <1400000>; |
77 | regulator-always-on; | 123 | regulator-always-on; |
78 | regulator-boot-on; | 124 | regulator-boot-on; |
79 | ti,regulator-ext-sleep-control = <0>; | 125 | ti,regulator-ext-sleep-control = <0>; |
80 | }; | 126 | }; |
81 | vio_reg: vio { | 127 | vio_reg: regulator@3 { |
128 | regulator-compatible = "vio"; | ||
129 | reg = <3>; | ||
82 | regulator-min-microvolt = <1500000>; | 130 | regulator-min-microvolt = <1500000>; |
83 | regulator-max-microvolt = <1800000>; | 131 | regulator-max-microvolt = <1800000>; |
84 | regulator-always-on; | 132 | regulator-always-on; |
85 | regulator-boot-on; | 133 | regulator-boot-on; |
86 | ti,regulator-ext-sleep-control = <1>; | 134 | ti,regulator-ext-sleep-control = <1>; |
87 | }; | 135 | }; |
88 | ldo1_reg: ldo1 { | 136 | ldo1_reg: regulator@4 { |
137 | regulator-compatible = "ldo1"; | ||
138 | reg = <4>; | ||
89 | regulator-min-microvolt = <1000000>; | 139 | regulator-min-microvolt = <1000000>; |
90 | regulator-max-microvolt = <3300000>; | 140 | regulator-max-microvolt = <3300000>; |
91 | ti,regulator-ext-sleep-control = <0>; | 141 | ti,regulator-ext-sleep-control = <0>; |
92 | }; | 142 | }; |
93 | ldo2_reg: ldo2 { | 143 | ldo2_reg: regulator@5 { |
144 | regulator-compatible = "ldo2"; | ||
145 | reg = <5>; | ||
94 | regulator-min-microvolt = <1050000>; | 146 | regulator-min-microvolt = <1050000>; |
95 | regulator-max-microvolt = <1050000>; | 147 | regulator-max-microvolt = <1050000>; |
96 | ti,regulator-ext-sleep-control = <0>; | 148 | ti,regulator-ext-sleep-control = <0>; |
97 | }; | 149 | }; |
98 | ldo3_reg: ldo3 { | 150 | ldo3_reg: regulator@6 { |
151 | regulator-compatible = "ldo3"; | ||
152 | reg = <6>; | ||
99 | regulator-min-microvolt = <1000000>; | 153 | regulator-min-microvolt = <1000000>; |
100 | regulator-max-microvolt = <3300000>; | 154 | regulator-max-microvolt = <3300000>; |
101 | ti,regulator-ext-sleep-control = <0>; | 155 | ti,regulator-ext-sleep-control = <0>; |
102 | }; | 156 | }; |
103 | ldo4_reg: ldo4 { | 157 | ldo4_reg: regulator@7 { |
158 | regulator-compatible = "ldo4"; | ||
159 | reg = <7>; | ||
104 | regulator-min-microvolt = <1000000>; | 160 | regulator-min-microvolt = <1000000>; |
105 | regulator-max-microvolt = <3300000>; | 161 | regulator-max-microvolt = <3300000>; |
106 | regulator-always-on; | 162 | regulator-always-on; |
107 | ti,regulator-ext-sleep-control = <0>; | 163 | ti,regulator-ext-sleep-control = <0>; |
108 | }; | 164 | }; |
109 | ldo5_reg: ldo5 { | 165 | ldo5_reg: regulator@8 { |
166 | regulator-compatible = "ldo5"; | ||
167 | reg = <8>; | ||
110 | regulator-min-microvolt = <1000000>; | 168 | regulator-min-microvolt = <1000000>; |
111 | regulator-max-microvolt = <3300000>; | 169 | regulator-max-microvolt = <3300000>; |
112 | ti,regulator-ext-sleep-control = <0>; | 170 | ti,regulator-ext-sleep-control = <0>; |
113 | }; | 171 | }; |
114 | ldo6_reg: ldo6 { | 172 | ldo6_reg: regulator@9 { |
173 | regulator-compatible = "ldo6"; | ||
174 | reg = <9>; | ||
115 | regulator-min-microvolt = <1200000>; | 175 | regulator-min-microvolt = <1200000>; |
116 | regulator-max-microvolt = <1200000>; | 176 | regulator-max-microvolt = <1200000>; |
117 | ti,regulator-ext-sleep-control = <0>; | 177 | ti,regulator-ext-sleep-control = <0>; |
118 | }; | 178 | }; |
119 | ldo7_reg: ldo7 { | 179 | ldo7_reg: regulator@10 { |
180 | regulator-compatible = "ldo7"; | ||
181 | reg = <10>; | ||
120 | regulator-min-microvolt = <1200000>; | 182 | regulator-min-microvolt = <1200000>; |
121 | regulator-max-microvolt = <1200000>; | 183 | regulator-max-microvolt = <1200000>; |
122 | regulator-always-on; | 184 | regulator-always-on; |
123 | regulator-boot-on; | 185 | regulator-boot-on; |
124 | ti,regulator-ext-sleep-control = <1>; | 186 | ti,regulator-ext-sleep-control = <1>; |
125 | }; | 187 | }; |
126 | ldo8_reg: ldo8 { | 188 | ldo8_reg: regulator@11 { |
189 | regulator-compatible = "ldo8"; | ||
190 | reg = <11>; | ||
127 | regulator-min-microvolt = <1000000>; | 191 | regulator-min-microvolt = <1000000>; |
128 | regulator-max-microvolt = <3300000>; | 192 | regulator-max-microvolt = <3300000>; |
129 | regulator-always-on; | 193 | regulator-always-on; |
diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt index 0d93b4b0e0e3..bd9be0b5bc20 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | |||
@@ -3,21 +3,22 @@ | |||
3 | The Enhanced Secure Digital Host Controller provides an interface | 3 | The Enhanced Secure Digital Host Controller provides an interface |
4 | for MMC, SD, and SDIO types of memory cards. | 4 | for MMC, SD, and SDIO types of memory cards. |
5 | 5 | ||
6 | This file documents differences between the core properties described | ||
7 | by mmc.txt and the properties used by the sdhci-esdhc driver. | ||
8 | |||
6 | Required properties: | 9 | Required properties: |
7 | - compatible : should be | ||
8 | "fsl,<chip>-esdhc", "fsl,esdhc" | ||
9 | - reg : should contain eSDHC registers location and length. | ||
10 | - interrupts : should contain eSDHC interrupt. | ||
11 | - interrupt-parent : interrupt source phandle. | 10 | - interrupt-parent : interrupt source phandle. |
12 | - clock-frequency : specifies eSDHC base clock frequency. | 11 | - clock-frequency : specifies eSDHC base clock frequency. |
13 | - sdhci,wp-inverted : (optional) specifies that eSDHC controller | 12 | |
14 | reports inverted write-protect state; New devices should use | 13 | Optional properties: |
15 | the generic "wp-inverted" property. | 14 | - sdhci,wp-inverted : specifies that eSDHC controller reports |
16 | - sdhci,1-bit-only : (optional) specifies that a controller can | 15 | inverted write-protect state; New devices should use the generic |
17 | only handle 1-bit data transfers. New devices should use the | 16 | "wp-inverted" property. |
18 | generic "bus-width = <1>" property. | 17 | - sdhci,1-bit-only : specifies that a controller can only handle |
19 | - sdhci,auto-cmd12: (optional) specifies that a controller can | 18 | 1-bit data transfers. New devices should use the generic |
20 | only handle auto CMD12. | 19 | "bus-width = <1>" property. |
20 | - sdhci,auto-cmd12: specifies that a controller can only handle auto | ||
21 | CMD12. | ||
21 | 22 | ||
22 | Example: | 23 | Example: |
23 | 24 | ||
diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt index fea541ee8b34..70cd49b1caa8 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | |||
@@ -3,17 +3,15 @@ | |||
3 | The Enhanced Secure Digital Host Controller on Freescale i.MX family | 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. | 4 | provides an interface for MMC, SD, and SDIO types of memory cards. |
5 | 5 | ||
6 | This file documents differences between the core properties described | ||
7 | by mmc.txt and the properties used by the sdhci-esdhc-imx driver. | ||
8 | |||
6 | Required properties: | 9 | Required properties: |
7 | - compatible : Should be "fsl,<chip>-esdhc" | 10 | - compatible : Should be "fsl,<chip>-esdhc" |
8 | - reg : Should contain eSDHC registers location and length | ||
9 | - interrupts : Should contain eSDHC interrupt | ||
10 | 11 | ||
11 | Optional properties: | 12 | Optional properties: |
12 | - non-removable : Indicate the card is wired to host permanently | ||
13 | - fsl,cd-internal : Indicate to use controller internal card detection | 13 | - fsl,cd-internal : Indicate to use controller internal card detection |
14 | - fsl,wp-internal : Indicate to use controller internal write protection | 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 | 15 | ||
18 | Examples: | 16 | Examples: |
19 | 17 | ||
diff --git a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt index d64aea5a4203..0e5e2ec4001d 100644 --- a/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt +++ b/Documentation/devicetree/bindings/mmc/mmc-spi-slot.txt | |||
@@ -1,8 +1,9 @@ | |||
1 | MMC/SD/SDIO slot directly connected to a SPI bus | 1 | MMC/SD/SDIO slot directly connected to a SPI bus |
2 | 2 | ||
3 | This file documents differences between the core properties described | ||
4 | by mmc.txt and the properties used by the mmc_spi driver. | ||
5 | |||
3 | Required properties: | 6 | Required properties: |
4 | - compatible : should be "mmc-spi-slot". | ||
5 | - reg : should specify SPI address (chip-select number). | ||
6 | - spi-max-frequency : maximum frequency for this device (Hz). | 7 | - spi-max-frequency : maximum frequency for this device (Hz). |
7 | - voltage-ranges : two cells are required, first cell specifies minimum | 8 | - voltage-ranges : two cells are required, first cell specifies minimum |
8 | slot voltage (mV), second cell specifies maximum slot voltage (mV). | 9 | slot voltage (mV), second cell specifies maximum slot voltage (mV). |
@@ -11,8 +12,7 @@ Required properties: | |||
11 | Optional properties: | 12 | Optional properties: |
12 | - gpios : may specify GPIOs in this order: Card-Detect GPIO, | 13 | - gpios : may specify GPIOs in this order: Card-Detect GPIO, |
13 | Write-Protect GPIO. Note that this does not follow the | 14 | Write-Protect GPIO. Note that this does not follow the |
14 | binding from mmc.txt, for historic reasons. | 15 | binding from mmc.txt, for historical reasons. |
15 | - interrupts : the interrupt of a card detect interrupt. | ||
16 | - interrupt-parent : the phandle for the interrupt controller that | 16 | - interrupt-parent : the phandle for the interrupt controller that |
17 | services interrupts for this device. | 17 | services interrupts for this device. |
18 | 18 | ||
diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt index 6e70dcde0a71..8a6811f4a02f 100644 --- a/Documentation/devicetree/bindings/mmc/mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mmc.txt | |||
@@ -2,13 +2,17 @@ These properties are common to multiple MMC host controllers. Any host | |||
2 | that requires the respective functionality should implement them using | 2 | that requires the respective functionality should implement them using |
3 | these definitions. | 3 | these definitions. |
4 | 4 | ||
5 | Interpreted by the OF core: | ||
6 | - reg: Registers location and length. | ||
7 | - interrupts: Interrupts used by the MMC controller. | ||
8 | |||
5 | Required properties: | 9 | Required properties: |
6 | - bus-width: Number of data lines, can be <1>, <4>, or <8> | 10 | - bus-width: Number of data lines, can be <1>, <4>, or <8> |
7 | 11 | ||
8 | Optional properties: | 12 | Optional properties: |
9 | - cd-gpios : Specify GPIOs for card detection, see gpio binding | 13 | - cd-gpios: Specify GPIOs for card detection, see gpio binding |
10 | - wp-gpios : Specify GPIOs for write protection, see gpio binding | 14 | - wp-gpios: Specify GPIOs for write protection, see gpio binding |
11 | - cd-inverted: when present, polarity on the wp gpio line is inverted | 15 | - cd-inverted: when present, polarity on the cd gpio line is inverted |
12 | - wp-inverted: when present, polarity on the wp gpio line is inverted | 16 | - wp-inverted: when present, polarity on the wp gpio line is inverted |
13 | - non-removable: non-removable slot (like eMMC) | 17 | - non-removable: non-removable slot (like eMMC) |
14 | - max-frequency: maximum operating clock frequency | 18 | - max-frequency: maximum operating clock frequency |
diff --git a/Documentation/devicetree/bindings/mmc/mmci.txt b/Documentation/devicetree/bindings/mmc/mmci.txt index 14a81d526118..2b584cae352a 100644 --- a/Documentation/devicetree/bindings/mmc/mmci.txt +++ b/Documentation/devicetree/bindings/mmc/mmci.txt | |||
@@ -1,19 +1,15 @@ | |||
1 | * ARM PrimeCell MultiMedia Card Interface (MMCI) PL180/1 | 1 | * ARM PrimeCell MultiMedia Card Interface (MMCI) PL180/1 |
2 | 2 | ||
3 | The ARM PrimeCell MMCI PL180 and PL181 provides and interface for | 3 | The ARM PrimeCell MMCI PL180 and PL181 provides an interface for |
4 | reading and writing to MultiMedia and SD cards alike. | 4 | reading and writing to MultiMedia and SD cards alike. |
5 | 5 | ||
6 | This file documents differences between the core properties described | ||
7 | by mmc.txt and the properties used by the mmci driver. | ||
8 | |||
6 | Required properties: | 9 | Required properties: |
7 | - compatible : contains "arm,pl18x", "arm,primecell". | 10 | - compatible : contains "arm,pl18x", "arm,primecell". |
8 | - reg : contains pl18x registers and length. | ||
9 | - interrupts : contains the device IRQ(s). | ||
10 | - arm,primecell-periphid : contains the PrimeCell Peripheral ID. | 11 | - arm,primecell-periphid : contains the PrimeCell Peripheral ID. |
11 | 12 | ||
12 | Optional properties: | 13 | Optional properties: |
13 | - wp-gpios : contains any write protect (ro) gpios | ||
14 | - cd-gpios : contains any card detection gpios | ||
15 | - cd-inverted : indicates whether the cd gpio is inverted | ||
16 | - max-frequency : contains the maximum operating frequency | ||
17 | - bus-width : number of data lines, can be <1>, <4>, or <8> | ||
18 | - mmc-cap-mmc-highspeed : indicates whether MMC is high speed capable | 14 | - mmc-cap-mmc-highspeed : indicates whether MMC is high speed capable |
19 | - mmc-cap-sd-highspeed : indicates whether SD is high speed capable | 15 | - mmc-cap-sd-highspeed : indicates whether SD is high speed capable |
diff --git a/Documentation/devicetree/bindings/mmc/mxs-mmc.txt b/Documentation/devicetree/bindings/mmc/mxs-mmc.txt index 14d870a9e3db..54949f6faede 100644 --- a/Documentation/devicetree/bindings/mmc/mxs-mmc.txt +++ b/Documentation/devicetree/bindings/mmc/mxs-mmc.txt | |||
@@ -3,16 +3,14 @@ | |||
3 | The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller | 3 | The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller |
4 | to support MMC, SD, and SDIO types of memory cards. | 4 | to support MMC, SD, and SDIO types of memory cards. |
5 | 5 | ||
6 | This file documents differences between the core properties in mmc.txt | ||
7 | and the properties used by the mxsmmc driver. | ||
8 | |||
6 | Required properties: | 9 | Required properties: |
7 | - compatible: Should be "fsl,<chip>-mmc". The supported chips include | 10 | - compatible: Should be "fsl,<chip>-mmc". The supported chips include |
8 | imx23 and imx28. | 11 | imx23 and imx28. |
9 | - reg: Should contain registers location and length | ||
10 | - interrupts: Should contain ERROR and DMA interrupts | 12 | - interrupts: Should contain ERROR and DMA interrupts |
11 | - fsl,ssp-dma-channel: APBH DMA channel for the SSP | 13 | - fsl,ssp-dma-channel: APBH DMA channel for the SSP |
12 | - bus-width: Number of data lines, can be <1>, <4>, or <8> | ||
13 | |||
14 | Optional properties: | ||
15 | - wp-gpios: Specify GPIOs for write protection | ||
16 | 14 | ||
17 | Examples: | 15 | Examples: |
18 | 16 | ||
diff --git a/Documentation/devicetree/bindings/mmc/nvidia-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt index f77c3031607f..c6d7b11db9eb 100644 --- a/Documentation/devicetree/bindings/mmc/nvidia-sdhci.txt +++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | |||
@@ -3,15 +3,13 @@ | |||
3 | This controller on Tegra family SoCs provides an interface for MMC, SD, | 3 | This controller on Tegra family SoCs provides an interface for MMC, SD, |
4 | and SDIO types of memory cards. | 4 | and SDIO types of memory cards. |
5 | 5 | ||
6 | This file documents differences between the core properties described | ||
7 | by mmc.txt and the properties used by the sdhci-tegra driver. | ||
8 | |||
6 | Required properties: | 9 | Required properties: |
7 | - compatible : Should be "nvidia,<chip>-sdhci" | 10 | - compatible : Should be "nvidia,<chip>-sdhci" |
8 | - reg : Should contain SD/MMC registers location and length | ||
9 | - interrupts : Should contain SD/MMC interrupt | ||
10 | - bus-width : Number of data lines, can be <1>, <4>, or <8> | ||
11 | 11 | ||
12 | Optional properties: | 12 | Optional properties: |
13 | - cd-gpios : Specify GPIOs for card detection | ||
14 | - wp-gpios : Specify GPIOs for write protection | ||
15 | - power-gpios : Specify GPIOs for power control | 13 | - power-gpios : Specify GPIOs for power control |
16 | 14 | ||
17 | Example: | 15 | Example: |
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt b/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt new file mode 100644 index 000000000000..dbe98a3c183a --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.txt | |||
@@ -0,0 +1,21 @@ | |||
1 | * Marvell sdhci-pxa v2/v3 controller | ||
2 | |||
3 | This file documents differences between the core properties in mmc.txt | ||
4 | and the properties used by the sdhci-pxav2 and sdhci-pxav3 drivers. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: Should be "mrvl,pxav2-mmc" or "mrvl,pxav3-mmc". | ||
8 | |||
9 | Optional properties: | ||
10 | - mrvl,clk-delay-cycles: Specify a number of cycles to delay for tuning. | ||
11 | |||
12 | Example: | ||
13 | |||
14 | sdhci@d4280800 { | ||
15 | compatible = "mrvl,pxav3-mmc"; | ||
16 | reg = <0xd4280800 0x800>; | ||
17 | bus-width = <8>; | ||
18 | interrupts = <27>; | ||
19 | non-removable; | ||
20 | mrvl,clk-delay-cycles = <31>; | ||
21 | }; | ||
diff --git a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt index 8a53958c9a9f..be76a23b34c4 100644 --- a/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt +++ b/Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt | |||
@@ -3,21 +3,20 @@ | |||
3 | The Highspeed MMC Host Controller on TI OMAP family | 3 | The Highspeed MMC Host Controller on TI OMAP family |
4 | provides an interface for MMC, SD, and SDIO types of memory cards. | 4 | provides an interface for MMC, SD, and SDIO types of memory cards. |
5 | 5 | ||
6 | This file documents differences between the core properties described | ||
7 | by mmc.txt and the properties used by the omap_hsmmc driver. | ||
8 | |||
6 | Required properties: | 9 | Required properties: |
7 | - compatible: | 10 | - compatible: |
8 | Should be "ti,omap2-hsmmc", for OMAP2 controllers | 11 | Should be "ti,omap2-hsmmc", for OMAP2 controllers |
9 | Should be "ti,omap3-hsmmc", for OMAP3 controllers | 12 | Should be "ti,omap3-hsmmc", for OMAP3 controllers |
10 | Should be "ti,omap4-hsmmc", for OMAP4 controllers | 13 | Should be "ti,omap4-hsmmc", for OMAP4 controllers |
11 | - ti,hwmods: Must be "mmc<n>", n is controller instance starting 1 | 14 | - ti,hwmods: Must be "mmc<n>", n is controller instance starting 1 |
12 | - reg : should contain hsmmc registers location and length | ||
13 | 15 | ||
14 | Optional properties: | 16 | Optional properties: |
15 | ti,dual-volt: boolean, supports dual voltage cards | 17 | ti,dual-volt: boolean, supports dual voltage cards |
16 | <supply-name>-supply: phandle to the regulator device tree node | 18 | <supply-name>-supply: phandle to the regulator device tree node |
17 | "supply-name" examples are "vmmc", "vmmc_aux" etc | 19 | "supply-name" examples are "vmmc", "vmmc_aux" etc |
18 | bus-width: Number of data lines, default assumed is 1 if the property is missing. | ||
19 | cd-gpios: GPIOs for card detection | ||
20 | wp-gpios: GPIOs for write protection | ||
21 | ti,non-removable: non-removable slot (like eMMC) | 20 | ti,non-removable: non-removable slot (like eMMC) |
22 | ti,needs-special-reset: Requires a special softreset sequence | 21 | ti,needs-special-reset: Requires a special softreset sequence |
23 | 22 | ||
diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt index f114ce1657c2..6e1f61f1e789 100644 --- a/Documentation/devicetree/bindings/mtd/partition.txt +++ b/Documentation/devicetree/bindings/mtd/partition.txt | |||
@@ -35,4 +35,4 @@ flash@0 { | |||
35 | uimage@100000 { | 35 | uimage@100000 { |
36 | reg = <0x0100000 0x200000>; | 36 | reg = <0x0100000 0x200000>; |
37 | }; | 37 | }; |
38 | ]; | 38 | }; |
diff --git a/Documentation/devicetree/bindings/net/broadcom-bcm87xx.txt b/Documentation/devicetree/bindings/net/broadcom-bcm87xx.txt new file mode 100644 index 000000000000..7c86d5e28a0e --- /dev/null +++ b/Documentation/devicetree/bindings/net/broadcom-bcm87xx.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | The Broadcom BCM87XX devices are a family of 10G Ethernet PHYs. They | ||
2 | have these bindings in addition to the standard PHY bindings. | ||
3 | |||
4 | Compatible: Should contain "broadcom,bcm8706" or "broadcom,bcm8727" and | ||
5 | "ethernet-phy-ieee802.3-c45" | ||
6 | |||
7 | Optional Properties: | ||
8 | |||
9 | - broadcom,c45-reg-init : one of more sets of 4 cells. The first cell | ||
10 | is the MDIO Manageable Device (MMD) address, the second a register | ||
11 | address within the MMD, the third cell contains a mask to be ANDed | ||
12 | with the existing register value, and the fourth cell is ORed with | ||
13 | he result to yield the new register value. If the third cell has a | ||
14 | value of zero, no read of the existing value is performed. | ||
15 | |||
16 | Example: | ||
17 | |||
18 | ethernet-phy@5 { | ||
19 | reg = <5>; | ||
20 | compatible = "broadcom,bcm8706", "ethernet-phy-ieee802.3-c45"; | ||
21 | interrupt-parent = <&gpio>; | ||
22 | interrupts = <12 8>; /* Pin 12, active low */ | ||
23 | /* | ||
24 | * Set PMD Digital Control Register for | ||
25 | * GPIO[1] Tx/Rx | ||
26 | * GPIO[0] R64 Sync Acquired | ||
27 | */ | ||
28 | broadcom,c45-reg-init = <1 0xc808 0xff8f 0x70>; | ||
29 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt index f31b686d4556..8ff324eaa889 100644 --- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt +++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | |||
@@ -11,6 +11,9 @@ Required properties: | |||
11 | 11 | ||
12 | - reg : Offset and length of the register set for this device | 12 | - reg : Offset and length of the register set for this device |
13 | - interrupts : Interrupt tuple for this device | 13 | - interrupts : Interrupt tuple for this device |
14 | |||
15 | Optional properties: | ||
16 | |||
14 | - clock-frequency : The oscillator frequency driving the flexcan device | 17 | - clock-frequency : The oscillator frequency driving the flexcan device |
15 | 18 | ||
16 | Example: | 19 | Example: |
diff --git a/Documentation/devicetree/bindings/net/davinci_emac.txt b/Documentation/devicetree/bindings/net/davinci_emac.txt new file mode 100644 index 000000000000..48b259e29e87 --- /dev/null +++ b/Documentation/devicetree/bindings/net/davinci_emac.txt | |||
@@ -0,0 +1,41 @@ | |||
1 | * Texas Instruments Davinci EMAC | ||
2 | |||
3 | This file provides information, what the device node | ||
4 | for the davinci_emac interface contains. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "ti,davinci-dm6467-emac"; | ||
8 | - reg: Offset and length of the register set for the device | ||
9 | - ti,davinci-ctrl-reg-offset: offset to control register | ||
10 | - ti,davinci-ctrl-mod-reg-offset: offset to control module register | ||
11 | - ti,davinci-ctrl-ram-offset: offset to control module ram | ||
12 | - ti,davinci-ctrl-ram-size: size of control module ram | ||
13 | - ti,davinci-rmii-en: use RMII | ||
14 | - ti,davinci-no-bd-ram: has the emac controller BD RAM | ||
15 | - phy-handle: Contains a phandle to an Ethernet PHY. | ||
16 | if not, davinci_emac driver defaults to 100/FULL | ||
17 | - interrupts: interrupt mapping for the davinci emac interrupts sources: | ||
18 | 4 sources: <Receive Threshold Interrupt | ||
19 | Receive Interrupt | ||
20 | Transmit Interrupt | ||
21 | Miscellaneous Interrupt> | ||
22 | |||
23 | Optional properties: | ||
24 | - local-mac-address : 6 bytes, mac address | ||
25 | |||
26 | Example (enbw_cmc board): | ||
27 | eth0: emac@1e20000 { | ||
28 | compatible = "ti,davinci-dm6467-emac"; | ||
29 | reg = <0x220000 0x4000>; | ||
30 | ti,davinci-ctrl-reg-offset = <0x3000>; | ||
31 | ti,davinci-ctrl-mod-reg-offset = <0x2000>; | ||
32 | ti,davinci-ctrl-ram-offset = <0>; | ||
33 | ti,davinci-ctrl-ram-size = <0x2000>; | ||
34 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
35 | interrupts = <33 | ||
36 | 34 | ||
37 | 35 | ||
38 | 36 | ||
39 | >; | ||
40 | interrupt-parent = <&intc>; | ||
41 | }; | ||
diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt index 4616fc28ee86..d53639221403 100644 --- a/Documentation/devicetree/bindings/net/fsl-fec.txt +++ b/Documentation/devicetree/bindings/net/fsl-fec.txt | |||
@@ -7,10 +7,14 @@ Required properties: | |||
7 | - phy-mode : String, operation mode of the PHY interface. | 7 | - phy-mode : String, operation mode of the PHY interface. |
8 | Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii", | 8 | Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii", |
9 | "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii". | 9 | "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii". |
10 | - phy-reset-gpios : Should specify the gpio for phy reset | ||
11 | 10 | ||
12 | Optional properties: | 11 | Optional properties: |
13 | - local-mac-address : 6 bytes, mac address | 12 | - local-mac-address : 6 bytes, mac address |
13 | - phy-reset-gpios : Should specify the gpio for phy reset | ||
14 | - phy-reset-duration : Reset duration in milliseconds. Should present | ||
15 | only if property "phy-reset-gpios" is available. Missing the property | ||
16 | will have the duration be 1 millisecond. Numbers greater than 1000 are | ||
17 | invalid and 1 millisecond will be used instead. | ||
14 | 18 | ||
15 | Example: | 19 | Example: |
16 | 20 | ||
diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/devicetree/bindings/net/phy.txt index bb8c742eb8c5..7cd18fbfcf71 100644 --- a/Documentation/devicetree/bindings/net/phy.txt +++ b/Documentation/devicetree/bindings/net/phy.txt | |||
@@ -14,10 +14,20 @@ Required properties: | |||
14 | - linux,phandle : phandle for this node; likely referenced by an | 14 | - linux,phandle : phandle for this node; likely referenced by an |
15 | ethernet controller node. | 15 | ethernet controller node. |
16 | 16 | ||
17 | Optional Properties: | ||
18 | |||
19 | - compatible: Compatible list, may contain | ||
20 | "ethernet-phy-ieee802.3-c22" or "ethernet-phy-ieee802.3-c45" for | ||
21 | PHYs that implement IEEE802.3 clause 22 or IEEE802.3 clause 45 | ||
22 | specifications. If neither of these are specified, the default is to | ||
23 | assume clause 22. The compatible list may also contain other | ||
24 | elements. | ||
25 | |||
17 | Example: | 26 | Example: |
18 | 27 | ||
19 | ethernet-phy@0 { | 28 | ethernet-phy@0 { |
20 | linux,phandle = <2452000> | 29 | compatible = "ethernet-phy-ieee802.3-c22"; |
30 | linux,phandle = <2452000>; | ||
21 | interrupt-parent = <40000>; | 31 | interrupt-parent = <40000>; |
22 | interrupts = <35 1>; | 32 | interrupts = <35 1>; |
23 | reg = <0>; | 33 | reg = <0>; |
diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt index 1f62623f8c3f..060bbf098ef3 100644 --- a/Documentation/devicetree/bindings/net/stmmac.txt +++ b/Documentation/devicetree/bindings/net/stmmac.txt | |||
@@ -1,7 +1,8 @@ | |||
1 | * STMicroelectronics 10/100/1000 Ethernet driver (GMAC) | 1 | * STMicroelectronics 10/100/1000 Ethernet driver (GMAC) |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: Should be "st,spear600-gmac" | 4 | - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac" |
5 | For backwards compatibility: "st,spear600-gmac" is also supported. | ||
5 | - reg: Address and length of the register set for the device | 6 | - reg: Address and length of the register set for the device |
6 | - interrupt-parent: Should be the phandle for the interrupt controller | 7 | - interrupt-parent: Should be the phandle for the interrupt controller |
7 | that services interrupts for this device | 8 | that services interrupts for this device |
diff --git a/Documentation/devicetree/bindings/nvec/nvec_nvidia.txt b/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt index 5aeee53ff9f4..5aeee53ff9f4 100644 --- a/Documentation/devicetree/bindings/nvec/nvec_nvidia.txt +++ b/Documentation/devicetree/bindings/nvec/nvidia,nvec.txt | |||
diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt index 82b43f915857..a4119f6422d9 100644 --- a/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx6q-pinctrl.txt | |||
@@ -1626,3 +1626,5 @@ MX6Q_PAD_SD2_DAT3__PCIE_CTRL_MUX_11 1587 | |||
1626 | MX6Q_PAD_SD2_DAT3__GPIO_1_12 1588 | 1626 | MX6Q_PAD_SD2_DAT3__GPIO_1_12 1588 |
1627 | MX6Q_PAD_SD2_DAT3__SJC_DONE 1589 | 1627 | MX6Q_PAD_SD2_DAT3__SJC_DONE 1589 |
1628 | MX6Q_PAD_SD2_DAT3__ANATOP_TESTO_3 1590 | 1628 | MX6Q_PAD_SD2_DAT3__ANATOP_TESTO_3 1590 |
1629 | MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID 1591 | ||
1630 | MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID 1592 | ||
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt new file mode 100644 index 000000000000..5187f0dd8b28 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt | |||
@@ -0,0 +1,93 @@ | |||
1 | One-register-per-pin type device tree based pinctrl driver | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "pinctrl-single" | ||
5 | |||
6 | - reg : offset and length of the register set for the mux registers | ||
7 | |||
8 | - pinctrl-single,register-width : pinmux register access width in bits | ||
9 | |||
10 | - pinctrl-single,function-mask : mask of allowed pinmux function bits | ||
11 | in the pinmux register | ||
12 | |||
13 | Optional properties: | ||
14 | - pinctrl-single,function-off : function off mode for disabled state if | ||
15 | available and same for all registers; if not specified, disabling of | ||
16 | pin functions is ignored | ||
17 | |||
18 | This driver assumes that there is only one register for each pin, | ||
19 | and uses the common pinctrl bindings as specified in the pinctrl-bindings.txt | ||
20 | document in this directory. | ||
21 | |||
22 | The pin configuration nodes for pinctrl-single are specified as pinctrl | ||
23 | register offset and value pairs using pinctrl-single,pins. Only the bits | ||
24 | specified in pinctrl-single,function-mask are updated. For example, setting | ||
25 | a pin for a device could be done with: | ||
26 | |||
27 | pinctrl-single,pins = <0xdc 0x118>; | ||
28 | |||
29 | Where 0xdc is the offset from the pinctrl register base address for the | ||
30 | device pinctrl register, and 0x118 contains the desired value of the | ||
31 | pinctrl register. See the device example and static board pins example | ||
32 | below for more information. | ||
33 | |||
34 | Example: | ||
35 | |||
36 | /* SoC common file */ | ||
37 | |||
38 | /* first controller instance for pins in core domain */ | ||
39 | pmx_core: pinmux@4a100040 { | ||
40 | compatible = "pinctrl-single"; | ||
41 | reg = <0x4a100040 0x0196>; | ||
42 | #address-cells = <1>; | ||
43 | #size-cells = <0>; | ||
44 | pinctrl-single,register-width = <16>; | ||
45 | pinctrl-single,function-mask = <0xffff>; | ||
46 | }; | ||
47 | |||
48 | /* second controller instance for pins in wkup domain */ | ||
49 | pmx_wkup: pinmux@4a31e040 { | ||
50 | compatible = "pinctrl-single; | ||
51 | reg = <0x4a31e040 0x0038>; | ||
52 | #address-cells = <1>; | ||
53 | #size-cells = <0>; | ||
54 | pinctrl-single,register-width = <16>; | ||
55 | pinctrl-single,function-mask = <0xffff>; | ||
56 | }; | ||
57 | |||
58 | |||
59 | /* board specific .dts file */ | ||
60 | |||
61 | &pmx_core { | ||
62 | |||
63 | /* | ||
64 | * map all board specific static pins enabled by the pinctrl driver | ||
65 | * itself during the boot (or just set them up in the bootloader) | ||
66 | */ | ||
67 | pinctrl-names = "default"; | ||
68 | pinctrl-0 = <&board_pins>; | ||
69 | |||
70 | board_pins: pinmux_board_pins { | ||
71 | pinctrl-single,pins = < | ||
72 | 0x6c 0xf | ||
73 | 0x6e 0xf | ||
74 | 0x70 0xf | ||
75 | 0x72 0xf | ||
76 | >; | ||
77 | }; | ||
78 | |||
79 | /* map uart2 pins */ | ||
80 | uart2_pins: pinmux_uart2_pins { | ||
81 | pinctrl-single,pins = < | ||
82 | 0xd8 0x118 | ||
83 | 0xda 0 | ||
84 | 0xdc 0x118 | ||
85 | 0xde 0 | ||
86 | >; | ||
87 | }; | ||
88 | }; | ||
89 | |||
90 | &uart2 { | ||
91 | pinctrl-names = "default"; | ||
92 | pinctrl-0 = <&uart2_pins>; | ||
93 | }; | ||
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt index 2f5b6b1ba15f..4fae41d54798 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.txt | |||
@@ -10,6 +10,7 @@ Optional properties: | |||
10 | If this property is missing, the default assumed is Active low. | 10 | If this property is missing, the default assumed is Active low. |
11 | - gpio-open-drain: GPIO is open drain type. | 11 | - gpio-open-drain: GPIO is open drain type. |
12 | If this property is missing then default assumption is false. | 12 | If this property is missing then default assumption is false. |
13 | -vin-supply: Input supply name. | ||
13 | 14 | ||
14 | Any property defined as part of the core regulator | 15 | Any property defined as part of the core regulator |
15 | binding, defined in regulator.txt, can also be used. | 16 | binding, defined in regulator.txt, can also be used. |
@@ -29,4 +30,5 @@ Example: | |||
29 | enable-active-high; | 30 | enable-active-high; |
30 | regulator-boot-on; | 31 | regulator-boot-on; |
31 | gpio-open-drain; | 32 | gpio-open-drain; |
33 | vin-supply = <&parent_reg>; | ||
32 | }; | 34 | }; |
diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt index 5b7a408acdaa..66ece3f87bbc 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.txt +++ b/Documentation/devicetree/bindings/regulator/regulator.txt | |||
@@ -10,6 +10,11 @@ Optional properties: | |||
10 | - regulator-always-on: boolean, regulator should never be disabled | 10 | - regulator-always-on: boolean, regulator should never be disabled |
11 | - regulator-boot-on: bootloader/firmware enabled regulator | 11 | - regulator-boot-on: bootloader/firmware enabled regulator |
12 | - <name>-supply: phandle to the parent supply/regulator node | 12 | - <name>-supply: phandle to the parent supply/regulator node |
13 | - regulator-ramp-delay: ramp delay for regulator(in uV/uS) | ||
14 | - regulator-compatible: If a regulator chip contains multiple | ||
15 | regulators, and if the chip's binding contains a child node that | ||
16 | describes each regulator, then this property indicates which regulator | ||
17 | this child node is intended to configure. | ||
13 | 18 | ||
14 | Example: | 19 | Example: |
15 | 20 | ||
diff --git a/Documentation/devicetree/bindings/regulator/tps65217.txt b/Documentation/devicetree/bindings/regulator/tps65217.txt new file mode 100644 index 000000000000..0487e9675ba0 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/tps65217.txt | |||
@@ -0,0 +1,91 @@ | |||
1 | TPS65217 family of regulators | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "ti,tps65217" | ||
5 | - reg: I2C slave address | ||
6 | - regulators: list of regulators provided by this controller, must be named | ||
7 | after their hardware counterparts: dcdc[1-3] and ldo[1-4] | ||
8 | - regulators: This is the list of child nodes that specify the regulator | ||
9 | initialization data for defined regulators. Not all regulators for the given | ||
10 | device need to be present. The definition for each of these nodes is defined | ||
11 | using the standard binding for regulators found at | ||
12 | Documentation/devicetree/bindings/regulator/regulator.txt. | ||
13 | |||
14 | The valid names for regulators are: | ||
15 | tps65217: dcdc1, dcdc2, dcdc3, ldo1, ldo2, ldo3 and ldo4 | ||
16 | |||
17 | Each regulator is defined using the standard binding for regulators. | ||
18 | |||
19 | Example: | ||
20 | |||
21 | tps: tps@24 { | ||
22 | compatible = "ti,tps65217"; | ||
23 | |||
24 | regulators { | ||
25 | #address-cells = <1>; | ||
26 | #size-cells = <0>; | ||
27 | |||
28 | dcdc1_reg: regulator@0 { | ||
29 | reg = <0>; | ||
30 | regulator-compatible = "dcdc1"; | ||
31 | regulator-min-microvolt = <900000>; | ||
32 | regulator-max-microvolt = <1800000>; | ||
33 | regulator-boot-on; | ||
34 | regulator-always-on; | ||
35 | }; | ||
36 | |||
37 | dcdc2_reg: regulator@1 { | ||
38 | reg = <1>; | ||
39 | regulator-compatible = "dcdc2"; | ||
40 | regulator-min-microvolt = <900000>; | ||
41 | regulator-max-microvolt = <3300000>; | ||
42 | regulator-boot-on; | ||
43 | regulator-always-on; | ||
44 | }; | ||
45 | |||
46 | dcdc3_reg: regulator@2 { | ||
47 | reg = <2>; | ||
48 | regulator-compatible = "dcdc3"; | ||
49 | regulator-min-microvolt = <900000>; | ||
50 | regulator-max-microvolt = <1500000>; | ||
51 | regulator-boot-on; | ||
52 | regulator-always-on; | ||
53 | }; | ||
54 | |||
55 | ldo1_reg: regulator@3 { | ||
56 | reg = <3>; | ||
57 | regulator-compatible = "ldo1"; | ||
58 | regulator-min-microvolt = <1000000>; | ||
59 | regulator-max-microvolt = <3300000>; | ||
60 | regulator-boot-on; | ||
61 | regulator-always-on; | ||
62 | }; | ||
63 | |||
64 | ldo2_reg: regulator@4 { | ||
65 | reg = <4>; | ||
66 | regulator-compatible = "ldo2"; | ||
67 | regulator-min-microvolt = <900000>; | ||
68 | regulator-max-microvolt = <3300000>; | ||
69 | regulator-boot-on; | ||
70 | regulator-always-on; | ||
71 | }; | ||
72 | |||
73 | ldo3_reg: regulator@5 { | ||
74 | reg = <5>; | ||
75 | regulator-compatible = "ldo3"; | ||
76 | regulator-min-microvolt = <1800000>; | ||
77 | regulator-max-microvolt = <3300000>; | ||
78 | regulator-boot-on; | ||
79 | regulator-always-on; | ||
80 | }; | ||
81 | |||
82 | ldo4_reg: regulator@6 { | ||
83 | reg = <6>; | ||
84 | regulator-compatible = "ldo4"; | ||
85 | regulator-min-microvolt = <1800000>; | ||
86 | regulator-max-microvolt = <3300000>; | ||
87 | regulator-boot-on; | ||
88 | regulator-always-on; | ||
89 | }; | ||
90 | }; | ||
91 | }; | ||
diff --git a/Documentation/devicetree/bindings/regulator/tps6586x.txt b/Documentation/devicetree/bindings/regulator/tps6586x.txt index 0fcabaa3baa3..d156e1b5db12 100644 --- a/Documentation/devicetree/bindings/regulator/tps6586x.txt +++ b/Documentation/devicetree/bindings/regulator/tps6586x.txt | |||
@@ -6,8 +6,17 @@ Required properties: | |||
6 | - interrupts: the interrupt outputs of the controller | 6 | - interrupts: the interrupt outputs of the controller |
7 | - #gpio-cells: number of cells to describe a GPIO | 7 | - #gpio-cells: number of cells to describe a GPIO |
8 | - gpio-controller: mark the device as a GPIO controller | 8 | - gpio-controller: mark the device as a GPIO controller |
9 | - regulators: list of regulators provided by this controller, must be named | 9 | - regulators: list of regulators provided by this controller, must have |
10 | after their hardware counterparts: sm[0-2], ldo[0-9] and ldo_rtc | 10 | property "regulator-compatible" to match their hardware counterparts: |
11 | sm[0-2], ldo[0-9] and ldo_rtc | ||
12 | - sm0-supply: The input supply for the SM0. | ||
13 | - sm1-supply: The input supply for the SM1. | ||
14 | - sm2-supply: The input supply for the SM2. | ||
15 | - vinldo01-supply: The input supply for the LDO1 and LDO2 | ||
16 | - vinldo23-supply: The input supply for the LDO2 and LDO3 | ||
17 | - vinldo4-supply: The input supply for the LDO4 | ||
18 | - vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8 | ||
19 | - vinldo9-supply: The input supply for the LDO9 | ||
11 | 20 | ||
12 | Each regulator is defined using the standard binding for regulators. | 21 | Each regulator is defined using the standard binding for regulators. |
13 | 22 | ||
@@ -21,75 +30,113 @@ Example: | |||
21 | #gpio-cells = <2>; | 30 | #gpio-cells = <2>; |
22 | gpio-controller; | 31 | gpio-controller; |
23 | 32 | ||
33 | sm0-supply = <&some_reg>; | ||
34 | sm1-supply = <&some_reg>; | ||
35 | sm2-supply = <&some_reg>; | ||
36 | vinldo01-supply = <...>; | ||
37 | vinldo23-supply = <...>; | ||
38 | vinldo4-supply = <...>; | ||
39 | vinldo678-supply = <...>; | ||
40 | vinldo9-supply = <...>; | ||
41 | |||
24 | regulators { | 42 | regulators { |
25 | sm0_reg: sm0 { | 43 | #address-cells = <1>; |
44 | #size-cells = <0>; | ||
45 | |||
46 | sm0_reg: regulator@0 { | ||
47 | reg = <0>; | ||
48 | regulator-compatible = "sm0"; | ||
26 | regulator-min-microvolt = < 725000>; | 49 | regulator-min-microvolt = < 725000>; |
27 | regulator-max-microvolt = <1500000>; | 50 | regulator-max-microvolt = <1500000>; |
28 | regulator-boot-on; | 51 | regulator-boot-on; |
29 | regulator-always-on; | 52 | regulator-always-on; |
30 | }; | 53 | }; |
31 | 54 | ||
32 | sm1_reg: sm1 { | 55 | sm1_reg: regulator@1 { |
56 | reg = <1>; | ||
57 | regulator-compatible = "sm1"; | ||
33 | regulator-min-microvolt = < 725000>; | 58 | regulator-min-microvolt = < 725000>; |
34 | regulator-max-microvolt = <1500000>; | 59 | regulator-max-microvolt = <1500000>; |
35 | regulator-boot-on; | 60 | regulator-boot-on; |
36 | regulator-always-on; | 61 | regulator-always-on; |
37 | }; | 62 | }; |
38 | 63 | ||
39 | sm2_reg: sm2 { | 64 | sm2_reg: regulator@2 { |
65 | reg = <2>; | ||
66 | regulator-compatible = "sm2"; | ||
40 | regulator-min-microvolt = <3000000>; | 67 | regulator-min-microvolt = <3000000>; |
41 | regulator-max-microvolt = <4550000>; | 68 | regulator-max-microvolt = <4550000>; |
42 | regulator-boot-on; | 69 | regulator-boot-on; |
43 | regulator-always-on; | 70 | regulator-always-on; |
44 | }; | 71 | }; |
45 | 72 | ||
46 | ldo0_reg: ldo0 { | 73 | ldo0_reg: regulator@3 { |
74 | reg = <3>; | ||
75 | regulator-compatible = "ldo0"; | ||
47 | regulator-name = "PCIE CLK"; | 76 | regulator-name = "PCIE CLK"; |
48 | regulator-min-microvolt = <3300000>; | 77 | regulator-min-microvolt = <3300000>; |
49 | regulator-max-microvolt = <3300000>; | 78 | regulator-max-microvolt = <3300000>; |
50 | }; | 79 | }; |
51 | 80 | ||
52 | ldo1_reg: ldo1 { | 81 | ldo1_reg: regulator@4 { |
82 | reg = <4>; | ||
83 | regulator-compatible = "ldo1"; | ||
53 | regulator-min-microvolt = < 725000>; | 84 | regulator-min-microvolt = < 725000>; |
54 | regulator-max-microvolt = <1500000>; | 85 | regulator-max-microvolt = <1500000>; |
55 | }; | 86 | }; |
56 | 87 | ||
57 | ldo2_reg: ldo2 { | 88 | ldo2_reg: regulator@5 { |
89 | reg = <5>; | ||
90 | regulator-compatible = "ldo2"; | ||
58 | regulator-min-microvolt = < 725000>; | 91 | regulator-min-microvolt = < 725000>; |
59 | regulator-max-microvolt = <1500000>; | 92 | regulator-max-microvolt = <1500000>; |
60 | }; | 93 | }; |
61 | 94 | ||
62 | ldo3_reg: ldo3 { | 95 | ldo3_reg: regulator@6 { |
96 | reg = <6>; | ||
97 | regulator-compatible = "ldo3"; | ||
63 | regulator-min-microvolt = <1250000>; | 98 | regulator-min-microvolt = <1250000>; |
64 | regulator-max-microvolt = <3300000>; | 99 | regulator-max-microvolt = <3300000>; |
65 | }; | 100 | }; |
66 | 101 | ||
67 | ldo4_reg: ldo4 { | 102 | ldo4_reg: regulator@7 { |
103 | reg = <7>; | ||
104 | regulator-compatible = "ldo4"; | ||
68 | regulator-min-microvolt = <1700000>; | 105 | regulator-min-microvolt = <1700000>; |
69 | regulator-max-microvolt = <2475000>; | 106 | regulator-max-microvolt = <2475000>; |
70 | }; | 107 | }; |
71 | 108 | ||
72 | ldo5_reg: ldo5 { | 109 | ldo5_reg: regulator@8 { |
110 | reg = <8>; | ||
111 | regulator-compatible = "ldo5"; | ||
73 | regulator-min-microvolt = <1250000>; | 112 | regulator-min-microvolt = <1250000>; |
74 | regulator-max-microvolt = <3300000>; | 113 | regulator-max-microvolt = <3300000>; |
75 | }; | 114 | }; |
76 | 115 | ||
77 | ldo6_reg: ldo6 { | 116 | ldo6_reg: regulator@9 { |
117 | reg = <9>; | ||
118 | regulator-compatible = "ldo6"; | ||
78 | regulator-min-microvolt = <1250000>; | 119 | regulator-min-microvolt = <1250000>; |
79 | regulator-max-microvolt = <3300000>; | 120 | regulator-max-microvolt = <3300000>; |
80 | }; | 121 | }; |
81 | 122 | ||
82 | ldo7_reg: ldo7 { | 123 | ldo7_reg: regulator@10 { |
124 | reg = <10>; | ||
125 | regulator-compatible = "ldo7"; | ||
83 | regulator-min-microvolt = <1250000>; | 126 | regulator-min-microvolt = <1250000>; |
84 | regulator-max-microvolt = <3300000>; | 127 | regulator-max-microvolt = <3300000>; |
85 | }; | 128 | }; |
86 | 129 | ||
87 | ldo8_reg: ldo8 { | 130 | ldo8_reg: regulator@11 { |
131 | reg = <11>; | ||
132 | regulator-compatible = "ldo8"; | ||
88 | regulator-min-microvolt = <1250000>; | 133 | regulator-min-microvolt = <1250000>; |
89 | regulator-max-microvolt = <3300000>; | 134 | regulator-max-microvolt = <3300000>; |
90 | }; | 135 | }; |
91 | 136 | ||
92 | ldo9_reg: ldo9 { | 137 | ldo9_reg: regulator@12 { |
138 | reg = <12>; | ||
139 | regulator-compatible = "ldo9"; | ||
93 | regulator-min-microvolt = <1250000>; | 140 | regulator-min-microvolt = <1250000>; |
94 | regulator-max-microvolt = <3300000>; | 141 | regulator-max-microvolt = <3300000>; |
95 | }; | 142 | }; |
diff --git a/Documentation/devicetree/bindings/regulator/twl-regulator.txt b/Documentation/devicetree/bindings/regulator/twl-regulator.txt index 0c3395d55ac1..658749b90b97 100644 --- a/Documentation/devicetree/bindings/regulator/twl-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/twl-regulator.txt | |||
@@ -15,7 +15,6 @@ For twl6030 regulators/LDOs | |||
15 | - "ti,twl6030-vusb" for VUSB LDO | 15 | - "ti,twl6030-vusb" for VUSB LDO |
16 | - "ti,twl6030-v1v8" for V1V8 LDO | 16 | - "ti,twl6030-v1v8" for V1V8 LDO |
17 | - "ti,twl6030-v2v1" for V2V1 LDO | 17 | - "ti,twl6030-v2v1" for V2V1 LDO |
18 | - "ti,twl6030-clk32kg" for CLK32KG RESOURCE | ||
19 | - "ti,twl6030-vdd1" for VDD1 SMPS | 18 | - "ti,twl6030-vdd1" for VDD1 SMPS |
20 | - "ti,twl6030-vdd2" for VDD2 SMPS | 19 | - "ti,twl6030-vdd2" for VDD2 SMPS |
21 | - "ti,twl6030-vdd3" for VDD3 SMPS | 20 | - "ti,twl6030-vdd3" for VDD3 SMPS |
diff --git a/Documentation/devicetree/bindings/rtc/dw-apb.txt b/Documentation/devicetree/bindings/rtc/dw-apb.txt new file mode 100644 index 000000000000..93e2b0f048e6 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/dw-apb.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | * Designware APB timer | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "snps,dw-apb-timer-sp" or "snps,dw-apb-timer-osc" | ||
5 | - reg: physical base address of the controller and length of memory mapped | ||
6 | region. | ||
7 | - interrupts: IRQ line for the timer. | ||
8 | - clock-frequency: The frequency in HZ of the timer. | ||
9 | - clock-freq: For backwards compatibility with picoxcell | ||
10 | |||
11 | Example: | ||
12 | |||
13 | timer1: timer@ffc09000 { | ||
14 | compatible = "snps,dw-apb-timer-sp"; | ||
15 | interrupts = <0 168 4>; | ||
16 | clock-frequency = <200000000>; | ||
17 | reg = <0xffc09000 0x1000>; | ||
18 | }; | ||
19 | |||
20 | timer2: timer@ffd00000 { | ||
21 | compatible = "snps,dw-apb-timer-osc"; | ||
22 | interrupts = <0 169 4>; | ||
23 | clock-frequency = <200000000>; | ||
24 | reg = <0xffd00000 0x1000>; | ||
25 | }; | ||
diff --git a/Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt b/Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt new file mode 100644 index 000000000000..b800070fe6e9 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt | |||
@@ -0,0 +1,16 @@ | |||
1 | * STMP3xxx/i.MX28 Time Clock controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be one of the following. | ||
5 | * "fsl,stmp3xxx-rtc" | ||
6 | - reg: physical base address of the controller and length of memory mapped | ||
7 | region. | ||
8 | - interrupts: rtc alarm interrupt | ||
9 | |||
10 | Example: | ||
11 | |||
12 | rtc@80056000 { | ||
13 | compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc"; | ||
14 | reg = <0x80056000 2000>; | ||
15 | interrupts = <29>; | ||
16 | }; | ||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt index b77a97c9101e..b77a97c9101e 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-alc5632.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-alc5632.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-trimslice.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.txt index 04b14cfb1f16..04b14cfb1f16 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-trimslice.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-trimslice.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-wm8753.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt index c4dd39ce6165..c4dd39ce6165 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-wm8753.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8753.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra-audio-wm8903.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt index d5b0da8bf1d8..d5b0da8bf1d8 100644 --- a/Documentation/devicetree/bindings/sound/tegra-audio-wm8903.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-wm8903.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra20-das.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.txt index 6de3a7ee4efb..6de3a7ee4efb 100644 --- a/Documentation/devicetree/bindings/sound/tegra20-das.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-das.txt | |||
diff --git a/Documentation/devicetree/bindings/sound/tegra20-i2s.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt index 0df2b5c816e3..0df2b5c816e3 100644 --- a/Documentation/devicetree/bindings/sound/tegra20-i2s.txt +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra20-i2s.txt | |||
diff --git a/Documentation/devicetree/bindings/spi/spi_nvidia.txt b/Documentation/devicetree/bindings/spi/nvidia,tegra20-spi.txt index 6b9e51896693..6b9e51896693 100644 --- a/Documentation/devicetree/bindings/spi/spi_nvidia.txt +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra20-spi.txt | |||
diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt new file mode 100644 index 000000000000..a15ffeddfba4 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt | |||
@@ -0,0 +1,116 @@ | |||
1 | * Samsung SPI Controller | ||
2 | |||
3 | The Samsung SPI controller is used to interface with various devices such as flash | ||
4 | and display controllers using the SPI communication interface. | ||
5 | |||
6 | Required SoC Specific Properties: | ||
7 | |||
8 | - compatible: should be one of the following. | ||
9 | - samsung,s3c2443-spi: for s3c2443, s3c2416 and s3c2450 platforms | ||
10 | - samsung,s3c6410-spi: for s3c6410 platforms | ||
11 | - samsung,s5p6440-spi: for s5p6440 and s5p6450 platforms | ||
12 | - samsung,s5pv210-spi: for s5pv210 and s5pc110 platforms | ||
13 | - samsung,exynos4210-spi: for exynos4 and exynos5 platforms | ||
14 | |||
15 | - reg: physical base address of the controller and length of memory mapped | ||
16 | region. | ||
17 | |||
18 | - interrupts: The interrupt number to the cpu. The interrupt specifier format | ||
19 | depends on the interrupt controller. | ||
20 | |||
21 | [PRELIMINARY: the dma channel allocation will change once there are | ||
22 | official DMA bindings] | ||
23 | |||
24 | - tx-dma-channel: The dma channel specifier for tx operations. The format of | ||
25 | the dma specifier depends on the dma controller. | ||
26 | |||
27 | - rx-dma-channel: The dma channel specifier for rx operations. The format of | ||
28 | the dma specifier depends on the dma controller. | ||
29 | |||
30 | Required Board Specific Properties: | ||
31 | |||
32 | - #address-cells: should be 1. | ||
33 | - #size-cells: should be 0. | ||
34 | - gpios: The gpio specifier for clock, mosi and miso interface lines (in the | ||
35 | order specified). The format of the gpio specifier depends on the gpio | ||
36 | controller. | ||
37 | |||
38 | Optional Board Specific Properties: | ||
39 | |||
40 | - samsung,spi-src-clk: If the spi controller includes a internal clock mux to | ||
41 | select the clock source for the spi bus clock, this property can be used to | ||
42 | indicate the clock to be used for driving the spi bus clock. If not specified, | ||
43 | the clock number 0 is used as default. | ||
44 | |||
45 | - num-cs: Specifies the number of chip select lines supported. If | ||
46 | not specified, the default number of chip select lines is set to 1. | ||
47 | |||
48 | SPI Controller specific data in SPI slave nodes: | ||
49 | |||
50 | - The spi slave nodes should provide the following information which is required | ||
51 | by the spi controller. | ||
52 | |||
53 | - cs-gpio: A gpio specifier that specifies the gpio line used as | ||
54 | the slave select line by the spi controller. The format of the gpio | ||
55 | specifier depends on the gpio controller. | ||
56 | |||
57 | - samsung,spi-feedback-delay: The sampling phase shift to be applied on the | ||
58 | miso line (to account for any lag in the miso line). The following are the | ||
59 | valid values. | ||
60 | |||
61 | - 0: No phase shift. | ||
62 | - 1: 90 degree phase shift sampling. | ||
63 | - 2: 180 degree phase shift sampling. | ||
64 | - 3: 270 degree phase shift sampling. | ||
65 | |||
66 | Aliases: | ||
67 | |||
68 | - All the SPI controller nodes should be represented in the aliases node using | ||
69 | the following format 'spi{n}' where n is a unique number for the alias. | ||
70 | |||
71 | |||
72 | Example: | ||
73 | |||
74 | - SoC Specific Portion: | ||
75 | |||
76 | spi_0: spi@12d20000 { | ||
77 | compatible = "samsung,exynos4210-spi"; | ||
78 | reg = <0x12d20000 0x100>; | ||
79 | interrupts = <0 66 0>; | ||
80 | tx-dma-channel = <&pdma0 5>; | ||
81 | rx-dma-channel = <&pdma0 4>; | ||
82 | }; | ||
83 | |||
84 | - Board Specific Portion: | ||
85 | |||
86 | spi_0: spi@12d20000 { | ||
87 | #address-cells = <1>; | ||
88 | #size-cells = <0>; | ||
89 | gpios = <&gpa2 4 2 3 0>, | ||
90 | <&gpa2 6 2 3 0>, | ||
91 | <&gpa2 7 2 3 0>; | ||
92 | |||
93 | w25q80bw@0 { | ||
94 | #address-cells = <1>; | ||
95 | #size-cells = <1>; | ||
96 | compatible = "w25x80"; | ||
97 | reg = <0>; | ||
98 | spi-max-frequency = <10000>; | ||
99 | |||
100 | controller-data { | ||
101 | cs-gpio = <&gpa2 5 1 0 3>; | ||
102 | samsung,spi-feedback-delay = <0>; | ||
103 | }; | ||
104 | |||
105 | partition@0 { | ||
106 | label = "U-Boot"; | ||
107 | reg = <0x0 0x40000>; | ||
108 | read-only; | ||
109 | }; | ||
110 | |||
111 | partition@40000 { | ||
112 | label = "Kernel"; | ||
113 | reg = <0x40000 0xc0000>; | ||
114 | }; | ||
115 | }; | ||
116 | }; | ||
diff --git a/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt b/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt new file mode 100644 index 000000000000..2ee903fad25c --- /dev/null +++ b/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | * Freescale MXS Application UART (AUART) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : Should be "fsl,<soc>-auart". The supported SoCs include | ||
5 | imx23 and imx28. | ||
6 | - reg : Address and length of the register set for the device | ||
7 | - interrupts : Should contain the auart interrupt numbers | ||
8 | |||
9 | Example: | ||
10 | auart0: serial@8006a000 { | ||
11 | compatible = "fsl,imx28-auart", "fsl,imx23-auart"; | ||
12 | reg = <0x8006a000 0x2000>; | ||
13 | interrupts = <112 70 71>; | ||
14 | }; | ||
15 | |||
16 | Note: Each auart port should have an alias correctly numbered in "aliases" | ||
17 | node. | ||
18 | |||
19 | Example: | ||
20 | |||
21 | aliases { | ||
22 | serial0 = &auart0; | ||
23 | serial1 = &auart1; | ||
24 | serial2 = &auart2; | ||
25 | serial3 = &auart3; | ||
26 | serial4 = &auart4; | ||
27 | }; | ||
diff --git a/Documentation/devicetree/bindings/usb/tegra-usb.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt index e9b005dc7625..e9b005dc7625 100644 --- a/Documentation/devicetree/bindings/usb/tegra-usb.txt +++ b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt | |||
diff --git a/Documentation/devicetree/bindings/watchdog/omap-wdt.txt b/Documentation/devicetree/bindings/watchdog/omap-wdt.txt new file mode 100644 index 000000000000..c227970671ea --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/omap-wdt.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | TI Watchdog Timer (WDT) Controller for OMAP | ||
2 | |||
3 | Required properties: | ||
4 | compatible: | ||
5 | - "ti,omap3-wdt" for OMAP3 | ||
6 | - "ti,omap4-wdt" for OMAP4 | ||
7 | - ti,hwmods: Name of the hwmod associated to the WDT | ||
8 | |||
9 | Examples: | ||
10 | |||
11 | wdt2: wdt@4a314000 { | ||
12 | compatible = "ti,omap4-wdt", "ti,omap3-wdt"; | ||
13 | ti,hwmods = "wd_timer2"; | ||
14 | }; | ||
diff --git a/Documentation/devicetree/usage-model.txt b/Documentation/devicetree/usage-model.txt index c5a80099b71c..dca90fe22a90 100644 --- a/Documentation/devicetree/usage-model.txt +++ b/Documentation/devicetree/usage-model.txt | |||
@@ -312,7 +312,7 @@ device tree for the NVIDIA Tegra board. | |||
312 | }; | 312 | }; |
313 | }; | 313 | }; |
314 | 314 | ||
315 | At .machine_init() time, Tegra board support code will need to look at | 315 | At .init_machine() time, Tegra board support code will need to look at |
316 | this DT and decide which nodes to create platform_devices for. | 316 | this DT and decide which nodes to create platform_devices for. |
317 | However, looking at the tree, it is not immediately obvious what kind | 317 | However, looking at the tree, it is not immediately obvious what kind |
318 | of device each node represents, or even if a node represents a device | 318 | of device each node represents, or even if a node represents a device |