18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci *  BSD LICENSE
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci *  Copyright(c) 2014 Broadcom Corporation.  All rights reserved.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci *  Redistribution and use in source and binary forms, with or without
78c2ecf20Sopenharmony_ci *  modification, are permitted provided that the following conditions
88c2ecf20Sopenharmony_ci *  are met:
98c2ecf20Sopenharmony_ci *
108c2ecf20Sopenharmony_ci *    * Redistributions of source code must retain the above copyright
118c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer.
128c2ecf20Sopenharmony_ci *    * Redistributions in binary form must reproduce the above copyright
138c2ecf20Sopenharmony_ci *      notice, this list of conditions and the following disclaimer in
148c2ecf20Sopenharmony_ci *      the documentation and/or other materials provided with the
158c2ecf20Sopenharmony_ci *      distribution.
168c2ecf20Sopenharmony_ci *    * Neither the name of Broadcom Corporation nor the names of its
178c2ecf20Sopenharmony_ci *      contributors may be used to endorse or promote products derived
188c2ecf20Sopenharmony_ci *      from this software without specific prior written permission.
198c2ecf20Sopenharmony_ci *
208c2ecf20Sopenharmony_ci *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
218c2ecf20Sopenharmony_ci *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
228c2ecf20Sopenharmony_ci *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
238c2ecf20Sopenharmony_ci *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
248c2ecf20Sopenharmony_ci *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
258c2ecf20Sopenharmony_ci *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
268c2ecf20Sopenharmony_ci *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
278c2ecf20Sopenharmony_ci *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
288c2ecf20Sopenharmony_ci *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
298c2ecf20Sopenharmony_ci *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
308c2ecf20Sopenharmony_ci * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
318c2ecf20Sopenharmony_ci */
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci#ifndef _CLOCK_BCM_CYGNUS_H
348c2ecf20Sopenharmony_ci#define _CLOCK_BCM_CYGNUS_H
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci/* GENPLL clock ID */
378c2ecf20Sopenharmony_ci#define BCM_CYGNUS_GENPLL                     0
388c2ecf20Sopenharmony_ci#define BCM_CYGNUS_GENPLL_AXI21_CLK           1
398c2ecf20Sopenharmony_ci#define BCM_CYGNUS_GENPLL_250MHZ_CLK          2
408c2ecf20Sopenharmony_ci#define BCM_CYGNUS_GENPLL_IHOST_SYS_CLK       3
418c2ecf20Sopenharmony_ci#define BCM_CYGNUS_GENPLL_ENET_SW_CLK         4
428c2ecf20Sopenharmony_ci#define BCM_CYGNUS_GENPLL_AUDIO_125_CLK       5
438c2ecf20Sopenharmony_ci#define BCM_CYGNUS_GENPLL_CAN_CLK             6
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci/* LCPLL0 clock ID */
468c2ecf20Sopenharmony_ci#define BCM_CYGNUS_LCPLL0                     0
478c2ecf20Sopenharmony_ci#define BCM_CYGNUS_LCPLL0_PCIE_PHY_REF_CLK    1
488c2ecf20Sopenharmony_ci#define BCM_CYGNUS_LCPLL0_DDR_PHY_CLK         2
498c2ecf20Sopenharmony_ci#define BCM_CYGNUS_LCPLL0_SDIO_CLK            3
508c2ecf20Sopenharmony_ci#define BCM_CYGNUS_LCPLL0_USB_PHY_REF_CLK     4
518c2ecf20Sopenharmony_ci#define BCM_CYGNUS_LCPLL0_SMART_CARD_CLK      5
528c2ecf20Sopenharmony_ci#define BCM_CYGNUS_LCPLL0_CH5_UNUSED          6
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci/* MIPI PLL clock ID */
558c2ecf20Sopenharmony_ci#define BCM_CYGNUS_MIPIPLL                    0
568c2ecf20Sopenharmony_ci#define BCM_CYGNUS_MIPIPLL_CH0_UNUSED         1
578c2ecf20Sopenharmony_ci#define BCM_CYGNUS_MIPIPLL_CH1_LCD            2
588c2ecf20Sopenharmony_ci#define BCM_CYGNUS_MIPIPLL_CH2_V3D            3
598c2ecf20Sopenharmony_ci#define BCM_CYGNUS_MIPIPLL_CH3_UNUSED         4
608c2ecf20Sopenharmony_ci#define BCM_CYGNUS_MIPIPLL_CH4_UNUSED         5
618c2ecf20Sopenharmony_ci#define BCM_CYGNUS_MIPIPLL_CH5_UNUSED         6
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci/* ASIU clock ID */
648c2ecf20Sopenharmony_ci#define BCM_CYGNUS_ASIU_KEYPAD_CLK    0
658c2ecf20Sopenharmony_ci#define BCM_CYGNUS_ASIU_ADC_CLK       1
668c2ecf20Sopenharmony_ci#define BCM_CYGNUS_ASIU_PWM_CLK       2
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci/* AUDIO clock ID */
698c2ecf20Sopenharmony_ci#define BCM_CYGNUS_AUDIOPLL           0
708c2ecf20Sopenharmony_ci#define BCM_CYGNUS_AUDIOPLL_CH0       1
718c2ecf20Sopenharmony_ci#define BCM_CYGNUS_AUDIOPLL_CH1       2
728c2ecf20Sopenharmony_ci#define BCM_CYGNUS_AUDIOPLL_CH2       3
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci#endif /* _CLOCK_BCM_CYGNUS_H */
75