blob: 0df6acacfaea689098b9539f1b3d1e32592021e5 [file] [log] [blame]
Grant Likely5de15402011-06-21 10:59:34 -06001* ARM Primecell Peripherals
2
3ARM, Ltd. Primecell peripherals have a standard id register that can be used to
4identify the peripheral type, vendor, and revision. This value can be used for
5driver matching.
6
7Required properties:
8
Grant Likely2b0fce82011-10-24 11:09:14 +02009- compatible : should be a specific name for the peripheral and
10 "arm,primecell". The specific name will match the ARM
11 engineering name for the logic block in the form: "arm,pl???"
Grant Likely5de15402011-06-21 10:59:34 -060012
13Optional properties:
14
15- arm,primecell-periphid : Value to override the h/w value with
Rob Herring260b6aa2012-04-14 20:30:29 -050016- 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.
Arnd Bergmann787b0c12013-01-28 16:24:37 +000019- dmas : From common DMA binding. If present, refers to one or more dma channels.
20- dma-names : From common DMA binding, needs to match the 'dmas' property.
21 Devices with exactly one receive and transmit channel shall name
22 these "rx" and "tx", respectively.
23- pinctrl-<n> : Pinctrl states as described in bindings/pinctrl/pinctrl-bindings.txt
24- pinctrl-names : Names corresponding to the numbered pinctrl states
25- interrupts : one or more interrupt specifiers
26- interrupt-names : names corresponding to the interrupts properties
Grant Likely5de15402011-06-21 10:59:34 -060027
28Example:
29
30serial@fff36000 {
31 compatible = "arm,pl011", "arm,primecell";
32 arm,primecell-periphid = <0x00341011>;
Arnd Bergmann787b0c12013-01-28 16:24:37 +000033
Rob Herring260b6aa2012-04-14 20:30:29 -050034 clocks = <&pclk>;
35 clock-names = "apb_pclk";
Arnd Bergmann787b0c12013-01-28 16:24:37 +000036
37 dmas = <&dma-controller 4>, <&dma-controller 5>;
38 dma-names = "rx", "tx";
39
40 pinctrl-0 = <&uart0_default_mux>, <&uart0_default_mode>;
41 pinctrl-1 = <&uart0_sleep_mode>;
42 pinctrl-names = "default","sleep";
43
44 interrupts = <0 11 0x4>;
Grant Likely5de15402011-06-21 10:59:34 -060045};
46