Lines Matching +full:imx27 +full:- +full:ccm
1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/clk-provider.h>
9 #include <dt-bindings/clock/imx27-clock.h>
20 static void __iomem *ccm __initdata;
23 #define CCM_CSCR (ccm + 0x00)
24 #define CCM_MPCTL0 (ccm + 0x04)
25 #define CCM_MPCTL1 (ccm + 0x08)
26 #define CCM_SPCTL0 (ccm + 0x0c)
27 #define CCM_SPCTL1 (ccm + 0x10)
28 #define CCM_PCDR0 (ccm + 0x18)
29 #define CCM_PCDR1 (ccm + 0x1c)
30 #define CCM_PCCR0 (ccm + 0x20)
31 #define CCM_PCCR1 (ccm + 0x24)
32 #define CCM_CCSR (ccm + 0x28)
65 BUG_ON(!ccm); in _mx27_clocks_init()
189 for_each_compatible_node(refnp, NULL, "fixed-clock") { in mx27_clocks_init_dt()
190 if (!of_device_is_compatible(refnp, "fsl,imx-osc26m")) in mx27_clocks_init_dt()
193 if (!of_property_read_u32(refnp, "clock-frequency", &fref)) { in mx27_clocks_init_dt()
199 ccm = of_iomap(np, 0); in mx27_clocks_init_dt()
207 CLK_OF_DECLARE(imx27_ccm, "fsl,imx27-ccm", mx27_clocks_init_dt);