4 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
16 * * Neither the name of Broadcom nor the names of its
17 * contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 #include <dt-bindings/clock/bcm-sr.h>
37 compatible = "fixed-clock";
38 clock-frequency = <50000000>;
41 crmu_ref25m: crmu_ref25m {
43 compatible = "fixed-factor-clock";
49 genpll0: genpll0@1d104 {
51 compatible = "brcm,sr-genpll0";
52 reg = <0x0001d104 0x32>,
55 clock-output-names = "genpll0", "clk_125", "clk_scr",
56 "clk_250", "clk_pcie_axi",
61 genpll3: genpll3@1d1e0 {
63 compatible = "brcm,sr-genpll3";
64 reg = <0x0001d1e0 0x32>,
67 clock-output-names = "genpll3", "clk_hsls",
71 genpll4: genpll4@1d214 {
73 compatible = "brcm,sr-genpll4";
74 reg = <0x0001d214 0x32>,
77 clock-output-names = "genpll4", "clk_ccn",
78 "clk_tpiu_pll", "noc_clk",
83 genpll5: genpll5@1d248 {
85 compatible = "brcm,sr-genpll5";
86 reg = <0x0001d248 0x32>,
89 clock-output-names = "genpll5", "fs4_hf_clk",
90 "crypto_ae_clk", "raid_ae_clk";
93 lcpll0: lcpll0@1d0c4 {
95 compatible = "brcm,sr-lcpll0";
96 reg = <0x0001d0c4 0x3c>,
99 clock-output-names = "lcpll0", "clk_sata_refp",
100 "clk_sata_refn", "clk_sata_350",
104 lcpll1: lcpll1@1d138 {
106 compatible = "brcm,sr-lcpll1";
107 reg = <0x0001d138 0x3c>,
110 clock-output-names = "lcpll1", "clk_wanpn",
117 compatible = "fixed-factor-clock";
118 clocks = <&genpll3 1>;
123 hsls_div2_clk: hsls_div2_clk {
125 compatible = "fixed-factor-clock";
126 clocks = <&genpll3 BCM_SR_GENPLL3_HSLS_CLK>;
132 hsls_div4_clk: hsls_div4_clk {
134 compatible = "fixed-factor-clock";
135 clocks = <&genpll3 BCM_SR_GENPLL3_HSLS_CLK>;
140 hsls_25m_clk: hsls_25m_clk {
142 compatible = "fixed-factor-clock";
143 clocks = <&crmu_ref25m>;
148 hsls_25m_div2_clk: hsls_25m_div2_clk {
150 compatible = "fixed-factor-clock";
151 clocks = <&hsls_25m_clk>;
156 sdio0_clk: sdio0_clk {
158 compatible = "fixed-factor-clock";
159 clocks = <&genpll3 BCM_SR_GENPLL3_SDIO_CLK>;
164 sdio1_clk: sdio1_clk {
166 compatible = "fixed-factor-clock";
167 clocks = <&genpll3 BCM_SR_GENPLL3_SDIO_CLK>;