1 Binding for TI DaVinci PLL Controllers 1 Binding for TI DaVinci PLL Controllers 2 2 3 The PLL provides clocks to most of the compone 3 The PLL provides clocks to most of the components on the SoC. In addition 4 to the PLL itself, this controller also contai 4 to the PLL itself, this controller also contains bypasses, gates, dividers, 5 an multiplexers for various clock signals. 5 an multiplexers for various clock signals. 6 6 7 Required properties: 7 Required properties: 8 - compatible: shall be one of: 8 - compatible: shall be one of: 9 - "ti,da850-pll0" for PLL0 on DA850/OM 9 - "ti,da850-pll0" for PLL0 on DA850/OMAP-L138/AM18XX 10 - "ti,da850-pll1" for PLL1 on DA850/OM 10 - "ti,da850-pll1" for PLL1 on DA850/OMAP-L138/AM18XX 11 - reg: physical base address and size of the c 11 - reg: physical base address and size of the controller's register area. 12 - clocks: phandles corresponding to the clock 12 - clocks: phandles corresponding to the clock names 13 - clock-names: names of the clock sources - de 13 - clock-names: names of the clock sources - depends on compatible string 14 - for "ti,da850-pll0", shall be "clksr 14 - for "ti,da850-pll0", shall be "clksrc", "extclksrc" 15 - for "ti,da850-pll1", shall be "clksr 15 - for "ti,da850-pll1", shall be "clksrc" 16 16 17 Optional properties: 17 Optional properties: 18 - ti,clkmode-square-wave: Indicates that the b 18 - ti,clkmode-square-wave: Indicates that the board is supplying a square 19 wave input on the OSCIN pin instead of 19 wave input on the OSCIN pin instead of using a crystal oscillator. 20 This property is only valid when compa 20 This property is only valid when compatible = "ti,da850-pll0". 21 21 22 22 23 Optional child nodes: 23 Optional child nodes: 24 24 25 pllout 25 pllout 26 Describes the main PLL clock output (b 26 Describes the main PLL clock output (before POSTDIV). The node name must 27 be "pllout". 27 be "pllout". 28 28 29 Required properties: 29 Required properties: 30 - #clock-cells: shall be 0 30 - #clock-cells: shall be 0 31 31 32 sysclk 32 sysclk 33 Describes the PLLDIVn divider clocks t 33 Describes the PLLDIVn divider clocks that provide the SYSCLKn clock 34 domains. The node name must be "sysclk 34 domains. The node name must be "sysclk". Consumers of this node should 35 use "n" in "SYSCLKn" as the index para 35 use "n" in "SYSCLKn" as the index parameter for the clock cell. 36 36 37 Required properties: 37 Required properties: 38 - #clock-cells: shall be 1 38 - #clock-cells: shall be 1 39 39 40 auxclk 40 auxclk 41 Describes the AUXCLK output of the PLL 41 Describes the AUXCLK output of the PLL. The node name must be "auxclk". 42 This child node is only valid when com 42 This child node is only valid when compatible = "ti,da850-pll0". 43 43 44 Required properties: 44 Required properties: 45 - #clock-cells: shall be 0 45 - #clock-cells: shall be 0 46 46 47 obsclk 47 obsclk 48 Describes the OBSCLK output of the PLL 48 Describes the OBSCLK output of the PLL. The node name must be "obsclk". 49 49 50 Required properties: 50 Required properties: 51 - #clock-cells: shall be 0 51 - #clock-cells: shall be 0 52 52 53 53 54 Examples: 54 Examples: 55 55 56 pll0: clock-controller@11000 { 56 pll0: clock-controller@11000 { 57 compatible = "ti,da850-pll0"; 57 compatible = "ti,da850-pll0"; 58 reg = <0x11000 0x1000>; 58 reg = <0x11000 0x1000>; 59 clocks = <&ref_clk>, <&pll1_sy 59 clocks = <&ref_clk>, <&pll1_sysclk 3>; 60 clock-names = "clksrc", "extcl 60 clock-names = "clksrc", "extclksrc"; 61 ti,clkmode-square-wave; 61 ti,clkmode-square-wave; 62 62 63 pll0_pllout: pllout { 63 pll0_pllout: pllout { 64 #clock-cells = <0>; 64 #clock-cells = <0>; 65 }; 65 }; 66 66 67 pll0_sysclk: sysclk { 67 pll0_sysclk: sysclk { 68 #clock-cells = <1>; 68 #clock-cells = <1>; 69 }; 69 }; 70 70 71 pll0_auxclk: auxclk { 71 pll0_auxclk: auxclk { 72 #clock-cells = <0>; 72 #clock-cells = <0>; 73 }; 73 }; 74 74 75 pll0_obsclk: obsclk { 75 pll0_obsclk: obsclk { 76 #clock-cells = <0>; 76 #clock-cells = <0>; 77 }; 77 }; 78 }; 78 }; 79 79 80 pll1: clock-controller@21a000 { 80 pll1: clock-controller@21a000 { 81 compatible = "ti,da850-pll1"; 81 compatible = "ti,da850-pll1"; 82 reg = <0x21a000 0x1000>; 82 reg = <0x21a000 0x1000>; 83 clocks = <&ref_clk>; 83 clocks = <&ref_clk>; 84 clock-names = "clksrc"; 84 clock-names = "clksrc"; 85 85 86 pll0_sysclk: sysclk { 86 pll0_sysclk: sysclk { 87 #clock-cells = <1>; 87 #clock-cells = <1>; 88 }; 88 }; 89 89 90 pll0_obsclk: obsclk { 90 pll0_obsclk: obsclk { 91 #clock-cells = <0>; 91 #clock-cells = <0>; 92 }; 92 }; 93 }; 93 }; 94 94 95 Also see: 95 Also see: 96 - Documentation/devicetree/bindings/clock/cloc 96 - Documentation/devicetree/bindings/clock/clock-bindings.txt
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.