xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/brcm,iproc-clocks.yaml (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
15956d97fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/brcm,iproc-clocks.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
75956d97fSEmmanuel Vadottitle: Broadcom iProc Family Clocks
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
105956d97fSEmmanuel Vadot  - Ray Jui <rjui@broadcom.com>
115956d97fSEmmanuel Vadot  - Scott Branden <sbranden@broadcom.com>
125956d97fSEmmanuel Vadot
135956d97fSEmmanuel Vadotdescription: |
145956d97fSEmmanuel Vadot  The iProc clock controller manages clocks that are common to the iProc family.
155956d97fSEmmanuel Vadot  An SoC from the iProc family may have several PLLs, e.g., ARMPLL, GENPLL,
165956d97fSEmmanuel Vadot  LCPLL0, MIPIPLL, and etc., all derived from an onboard crystal. Each PLL
175956d97fSEmmanuel Vadot  comprises of several leaf clocks
185956d97fSEmmanuel Vadot
195956d97fSEmmanuel Vadot  ASIU clocks are a special case. These clocks are derived directly from the
205956d97fSEmmanuel Vadot  reference clock of the onboard crystal.
215956d97fSEmmanuel Vadot
225956d97fSEmmanuel Vadotproperties:
235956d97fSEmmanuel Vadot  compatible:
245956d97fSEmmanuel Vadot    enum:
255956d97fSEmmanuel Vadot      - brcm,bcm63138-armpll
265956d97fSEmmanuel Vadot      - brcm,cygnus-armpll
275956d97fSEmmanuel Vadot      - brcm,cygnus-genpll
285956d97fSEmmanuel Vadot      - brcm,cygnus-lcpll0
295956d97fSEmmanuel Vadot      - brcm,cygnus-mipipll
305956d97fSEmmanuel Vadot      - brcm,cygnus-asiu-clk
315956d97fSEmmanuel Vadot      - brcm,cygnus-audiopll
325956d97fSEmmanuel Vadot      - brcm,hr2-armpll
335956d97fSEmmanuel Vadot      - brcm,nsp-armpll
345956d97fSEmmanuel Vadot      - brcm,nsp-genpll
355956d97fSEmmanuel Vadot      - brcm,nsp-lcpll0
365956d97fSEmmanuel Vadot      - brcm,ns2-genpll-scr
375956d97fSEmmanuel Vadot      - brcm,ns2-genpll-sw
385956d97fSEmmanuel Vadot      - brcm,ns2-lcpll-ddr
395956d97fSEmmanuel Vadot      - brcm,ns2-lcpll-ports
405956d97fSEmmanuel Vadot      - brcm,sr-genpll0
415956d97fSEmmanuel Vadot      - brcm,sr-genpll1
425956d97fSEmmanuel Vadot      - brcm,sr-genpll2
435956d97fSEmmanuel Vadot      - brcm,sr-genpll3
445956d97fSEmmanuel Vadot      - brcm,sr-genpll4
455956d97fSEmmanuel Vadot      - brcm,sr-genpll5
465956d97fSEmmanuel Vadot      - brcm,sr-genpll6
475956d97fSEmmanuel Vadot      - brcm,sr-lcpll0
485956d97fSEmmanuel Vadot      - brcm,sr-lcpll1
495956d97fSEmmanuel Vadot      - brcm,sr-lcpll-pcie
505956d97fSEmmanuel Vadot
515956d97fSEmmanuel Vadot  reg:
525956d97fSEmmanuel Vadot    minItems: 1
535956d97fSEmmanuel Vadot    items:
545956d97fSEmmanuel Vadot      - description: base register
555956d97fSEmmanuel Vadot      - description: power register
565956d97fSEmmanuel Vadot      - description: ASIU or split status register
575956d97fSEmmanuel Vadot
585956d97fSEmmanuel Vadot  clocks:
595956d97fSEmmanuel Vadot    description: The input parent clock phandle for the PLL / ASIU clock. For
605956d97fSEmmanuel Vadot      most iProc PLLs, this is an onboard crystal with a fixed rate.
615956d97fSEmmanuel Vadot    maxItems: 1
625956d97fSEmmanuel Vadot
635956d97fSEmmanuel Vadot  '#clock-cells':
64*354d7675SEmmanuel Vadot    true
655956d97fSEmmanuel Vadot
665956d97fSEmmanuel Vadot  clock-output-names:
675956d97fSEmmanuel Vadot    minItems: 1
685956d97fSEmmanuel Vadot    maxItems: 45
695956d97fSEmmanuel Vadot
705956d97fSEmmanuel VadotallOf:
715956d97fSEmmanuel Vadot  - if:
725956d97fSEmmanuel Vadot      properties:
735956d97fSEmmanuel Vadot        compatible:
745956d97fSEmmanuel Vadot          contains:
755956d97fSEmmanuel Vadot            enum:
765956d97fSEmmanuel Vadot              - brcm,cygnus-armpll
77*354d7675SEmmanuel Vadot              - brcm,nsp-armpll
78*354d7675SEmmanuel Vadot    then:
79*354d7675SEmmanuel Vadot      properties:
80*354d7675SEmmanuel Vadot        '#clock-cells':
81*354d7675SEmmanuel Vadot          const: 0
82*354d7675SEmmanuel Vadot    else:
83*354d7675SEmmanuel Vadot      properties:
84*354d7675SEmmanuel Vadot        '#clock-cells':
85*354d7675SEmmanuel Vadot          const: 1
86*354d7675SEmmanuel Vadot      required:
87*354d7675SEmmanuel Vadot        - clock-output-names
88*354d7675SEmmanuel Vadot  - if:
89*354d7675SEmmanuel Vadot      properties:
90*354d7675SEmmanuel Vadot        compatible:
91*354d7675SEmmanuel Vadot          contains:
92*354d7675SEmmanuel Vadot            enum:
93*354d7675SEmmanuel Vadot              - brcm,cygnus-armpll
945956d97fSEmmanuel Vadot              - brcm,cygnus-genpll
955956d97fSEmmanuel Vadot              - brcm,cygnus-lcpll0
965956d97fSEmmanuel Vadot              - brcm,cygnus-mipipll
975956d97fSEmmanuel Vadot              - brcm,cygnus-asiu-clk
985956d97fSEmmanuel Vadot              - brcm,cygnus-audiopll
995956d97fSEmmanuel Vadot    then:
1005956d97fSEmmanuel Vadot      properties:
1015956d97fSEmmanuel Vadot        clock-output-names:
1025956d97fSEmmanuel Vadot          description: |
1035956d97fSEmmanuel Vadot            The following table defines the set of PLL/clock index and ID for Cygnus.
1045956d97fSEmmanuel Vadot            These clock IDs are defined in:
1055956d97fSEmmanuel Vadot                "include/dt-bindings/clock/bcm-cygnus.h"
1065956d97fSEmmanuel Vadot
1075956d97fSEmmanuel Vadot            Clock      	Source (Parent)	Index	ID
1085956d97fSEmmanuel Vadot            -----	---------------	-----	--
1095956d97fSEmmanuel Vadot            crystal	N/A		N/A	N/A
1105956d97fSEmmanuel Vadot
1115956d97fSEmmanuel Vadot            armpll	crystal		N/A	N/A
1125956d97fSEmmanuel Vadot
1135956d97fSEmmanuel Vadot            keypad	crystal (ASIU)	0	BCM_CYGNUS_ASIU_KEYPAD_CLK
1145956d97fSEmmanuel Vadot            adc/tsc	crystal (ASIU)	1	BCM_CYGNUS_ASIU_ADC_CLK
1155956d97fSEmmanuel Vadot            pwm	crystal (ASIU)		2	BCM_CYGNUS_ASIU_PWM_CLK
1165956d97fSEmmanuel Vadot
1175956d97fSEmmanuel Vadot            genpll	crystal		0	BCM_CYGNUS_GENPLL
1185956d97fSEmmanuel Vadot            axi21	genpll		1	BCM_CYGNUS_GENPLL_AXI21_CLK
1195956d97fSEmmanuel Vadot            250mhz	genpll		2	BCM_CYGNUS_GENPLL_250MHZ_CLK
1205956d97fSEmmanuel Vadot            ihost_sys	genpll		3	BCM_CYGNUS_GENPLL_IHOST_SYS_CLK
1215956d97fSEmmanuel Vadot            enet_sw	genpll		4	BCM_CYGNUS_GENPLL_ENET_SW_CLK
1225956d97fSEmmanuel Vadot            audio_125	genpll		5	BCM_CYGNUS_GENPLL_AUDIO_125_CLK
1235956d97fSEmmanuel Vadot            can		genpll		6	BCM_CYGNUS_GENPLL_CAN_CLK
1245956d97fSEmmanuel Vadot
1255956d97fSEmmanuel Vadot            lcpll0	crystal		0	BCM_CYGNUS_LCPLL0
1265956d97fSEmmanuel Vadot            pcie_phy	lcpll0		1	BCM_CYGNUS_LCPLL0_PCIE_PHY_REF_CLK
1275956d97fSEmmanuel Vadot            ddr_phy	lcpll0		2	BCM_CYGNUS_LCPLL0_DDR_PHY_CLK
1285956d97fSEmmanuel Vadot            sdio	lcpll0		3	BCM_CYGNUS_LCPLL0_SDIO_CLK
1295956d97fSEmmanuel Vadot            usb_phy	lcpll0		4	BCM_CYGNUS_LCPLL0_USB_PHY_REF_CLK
1305956d97fSEmmanuel Vadot            smart_card	lcpll0		5	BCM_CYGNUS_LCPLL0_SMART_CARD_CLK
1315956d97fSEmmanuel Vadot            ch5_unused	lcpll0		6	BCM_CYGNUS_LCPLL0_CH5_UNUSED
1325956d97fSEmmanuel Vadot
1335956d97fSEmmanuel Vadot            mipipll	crystal		0	BCM_CYGNUS_MIPIPLL
1345956d97fSEmmanuel Vadot            ch0_unused	mipipll		1	BCM_CYGNUS_MIPIPLL_CH0_UNUSED
1355956d97fSEmmanuel Vadot            ch1_lcd	mipipll		2	BCM_CYGNUS_MIPIPLL_CH1_LCD
1365956d97fSEmmanuel Vadot            ch2_v3d	mipipll		3	BCM_CYGNUS_MIPIPLL_CH2_V3D
1375956d97fSEmmanuel Vadot            ch3_unused	mipipll		4	BCM_CYGNUS_MIPIPLL_CH3_UNUSED
1385956d97fSEmmanuel Vadot            ch4_unused	mipipll		5	BCM_CYGNUS_MIPIPLL_CH4_UNUSED
1395956d97fSEmmanuel Vadot            ch5_unused	mipipll		6	BCM_CYGNUS_MIPIPLL_CH5_UNUSED
1405956d97fSEmmanuel Vadot
1415956d97fSEmmanuel Vadot            audiopll	crystal		0	BCM_CYGNUS_AUDIOPLL
1425956d97fSEmmanuel Vadot            ch0_audio	audiopll	1	BCM_CYGNUS_AUDIOPLL_CH0
1435956d97fSEmmanuel Vadot            ch1_audio	audiopll	2	BCM_CYGNUS_AUDIOPLL_CH1
1445956d97fSEmmanuel Vadot            ch2_audio	audiopll	3	BCM_CYGNUS_AUDIOPLL_CH2
1455956d97fSEmmanuel Vadot  - if:
1465956d97fSEmmanuel Vadot      properties:
1475956d97fSEmmanuel Vadot        compatible:
1485956d97fSEmmanuel Vadot          contains:
1495956d97fSEmmanuel Vadot            enum:
1505956d97fSEmmanuel Vadot              - brcm,hr2-armpll
1515956d97fSEmmanuel Vadot    then:
1525956d97fSEmmanuel Vadot      properties:
1535956d97fSEmmanuel Vadot        clock-output-names:
1545956d97fSEmmanuel Vadot          description: |
1555956d97fSEmmanuel Vadot            The following table defines the set of PLL/clock for Hurricane 2:
1565956d97fSEmmanuel Vadot
1575956d97fSEmmanuel Vadot            Clock	Source		Index	ID
1585956d97fSEmmanuel Vadot            -----	------		-----	--
1595956d97fSEmmanuel Vadot            crystal	N/A		N/A	N/A
1605956d97fSEmmanuel Vadot
1615956d97fSEmmanuel Vadot            armpll	crystal		N/A	N/A
1625956d97fSEmmanuel Vadot  - if:
1635956d97fSEmmanuel Vadot      properties:
1645956d97fSEmmanuel Vadot        compatible:
1655956d97fSEmmanuel Vadot          contains:
1665956d97fSEmmanuel Vadot            enum:
1675956d97fSEmmanuel Vadot              - brcm,nsp-armpll
1685956d97fSEmmanuel Vadot              - brcm,nsp-genpll
1695956d97fSEmmanuel Vadot              - brcm,nsp-lcpll0
1705956d97fSEmmanuel Vadot    then:
1715956d97fSEmmanuel Vadot      properties:
1725956d97fSEmmanuel Vadot        clock-output-names:
1735956d97fSEmmanuel Vadot          description: |
1745956d97fSEmmanuel Vadot            The following table defines the set of PLL/clock index and ID for Northstar and
1755956d97fSEmmanuel Vadot            Northstar Plus.  These clock IDs are defined in:
1765956d97fSEmmanuel Vadot                "include/dt-bindings/clock/bcm-nsp.h"
1775956d97fSEmmanuel Vadot
1785956d97fSEmmanuel Vadot            Clock	Source		Index	ID
1795956d97fSEmmanuel Vadot            -----	------		-----	--
1805956d97fSEmmanuel Vadot            crystal	N/A		N/A	N/A
1815956d97fSEmmanuel Vadot
1825956d97fSEmmanuel Vadot            armpll	crystal		N/A	N/A
1835956d97fSEmmanuel Vadot
1845956d97fSEmmanuel Vadot            genpll	crystal		0	BCM_NSP_GENPLL
1855956d97fSEmmanuel Vadot            phy		genpll		1	BCM_NSP_GENPLL_PHY_CLK
1865956d97fSEmmanuel Vadot            ethernetclk	genpll		2	BCM_NSP_GENPLL_ENET_SW_CLK
1875956d97fSEmmanuel Vadot            usbclk	genpll		3	BCM_NSP_GENPLL_USB_PHY_REF_CLK
1885956d97fSEmmanuel Vadot            iprocfast	genpll		4	BCM_NSP_GENPLL_IPROCFAST_CLK
1895956d97fSEmmanuel Vadot            sata1	genpll		5	BCM_NSP_GENPLL_SATA1_CLK
1905956d97fSEmmanuel Vadot            sata2	genpll		6	BCM_NSP_GENPLL_SATA2_CLK
1915956d97fSEmmanuel Vadot
1925956d97fSEmmanuel Vadot            lcpll0	crystal		0	BCM_NSP_LCPLL0
1935956d97fSEmmanuel Vadot            pcie_phy	lcpll0		1	BCM_NSP_LCPLL0_PCIE_PHY_REF_CLK
1945956d97fSEmmanuel Vadot            sdio	lcpll0		2	BCM_NSP_LCPLL0_SDIO_CLK
1955956d97fSEmmanuel Vadot            ddr_phy	lcpll0		3	BCM_NSP_LCPLL0_DDR_PHY_CLK
1965956d97fSEmmanuel Vadot  - if:
1975956d97fSEmmanuel Vadot      properties:
1985956d97fSEmmanuel Vadot        compatible:
1995956d97fSEmmanuel Vadot          contains:
2005956d97fSEmmanuel Vadot            enum:
2015956d97fSEmmanuel Vadot              - brcm,ns2-genpll-scr
2025956d97fSEmmanuel Vadot              - brcm,ns2-genpll-sw
2035956d97fSEmmanuel Vadot              - brcm,ns2-lcpll-ddr
2045956d97fSEmmanuel Vadot              - brcm,ns2-lcpll-ports
2055956d97fSEmmanuel Vadot    then:
2065956d97fSEmmanuel Vadot      properties:
2075956d97fSEmmanuel Vadot        clock-output-names:
2085956d97fSEmmanuel Vadot          description: |
2095956d97fSEmmanuel Vadot            The following table defines the set of PLL/clock index and ID for Northstar 2.
2105956d97fSEmmanuel Vadot            These clock IDs are defined in:
2115956d97fSEmmanuel Vadot                "include/dt-bindings/clock/bcm-ns2.h"
2125956d97fSEmmanuel Vadot
2135956d97fSEmmanuel Vadot            Clock	Source		Index	ID
2145956d97fSEmmanuel Vadot            -----	------		-----	--
2155956d97fSEmmanuel Vadot            crystal	N/A		N/A	N/A
2165956d97fSEmmanuel Vadot
2175956d97fSEmmanuel Vadot            genpll_scr	crystal		0	BCM_NS2_GENPLL_SCR
2185956d97fSEmmanuel Vadot            scr		genpll_scr	1	BCM_NS2_GENPLL_SCR_SCR_CLK
2195956d97fSEmmanuel Vadot            fs		genpll_scr	2	BCM_NS2_GENPLL_SCR_FS_CLK
2205956d97fSEmmanuel Vadot            audio_ref	genpll_scr	3	BCM_NS2_GENPLL_SCR_AUDIO_CLK
2215956d97fSEmmanuel Vadot            ch3_unused	genpll_scr	4	BCM_NS2_GENPLL_SCR_CH3_UNUSED
2225956d97fSEmmanuel Vadot            ch4_unused	genpll_scr	5	BCM_NS2_GENPLL_SCR_CH4_UNUSED
2235956d97fSEmmanuel Vadot            ch5_unused	genpll_scr	6	BCM_NS2_GENPLL_SCR_CH5_UNUSED
2245956d97fSEmmanuel Vadot
2255956d97fSEmmanuel Vadot            genpll_sw	crystal		0	BCM_NS2_GENPLL_SW
2265956d97fSEmmanuel Vadot            rpe		genpll_sw	1	BCM_NS2_GENPLL_SW_RPE_CLK
2275956d97fSEmmanuel Vadot            250		genpll_sw	2	BCM_NS2_GENPLL_SW_250_CLK
2285956d97fSEmmanuel Vadot            nic		genpll_sw	3	BCM_NS2_GENPLL_SW_NIC_CLK
2295956d97fSEmmanuel Vadot            chimp	genpll_sw	4	BCM_NS2_GENPLL_SW_CHIMP_CLK
2305956d97fSEmmanuel Vadot            port	genpll_sw	5	BCM_NS2_GENPLL_SW_PORT_CLK
2315956d97fSEmmanuel Vadot            sdio	genpll_sw	6	BCM_NS2_GENPLL_SW_SDIO_CLK
2325956d97fSEmmanuel Vadot
2335956d97fSEmmanuel Vadot            lcpll_ddr	crystal		0	BCM_NS2_LCPLL_DDR
2345956d97fSEmmanuel Vadot            pcie_sata_usb lcpll_ddr	1	BCM_NS2_LCPLL_DDR_PCIE_SATA_USB_CLK
2355956d97fSEmmanuel Vadot            ddr		lcpll_ddr	2	BCM_NS2_LCPLL_DDR_DDR_CLK
2365956d97fSEmmanuel Vadot            ch2_unused	lcpll_ddr	3	BCM_NS2_LCPLL_DDR_CH2_UNUSED
2375956d97fSEmmanuel Vadot            ch3_unused	lcpll_ddr	4	BCM_NS2_LCPLL_DDR_CH3_UNUSED
2385956d97fSEmmanuel Vadot            ch4_unused	lcpll_ddr	5	BCM_NS2_LCPLL_DDR_CH4_UNUSED
2395956d97fSEmmanuel Vadot            ch5_unused	lcpll_ddr	6	BCM_NS2_LCPLL_DDR_CH5_UNUSED
2405956d97fSEmmanuel Vadot
2415956d97fSEmmanuel Vadot            lcpll_ports	crystal		0	BCM_NS2_LCPLL_PORTS
2425956d97fSEmmanuel Vadot            wan		lcpll_ports	1	BCM_NS2_LCPLL_PORTS_WAN_CLK
2435956d97fSEmmanuel Vadot            rgmii	lcpll_ports	2	BCM_NS2_LCPLL_PORTS_RGMII_CLK
2445956d97fSEmmanuel Vadot            ch2_unused	lcpll_ports	3	BCM_NS2_LCPLL_PORTS_CH2_UNUSED
2455956d97fSEmmanuel Vadot            ch3_unused	lcpll_ports	4	BCM_NS2_LCPLL_PORTS_CH3_UNUSED
2465956d97fSEmmanuel Vadot            ch4_unused	lcpll_ports	5	BCM_NS2_LCPLL_PORTS_CH4_UNUSED
2475956d97fSEmmanuel Vadot            ch5_unused	lcpll_ports	6	BCM_NS2_LCPLL_PORTS_CH5_UNUSED
2485956d97fSEmmanuel Vadot  - if:
2495956d97fSEmmanuel Vadot      properties:
2505956d97fSEmmanuel Vadot        compatible:
2515956d97fSEmmanuel Vadot          contains:
2525956d97fSEmmanuel Vadot            enum:
2535956d97fSEmmanuel Vadot              - brcm,sr-genpll0
2545956d97fSEmmanuel Vadot              - brcm,sr-genpll1
2555956d97fSEmmanuel Vadot              - brcm,sr-genpll2
2565956d97fSEmmanuel Vadot              - brcm,sr-genpll3
2575956d97fSEmmanuel Vadot              - brcm,sr-genpll4
2585956d97fSEmmanuel Vadot              - brcm,sr-genpll5
2595956d97fSEmmanuel Vadot              - brcm,sr-genpll6
2605956d97fSEmmanuel Vadot              - brcm,sr-lcpll0
2615956d97fSEmmanuel Vadot              - brcm,sr-lcpll1
2625956d97fSEmmanuel Vadot              - brcm,sr-lcpll-pcie
2635956d97fSEmmanuel Vadot    then:
2645956d97fSEmmanuel Vadot      properties:
2655956d97fSEmmanuel Vadot        clock-output-names:
2665956d97fSEmmanuel Vadot          description: |
2675956d97fSEmmanuel Vadot            The following table defines the set of PLL/clock index and ID for Stingray.
2685956d97fSEmmanuel Vadot            These clock IDs are defined in:
2695956d97fSEmmanuel Vadot                "include/dt-bindings/clock/bcm-sr.h"
2705956d97fSEmmanuel Vadot
2715956d97fSEmmanuel Vadot            Clock		Source		Index	ID
2725956d97fSEmmanuel Vadot            -----		------		-----	--
2735956d97fSEmmanuel Vadot            crystal		N/A		N/A	N/A
2745956d97fSEmmanuel Vadot            crmu_ref25m		crystal		N/A	N/A
2755956d97fSEmmanuel Vadot
2765956d97fSEmmanuel Vadot            genpll0		crystal		0	BCM_SR_GENPLL0
2775956d97fSEmmanuel Vadot            clk_125m		genpll0		1	BCM_SR_GENPLL0_125M_CLK
2785956d97fSEmmanuel Vadot            clk_scr		genpll0		2	BCM_SR_GENPLL0_SCR_CLK
2795956d97fSEmmanuel Vadot            clk_250		genpll0		3	BCM_SR_GENPLL0_250M_CLK
2805956d97fSEmmanuel Vadot            clk_pcie_axi	genpll0		4	BCM_SR_GENPLL0_PCIE_AXI_CLK
2815956d97fSEmmanuel Vadot            clk_paxc_axi_x2	genpll0		5	BCM_SR_GENPLL0_PAXC_AXI_X2_CLK
2825956d97fSEmmanuel Vadot            clk_paxc_axi	genpll0		6	BCM_SR_GENPLL0_PAXC_AXI_CLK
2835956d97fSEmmanuel Vadot
2845956d97fSEmmanuel Vadot            genpll1		crystal		0	BCM_SR_GENPLL1
2855956d97fSEmmanuel Vadot            clk_pcie_tl		genpll1		1	BCM_SR_GENPLL1_PCIE_TL_CLK
2865956d97fSEmmanuel Vadot            clk_mhb_apb		genpll1		2	BCM_SR_GENPLL1_MHB_APB_CLK
2875956d97fSEmmanuel Vadot
2885956d97fSEmmanuel Vadot            genpll2		crystal		0	BCM_SR_GENPLL2
2895956d97fSEmmanuel Vadot            clk_nic		genpll2		1	BCM_SR_GENPLL2_NIC_CLK
2905956d97fSEmmanuel Vadot            clk_ts_500_ref	genpll2		2	BCM_SR_GENPLL2_TS_500_REF_CLK
2915956d97fSEmmanuel Vadot            clk_125_nitro	genpll2		3	BCM_SR_GENPLL2_125_NITRO_CLK
2925956d97fSEmmanuel Vadot            clk_chimp		genpll2		4	BCM_SR_GENPLL2_CHIMP_CLK
2935956d97fSEmmanuel Vadot            clk_nic_flash	genpll2		5	BCM_SR_GENPLL2_NIC_FLASH_CLK
2945956d97fSEmmanuel Vadot            clk_fs		genpll2		6	BCM_SR_GENPLL2_FS_CLK
2955956d97fSEmmanuel Vadot
2965956d97fSEmmanuel Vadot            genpll3		crystal		0	BCM_SR_GENPLL3
2975956d97fSEmmanuel Vadot            clk_hsls		genpll3		1	BCM_SR_GENPLL3_HSLS_CLK
2985956d97fSEmmanuel Vadot            clk_sdio		genpll3		2	BCM_SR_GENPLL3_SDIO_CLK
2995956d97fSEmmanuel Vadot
3005956d97fSEmmanuel Vadot            genpll4		crystal		0	BCM_SR_GENPLL4
3015956d97fSEmmanuel Vadot            clk_ccn		genpll4		1	BCM_SR_GENPLL4_CCN_CLK
3025956d97fSEmmanuel Vadot            clk_tpiu_pll	genpll4		2	BCM_SR_GENPLL4_TPIU_PLL_CLK
3035956d97fSEmmanuel Vadot            clk_noc		genpll4		3	BCM_SR_GENPLL4_NOC_CLK
3045956d97fSEmmanuel Vadot            clk_chclk_fs4	genpll4		4	BCM_SR_GENPLL4_CHCLK_FS4_CLK
3055956d97fSEmmanuel Vadot            clk_bridge_fscpu	genpll4		5	BCM_SR_GENPLL4_BRIDGE_FSCPU_CLK
3065956d97fSEmmanuel Vadot
3075956d97fSEmmanuel Vadot            genpll5		crystal		0	BCM_SR_GENPLL5
3085956d97fSEmmanuel Vadot            clk_fs4_hf		genpll5		1	BCM_SR_GENPLL5_FS4_HF_CLK
3095956d97fSEmmanuel Vadot            clk_crypto_ae	genpll5		2	BCM_SR_GENPLL5_CRYPTO_AE_CLK
3105956d97fSEmmanuel Vadot            clk_raid_ae		genpll5		3	BCM_SR_GENPLL5_RAID_AE_CLK
3115956d97fSEmmanuel Vadot
3125956d97fSEmmanuel Vadot            genpll6		crystal		0	BCM_SR_GENPLL6
3135956d97fSEmmanuel Vadot            clk_48_usb		genpll6		1	BCM_SR_GENPLL6_48_USB_CLK
3145956d97fSEmmanuel Vadot
3155956d97fSEmmanuel Vadot            lcpll0		crystal		0	BCM_SR_LCPLL0
3165956d97fSEmmanuel Vadot            clk_sata_refp 	lcpll0		1	BCM_SR_LCPLL0_SATA_REFP_CLK
3175956d97fSEmmanuel Vadot            clk_sata_refn	lcpll0		2	BCM_SR_LCPLL0_SATA_REFN_CLK
3185956d97fSEmmanuel Vadot            clk_sata_350	lcpll0		3	BCM_SR_LCPLL0_SATA_350_CLK
3195956d97fSEmmanuel Vadot            clk_sata_500	lcpll0		4	BCM_SR_LCPLL0_SATA_500_CLK
3205956d97fSEmmanuel Vadot
3215956d97fSEmmanuel Vadot            lcpll1		crystal		0	BCM_SR_LCPLL1
3225956d97fSEmmanuel Vadot            clk_wan		lcpll1		1	BCM_SR_LCPLL1_WAN_CLK
3235956d97fSEmmanuel Vadot            clk_usb_ref		lcpll1		2	BCM_SR_LCPLL1_USB_REF_CLK
3245956d97fSEmmanuel Vadot            clk_crmu_ts		lcpll1		3	BCM_SR_LCPLL1_CRMU_TS_CLK
3255956d97fSEmmanuel Vadot
3265956d97fSEmmanuel Vadot            lcpll_pcie		crystal		0	BCM_SR_LCPLL_PCIE
3275956d97fSEmmanuel Vadot            clk_pcie_phy_ref	lcpll1		1	BCM_SR_LCPLL_PCIE_PHY_REF_CLK
3285956d97fSEmmanuel Vadot  - if:
3295956d97fSEmmanuel Vadot      properties:
3305956d97fSEmmanuel Vadot        compatible:
3315956d97fSEmmanuel Vadot          contains:
3325956d97fSEmmanuel Vadot            const: brcm,cygnus-genpll
3335956d97fSEmmanuel Vadot    then:
3345956d97fSEmmanuel Vadot      properties:
3355956d97fSEmmanuel Vadot        clock-output-names:
3365956d97fSEmmanuel Vadot          items:
3375956d97fSEmmanuel Vadot            - const: genpll
3385956d97fSEmmanuel Vadot            - const: axi21
3395956d97fSEmmanuel Vadot            - const: 250mhz
3405956d97fSEmmanuel Vadot            - const: ihost_sys
3415956d97fSEmmanuel Vadot            - const: enet_sw
3425956d97fSEmmanuel Vadot            - const: audio_125
3435956d97fSEmmanuel Vadot            - const: can
3445956d97fSEmmanuel Vadot  - if:
3455956d97fSEmmanuel Vadot      properties:
3465956d97fSEmmanuel Vadot        compatible:
3475956d97fSEmmanuel Vadot          contains:
3485956d97fSEmmanuel Vadot            const: brcm,nsp-lcpll0
3495956d97fSEmmanuel Vadot    then:
3505956d97fSEmmanuel Vadot      properties:
3515956d97fSEmmanuel Vadot        clock-output-names:
3525956d97fSEmmanuel Vadot          items:
3535956d97fSEmmanuel Vadot            - const: lcpll0
3545956d97fSEmmanuel Vadot            - const: pcie_phy
3555956d97fSEmmanuel Vadot            - const: sdio
3565956d97fSEmmanuel Vadot            - const: ddr_phy
3575956d97fSEmmanuel Vadot  - if:
3585956d97fSEmmanuel Vadot      properties:
3595956d97fSEmmanuel Vadot        compatible:
3605956d97fSEmmanuel Vadot          contains:
3615956d97fSEmmanuel Vadot            const: brcm,nsp-genpll
3625956d97fSEmmanuel Vadot    then:
3635956d97fSEmmanuel Vadot      properties:
3645956d97fSEmmanuel Vadot        clock-output-names:
3655956d97fSEmmanuel Vadot          items:
3665956d97fSEmmanuel Vadot            - const: genpll
3675956d97fSEmmanuel Vadot            - const: phy
3685956d97fSEmmanuel Vadot            - const: ethernetclk
3695956d97fSEmmanuel Vadot            - const: usbclk
3705956d97fSEmmanuel Vadot            - const: iprocfast
3715956d97fSEmmanuel Vadot            - const: sata1
3725956d97fSEmmanuel Vadot            - const: sata2
3735956d97fSEmmanuel Vadot
3745956d97fSEmmanuel Vadotrequired:
3755956d97fSEmmanuel Vadot  - reg
3765956d97fSEmmanuel Vadot  - clocks
3775956d97fSEmmanuel Vadot  - '#clock-cells'
3785956d97fSEmmanuel Vadot
3795956d97fSEmmanuel VadotadditionalProperties: false
3805956d97fSEmmanuel Vadot
3815956d97fSEmmanuel Vadotexamples:
3825956d97fSEmmanuel Vadot  - |
3835956d97fSEmmanuel Vadot    osc1: oscillator {
3845956d97fSEmmanuel Vadot        #clock-cells = <0>;
3855956d97fSEmmanuel Vadot        compatible = "fixed-clock";
3865956d97fSEmmanuel Vadot        clock-frequency = <25000000>;
3875956d97fSEmmanuel Vadot    };
3885956d97fSEmmanuel Vadot
3895956d97fSEmmanuel Vadot    genpll@301d000 {
3905956d97fSEmmanuel Vadot        #clock-cells = <1>;
3915956d97fSEmmanuel Vadot        compatible = "brcm,cygnus-genpll";
3925956d97fSEmmanuel Vadot        reg = <0x301d000 0x2c>, <0x301c020 0x4>;
3935956d97fSEmmanuel Vadot        clocks = <&os1c>;
3945956d97fSEmmanuel Vadot        clock-output-names = "genpll", "axi21", "250mhz", "ihost_sys",
3955956d97fSEmmanuel Vadot                     "enet_sw", "audio_125", "can";
3965956d97fSEmmanuel Vadot    };
3975956d97fSEmmanuel Vadot  - |
3985956d97fSEmmanuel Vadot    osc2: oscillator {
3995956d97fSEmmanuel Vadot        #clock-cells = <0>;
4005956d97fSEmmanuel Vadot        compatible = "fixed-clock";
4015956d97fSEmmanuel Vadot        clock-frequency = <25000000>;
4025956d97fSEmmanuel Vadot    };
4035956d97fSEmmanuel Vadot
4045956d97fSEmmanuel Vadot    asiu_clks@301d048 {
4055956d97fSEmmanuel Vadot        #clock-cells = <1>;
4065956d97fSEmmanuel Vadot        compatible = "brcm,cygnus-asiu-clk";
4075956d97fSEmmanuel Vadot        reg = <0x301d048 0xc>, <0x180aa024 0x4>;
4085956d97fSEmmanuel Vadot        clocks = <&osc2>;
4095956d97fSEmmanuel Vadot        clock-output-names = "keypad", "adc/touch", "pwm";
4105956d97fSEmmanuel Vadot    };
411*354d7675SEmmanuel Vadot  - |
412*354d7675SEmmanuel Vadot    arm_clk@0 {
413*354d7675SEmmanuel Vadot        #clock-cells = <0>;
414*354d7675SEmmanuel Vadot        compatible = "brcm,nsp-armpll";
415*354d7675SEmmanuel Vadot        clocks = <&osc>;
416*354d7675SEmmanuel Vadot        reg = <0x0 0x1000>;
417*354d7675SEmmanuel Vadot    };
418