diff options
Diffstat (limited to 'Documentation/devicetree/bindings')
18 files changed, 487 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/arm/adapteva.txt b/Documentation/devicetree/bindings/arm/adapteva.txt new file mode 100644 index 000000000000..1d8af9e36065 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/adapteva.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | Adapteva Platforms Device Tree Bindings | ||
2 | --------------------------------------- | ||
3 | |||
4 | Parallella board | ||
5 | |||
6 | Required root node properties: | ||
7 | - compatible = "adapteva,parallella"; | ||
diff --git a/Documentation/devicetree/bindings/arm/armada-380-mpcore-soc-ctrl.txt b/Documentation/devicetree/bindings/arm/armada-380-mpcore-soc-ctrl.txt new file mode 100644 index 000000000000..8781073029e9 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armada-380-mpcore-soc-ctrl.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | Marvell Armada 38x CA9 MPcore SoC Controller | ||
2 | ============================================ | ||
3 | |||
4 | Required properties: | ||
5 | |||
6 | - compatible: Should be "marvell,armada-380-mpcore-soc-ctrl". | ||
7 | |||
8 | - reg: should be the register base and length as documented in the | ||
9 | datasheet for the CA9 MPcore SoC Control registers | ||
10 | |||
11 | mpcore-soc-ctrl@20d20 { | ||
12 | compatible = "marvell,armada-380-mpcore-soc-ctrl"; | ||
13 | reg = <0x20d20 0x6c>; | ||
14 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/atmel-pmc.txt b/Documentation/devicetree/bindings/arm/atmel-pmc.txt index 389bed5056e8..795cc78543fe 100644 --- a/Documentation/devicetree/bindings/arm/atmel-pmc.txt +++ b/Documentation/devicetree/bindings/arm/atmel-pmc.txt | |||
@@ -1,7 +1,10 @@ | |||
1 | * Power Management Controller (PMC) | 1 | * Power Management Controller (PMC) |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: Should be "atmel,at91rm9200-pmc" | 4 | - compatible: Should be "atmel,<chip>-pmc". |
5 | <chip> can be: at91rm9200, at91sam9260, at91sam9g45, at91sam9n12, | ||
6 | at91sam9x5, sama5d3 | ||
7 | |||
5 | - reg: Should contain PMC registers location and length | 8 | - reg: Should contain PMC registers location and length |
6 | 9 | ||
7 | Examples: | 10 | Examples: |
diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method new file mode 100644 index 000000000000..8240c023e202 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351-cpu-method | |||
@@ -0,0 +1,36 @@ | |||
1 | Broadcom Kona Family CPU Enable Method | ||
2 | -------------------------------------- | ||
3 | This binding defines the enable method used for starting secondary | ||
4 | CPUs in the following Broadcom SoCs: | ||
5 | BCM11130, BCM11140, BCM11351, BCM28145, BCM28155, BCM21664 | ||
6 | |||
7 | The enable method is specified by defining the following required | ||
8 | properties in the "cpus" device tree node: | ||
9 | - enable-method = "brcm,bcm11351-cpu-method"; | ||
10 | - secondary-boot-reg = <...>; | ||
11 | |||
12 | The secondary-boot-reg property is a u32 value that specifies the | ||
13 | physical address of the register used to request the ROM holding pen | ||
14 | code release a secondary CPU. The value written to the register is | ||
15 | formed by encoding the target CPU id into the low bits of the | ||
16 | physical start address it should jump to. | ||
17 | |||
18 | Example: | ||
19 | cpus { | ||
20 | #address-cells = <1>; | ||
21 | #size-cells = <0>; | ||
22 | enable-method = "brcm,bcm11351-cpu-method"; | ||
23 | secondary-boot-reg = <0x3500417c>; | ||
24 | |||
25 | cpu0: cpu@0 { | ||
26 | device_type = "cpu"; | ||
27 | compatible = "arm,cortex-a9"; | ||
28 | reg = <0>; | ||
29 | }; | ||
30 | |||
31 | cpu1: cpu@1 { | ||
32 | device_type = "cpu"; | ||
33 | compatible = "arm,cortex-a9"; | ||
34 | reg = <1>; | ||
35 | }; | ||
36 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/brcm-brcmstb.txt b/Documentation/devicetree/bindings/arm/brcm-brcmstb.txt new file mode 100644 index 000000000000..3c436cc4f35d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/brcm-brcmstb.txt | |||
@@ -0,0 +1,95 @@ | |||
1 | ARM Broadcom STB platforms Device Tree Bindings | ||
2 | ----------------------------------------------- | ||
3 | Boards with Broadcom Brahma15 ARM-based BCMxxxx (generally BCM7xxx variants) | ||
4 | SoC shall have the following DT organization: | ||
5 | |||
6 | Required root node properties: | ||
7 | - compatible: "brcm,bcm<chip_id>", "brcm,brcmstb" | ||
8 | |||
9 | example: | ||
10 | / { | ||
11 | #address-cells = <2>; | ||
12 | #size-cells = <2>; | ||
13 | model = "Broadcom STB (bcm7445)"; | ||
14 | compatible = "brcm,bcm7445", "brcm,brcmstb"; | ||
15 | |||
16 | Further, syscon nodes that map platform-specific registers used for general | ||
17 | system control is required: | ||
18 | |||
19 | - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon" | ||
20 | - compatible: "brcm,bcm<chip_id>-hif-cpubiuctrl", "syscon" | ||
21 | - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon" | ||
22 | |||
23 | example: | ||
24 | rdb { | ||
25 | #address-cells = <1>; | ||
26 | #size-cells = <1>; | ||
27 | compatible = "simple-bus"; | ||
28 | ranges = <0 0x00 0xf0000000 0x1000000>; | ||
29 | |||
30 | sun_top_ctrl: syscon@404000 { | ||
31 | compatible = "brcm,bcm7445-sun-top-ctrl", "syscon"; | ||
32 | reg = <0x404000 0x51c>; | ||
33 | }; | ||
34 | |||
35 | hif_cpubiuctrl: syscon@3e2400 { | ||
36 | compatible = "brcm,bcm7445-hif-cpubiuctrl", "syscon"; | ||
37 | reg = <0x3e2400 0x5b4>; | ||
38 | }; | ||
39 | |||
40 | hif_continuation: syscon@452000 { | ||
41 | compatible = "brcm,bcm7445-hif-continuation", "syscon"; | ||
42 | reg = <0x452000 0x100>; | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | Lastly, nodes that allow for support of SMP initialization and reboot are | ||
47 | required: | ||
48 | |||
49 | smpboot | ||
50 | ------- | ||
51 | Required properties: | ||
52 | |||
53 | - compatible | ||
54 | The string "brcm,brcmstb-smpboot". | ||
55 | |||
56 | - syscon-cpu | ||
57 | A phandle / integer array property which lets the BSP know the location | ||
58 | of certain CPU power-on registers. | ||
59 | |||
60 | The layout of the property is as follows: | ||
61 | o a phandle to the "hif_cpubiuctrl" syscon node | ||
62 | o offset to the base CPU power zone register | ||
63 | o offset to the base CPU reset register | ||
64 | |||
65 | - syscon-cont | ||
66 | A phandle pointing to the syscon node which describes the CPU boot | ||
67 | continuation registers. | ||
68 | o a phandle to the "hif_continuation" syscon node | ||
69 | |||
70 | example: | ||
71 | smpboot { | ||
72 | compatible = "brcm,brcmstb-smpboot"; | ||
73 | syscon-cpu = <&hif_cpubiuctrl 0x88 0x178>; | ||
74 | syscon-cont = <&hif_continuation>; | ||
75 | }; | ||
76 | |||
77 | reboot | ||
78 | ------- | ||
79 | Required properties | ||
80 | |||
81 | - compatible | ||
82 | The string property "brcm,brcmstb-reboot". | ||
83 | |||
84 | - syscon | ||
85 | A phandle / integer array that points to the syscon node which describes | ||
86 | the general system reset registers. | ||
87 | o a phandle to "sun_top_ctrl" | ||
88 | o offset to the "reset source enable" register | ||
89 | o offset to the "software master reset" register | ||
90 | |||
91 | example: | ||
92 | reboot { | ||
93 | compatible = "brcm,brcmstb-reboot"; | ||
94 | syscon = <&sun_top_ctrl 0x304 0x308>; | ||
95 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/cpu-enable-method/marvell,berlin-smp b/Documentation/devicetree/bindings/arm/cpu-enable-method/marvell,berlin-smp new file mode 100644 index 000000000000..cd236b727e2a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/cpu-enable-method/marvell,berlin-smp | |||
@@ -0,0 +1,41 @@ | |||
1 | ======================================================== | ||
2 | Secondary CPU enable-method "marvell,berlin-smp" binding | ||
3 | ======================================================== | ||
4 | |||
5 | This document describes the "marvell,berlin-smp" method for enabling secondary | ||
6 | CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should | ||
7 | be defined in the "cpus" node. | ||
8 | |||
9 | Enable method name: "marvell,berlin-smp" | ||
10 | Compatible machines: "marvell,berlin2" and "marvell,berlin2q" | ||
11 | Compatible CPUs: "marvell,pj4b" and "arm,cortex-a9" | ||
12 | Related properties: (none) | ||
13 | |||
14 | Note: | ||
15 | This enable method needs valid nodes compatible with "arm,cortex-a9-scu" and | ||
16 | "marvell,berlin-cpu-ctrl"[1]. | ||
17 | |||
18 | Example: | ||
19 | |||
20 | cpus { | ||
21 | #address-cells = <1>; | ||
22 | #size-cells = <0>; | ||
23 | enable-method = "marvell,berlin-smp"; | ||
24 | |||
25 | cpu@0 { | ||
26 | compatible = "marvell,pj4b"; | ||
27 | device_type = "cpu"; | ||
28 | next-level-cache = <&l2>; | ||
29 | reg = <0>; | ||
30 | }; | ||
31 | |||
32 | cpu@1 { | ||
33 | compatible = "marvell,pj4b"; | ||
34 | device_type = "cpu"; | ||
35 | next-level-cache = <&l2>; | ||
36 | reg = <1>; | ||
37 | }; | ||
38 | }; | ||
39 | |||
40 | -- | ||
41 | [1] arm/marvell,berlin.txt | ||
diff --git a/Documentation/devicetree/bindings/arm/cpus.txt b/Documentation/devicetree/bindings/arm/cpus.txt index 1fe72a0778cd..298e2f6b33c6 100644 --- a/Documentation/devicetree/bindings/arm/cpus.txt +++ b/Documentation/devicetree/bindings/arm/cpus.txt | |||
@@ -152,7 +152,9 @@ nodes to be present and contain the properties described below. | |||
152 | "arm,cortex-a7" | 152 | "arm,cortex-a7" |
153 | "arm,cortex-a8" | 153 | "arm,cortex-a8" |
154 | "arm,cortex-a9" | 154 | "arm,cortex-a9" |
155 | "arm,cortex-a12" | ||
155 | "arm,cortex-a15" | 156 | "arm,cortex-a15" |
157 | "arm,cortex-a17" | ||
156 | "arm,cortex-a53" | 158 | "arm,cortex-a53" |
157 | "arm,cortex-a57" | 159 | "arm,cortex-a57" |
158 | "arm,cortex-m0" | 160 | "arm,cortex-m0" |
@@ -163,6 +165,7 @@ nodes to be present and contain the properties described below. | |||
163 | "arm,cortex-r4" | 165 | "arm,cortex-r4" |
164 | "arm,cortex-r5" | 166 | "arm,cortex-r5" |
165 | "arm,cortex-r7" | 167 | "arm,cortex-r7" |
168 | "brcm,brahma-b15" | ||
166 | "faraday,fa526" | 169 | "faraday,fa526" |
167 | "intel,sa110" | 170 | "intel,sa110" |
168 | "intel,sa1100" | 171 | "intel,sa1100" |
@@ -184,6 +187,7 @@ nodes to be present and contain the properties described below. | |||
184 | can be one of: | 187 | can be one of: |
185 | "allwinner,sun6i-a31" | 188 | "allwinner,sun6i-a31" |
186 | "arm,psci" | 189 | "arm,psci" |
190 | "brcm,brahma-b15" | ||
187 | "marvell,armada-375-smp" | 191 | "marvell,armada-375-smp" |
188 | "marvell,armada-380-smp" | 192 | "marvell,armada-380-smp" |
189 | "marvell,armada-xp-smp" | 193 | "marvell,armada-xp-smp" |
diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt index 5573c08d3180..c7d2fa156678 100644 --- a/Documentation/devicetree/bindings/arm/gic.txt +++ b/Documentation/devicetree/bindings/arm/gic.txt | |||
@@ -16,6 +16,7 @@ Main node required properties: | |||
16 | "arm,cortex-a9-gic" | 16 | "arm,cortex-a9-gic" |
17 | "arm,cortex-a7-gic" | 17 | "arm,cortex-a7-gic" |
18 | "arm,arm11mp-gic" | 18 | "arm,arm11mp-gic" |
19 | "brcm,brahma-b15-gic" | ||
19 | - interrupt-controller : Identifies the node as an interrupt controller | 20 | - interrupt-controller : Identifies the node as an interrupt controller |
20 | - #interrupt-cells : Specifies the number of cells needed to encode an | 21 | - #interrupt-cells : Specifies the number of cells needed to encode an |
21 | interrupt source. The type shall be a <u32> and the value shall be 3. | 22 | interrupt source. The type shall be a <u32> and the value shall be 3. |
diff --git a/Documentation/devicetree/bindings/arm/marvell,berlin.txt b/Documentation/devicetree/bindings/arm/marvell,berlin.txt index 94013a9a8769..904de5781f44 100644 --- a/Documentation/devicetree/bindings/arm/marvell,berlin.txt +++ b/Documentation/devicetree/bindings/arm/marvell,berlin.txt | |||
@@ -24,6 +24,22 @@ SoC and board used. Currently known SoC compatibles are: | |||
24 | ... | 24 | ... |
25 | } | 25 | } |
26 | 26 | ||
27 | * Marvell Berlin CPU control bindings | ||
28 | |||
29 | CPU control register allows various operations on CPUs, like resetting them | ||
30 | independently. | ||
31 | |||
32 | Required properties: | ||
33 | - compatible: should be "marvell,berlin-cpu-ctrl" | ||
34 | - reg: address and length of the register set | ||
35 | |||
36 | Example: | ||
37 | |||
38 | cpu-ctrl@f7dd0000 { | ||
39 | compatible = "marvell,berlin-cpu-ctrl"; | ||
40 | reg = <0xf7dd0000 0x10000>; | ||
41 | }; | ||
42 | |||
27 | * Marvell Berlin2 chip control binding | 43 | * Marvell Berlin2 chip control binding |
28 | 44 | ||
29 | Marvell Berlin SoCs have a chip control register set providing several | 45 | Marvell Berlin SoCs have a chip control register set providing several |
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index d22b216f5d23..0edc90305dfe 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt | |||
@@ -129,6 +129,9 @@ Boards: | |||
129 | - AM437x GP EVM | 129 | - AM437x GP EVM |
130 | compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43" | 130 | compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43" |
131 | 131 | ||
132 | - AM437x SK EVM: AM437x StarterKit Evaluation Module | ||
133 | compatible = "ti,am437x-sk-evm", "ti,am4372", "ti,am43" | ||
134 | |||
132 | - DRA742 EVM: Software Development Board for DRA742 | 135 | - DRA742 EVM: Software Development Board for DRA742 |
133 | compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7" | 136 | compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7" |
134 | 137 | ||
diff --git a/Documentation/devicetree/bindings/arm/omap/prcm.txt b/Documentation/devicetree/bindings/arm/omap/prcm.txt new file mode 100644 index 000000000000..79074dac684a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/omap/prcm.txt | |||
@@ -0,0 +1,65 @@ | |||
1 | OMAP PRCM bindings | ||
2 | |||
3 | Power Reset and Clock Manager lists the device clocks and clockdomains under | ||
4 | a DT hierarchy. Each TI SoC can have multiple PRCM entities listed for it, | ||
5 | each describing one module and the clock hierarchy under it. see [1] for | ||
6 | documentation about the individual clock/clockdomain nodes. | ||
7 | |||
8 | [1] Documentation/devicetree/bindings/clock/ti/* | ||
9 | |||
10 | Required properties: | ||
11 | - compatible: Must be one of: | ||
12 | "ti,am3-prcm" | ||
13 | "ti,am3-scrm" | ||
14 | "ti,am4-prcm" | ||
15 | "ti,am4-scrm" | ||
16 | "ti,omap2-prcm" | ||
17 | "ti,omap2-scrm" | ||
18 | "ti,omap3-prm" | ||
19 | "ti,omap3-cm" | ||
20 | "ti,omap3-scrm" | ||
21 | "ti,omap4-cm1" | ||
22 | "ti,omap4-prm" | ||
23 | "ti,omap4-cm2" | ||
24 | "ti,omap4-scrm" | ||
25 | "ti,omap5-prm" | ||
26 | "ti,omap5-cm-core-aon" | ||
27 | "ti,omap5-scrm" | ||
28 | "ti,omap5-cm-core" | ||
29 | "ti,dra7-prm" | ||
30 | "ti,dra7-cm-core-aon" | ||
31 | "ti,dra7-cm-core" | ||
32 | - reg: Contains PRCM module register address range | ||
33 | (base address and length) | ||
34 | - clocks: clocks for this module | ||
35 | - clockdomains: clockdomains for this module | ||
36 | |||
37 | Example: | ||
38 | |||
39 | cm: cm@48004000 { | ||
40 | compatible = "ti,omap3-cm"; | ||
41 | reg = <0x48004000 0x4000>; | ||
42 | |||
43 | cm_clocks: clocks { | ||
44 | #address-cells = <1>; | ||
45 | #size-cells = <0>; | ||
46 | }; | ||
47 | |||
48 | cm_clockdomains: clockdomains { | ||
49 | }; | ||
50 | } | ||
51 | |||
52 | &cm_clocks { | ||
53 | omap2_32k_fck: omap_32k_fck { | ||
54 | #clock-cells = <0>; | ||
55 | compatible = "fixed-clock"; | ||
56 | clock-frequency = <32768>; | ||
57 | }; | ||
58 | }; | ||
59 | |||
60 | &cm_clockdomains { | ||
61 | core_l3_clkdm: core_l3_clkdm { | ||
62 | compatible = "ti,clockdomain"; | ||
63 | clocks = <&sdrc_ick>; | ||
64 | }; | ||
65 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index f9865e77e0b0..1e1979b229ff 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt | |||
@@ -7,6 +7,8 @@ Properties: | |||
7 | - "samsung,exynos4212-pmu" - for Exynos4212 SoC, | 7 | - "samsung,exynos4212-pmu" - for Exynos4212 SoC, |
8 | - "samsung,exynos4412-pmu" - for Exynos4412 SoC, | 8 | - "samsung,exynos4412-pmu" - for Exynos4412 SoC, |
9 | - "samsung,exynos5250-pmu" - for Exynos5250 SoC, | 9 | - "samsung,exynos5250-pmu" - for Exynos5250 SoC, |
10 | - "samsung,exynos5260-pmu" - for Exynos5260 SoC. | ||
11 | - "samsung,exynos5410-pmu" - for Exynos5410 SoC, | ||
10 | - "samsung,exynos5420-pmu" - for Exynos5420 SoC. | 12 | - "samsung,exynos5420-pmu" - for Exynos5420 SoC. |
11 | second value must be always "syscon". | 13 | second value must be always "syscon". |
12 | 14 | ||
diff --git a/Documentation/devicetree/bindings/arm/tegra.txt b/Documentation/devicetree/bindings/arm/tegra.txt index 558ed4b4ef39..73278c6d2dc3 100644 --- a/Documentation/devicetree/bindings/arm/tegra.txt +++ b/Documentation/devicetree/bindings/arm/tegra.txt | |||
@@ -30,6 +30,8 @@ board-specific compatible values: | |||
30 | nvidia,seaboard | 30 | nvidia,seaboard |
31 | nvidia,ventana | 31 | nvidia,ventana |
32 | nvidia,whistler | 32 | nvidia,whistler |
33 | toradex,apalis_t30 | ||
34 | toradex,apalis_t30-eval | ||
33 | toradex,colibri_t20-512 | 35 | toradex,colibri_t20-512 |
34 | toradex,iris | 36 | toradex,iris |
35 | 37 | ||
diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt index 6f1ed830b4f7..1f7995357888 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.txt +++ b/Documentation/devicetree/bindings/arm/xilinx.txt | |||
@@ -1,7 +1,7 @@ | |||
1 | Xilinx Zynq EP107 Emulation Platform board | 1 | Xilinx Zynq Platforms Device Tree Bindings |
2 | 2 | ||
3 | This board is an emulation platform for the Zynq product which is | 3 | Boards with Zynq-7000 SOC based on an ARM Cortex A9 processor |
4 | based on an ARM Cortex A9 processor. | 4 | shall have the following properties. |
5 | 5 | ||
6 | Required root node properties: | 6 | Required root node properties: |
7 | - compatible = "xlnx,zynq-ep107"; | 7 | - compatible = "xlnx,zynq-7000"; |
diff --git a/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt new file mode 100644 index 000000000000..23bfe8e1f7cc --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | |||
@@ -0,0 +1,43 @@ | |||
1 | NVIDIA GK20A Graphics Processing Unit | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "nvidia,<chip>-<gpu>" | ||
5 | Currently recognized values: | ||
6 | - nvidia,tegra124-gk20a | ||
7 | - reg: Physical base address and length of the controller's registers. | ||
8 | Must contain two entries: | ||
9 | - first entry for bar0 | ||
10 | - second entry for bar1 | ||
11 | - interrupts: Must contain an entry for each entry in interrupt-names. | ||
12 | See ../interrupt-controller/interrupts.txt for details. | ||
13 | - interrupt-names: Must include the following entries: | ||
14 | - stall | ||
15 | - nonstall | ||
16 | - vdd-supply: regulator for supply voltage. | ||
17 | - clocks: Must contain an entry for each entry in clock-names. | ||
18 | See ../clocks/clock-bindings.txt for details. | ||
19 | - clock-names: Must include the following entries: | ||
20 | - gpu | ||
21 | - pwr | ||
22 | - resets: Must contain an entry for each entry in reset-names. | ||
23 | See ../reset/reset.txt for details. | ||
24 | - reset-names: Must include the following entries: | ||
25 | - gpu | ||
26 | |||
27 | Example: | ||
28 | |||
29 | gpu@0,57000000 { | ||
30 | compatible = "nvidia,gk20a"; | ||
31 | reg = <0x0 0x57000000 0x0 0x01000000>, | ||
32 | <0x0 0x58000000 0x0 0x01000000>; | ||
33 | interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>, | ||
34 | <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; | ||
35 | interrupt-names = "stall", "nonstall"; | ||
36 | vdd-supply = <&vdd_gpu>; | ||
37 | clocks = <&tegra_car TEGRA124_CLK_GPU>, | ||
38 | <&tegra_car TEGRA124_CLK_PLL_P_OUT5>; | ||
39 | clock-names = "gpu", "pwr"; | ||
40 | resets = <&tegra_car 184>; | ||
41 | reset-names = "gpu"; | ||
42 | status = "disabled"; | ||
43 | }; | ||
diff --git a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt new file mode 100644 index 000000000000..2f9c0bd66457 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt | |||
@@ -0,0 +1,127 @@ | |||
1 | Device tree binding for NVIDIA Tegra XUSB pad controller | ||
2 | ======================================================== | ||
3 | |||
4 | The Tegra XUSB pad controller manages a set of lanes, each of which can be | ||
5 | assigned to one out of a set of different pads. Some of these pads have an | ||
6 | associated PHY that must be powered up before the pad can be used. | ||
7 | |||
8 | This document defines the device-specific binding for the XUSB pad controller. | ||
9 | |||
10 | Refer to pinctrl-bindings.txt in this directory for generic information about | ||
11 | pin controller device tree bindings and ../phy/phy-bindings.txt for details on | ||
12 | how to describe and reference PHYs in device trees. | ||
13 | |||
14 | Required properties: | ||
15 | -------------------- | ||
16 | - compatible: should be "nvidia,tegra124-xusb-padctl" | ||
17 | - reg: Physical base address and length of the controller's registers. | ||
18 | - resets: Must contain an entry for each entry in reset-names. | ||
19 | See ../reset/reset.txt for details. | ||
20 | - reset-names: Must include the following entries: | ||
21 | - padctl | ||
22 | - #phy-cells: Should be 1. The specifier is the index of the PHY to reference. | ||
23 | See <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> for the list of valid values. | ||
24 | |||
25 | Lane muxing: | ||
26 | ------------ | ||
27 | |||
28 | Child nodes contain the pinmux configurations following the conventions from | ||
29 | the pinctrl-bindings.txt document. Typically a single, static configuration is | ||
30 | given and applied at boot time. | ||
31 | |||
32 | Each subnode describes groups of lanes along with parameters and pads that | ||
33 | they should be assigned to. The name of these subnodes is not important. All | ||
34 | subnodes should be parsed solely based on their content. | ||
35 | |||
36 | Each subnode only applies the parameters that are explicitly listed. In other | ||
37 | words, if a subnode that lists a function but no pin configuration parameters | ||
38 | implies no information about any pin configuration parameters. Similarly, a | ||
39 | subnode that describes only an IDDQ parameter implies no information about | ||
40 | what function the pins are assigned to. For this reason even seemingly boolean | ||
41 | values are actually tristates in this binding: unspecified, off or on. | ||
42 | Unspecified is represented as an absent property, and off/on are represented | ||
43 | as integer values 0 and 1. | ||
44 | |||
45 | Required properties: | ||
46 | - nvidia,lanes: An array of strings. Each string is the name of a lane. | ||
47 | |||
48 | Optional properties: | ||
49 | - nvidia,function: A string that is the name of the function (pad) that the | ||
50 | pin or group should be assigned to. Valid values for function names are | ||
51 | listed below. | ||
52 | - nvidia,iddq: Enables IDDQ mode of the lane. (0: no, 1: yes) | ||
53 | |||
54 | Note that not all of these properties are valid for all lanes. Lanes can be | ||
55 | divided into three groups: | ||
56 | |||
57 | - otg-0, otg-1, otg-2: | ||
58 | |||
59 | Valid functions for this group are: "snps", "xusb", "uart", "rsvd". | ||
60 | |||
61 | The nvidia,iddq property does not apply to this group. | ||
62 | |||
63 | - ulpi-0, hsic-0, hsic-1: | ||
64 | |||
65 | Valid functions for this group are: "snps", "xusb". | ||
66 | |||
67 | The nvidia,iddq property does not apply to this group. | ||
68 | |||
69 | - pcie-0, pcie-1, pcie-2, pcie-3, pcie-4, sata-0: | ||
70 | |||
71 | Valid functions for this group are: "pcie", "usb3", "sata", "rsvd". | ||
72 | |||
73 | |||
74 | Example: | ||
75 | ======== | ||
76 | |||
77 | SoC file extract: | ||
78 | ----------------- | ||
79 | |||
80 | padctl@0,7009f000 { | ||
81 | compatible = "nvidia,tegra124-xusb-padctl"; | ||
82 | reg = <0x0 0x7009f000 0x0 0x1000>; | ||
83 | resets = <&tegra_car 142>; | ||
84 | reset-names = "padctl"; | ||
85 | |||
86 | #phy-cells = <1>; | ||
87 | }; | ||
88 | |||
89 | Board file extract: | ||
90 | ------------------- | ||
91 | |||
92 | pcie-controller@0,01003000 { | ||
93 | ... | ||
94 | |||
95 | phys = <&padctl 0>; | ||
96 | phy-names = "pcie"; | ||
97 | |||
98 | ... | ||
99 | }; | ||
100 | |||
101 | ... | ||
102 | |||
103 | padctl: padctl@0,7009f000 { | ||
104 | pinctrl-0 = <&padctl_default>; | ||
105 | pinctrl-names = "default"; | ||
106 | |||
107 | padctl_default: pinmux { | ||
108 | usb3 { | ||
109 | nvidia,lanes = "pcie-0", "pcie-1"; | ||
110 | nvidia,function = "usb3"; | ||
111 | nvidia,iddq = <0>; | ||
112 | }; | ||
113 | |||
114 | pcie { | ||
115 | nvidia,lanes = "pcie-2", "pcie-3", | ||
116 | "pcie-4"; | ||
117 | nvidia,function = "pcie"; | ||
118 | nvidia,iddq = <0>; | ||
119 | }; | ||
120 | |||
121 | sata { | ||
122 | nvidia,lanes = "sata-0"; | ||
123 | nvidia,function = "sata"; | ||
124 | nvidia,iddq = <0>; | ||
125 | }; | ||
126 | }; | ||
127 | }; | ||
diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.txt b/Documentation/devicetree/bindings/serial/cdns,uart.txt new file mode 100644 index 000000000000..a3eb154c32ca --- /dev/null +++ b/Documentation/devicetree/bindings/serial/cdns,uart.txt | |||
@@ -0,0 +1,20 @@ | |||
1 | Binding for Cadence UART Controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps" | ||
5 | - reg: Should contain UART controller registers location and length. | ||
6 | - interrupts: Should contain UART controller interrupts. | ||
7 | - clocks: Must contain phandles to the UART clocks | ||
8 | See ../clocks/clock-bindings.txt for details. | ||
9 | - clock-names: Tuple to identify input clocks, must contain "uart_clk" and "pclk" | ||
10 | See ../clocks/clock-bindings.txt for details. | ||
11 | |||
12 | |||
13 | Example: | ||
14 | uart@e0000000 { | ||
15 | compatible = "cdns,uart-r1p8"; | ||
16 | clocks = <&clkc 23>, <&clkc 40>; | ||
17 | clock-names = "uart_clk", "pclk"; | ||
18 | reg = <0xE0000000 0x1000>; | ||
19 | interrupts = <0 27 4>; | ||
20 | }; | ||
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index d415b38ec8ca..3dc9188ce023 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
@@ -6,6 +6,7 @@ using them to avoid name-space collisions. | |||
6 | abilis Abilis Systems | 6 | abilis Abilis Systems |
7 | active-semi Active-Semi International Inc | 7 | active-semi Active-Semi International Inc |
8 | ad Avionic Design GmbH | 8 | ad Avionic Design GmbH |
9 | adapteva Adapteva, Inc. | ||
9 | adi Analog Devices, Inc. | 10 | adi Analog Devices, Inc. |
10 | aeroflexgaisler Aeroflex Gaisler AB | 11 | aeroflexgaisler Aeroflex Gaisler AB |
11 | ak Asahi Kasei Corp. | 12 | ak Asahi Kasei Corp. |
@@ -72,6 +73,7 @@ karo Ka-Ro electronics GmbH | |||
72 | keymile Keymile GmbH | 73 | keymile Keymile GmbH |
73 | lacie LaCie | 74 | lacie LaCie |
74 | lantiq Lantiq Semiconductor | 75 | lantiq Lantiq Semiconductor |
76 | lenovo Lenovo Group Ltd. | ||
75 | lg LG Corporation | 77 | lg LG Corporation |
76 | linux Linux-specific binding | 78 | linux Linux-specific binding |
77 | lsi LSI Corp. (LSI Logic) | 79 | lsi LSI Corp. (LSI Logic) |
@@ -124,6 +126,7 @@ sii Seiko Instruments, Inc. | |||
124 | sirf SiRF Technology, Inc. | 126 | sirf SiRF Technology, Inc. |
125 | smsc Standard Microsystems Corporation | 127 | smsc Standard Microsystems Corporation |
126 | snps Synopsys, Inc. | 128 | snps Synopsys, Inc. |
129 | solidrun SolidRun | ||
127 | spansion Spansion Inc. | 130 | spansion Spansion Inc. |
128 | st STMicroelectronics | 131 | st STMicroelectronics |
129 | ste ST-Ericsson | 132 | ste ST-Ericsson |