linux/Documentation/devicetree/bindings/clock/ste-u300-syscon-clock.txt
<<
>>
Prefs
   1Clock bindings for ST-Ericsson U300 System Controller Clocks
   2
   3Bindings for the gated system controller clocks:
   4
   5Required properties:
   6- compatible: must be "stericsson,u300-syscon-clk"
   7- #clock-cells: must be <0>
   8- clock-type: specifies the type of clock:
   9  0 = slow clock
  10  1 = fast clock
  11  2 = rest/remaining clock
  12- clock-id: specifies the clock in the type range
  13
  14Optional properties:
  15- clocks: parent clock(s)
  16
  17The available clocks per type are as follows:
  18
  19Type:  ID:   Clock:
  20-------------------
  210      0     Slow peripheral bridge clock
  220      1     UART0 clock
  230      4     GPIO clock
  240      6     RTC clock
  250      7     Application timer clock
  260      8     Access timer clock
  27
  281      0     Fast peripheral bridge clock
  291      1     I2C bus 0 clock
  301      2     I2C bus 1 clock
  311      5     MMC interface peripheral (silicon) clock
  321      6     SPI clock
  33
  342      3     CPU clock
  352      4     DMA controller clock
  362      5     External Memory Interface (EMIF) clock
  372      6     NAND flask interface clock
  382      8     XGAM graphics engine clock
  392      9     Shared External Memory Interface (SEMI) clock
  402      10    AHB Subsystem Bridge clock
  412      12    Interrupt controller clock
  42
  43Example:
  44
  45gpio_clk: gpio_clk@13M {
  46        #clock-cells = <0>;
  47        compatible = "stericsson,u300-syscon-clk";
  48        clock-type = <0>; /* Slow */
  49        clock-id = <4>;
  50        clocks = <&slow_clk>;
  51};
  52
  53gpio: gpio@c0016000 {
  54        compatible = "stericsson,gpio-coh901";
  55        (...)
  56        clocks = <&gpio_clk>;
  57};
  58
  59
  60Bindings for the MMC/SD card clock:
  61
  62Required properties:
  63- compatible: must be "stericsson,u300-syscon-mclk"
  64- #clock-cells: must be <0>
  65
  66Optional properties:
  67- clocks: parent clock(s)
  68
  69mmc_mclk: mmc_mclk {
  70        #clock-cells = <0>;
  71        compatible = "stericsson,u300-syscon-mclk";
  72        clocks = <&mmc_pclk>;
  73};
  74
  75mmcsd: mmcsd@c0001000 {
  76        compatible = "arm,pl18x", "arm,primecell";
  77        clocks = <&mmc_pclk>, <&mmc_mclk>;
  78        clock-names = "apb_pclk", "mclk";
  79        (...)
  80};
  81