Merge tag 'mips_fixes_5.1_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / arm / sp810.txt
1 SP810 System Controller
2 -----------------------
3
4 Required properties:
5
6 - compatible:   standard compatible string for a Primecell peripheral,
7                 see Documentation/devicetree/bindings/arm/primecell.yaml
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
27 - 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
35 Example:
36         v2m_sysctl: sysctl@20000 {
37                 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";
43                 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
46         };