sp810.txt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. SP810 System Controller
  2. -----------------------
  3. Required properties:
  4. - compatible: standard compatible string for a Primecell peripheral,
  5. see Documentation/devicetree/bindings/arm/primecell.txt
  6. for more details
  7. should be: "arm,sp810", "arm,primecell"
  8. - reg: standard registers property, physical address and size
  9. of the control registers
  10. - clock-names: from the common clock bindings, for more details see
  11. Documentation/devicetree/bindings/clock/clock-bindings.txt;
  12. should be: "refclk", "timclk", "apb_pclk"
  13. - clocks: from the common clock bindings, phandle and clock
  14. specifier pairs for the entries of clock-names property
  15. - #clock-cells: from the common clock bindings;
  16. should be: <1>
  17. - clock-output-names: from the common clock bindings;
  18. should be: "timerclken0", "timerclken1", "timerclken2", "timerclken3"
  19. - assigned-clocks: from the common clock binding;
  20. should be: clock specifier for each output clock of this
  21. provider node
  22. - assigned-clock-parents: from the common clock binding;
  23. should be: phandle of input clock listed in clocks
  24. property with the highest frequency
  25. Example:
  26. v2m_sysctl: sysctl@020000 {
  27. compatible = "arm,sp810", "arm,primecell";
  28. reg = <0x020000 0x1000>;
  29. clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&smbclk>;
  30. clock-names = "refclk", "timclk", "apb_pclk";
  31. #clock-cells = <1>;
  32. clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
  33. assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_sysctl 3>, <&v2m_sysctl 3>;
  34. assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;
  35. };