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_125m", "clk_scr",
56 "clk_250", "clk_pcie_axi",
61 genpll2: genpll2@1d1ac {
63 compatible = "brcm,sr-genpll2";
64 reg = <0x0001d1ac 0x32>,
67 clock-output-names = "genpll2", "clk_nic",
68 "clk_ts_500_ref", "clk_125_nitro",
69 "clk_chimp", "clk_nic_flash",
73 genpll3: genpll3@1d1e0 {
75 compatible = "brcm,sr-genpll3";
76 reg = <0x0001d1e0 0x32>,
79 clock-output-names = "genpll3", "clk_hsls",
83 genpll4: genpll4@1d214 {
85 compatible = "brcm,sr-genpll4";
86 reg = <0x0001d214 0x32>,
89 clock-output-names = "genpll4", "clk_ccn",
90 "clk_tpiu_pll", "clk_noc",
95 genpll5: genpll5@1d248 {
97 compatible = "brcm,sr-genpll5";
98 reg = <0x0001d248 0x32>,
101 clock-output-names = "genpll5", "clk_fs4_hf",
102 "clk_crypto_ae", "clk_raid_ae";
105 lcpll0: lcpll0@1d0c4 {
107 compatible = "brcm,sr-lcpll0";
108 reg = <0x0001d0c4 0x3c>,
111 clock-output-names = "lcpll0", "clk_sata_refp",
112 "clk_sata_refn", "clk_sata_350",
116 lcpll1: lcpll1@1d138 {
118 compatible = "brcm,sr-lcpll1";
119 reg = <0x0001d138 0x3c>,
122 clock-output-names = "lcpll1", "clk_wan",
129 compatible = "fixed-factor-clock";
130 clocks = <&genpll3 1>;
135 hsls_div2_clk: hsls_div2_clk {
137 compatible = "fixed-factor-clock";
138 clocks = <&genpll3 BCM_SR_GENPLL3_HSLS_CLK>;
144 hsls_div4_clk: hsls_div4_clk {
146 compatible = "fixed-factor-clock";
147 clocks = <&genpll3 BCM_SR_GENPLL3_HSLS_CLK>;
152 hsls_25m_clk: hsls_25m_clk {
154 compatible = "fixed-factor-clock";
155 clocks = <&crmu_ref25m>;
160 hsls_25m_div2_clk: hsls_25m_div2_clk {
162 compatible = "fixed-factor-clock";
163 clocks = <&hsls_25m_clk>;
168 sdio0_clk: sdio0_clk {
170 compatible = "fixed-factor-clock";
171 clocks = <&genpll3 BCM_SR_GENPLL3_SDIO_CLK>;
176 sdio1_clk: sdio1_clk {
178 compatible = "fixed-factor-clock";
179 clocks = <&genpll3 BCM_SR_GENPLL3_SDIO_CLK>;