diff options
Diffstat (limited to 'Documentation/devicetree')
23 files changed, 954 insertions, 37 deletions
diff --git a/Documentation/devicetree/bindings/arm/cci.txt b/Documentation/devicetree/bindings/arm/cci.txt new file mode 100644 index 000000000000..92d36e2aa877 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/cci.txt | |||
@@ -0,0 +1,172 @@ | |||
1 | ======================================================= | ||
2 | ARM CCI cache coherent interconnect binding description | ||
3 | ======================================================= | ||
4 | |||
5 | ARM multi-cluster systems maintain intra-cluster coherency through a | ||
6 | cache coherent interconnect (CCI) that is capable of monitoring bus | ||
7 | transactions and manage coherency, TLB invalidations and memory barriers. | ||
8 | |||
9 | It allows snooping and distributed virtual memory message broadcast across | ||
10 | clusters, through memory mapped interface, with a global control register | ||
11 | space and multiple sets of interface control registers, one per slave | ||
12 | interface. | ||
13 | |||
14 | Bindings for the CCI node follow the ePAPR standard, available from: | ||
15 | |||
16 | www.power.org/documentation/epapr-version-1-1/ | ||
17 | |||
18 | with the addition of the bindings described in this document which are | ||
19 | specific to ARM. | ||
20 | |||
21 | * CCI interconnect node | ||
22 | |||
23 | Description: Describes a CCI cache coherent Interconnect component | ||
24 | |||
25 | Node name must be "cci". | ||
26 | Node's parent must be the root node /, and the address space visible | ||
27 | through the CCI interconnect is the same as the one seen from the | ||
28 | root node (ie from CPUs perspective as per DT standard). | ||
29 | Every CCI node has to define the following properties: | ||
30 | |||
31 | - compatible | ||
32 | Usage: required | ||
33 | Value type: <string> | ||
34 | Definition: must be set to | ||
35 | "arm,cci-400" | ||
36 | |||
37 | - reg | ||
38 | Usage: required | ||
39 | Value type: <prop-encoded-array> | ||
40 | Definition: A standard property. Specifies base physical | ||
41 | address of CCI control registers common to all | ||
42 | interfaces. | ||
43 | |||
44 | - ranges: | ||
45 | Usage: required | ||
46 | Value type: <prop-encoded-array> | ||
47 | Definition: A standard property. Follow rules in the ePAPR for | ||
48 | hierarchical bus addressing. CCI interfaces | ||
49 | addresses refer to the parent node addressing | ||
50 | scheme to declare their register bases. | ||
51 | |||
52 | CCI interconnect node can define the following child nodes: | ||
53 | |||
54 | - CCI control interface nodes | ||
55 | |||
56 | Node name must be "slave-if". | ||
57 | Parent node must be CCI interconnect node. | ||
58 | |||
59 | A CCI control interface node must contain the following | ||
60 | properties: | ||
61 | |||
62 | - compatible | ||
63 | Usage: required | ||
64 | Value type: <string> | ||
65 | Definition: must be set to | ||
66 | "arm,cci-400-ctrl-if" | ||
67 | |||
68 | - interface-type: | ||
69 | Usage: required | ||
70 | Value type: <string> | ||
71 | Definition: must be set to one of {"ace", "ace-lite"} | ||
72 | depending on the interface type the node | ||
73 | represents. | ||
74 | |||
75 | - reg: | ||
76 | Usage: required | ||
77 | Value type: <prop-encoded-array> | ||
78 | Definition: the base address and size of the | ||
79 | corresponding interface programming | ||
80 | registers. | ||
81 | |||
82 | * CCI interconnect bus masters | ||
83 | |||
84 | Description: masters in the device tree connected to a CCI port | ||
85 | (inclusive of CPUs and their cpu nodes). | ||
86 | |||
87 | A CCI interconnect bus master node must contain the following | ||
88 | properties: | ||
89 | |||
90 | - cci-control-port: | ||
91 | Usage: required | ||
92 | Value type: <phandle> | ||
93 | Definition: a phandle containing the CCI control interface node | ||
94 | the master is connected to. | ||
95 | |||
96 | Example: | ||
97 | |||
98 | cpus { | ||
99 | #size-cells = <0>; | ||
100 | #address-cells = <1>; | ||
101 | |||
102 | CPU0: cpu@0 { | ||
103 | device_type = "cpu"; | ||
104 | compatible = "arm,cortex-a15"; | ||
105 | cci-control-port = <&cci_control1>; | ||
106 | reg = <0x0>; | ||
107 | }; | ||
108 | |||
109 | CPU1: cpu@1 { | ||
110 | device_type = "cpu"; | ||
111 | compatible = "arm,cortex-a15"; | ||
112 | cci-control-port = <&cci_control1>; | ||
113 | reg = <0x1>; | ||
114 | }; | ||
115 | |||
116 | CPU2: cpu@100 { | ||
117 | device_type = "cpu"; | ||
118 | compatible = "arm,cortex-a7"; | ||
119 | cci-control-port = <&cci_control2>; | ||
120 | reg = <0x100>; | ||
121 | }; | ||
122 | |||
123 | CPU3: cpu@101 { | ||
124 | device_type = "cpu"; | ||
125 | compatible = "arm,cortex-a7"; | ||
126 | cci-control-port = <&cci_control2>; | ||
127 | reg = <0x101>; | ||
128 | }; | ||
129 | |||
130 | }; | ||
131 | |||
132 | dma0: dma@3000000 { | ||
133 | compatible = "arm,pl330", "arm,primecell"; | ||
134 | cci-control-port = <&cci_control0>; | ||
135 | reg = <0x0 0x3000000 0x0 0x1000>; | ||
136 | interrupts = <10>; | ||
137 | #dma-cells = <1>; | ||
138 | #dma-channels = <8>; | ||
139 | #dma-requests = <32>; | ||
140 | }; | ||
141 | |||
142 | cci@2c090000 { | ||
143 | compatible = "arm,cci-400"; | ||
144 | #address-cells = <1>; | ||
145 | #size-cells = <1>; | ||
146 | reg = <0x0 0x2c090000 0 0x1000>; | ||
147 | ranges = <0x0 0x0 0x2c090000 0x6000>; | ||
148 | |||
149 | cci_control0: slave-if@1000 { | ||
150 | compatible = "arm,cci-400-ctrl-if"; | ||
151 | interface-type = "ace-lite"; | ||
152 | reg = <0x1000 0x1000>; | ||
153 | }; | ||
154 | |||
155 | cci_control1: slave-if@4000 { | ||
156 | compatible = "arm,cci-400-ctrl-if"; | ||
157 | interface-type = "ace"; | ||
158 | reg = <0x4000 0x1000>; | ||
159 | }; | ||
160 | |||
161 | cci_control2: slave-if@5000 { | ||
162 | compatible = "arm,cci-400-ctrl-if"; | ||
163 | interface-type = "ace"; | ||
164 | reg = <0x5000 0x1000>; | ||
165 | }; | ||
166 | }; | ||
167 | |||
168 | This CCI node corresponds to a CCI component whose control registers sits | ||
169 | at address 0x000000002c090000. | ||
170 | CCI slave interface @0x000000002c091000 is connected to dma controller dma0. | ||
171 | CCI slave interface @0x000000002c094000 is connected to CPUs {CPU0, CPU1}; | ||
172 | CCI slave interface @0x000000002c095000 is connected to CPUs {CPU2, CPU3}; | ||
diff --git a/Documentation/devicetree/bindings/arm/keystone/keystone.txt b/Documentation/devicetree/bindings/arm/keystone/keystone.txt new file mode 100644 index 000000000000..63c0e6ae5cf7 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/keystone/keystone.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | TI Keystone Platforms Device Tree Bindings | ||
2 | ----------------------------------------------- | ||
3 | |||
4 | Boards with Keystone2 based devices (TCI66xxK2H) SOC shall have the | ||
5 | following properties. | ||
6 | |||
7 | Required properties: | ||
8 | - compatible: All TI specific devices present in Keystone SOC should be in | ||
9 | the form "ti,keystone-*". Generic devices like gic, arch_timers, ns16550 | ||
10 | type UART should use the specified compatible for those devices. | ||
diff --git a/Documentation/devicetree/bindings/arm/rtsm-dcscb.txt b/Documentation/devicetree/bindings/arm/rtsm-dcscb.txt new file mode 100644 index 000000000000..3b8fbf3c00c5 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/rtsm-dcscb.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | ARM Dual Cluster System Configuration Block | ||
2 | ------------------------------------------- | ||
3 | |||
4 | The Dual Cluster System Configuration Block (DCSCB) provides basic | ||
5 | functionality for controlling clocks, resets and configuration pins in | ||
6 | the Dual Cluster System implemented by the Real-Time System Model (RTSM). | ||
7 | |||
8 | Required properties: | ||
9 | |||
10 | - compatible : should be "arm,rtsm,dcscb" | ||
11 | |||
12 | - reg : physical base address and the size of the registers window | ||
13 | |||
14 | Example: | ||
15 | |||
16 | dcscb@60000000 { | ||
17 | compatible = "arm,rtsm,dcscb"; | ||
18 | reg = <0x60000000 0x1000>; | ||
19 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/ste-u300.txt b/Documentation/devicetree/bindings/arm/ste-u300.txt new file mode 100644 index 000000000000..69b5ab0b5f4b --- /dev/null +++ b/Documentation/devicetree/bindings/arm/ste-u300.txt | |||
@@ -0,0 +1,46 @@ | |||
1 | ST-Ericsson U300 Device Tree Bindings | ||
2 | |||
3 | For various board the "board" node may contain specific properties | ||
4 | that pertain to this particular board, such as board-specific GPIOs | ||
5 | or board power regulator supplies. | ||
6 | |||
7 | Required root node property: | ||
8 | |||
9 | compatible="stericsson,u300"; | ||
10 | |||
11 | Required node: syscon | ||
12 | This contains the system controller. | ||
13 | - compatible: must be "stericsson,u300-syscon". | ||
14 | - reg: the base address and size of the system controller. | ||
15 | |||
16 | Boards with the U300 SoC include: | ||
17 | |||
18 | S365 "Small Board U365": | ||
19 | |||
20 | Required node: s365 | ||
21 | This contains the board-specific information. | ||
22 | - compatible: must be "stericsson,s365". | ||
23 | - vana15-supply: the regulator supplying the 1.5V to drive the | ||
24 | board. | ||
25 | - syscon: a pointer to the syscon node so we can acccess the | ||
26 | syscon registers to set the board as self-powered. | ||
27 | |||
28 | Example: | ||
29 | |||
30 | / { | ||
31 | model = "ST-Ericsson U300"; | ||
32 | compatible = "stericsson,u300"; | ||
33 | #address-cells = <1>; | ||
34 | #size-cells = <1>; | ||
35 | |||
36 | s365 { | ||
37 | compatible = "stericsson,s365"; | ||
38 | vana15-supply = <&ab3100_ldo_d_reg>; | ||
39 | syscon = <&syscon>; | ||
40 | }; | ||
41 | |||
42 | syscon: syscon@c0011000 { | ||
43 | compatible = "stericsson,u300-syscon"; | ||
44 | reg = <0xc0011000 0x1000>; | ||
45 | }; | ||
46 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/imx5-clock.txt b/Documentation/devicetree/bindings/clock/imx5-clock.txt index d71b4b2c077d..f46f5625d8ad 100644 --- a/Documentation/devicetree/bindings/clock/imx5-clock.txt +++ b/Documentation/devicetree/bindings/clock/imx5-clock.txt | |||
@@ -184,6 +184,19 @@ clocks and IDs. | |||
184 | cko2 170 | 184 | cko2 170 |
185 | srtc_gate 171 | 185 | srtc_gate 171 |
186 | pata_gate 172 | 186 | pata_gate 172 |
187 | sata_gate 173 | ||
188 | spdif_xtal_sel 174 | ||
189 | spdif0_sel 175 | ||
190 | spdif1_sel 176 | ||
191 | spdif0_pred 177 | ||
192 | spdif0_podf 178 | ||
193 | spdif1_pred 179 | ||
194 | spdif1_podf 180 | ||
195 | spdif0_com_sel 181 | ||
196 | spdif1_com_sel 182 | ||
197 | spdif0_gate 183 | ||
198 | spdif1_gate 184 | ||
199 | spdif_ipg_gate 185 | ||
187 | 200 | ||
188 | Examples (for mx53): | 201 | Examples (for mx53): |
189 | 202 | ||
diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/Documentation/devicetree/bindings/clock/imx6q-clock.txt index 6deb6fd1c7cd..a0e104f0527e 100644 --- a/Documentation/devicetree/bindings/clock/imx6q-clock.txt +++ b/Documentation/devicetree/bindings/clock/imx6q-clock.txt | |||
@@ -208,6 +208,7 @@ clocks and IDs. | |||
208 | pll4_post_div 193 | 208 | pll4_post_div 193 |
209 | pll5_post_div 194 | 209 | pll5_post_div 194 |
210 | pll5_video_div 195 | 210 | pll5_video_div 195 |
211 | eim_slow 196 | ||
211 | 212 | ||
212 | Examples: | 213 | Examples: |
213 | 214 | ||
diff --git a/Documentation/devicetree/bindings/clock/imx6sl-clock.txt b/Documentation/devicetree/bindings/clock/imx6sl-clock.txt new file mode 100644 index 000000000000..15e40bdf147d --- /dev/null +++ b/Documentation/devicetree/bindings/clock/imx6sl-clock.txt | |||
@@ -0,0 +1,10 @@ | |||
1 | * Clock bindings for Freescale i.MX6 SoloLite | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "fsl,imx6sl-ccm" | ||
5 | - reg: Address and length of the register set | ||
6 | - #clock-cells: Should be <1> | ||
7 | |||
8 | The clock consumer should specify the desired clock by having the clock | ||
9 | ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx6sl-clock.h | ||
10 | for the full list of i.MX6 SoloLite clock IDs. | ||
diff --git a/Documentation/devicetree/bindings/clock/ste-u300-syscon-clock.txt b/Documentation/devicetree/bindings/clock/ste-u300-syscon-clock.txt new file mode 100644 index 000000000000..7cafcb98ead7 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/ste-u300-syscon-clock.txt | |||
@@ -0,0 +1,80 @@ | |||
1 | Clock bindings for ST-Ericsson U300 System Controller Clocks | ||
2 | |||
3 | Bindings for the gated system controller clocks: | ||
4 | |||
5 | Required properties: | ||
6 | - compatible: must be "stericsson,u300-syscon-clk" | ||
7 | - #clock-cells: must be <0> | ||
8 | - clock-type: specifies the type of clock: | ||
9 | 0 = slow clock | ||
10 | 1 = fast clock | ||
11 | 2 = rest/remaining clock | ||
12 | - clock-id: specifies the clock in the type range | ||
13 | |||
14 | Optional properties: | ||
15 | - clocks: parent clock(s) | ||
16 | |||
17 | The available clocks per type are as follows: | ||
18 | |||
19 | Type: ID: Clock: | ||
20 | ------------------- | ||
21 | 0 0 Slow peripheral bridge clock | ||
22 | 0 1 UART0 clock | ||
23 | 0 4 GPIO clock | ||
24 | 0 6 RTC clock | ||
25 | 0 7 Application timer clock | ||
26 | 0 8 Access timer clock | ||
27 | |||
28 | 1 0 Fast peripheral bridge clock | ||
29 | 1 1 I2C bus 0 clock | ||
30 | 1 2 I2C bus 1 clock | ||
31 | 1 5 MMC interface peripheral (silicon) clock | ||
32 | 1 6 SPI clock | ||
33 | |||
34 | 2 3 CPU clock | ||
35 | 2 4 DMA controller clock | ||
36 | 2 5 External Memory Interface (EMIF) clock | ||
37 | 2 6 NAND flask interface clock | ||
38 | 2 8 XGAM graphics engine clock | ||
39 | 2 9 Shared External Memory Interface (SEMI) clock | ||
40 | 2 10 AHB Subsystem Bridge clock | ||
41 | 2 12 Interrupt controller clock | ||
42 | |||
43 | Example: | ||
44 | |||
45 | gpio_clk: gpio_clk@13M { | ||
46 | #clock-cells = <0>; | ||
47 | compatible = "stericsson,u300-syscon-clk"; | ||
48 | clock-type = <0>; /* Slow */ | ||
49 | clock-id = <4>; | ||
50 | clocks = <&slow_clk>; | ||
51 | }; | ||
52 | |||
53 | gpio: gpio@c0016000 { | ||
54 | compatible = "stericsson,gpio-coh901"; | ||
55 | (...) | ||
56 | clocks = <&gpio_clk>; | ||
57 | }; | ||
58 | |||
59 | |||
60 | Bindings for the MMC/SD card clock: | ||
61 | |||
62 | Required properties: | ||
63 | - compatible: must be "stericsson,u300-syscon-mclk" | ||
64 | - #clock-cells: must be <0> | ||
65 | |||
66 | Optional properties: | ||
67 | - clocks: parent clock(s) | ||
68 | |||
69 | mmc_mclk: mmc_mclk { | ||
70 | #clock-cells = <0>; | ||
71 | compatible = "stericsson,u300-syscon-mclk"; | ||
72 | clocks = <&mmc_pclk>; | ||
73 | }; | ||
74 | |||
75 | mmcsd: mmcsd@c0001000 { | ||
76 | compatible = "arm,pl18x", "arm,primecell"; | ||
77 | clocks = <&mmc_pclk>, <&mmc_mclk>; | ||
78 | clock-names = "apb_pclk", "mclk"; | ||
79 | (...) | ||
80 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/vf610-clock.txt b/Documentation/devicetree/bindings/clock/vf610-clock.txt new file mode 100644 index 000000000000..c80863d344ac --- /dev/null +++ b/Documentation/devicetree/bindings/clock/vf610-clock.txt | |||
@@ -0,0 +1,26 @@ | |||
1 | * Clock bindings for Freescale Vybrid VF610 SOC | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "fsl,vf610-ccm" | ||
5 | - reg: Address and length of the register set | ||
6 | - #clock-cells: Should be <1> | ||
7 | |||
8 | The clock consumer should specify the desired clock by having the clock | ||
9 | ID in its "clocks" phandle cell. See include/dt-bindings/clock/vf610-clock.h | ||
10 | for the full list of VF610 clock IDs. | ||
11 | |||
12 | Examples: | ||
13 | |||
14 | clks: ccm@4006b000 { | ||
15 | compatible = "fsl,vf610-ccm"; | ||
16 | reg = <0x4006b000 0x1000>; | ||
17 | #clock-cells = <1>; | ||
18 | }; | ||
19 | |||
20 | uart1: serial@40028000 { | ||
21 | compatible = "fsl,vf610-uart"; | ||
22 | reg = <0x40028000 0x1000>; | ||
23 | interrupts = <0 62 0x04>; | ||
24 | clocks = <&clks VF610_CLK_UART1>; | ||
25 | clock-names = "ipg"; | ||
26 | }; | ||
diff --git a/Documentation/devicetree/bindings/clock/zynq-7000.txt b/Documentation/devicetree/bindings/clock/zynq-7000.txt index 23ae1db1bc13..d99af878f5d7 100644 --- a/Documentation/devicetree/bindings/clock/zynq-7000.txt +++ b/Documentation/devicetree/bindings/clock/zynq-7000.txt | |||
@@ -6,50 +6,99 @@ The purpose of this document is to document their usage. | |||
6 | See clock_bindings.txt for more information on the generic clock bindings. | 6 | See clock_bindings.txt for more information on the generic clock bindings. |
7 | See Chapter 25 of Zynq TRM for more information about Zynq clocks. | 7 | See Chapter 25 of Zynq TRM for more information about Zynq clocks. |
8 | 8 | ||
9 | == PLLs == | 9 | == Clock Controller == |
10 | 10 | The clock controller is a logical abstraction of Zynq's clock tree. It reads | |
11 | Used to describe the ARM_PLL, DDR_PLL, and IO_PLL. | 11 | required input clock frequencies from the devicetree and acts as clock provider |
12 | for all clock consumers of PS clocks. | ||
12 | 13 | ||
13 | Required properties: | 14 | Required properties: |
14 | - #clock-cells : shall be 0 (only one clock is output from this node) | 15 | - #clock-cells : Must be 1 |
15 | - compatible : "xlnx,zynq-pll" | 16 | - compatible : "xlnx,ps7-clkc" |
16 | - reg : pair of u32 values, which are the address offsets within the SLCR | 17 | - ps-clk-frequency : Frequency of the oscillator providing ps_clk in HZ |
17 | of the relevant PLL_CTRL register and PLL_CFG register respectively | 18 | (usually 33 MHz oscillators are used for Zynq platforms) |
18 | - clocks : phandle for parent clock. should be the phandle for ps_clk | 19 | - clock-output-names : List of strings used to name the clock outputs. Shall be |
20 | a list of the outputs given below. | ||
19 | 21 | ||
20 | Optional properties: | 22 | Optional properties: |
21 | - clock-output-names : name of the output clock | 23 | - clocks : as described in the clock bindings |
22 | 24 | - clock-names : as described in the clock bindings | |
23 | Example: | ||
24 | armpll: armpll { | ||
25 | #clock-cells = <0>; | ||
26 | compatible = "xlnx,zynq-pll"; | ||
27 | clocks = <&ps_clk>; | ||
28 | reg = <0x100 0x110>; | ||
29 | clock-output-names = "armpll"; | ||
30 | }; | ||
31 | |||
32 | == Peripheral clocks == | ||
33 | 25 | ||
34 | Describes clock node for the SDIO, SMC, SPI, QSPI, and UART clocks. | 26 | Clock inputs: |
27 | The following strings are optional parameters to the 'clock-names' property in | ||
28 | order to provide an optional (E)MIO clock source. | ||
29 | - swdt_ext_clk | ||
30 | - gem0_emio_clk | ||
31 | - gem1_emio_clk | ||
32 | - mio_clk_XX # with XX = 00..53 | ||
33 | ... | ||
35 | 34 | ||
36 | Required properties: | 35 | Clock outputs: |
37 | - #clock-cells : shall be 1 | 36 | 0: armpll |
38 | - compatible : "xlnx,zynq-periph-clock" | 37 | 1: ddrpll |
39 | - reg : a single u32 value, describing the offset within the SLCR where | 38 | 2: iopll |
40 | the CLK_CTRL register is found for this peripheral | 39 | 3: cpu_6or4x |
41 | - clocks : phandle for parent clocks. should hold phandles for | 40 | 4: cpu_3or2x |
42 | the IO_PLL, ARM_PLL, and DDR_PLL in order | 41 | 5: cpu_2x |
43 | - clock-output-names : names of the output clock(s). For peripherals that have | 42 | 6: cpu_1x |
44 | two output clocks (for example, the UART), two clocks | 43 | 7: ddr2x |
45 | should be listed. | 44 | 8: ddr3x |
45 | 9: dci | ||
46 | 10: lqspi | ||
47 | 11: smc | ||
48 | 12: pcap | ||
49 | 13: gem0 | ||
50 | 14: gem1 | ||
51 | 15: fclk0 | ||
52 | 16: fclk1 | ||
53 | 17: fclk2 | ||
54 | 18: fclk3 | ||
55 | 19: can0 | ||
56 | 20: can1 | ||
57 | 21: sdio0 | ||
58 | 22: sdio1 | ||
59 | 23: uart0 | ||
60 | 24: uart1 | ||
61 | 25: spi0 | ||
62 | 26: spi1 | ||
63 | 27: dma | ||
64 | 28: usb0_aper | ||
65 | 29: usb1_aper | ||
66 | 30: gem0_aper | ||
67 | 31: gem1_aper | ||
68 | 32: sdio0_aper | ||
69 | 33: sdio1_aper | ||
70 | 34: spi0_aper | ||
71 | 35: spi1_aper | ||
72 | 36: can0_aper | ||
73 | 37: can1_aper | ||
74 | 38: i2c0_aper | ||
75 | 39: i2c1_aper | ||
76 | 40: uart0_aper | ||
77 | 41: uart1_aper | ||
78 | 42: gpio_aper | ||
79 | 43: lqspi_aper | ||
80 | 44: smc_aper | ||
81 | 45: swdt | ||
82 | 46: dbg_trc | ||
83 | 47: dbg_apb | ||
46 | 84 | ||
47 | Example: | 85 | Example: |
48 | uart_clk: uart_clk { | 86 | clkc: clkc { |
49 | #clock-cells = <1>; | 87 | #clock-cells = <1>; |
50 | compatible = "xlnx,zynq-periph-clock"; | 88 | compatible = "xlnx,ps7-clkc"; |
51 | clocks = <&iopll &armpll &ddrpll>; | 89 | ps-clk-frequency = <33333333>; |
52 | reg = <0x154>; | 90 | clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x", |
53 | clock-output-names = "uart0_ref_clk", | 91 | "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x", |
54 | "uart1_ref_clk"; | 92 | "dci", "lqspi", "smc", "pcap", "gem0", "gem1", |
93 | "fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1", | ||
94 | "sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1", | ||
95 | "dma", "usb0_aper", "usb1_aper", "gem0_aper", | ||
96 | "gem1_aper", "sdio0_aper", "sdio1_aper", | ||
97 | "spi0_aper", "spi1_aper", "can0_aper", "can1_aper", | ||
98 | "i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper", | ||
99 | "gpio_aper", "lqspi_aper", "smc_aper", "swdt", | ||
100 | "dbg_trc", "dbg_apb"; | ||
101 | # optional props | ||
102 | clocks = <&clkc 16>, <&clk_foo>; | ||
103 | clock-names = "gem1_emio_clk", "can_mio_clk_23"; | ||
55 | }; | 104 | }; |
diff --git a/Documentation/devicetree/bindings/dma/ste-coh901318.txt b/Documentation/devicetree/bindings/dma/ste-coh901318.txt new file mode 100644 index 000000000000..091ad057e9cf --- /dev/null +++ b/Documentation/devicetree/bindings/dma/ste-coh901318.txt | |||
@@ -0,0 +1,32 @@ | |||
1 | ST-Ericsson COH 901 318 DMA Controller | ||
2 | |||
3 | This is a DMA controller which has begun as a fork of the | ||
4 | ARM PL08x PrimeCell VHDL code. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: should be "stericsson,coh901318" | ||
8 | - reg: register locations and length | ||
9 | - interrupts: the single DMA IRQ | ||
10 | - #dma-cells: must be set to <1>, as the channels on the | ||
11 | COH 901 318 are simple and identified by a single number | ||
12 | - dma-channels: the number of DMA channels handled | ||
13 | |||
14 | Example: | ||
15 | |||
16 | dmac: dma-controller@c00020000 { | ||
17 | compatible = "stericsson,coh901318"; | ||
18 | reg = <0xc0020000 0x1000>; | ||
19 | interrupt-parent = <&vica>; | ||
20 | interrupts = <2>; | ||
21 | #dma-cells = <1>; | ||
22 | dma-channels = <40>; | ||
23 | }; | ||
24 | |||
25 | Consumers example: | ||
26 | |||
27 | uart0: serial@c0013000 { | ||
28 | compatible = "..."; | ||
29 | (...) | ||
30 | dmas = <&dmac 17 &dmac 18>; | ||
31 | dma-names = "tx", "rx"; | ||
32 | }; | ||
diff --git a/Documentation/devicetree/bindings/dma/ti-edma.txt b/Documentation/devicetree/bindings/dma/ti-edma.txt new file mode 100644 index 000000000000..9fbbdb783a72 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/ti-edma.txt | |||
@@ -0,0 +1,34 @@ | |||
1 | TI EDMA | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "ti,edma3" | ||
5 | - ti,edma-regions: Number of regions | ||
6 | - ti,edma-slots: Number of slots | ||
7 | - #dma-cells: Should be set to <1> | ||
8 | Clients should use a single channel number per DMA request. | ||
9 | - dma-channels: Specify total DMA channels per CC | ||
10 | - reg: Memory map for accessing module | ||
11 | - interrupt-parent: Interrupt controller the interrupt is routed through | ||
12 | - interrupts: Exactly 3 interrupts need to be specified in the order: | ||
13 | 1. Transfer completion interrupt. | ||
14 | 2. Memory protection interrupt. | ||
15 | 3. Error interrupt. | ||
16 | Optional properties: | ||
17 | - ti,hwmods: Name of the hwmods associated to the EDMA | ||
18 | - ti,edma-xbar-event-map: Crossbar event to channel map | ||
19 | |||
20 | Example: | ||
21 | |||
22 | edma: edma@49000000 { | ||
23 | reg = <0x49000000 0x10000>; | ||
24 | interrupt-parent = <&intc>; | ||
25 | interrupts = <12 13 14>; | ||
26 | compatible = "ti,edma3"; | ||
27 | ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; | ||
28 | #dma-cells = <1>; | ||
29 | dma-channels = <64>; | ||
30 | ti,edma-regions = <4>; | ||
31 | ti,edma-slots = <256>; | ||
32 | ti,edma-xbar-event-map = <1 12 | ||
33 | 2 13>; | ||
34 | }; | ||
diff --git a/Documentation/devicetree/bindings/gpio/gpio-clps711x.txt b/Documentation/devicetree/bindings/gpio/gpio-clps711x.txt new file mode 100644 index 000000000000..e0d0446a6b78 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-clps711x.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | Cirrus Logic CLPS711X GPIO controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "cirrus,clps711x-gpio" | ||
5 | - reg: Physical base GPIO controller registers location and length. | ||
6 | There should be two registers, first is DATA register, the second | ||
7 | is DIRECTION. | ||
8 | - gpio-controller: Marks the device node as a gpio controller. | ||
9 | - #gpio-cells: Should be two. The first cell is the pin number and | ||
10 | the second cell is used to specify the gpio polarity: | ||
11 | 0 = active high | ||
12 | 1 = active low | ||
13 | |||
14 | Note: Each GPIO port should have an alias correctly numbered in "aliases" | ||
15 | node. | ||
16 | |||
17 | Example: | ||
18 | |||
19 | aliases { | ||
20 | gpio0 = &porta; | ||
21 | }; | ||
22 | |||
23 | porta: gpio@80000000 { | ||
24 | compatible = "cirrus,clps711x-gpio"; | ||
25 | reg = <0x80000000 0x1>, <0x80000040 0x1>; | ||
26 | gpio-controller; | ||
27 | #gpio-cells = <2>; | ||
28 | }; | ||
diff --git a/Documentation/devicetree/bindings/gpio/gpio-stericsson-coh901.txt b/Documentation/devicetree/bindings/gpio/gpio-stericsson-coh901.txt new file mode 100644 index 000000000000..fd665b44d767 --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/gpio-stericsson-coh901.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | ST-Ericsson COH 901 571/3 GPIO controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Compatible property value should be "stericsson,gpio-coh901" | ||
5 | - reg: Physical base address of the controller and length of memory mapped | ||
6 | region. | ||
7 | - interrupts: the 0...n interrupts assigned to the different GPIO ports/banks. | ||
diff --git a/Documentation/devicetree/bindings/i2c/i2c-st-ddci2c.txt b/Documentation/devicetree/bindings/i2c/i2c-st-ddci2c.txt new file mode 100644 index 000000000000..bd81a482634f --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-st-ddci2c.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | ST Microelectronics DDC I2C | ||
2 | |||
3 | Required properties : | ||
4 | - compatible : Must be "st,ddci2c" | ||
5 | - reg: physical base address of the controller and length of memory mapped | ||
6 | region. | ||
7 | - interrupts: interrupt number to the cpu. | ||
8 | - #address-cells = <1>; | ||
9 | - #size-cells = <0>; | ||
10 | |||
11 | Optional properties: | ||
12 | - Child nodes conforming to i2c bus binding | ||
13 | |||
14 | Examples : | ||
15 | |||
diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt new file mode 100644 index 000000000000..e2371f5cdebe --- /dev/null +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt | |||
@@ -0,0 +1,73 @@ | |||
1 | * Synopsis Designware PCIe interface | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should contain "snps,dw-pcie" to identify the | ||
5 | core, plus an identifier for the specific instance, such | ||
6 | as "samsung,exynos5440-pcie". | ||
7 | - reg: base addresses and lengths of the pcie controller, | ||
8 | the phy controller, additional register for the phy controller. | ||
9 | - interrupts: interrupt values for level interrupt, | ||
10 | pulse interrupt, special interrupt. | ||
11 | - clocks: from common clock binding: handle to pci clock. | ||
12 | - clock-names: from common clock binding: should be "pcie" and "pcie_bus". | ||
13 | - #address-cells: set to <3> | ||
14 | - #size-cells: set to <2> | ||
15 | - device_type: set to "pci" | ||
16 | - ranges: ranges for the PCI memory and I/O regions | ||
17 | - #interrupt-cells: set to <1> | ||
18 | - interrupt-map-mask and interrupt-map: standard PCI properties | ||
19 | to define the mapping of the PCIe interface to interrupt | ||
20 | numbers. | ||
21 | - reset-gpio: gpio pin number of power good signal | ||
22 | |||
23 | Example: | ||
24 | |||
25 | SoC specific DT Entry: | ||
26 | |||
27 | pcie@290000 { | ||
28 | compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; | ||
29 | reg = <0x290000 0x1000 | ||
30 | 0x270000 0x1000 | ||
31 | 0x271000 0x40>; | ||
32 | interrupts = <0 20 0>, <0 21 0>, <0 22 0>; | ||
33 | clocks = <&clock 28>, <&clock 27>; | ||
34 | clock-names = "pcie", "pcie_bus"; | ||
35 | #address-cells = <3>; | ||
36 | #size-cells = <2>; | ||
37 | device_type = "pci"; | ||
38 | ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00001000 /* configuration space */ | ||
39 | 0x81000000 0 0 0x40001000 0 0x00010000 /* downstream I/O */ | ||
40 | 0x82000000 0 0x40011000 0x40011000 0 0x1ffef000>; /* non-prefetchable memory */ | ||
41 | #interrupt-cells = <1>; | ||
42 | interrupt-map-mask = <0 0 0 0>; | ||
43 | interrupt-map = <0x0 0 &gic 53>; | ||
44 | }; | ||
45 | |||
46 | pcie@2a0000 { | ||
47 | compatible = "samsung,exynos5440-pcie", "snps,dw-pcie"; | ||
48 | reg = <0x2a0000 0x1000 | ||
49 | 0x272000 0x1000 | ||
50 | 0x271040 0x40>; | ||
51 | interrupts = <0 23 0>, <0 24 0>, <0 25 0>; | ||
52 | clocks = <&clock 29>, <&clock 27>; | ||
53 | clock-names = "pcie", "pcie_bus"; | ||
54 | #address-cells = <3>; | ||
55 | #size-cells = <2>; | ||
56 | device_type = "pci"; | ||
57 | ranges = <0x00000800 0 0x60000000 0x60000000 0 0x00001000 /* configuration space */ | ||
58 | 0x81000000 0 0 0x60001000 0 0x00010000 /* downstream I/O */ | ||
59 | 0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; /* non-prefetchable memory */ | ||
60 | #interrupt-cells = <1>; | ||
61 | interrupt-map-mask = <0 0 0 0>; | ||
62 | interrupt-map = <0x0 0 &gic 56>; | ||
63 | }; | ||
64 | |||
65 | Board specific DT Entry: | ||
66 | |||
67 | pcie@290000 { | ||
68 | reset-gpio = <&pin_ctrl 5 0>; | ||
69 | }; | ||
70 | |||
71 | pcie@2a0000 { | ||
72 | reset-gpio = <&pin_ctrl 22 0>; | ||
73 | }; | ||
diff --git a/Documentation/devicetree/bindings/pci/mvebu-pci.txt b/Documentation/devicetree/bindings/pci/mvebu-pci.txt new file mode 100644 index 000000000000..f8d405897a94 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/mvebu-pci.txt | |||
@@ -0,0 +1,221 @@ | |||
1 | * Marvell EBU PCIe interfaces | ||
2 | |||
3 | Mandatory properties: | ||
4 | - compatible: one of the following values: | ||
5 | marvell,armada-370-pcie | ||
6 | marvell,armada-xp-pcie | ||
7 | marvell,kirkwood-pcie | ||
8 | - #address-cells, set to <3> | ||
9 | - #size-cells, set to <2> | ||
10 | - #interrupt-cells, set to <1> | ||
11 | - bus-range: PCI bus numbers covered | ||
12 | - device_type, set to "pci" | ||
13 | - ranges: ranges for the PCI memory and I/O regions, as well as the | ||
14 | MMIO registers to control the PCIe interfaces. | ||
15 | |||
16 | In addition, the Device Tree node must have sub-nodes describing each | ||
17 | PCIe interface, having the following mandatory properties: | ||
18 | - reg: used only for interrupt mapping, so only the first four bytes | ||
19 | are used to refer to the correct bus number and device number. | ||
20 | - assigned-addresses: reference to the MMIO registers used to control | ||
21 | this PCIe interface. | ||
22 | - clocks: the clock associated to this PCIe interface | ||
23 | - marvell,pcie-port: the physical PCIe port number | ||
24 | - status: either "disabled" or "okay" | ||
25 | - device_type, set to "pci" | ||
26 | - #address-cells, set to <3> | ||
27 | - #size-cells, set to <2> | ||
28 | - #interrupt-cells, set to <1> | ||
29 | - ranges, empty property. | ||
30 | - interrupt-map-mask and interrupt-map, standard PCI properties to | ||
31 | define the mapping of the PCIe interface to interrupt numbers. | ||
32 | |||
33 | and the following optional properties: | ||
34 | - marvell,pcie-lane: the physical PCIe lane number, for ports having | ||
35 | multiple lanes. If this property is not found, we assume that the | ||
36 | value is 0. | ||
37 | |||
38 | Example: | ||
39 | |||
40 | pcie-controller { | ||
41 | compatible = "marvell,armada-xp-pcie"; | ||
42 | status = "disabled"; | ||
43 | device_type = "pci"; | ||
44 | |||
45 | #address-cells = <3>; | ||
46 | #size-cells = <2>; | ||
47 | |||
48 | bus-range = <0x00 0xff>; | ||
49 | |||
50 | ranges = <0x82000000 0 0xd0040000 0xd0040000 0 0x00002000 /* Port 0.0 registers */ | ||
51 | 0x82000000 0 0xd0042000 0xd0042000 0 0x00002000 /* Port 2.0 registers */ | ||
52 | 0x82000000 0 0xd0044000 0xd0044000 0 0x00002000 /* Port 0.1 registers */ | ||
53 | 0x82000000 0 0xd0048000 0xd0048000 0 0x00002000 /* Port 0.2 registers */ | ||
54 | 0x82000000 0 0xd004c000 0xd004c000 0 0x00002000 /* Port 0.3 registers */ | ||
55 | 0x82000000 0 0xd0080000 0xd0080000 0 0x00002000 /* Port 1.0 registers */ | ||
56 | 0x82000000 0 0xd0082000 0xd0082000 0 0x00002000 /* Port 3.0 registers */ | ||
57 | 0x82000000 0 0xd0084000 0xd0084000 0 0x00002000 /* Port 1.1 registers */ | ||
58 | 0x82000000 0 0xd0088000 0xd0088000 0 0x00002000 /* Port 1.2 registers */ | ||
59 | 0x82000000 0 0xd008c000 0xd008c000 0 0x00002000 /* Port 1.3 registers */ | ||
60 | 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */ | ||
61 | 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */ | ||
62 | |||
63 | pcie@1,0 { | ||
64 | device_type = "pci"; | ||
65 | assigned-addresses = <0x82000800 0 0xd0040000 0 0x2000>; | ||
66 | reg = <0x0800 0 0 0 0>; | ||
67 | #address-cells = <3>; | ||
68 | #size-cells = <2>; | ||
69 | #interrupt-cells = <1>; | ||
70 | ranges; | ||
71 | interrupt-map-mask = <0 0 0 0>; | ||
72 | interrupt-map = <0 0 0 0 &mpic 58>; | ||
73 | marvell,pcie-port = <0>; | ||
74 | marvell,pcie-lane = <0>; | ||
75 | clocks = <&gateclk 5>; | ||
76 | status = "disabled"; | ||
77 | }; | ||
78 | |||
79 | pcie@2,0 { | ||
80 | device_type = "pci"; | ||
81 | assigned-addresses = <0x82001000 0 0xd0044000 0 0x2000>; | ||
82 | reg = <0x1000 0 0 0 0>; | ||
83 | #address-cells = <3>; | ||
84 | #size-cells = <2>; | ||
85 | #interrupt-cells = <1>; | ||
86 | ranges; | ||
87 | interrupt-map-mask = <0 0 0 0>; | ||
88 | interrupt-map = <0 0 0 0 &mpic 59>; | ||
89 | marvell,pcie-port = <0>; | ||
90 | marvell,pcie-lane = <1>; | ||
91 | clocks = <&gateclk 6>; | ||
92 | status = "disabled"; | ||
93 | }; | ||
94 | |||
95 | pcie@3,0 { | ||
96 | device_type = "pci"; | ||
97 | assigned-addresses = <0x82001800 0 0xd0048000 0 0x2000>; | ||
98 | reg = <0x1800 0 0 0 0>; | ||
99 | #address-cells = <3>; | ||
100 | #size-cells = <2>; | ||
101 | #interrupt-cells = <1>; | ||
102 | ranges; | ||
103 | interrupt-map-mask = <0 0 0 0>; | ||
104 | interrupt-map = <0 0 0 0 &mpic 60>; | ||
105 | marvell,pcie-port = <0>; | ||
106 | marvell,pcie-lane = <2>; | ||
107 | clocks = <&gateclk 7>; | ||
108 | status = "disabled"; | ||
109 | }; | ||
110 | |||
111 | pcie@4,0 { | ||
112 | device_type = "pci"; | ||
113 | assigned-addresses = <0x82002000 0 0xd004c000 0 0x2000>; | ||
114 | reg = <0x2000 0 0 0 0>; | ||
115 | #address-cells = <3>; | ||
116 | #size-cells = <2>; | ||
117 | #interrupt-cells = <1>; | ||
118 | ranges; | ||
119 | interrupt-map-mask = <0 0 0 0>; | ||
120 | interrupt-map = <0 0 0 0 &mpic 61>; | ||
121 | marvell,pcie-port = <0>; | ||
122 | marvell,pcie-lane = <3>; | ||
123 | clocks = <&gateclk 8>; | ||
124 | status = "disabled"; | ||
125 | }; | ||
126 | |||
127 | pcie@5,0 { | ||
128 | device_type = "pci"; | ||
129 | assigned-addresses = <0x82002800 0 0xd0080000 0 0x2000>; | ||
130 | reg = <0x2800 0 0 0 0>; | ||
131 | #address-cells = <3>; | ||
132 | #size-cells = <2>; | ||
133 | #interrupt-cells = <1>; | ||
134 | ranges; | ||
135 | interrupt-map-mask = <0 0 0 0>; | ||
136 | interrupt-map = <0 0 0 0 &mpic 62>; | ||
137 | marvell,pcie-port = <1>; | ||
138 | marvell,pcie-lane = <0>; | ||
139 | clocks = <&gateclk 9>; | ||
140 | status = "disabled"; | ||
141 | }; | ||
142 | |||
143 | pcie@6,0 { | ||
144 | device_type = "pci"; | ||
145 | assigned-addresses = <0x82003000 0 0xd0084000 0 0x2000>; | ||
146 | reg = <0x3000 0 0 0 0>; | ||
147 | #address-cells = <3>; | ||
148 | #size-cells = <2>; | ||
149 | #interrupt-cells = <1>; | ||
150 | ranges; | ||
151 | interrupt-map-mask = <0 0 0 0>; | ||
152 | interrupt-map = <0 0 0 0 &mpic 63>; | ||
153 | marvell,pcie-port = <1>; | ||
154 | marvell,pcie-lane = <1>; | ||
155 | clocks = <&gateclk 10>; | ||
156 | status = "disabled"; | ||
157 | }; | ||
158 | |||
159 | pcie@7,0 { | ||
160 | device_type = "pci"; | ||
161 | assigned-addresses = <0x82003800 0 0xd0088000 0 0x2000>; | ||
162 | reg = <0x3800 0 0 0 0>; | ||
163 | #address-cells = <3>; | ||
164 | #size-cells = <2>; | ||
165 | #interrupt-cells = <1>; | ||
166 | ranges; | ||
167 | interrupt-map-mask = <0 0 0 0>; | ||
168 | interrupt-map = <0 0 0 0 &mpic 64>; | ||
169 | marvell,pcie-port = <1>; | ||
170 | marvell,pcie-lane = <2>; | ||
171 | clocks = <&gateclk 11>; | ||
172 | status = "disabled"; | ||
173 | }; | ||
174 | |||
175 | pcie@8,0 { | ||
176 | device_type = "pci"; | ||
177 | assigned-addresses = <0x82004000 0 0xd008c000 0 0x2000>; | ||
178 | reg = <0x4000 0 0 0 0>; | ||
179 | #address-cells = <3>; | ||
180 | #size-cells = <2>; | ||
181 | #interrupt-cells = <1>; | ||
182 | ranges; | ||
183 | interrupt-map-mask = <0 0 0 0>; | ||
184 | interrupt-map = <0 0 0 0 &mpic 65>; | ||
185 | marvell,pcie-port = <1>; | ||
186 | marvell,pcie-lane = <3>; | ||
187 | clocks = <&gateclk 12>; | ||
188 | status = "disabled"; | ||
189 | }; | ||
190 | pcie@9,0 { | ||
191 | device_type = "pci"; | ||
192 | assigned-addresses = <0x82004800 0 0xd0042000 0 0x2000>; | ||
193 | reg = <0x4800 0 0 0 0>; | ||
194 | #address-cells = <3>; | ||
195 | #size-cells = <2>; | ||
196 | #interrupt-cells = <1>; | ||
197 | ranges; | ||
198 | interrupt-map-mask = <0 0 0 0>; | ||
199 | interrupt-map = <0 0 0 0 &mpic 99>; | ||
200 | marvell,pcie-port = <2>; | ||
201 | marvell,pcie-lane = <0>; | ||
202 | clocks = <&gateclk 26>; | ||
203 | status = "disabled"; | ||
204 | }; | ||
205 | |||
206 | pcie@10,0 { | ||
207 | device_type = "pci"; | ||
208 | assigned-addresses = <0x82005000 0 0xd0082000 0 0x2000>; | ||
209 | reg = <0x5000 0 0 0 0>; | ||
210 | #address-cells = <3>; | ||
211 | #size-cells = <2>; | ||
212 | #interrupt-cells = <1>; | ||
213 | ranges; | ||
214 | interrupt-map-mask = <0 0 0 0>; | ||
215 | interrupt-map = <0 0 0 0 &mpic 103>; | ||
216 | marvell,pcie-port = <3>; | ||
217 | marvell,pcie-lane = <0>; | ||
218 | clocks = <&gateclk 27>; | ||
219 | status = "disabled"; | ||
220 | }; | ||
221 | }; | ||
diff --git a/Documentation/devicetree/bindings/pci/pci.txt b/Documentation/devicetree/bindings/pci/pci.txt new file mode 100644 index 000000000000..41aeed38926d --- /dev/null +++ b/Documentation/devicetree/bindings/pci/pci.txt | |||
@@ -0,0 +1,9 @@ | |||
1 | PCI bus bridges have standardized Device Tree bindings: | ||
2 | |||
3 | PCI Bus Binding to: IEEE Std 1275-1994 | ||
4 | http://www.openfirmware.org/ofwg/bindings/pci/pci2_1.pdf | ||
5 | |||
6 | And for the interrupt mapping part: | ||
7 | |||
8 | Open Firmware Recommended Practice: Interrupt Mapping | ||
9 | http://www.openfirmware.org/1275/practice/imap/imap0_9d.pdf | ||
diff --git a/Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt b/Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt new file mode 100644 index 000000000000..30b364e504ba --- /dev/null +++ b/Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | V3 Semiconductor V360 EPC PCI bridge | ||
2 | |||
3 | This bridge is found in the ARM Integrator/AP (Application Platform) | ||
4 | |||
5 | Integrator-specific notes: | ||
6 | |||
7 | - syscon: should contain a link to the syscon device node (since | ||
8 | on the Integrator, some registers in the syscon are required to | ||
9 | operate the V3). | ||
10 | |||
11 | V360 EPC specific notes: | ||
12 | |||
13 | - reg: should contain the base address of the V3 adapter. | ||
14 | - interrupts: should contain a reference to the V3 error interrupt | ||
15 | as routed on the system. | ||
diff --git a/Documentation/devicetree/bindings/rtc/dw-apb.txt b/Documentation/devicetree/bindings/rtc/dw-apb.txt index 93e2b0f048e6..eb2327b2bdb3 100644 --- a/Documentation/devicetree/bindings/rtc/dw-apb.txt +++ b/Documentation/devicetree/bindings/rtc/dw-apb.txt | |||
@@ -5,9 +5,20 @@ Required properties: | |||
5 | - reg: physical base address of the controller and length of memory mapped | 5 | - reg: physical base address of the controller and length of memory mapped |
6 | region. | 6 | region. |
7 | - interrupts: IRQ line for the timer. | 7 | - interrupts: IRQ line for the timer. |
8 | - either clocks+clock-names or clock-frequency properties | ||
9 | |||
10 | Optional properties: | ||
11 | - clocks : list of clock specifiers, corresponding to entries in | ||
12 | the clock-names property; | ||
13 | - clock-names : should contain "timer" and "pclk" entries, matching entries | ||
14 | in the clocks property. | ||
8 | - clock-frequency: The frequency in HZ of the timer. | 15 | - clock-frequency: The frequency in HZ of the timer. |
9 | - clock-freq: For backwards compatibility with picoxcell | 16 | - clock-freq: For backwards compatibility with picoxcell |
10 | 17 | ||
18 | If using the clock specifiers, the pclk clock is optional, as not all | ||
19 | systems may use one. | ||
20 | |||
21 | |||
11 | Example: | 22 | Example: |
12 | 23 | ||
13 | timer1: timer@ffc09000 { | 24 | timer1: timer@ffc09000 { |
@@ -23,3 +34,11 @@ Example: | |||
23 | clock-frequency = <200000000>; | 34 | clock-frequency = <200000000>; |
24 | reg = <0xffd00000 0x1000>; | 35 | reg = <0xffd00000 0x1000>; |
25 | }; | 36 | }; |
37 | |||
38 | timer3: timer@ffe00000 { | ||
39 | compatible = "snps,dw-apb-timer-osc"; | ||
40 | interrupts = <0 170 4>; | ||
41 | reg = <0xffe00000 0x1000>; | ||
42 | clocks = <&timer_clk>, <&timer_pclk>; | ||
43 | clock-names = "timer", "pclk"; | ||
44 | }; | ||
diff --git a/Documentation/devicetree/bindings/timer/stericsson-u300-apptimer.txt b/Documentation/devicetree/bindings/timer/stericsson-u300-apptimer.txt new file mode 100644 index 000000000000..9499bc8ee9e3 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/stericsson-u300-apptimer.txt | |||
@@ -0,0 +1,18 @@ | |||
1 | ST-Ericsson U300 apptimer | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible : should be "stericsson,u300-apptimer" | ||
6 | - reg : Specifies base physical address and size of the registers. | ||
7 | - interrupts : A list of 4 interrupts; one for each subtimer. These | ||
8 | are, in order: OS (operating system), DD (device driver) both | ||
9 | adopted for EPOC/Symbian with two specific IRQs for these tasks, | ||
10 | then GP1 and GP2, which are general-purpose timers. | ||
11 | |||
12 | Example: | ||
13 | |||
14 | timer { | ||
15 | compatible = "stericsson,u300-apptimer"; | ||
16 | reg = <0xc0014000 0x1000>; | ||
17 | interrupts = <24 25 26 27>; | ||
18 | }; | ||
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 6931c4348d24..d247d1003987 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt | |||
@@ -59,6 +59,7 @@ ste ST-Ericsson | |||
59 | stericsson ST-Ericsson | 59 | stericsson ST-Ericsson |
60 | ti Texas Instruments | 60 | ti Texas Instruments |
61 | toshiba Toshiba Corporation | 61 | toshiba Toshiba Corporation |
62 | v3 V3 Semiconductor | ||
62 | via VIA Technologies, Inc. | 63 | via VIA Technologies, Inc. |
63 | wlf Wolfson Microelectronics | 64 | wlf Wolfson Microelectronics |
64 | wm Wondermedia Technologies, Inc. | 65 | wm Wondermedia Technologies, Inc. |
diff --git a/Documentation/devicetree/bindings/watchdog/stericsson-coh901327.txt b/Documentation/devicetree/bindings/watchdog/stericsson-coh901327.txt new file mode 100644 index 000000000000..8ffb88e39e76 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/stericsson-coh901327.txt | |||
@@ -0,0 +1,19 @@ | |||
1 | ST-Ericsson COH 901 327 Watchdog timer | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: must be "stericsson,coh901327". | ||
5 | - reg: physical base address of the controller and length of memory mapped | ||
6 | region. | ||
7 | - interrupts: the interrupt used for the watchdog timeout warning. | ||
8 | |||
9 | Optional properties: | ||
10 | - timeout-sec: contains the watchdog timeout in seconds. | ||
11 | |||
12 | Example: | ||
13 | |||
14 | watchdog: watchdog@c0012000 { | ||
15 | compatible = "stericsson,coh901327"; | ||
16 | reg = <0xc0012000 0x1000>; | ||
17 | interrupts = <3>; | ||
18 | timeout-sec = <60>; | ||
19 | }; | ||