blob: 6808fb5dee40d4b8fbcfadc26ba8362b420dd334 [file] [log] [blame]
Pawel Moll32ecaf82015-08-06 16:05:13 +01001SP810 System Controller
2-----------------------
3
4Required properties:
5
6- compatible: standard compatible string for a Primecell peripheral,
7 see Documentation/devicetree/bindings/arm/primecell.txt
8 for more details
9 should be: "arm,sp810", "arm,primecell"
10
11- reg: standard registers property, physical address and size
12 of the control registers
13
14- clock-names: from the common clock bindings, for more details see
15 Documentation/devicetree/bindings/clock/clock-bindings.txt;
16 should be: "refclk", "timclk", "apb_pclk"
17
18- clocks: from the common clock bindings, phandle and clock
19 specifier pairs for the entries of clock-names property
20
21- #clock-cells: from the common clock bindings;
22 should be: <1>
23
24- clock-output-names: from the common clock bindings;
25 should be: "timerclken0", "timerclken1", "timerclken2", "timerclken3"
26
Stephen Boyd62f47712015-07-30 17:20:57 -070027- assigned-clocks: from the common clock binding;
28 should be: clock specifier for each output clock of this
29 provider node
30
31- assigned-clock-parents: from the common clock binding;
32 should be: phandle of input clock listed in clocks
33 property with the highest frequency
34
Pawel Moll32ecaf82015-08-06 16:05:13 +010035Example:
Stephen Boyd62f47712015-07-30 17:20:57 -070036 v2m_sysctl: sysctl@020000 {
Pawel Moll32ecaf82015-08-06 16:05:13 +010037 compatible = "arm,sp810", "arm,primecell";
38 reg = <0x020000 0x1000>;
39 clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&smbclk>;
40 clock-names = "refclk", "timclk", "apb_pclk";
41 #clock-cells = <1>;
42 clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
Stephen Boyd62f47712015-07-30 17:20:57 -070043 assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_sysctl 3>, <&v2m_sysctl 3>;
44 assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;
45
Pawel Moll32ecaf82015-08-06 16:05:13 +010046 };