···8899- compatible: should be one of the following:1010 - "samsung,exynos4210-audss-clock" - controller compatible with all Exynos4 SoCs.1111- - "samsung,exynos5250-audss-clock" - controller compatible with all Exynos5 SoCs.1212-1111+ - "samsung,exynos5250-audss-clock" - controller compatible with Exynos52501212+ SoCs.1313+ - "samsung,exynos5420-audss-clock" - controller compatible with Exynos54201414+ SoCs.1315- reg: physical base address and length of the controller's register set.14161517- #clock-cells: should be 1.1818+1919+- clocks:2020+ - pll_ref: Fixed rate PLL reference clock, parent of mout_audss. "fin_pll"2121+ is used if not specified.2222+ - pll_in: Input PLL to the AudioSS block, parent of mout_audss. "fout_epll"2323+ is used if not specified.2424+ - cdclk: External i2s clock, parent of mout_i2s. "cdclk0" is used if not2525+ specified.2626+ - sclk_audio: Audio bus clock, parent of mout_i2s. "sclk_audio0" is used if2727+ not specified.2828+ - sclk_pcm_in: PCM clock, parent of sclk_pcm. "sclk_pcm0" is used if not2929+ specified.3030+3131+- clock-names: Aliases for the above clocks. They should be "pll_ref",3232+ "pll_in", "cdclk", "sclk_audio", and "sclk_pcm_in" respectively.16331734The following is the list of clocks generated by the controller. Each clock is1835assigned an identifier and client nodes use this identifier to specify the···5134sclk_i2s 75235pcm_bus 85336sclk_pcm 93737+adma 10 Exynos542054385555-Example 1: An example of a clock controller node is listed below.3939+Example 1: An example of a clock controller node using the default input4040+ clock names is listed below.56415742clock_audss: audss-clock-controller@3810000 {5843 compatible = "samsung,exynos5250-audss-clock";···6243 #clock-cells = <1>;6344};64456565-Example 2: I2S controller node that consumes the clock generated by the clock4646+Example 2: An example of a clock controller node with the input clocks4747+ specified.4848+4949+clock_audss: audss-clock-controller@3810000 {5050+ compatible = "samsung,exynos5250-audss-clock";5151+ reg = <0x03810000 0x0C>;5252+ #clock-cells = <1>;5353+ clocks = <&clock 1>, <&clock 7>, <&clock 138>, <&clock 160>,5454+ <&ext_i2s_clk>;5555+ clock-names = "pll_ref", "pll_in", "sclk_audio", "sclk_pcm_in", "cdclk";5656+};5757+5858+Example 3: I2S controller node that consumes the clock generated by the clock6659 controller. Refer to the standard clock bindings for information6760 about 'clocks' and 'clock-names' property.6861
···11+/*22+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.33+ * Author: Andrzej Haja <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>44+ *55+ * This program is free software; you can redistribute it and/or modify66+ * it under the terms of the GNU General Public License version 2 as77+ * published by the Free Software Foundation.88+ *99+ * Device Tree binding constants for Exynos5440 clock controller.1010+*/1111+1212+#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5440_H1313+#define _DT_BINDINGS_CLOCK_EXYNOS_5440_H1414+1515+#define CLK_XTAL 11616+#define CLK_ARM_CLK 21717+#define CLK_SPI_BAUD 161818+#define CLK_PB0_250 171919+#define CLK_PR0_250 182020+#define CLK_PR1_250 192121+#define CLK_B_250 202222+#define CLK_B_125 212323+#define CLK_B_200 222424+#define CLK_SATA 232525+#define CLK_USB 242626+#define CLK_GMAC0 252727+#define CLK_CS250 262828+#define CLK_PB0_250_O 272929+#define CLK_PR0_250_O 283030+#define CLK_PR1_250_O 293131+#define CLK_B_250_O 303232+#define CLK_B_125_O 313333+#define CLK_B_200_O 323434+#define CLK_SATA_O 333535+#define CLK_USB_O 343636+#define CLK_GMAC0_O 353737+#define CLK_CS250_O 363838+3939+/* must be greater than maximal clock id */4040+#define CLK_NR_CLKS 374141+4242+#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5440_H */