xref: /linux/include/dt-bindings/clock/bcm-nsp.h (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*5f024b06SJon Mason /*
2*5f024b06SJon Mason  *  BSD LICENSE
3*5f024b06SJon Mason  *
4*5f024b06SJon Mason  *  Copyright(c) 2015 Broadcom Corporation.  All rights reserved.
5*5f024b06SJon Mason  *
6*5f024b06SJon Mason  *  Redistribution and use in source and binary forms, with or without
7*5f024b06SJon Mason  *  modification, are permitted provided that the following conditions
8*5f024b06SJon Mason  *  are met:
9*5f024b06SJon Mason  *
10*5f024b06SJon Mason  *	* Redistributions of source code must retain the above copyright
11*5f024b06SJon Mason  *	  notice, this list of conditions and the following disclaimer.
12*5f024b06SJon Mason  *	* Redistributions in binary form must reproduce the above copyright
13*5f024b06SJon Mason  *	  notice, this list of conditions and the following disclaimer in
14*5f024b06SJon Mason  *	  the documentation and/or other materials provided with the
15*5f024b06SJon Mason  *	  distribution.
16*5f024b06SJon Mason  *	* Neither the name of Broadcom Corporation nor the names of its
17*5f024b06SJon Mason  *	  contributors may be used to endorse or promote products derived
18*5f024b06SJon Mason  *	  from this software without specific prior written permission.
19*5f024b06SJon Mason  *
20*5f024b06SJon Mason  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21*5f024b06SJon Mason  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22*5f024b06SJon Mason  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23*5f024b06SJon Mason  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24*5f024b06SJon Mason  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25*5f024b06SJon Mason  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26*5f024b06SJon Mason  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27*5f024b06SJon Mason  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28*5f024b06SJon Mason  *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29*5f024b06SJon Mason  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30*5f024b06SJon Mason  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31*5f024b06SJon Mason  */
32*5f024b06SJon Mason 
33*5f024b06SJon Mason #ifndef _CLOCK_BCM_NSP_H
34*5f024b06SJon Mason #define _CLOCK_BCM_NSP_H
35*5f024b06SJon Mason 
36*5f024b06SJon Mason /* GENPLL clock channel ID */
37*5f024b06SJon Mason #define BCM_NSP_GENPLL			0
38*5f024b06SJon Mason #define BCM_NSP_GENPLL_PHY_CLK		1
39*5f024b06SJon Mason #define BCM_NSP_GENPLL_ENET_SW_CLK	2
40*5f024b06SJon Mason #define BCM_NSP_GENPLL_USB_PHY_REF_CLK	3
41*5f024b06SJon Mason #define BCM_NSP_GENPLL_IPROCFAST_CLK	4
42*5f024b06SJon Mason #define BCM_NSP_GENPLL_SATA1_CLK	5
43*5f024b06SJon Mason #define BCM_NSP_GENPLL_SATA2_CLK	6
44*5f024b06SJon Mason 
45*5f024b06SJon Mason /* LCPLL0 clock channel ID */
46*5f024b06SJon Mason #define BCM_NSP_LCPLL0			0
47*5f024b06SJon Mason #define BCM_NSP_LCPLL0_PCIE_PHY_REF_CLK	1
48*5f024b06SJon Mason #define BCM_NSP_LCPLL0_SDIO_CLK		2
49*5f024b06SJon Mason #define BCM_NSP_LCPLL0_DDR_PHY_CLK	3
50*5f024b06SJon Mason 
51*5f024b06SJon Mason #endif /* _CLOCK_BCM_NSP_H */
52