Grant Likely | 5de1540 | 2011-06-21 10:59:34 -0600 | [diff] [blame] | 1 | * ARM Primecell Peripherals |
| 2 | |
| 3 | ARM, Ltd. Primecell peripherals have a standard id register that can be used to |
| 4 | identify the peripheral type, vendor, and revision. This value can be used for |
| 5 | driver matching. |
| 6 | |
| 7 | Required properties: |
| 8 | |
Grant Likely | 2b0fce8 | 2011-10-24 11:09:14 +0200 | [diff] [blame] | 9 | - 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 Likely | 5de1540 | 2011-06-21 10:59:34 -0600 | [diff] [blame] | 12 | |
| 13 | Optional properties: |
| 14 | |
| 15 | - arm,primecell-periphid : Value to override the h/w value with |
Rob Herring | 260b6aa | 2012-04-14 20:30:29 -0500 | [diff] [blame] | 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. |
Grant Likely | 5de1540 | 2011-06-21 10:59:34 -0600 | [diff] [blame] | 19 | |
| 20 | Example: |
| 21 | |
| 22 | serial@fff36000 { |
| 23 | compatible = "arm,pl011", "arm,primecell"; |
| 24 | arm,primecell-periphid = <0x00341011>; |
Rob Herring | 260b6aa | 2012-04-14 20:30:29 -0500 | [diff] [blame] | 25 | clocks = <&pclk>; |
| 26 | clock-names = "apb_pclk"; |
| 27 | |
Grant Likely | 5de1540 | 2011-06-21 10:59:34 -0600 | [diff] [blame] | 28 | }; |
| 29 | |