~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/lpc1850-ccu.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/clock/lpc1850-ccu.txt (Architecture ppc) and /Documentation/devicetree/bindings/clock/lpc1850-ccu.txt (Architecture sparc64)


  1 * NXP LPC1850 Clock Control Unit (CCU)              1 * NXP LPC1850 Clock Control Unit (CCU)
  2                                                     2 
  3 Each CGU base clock has several clock branches      3 Each CGU base clock has several clock branches which can be turned on
  4 or off independently by the Clock Control Unit      4 or off independently by the Clock Control Units CCU1 or CCU2. The
  5 branch clocks are distributed between CCU1 and      5 branch clocks are distributed between CCU1 and CCU2.
  6                                                     6 
  7  - Above text taken from NXP LPC1850 User Manu      7  - Above text taken from NXP LPC1850 User Manual.
  8                                                     8 
  9 This binding uses the common clock binding:         9 This binding uses the common clock binding:
 10     Documentation/devicetree/bindings/clock/cl     10     Documentation/devicetree/bindings/clock/clock-bindings.txt
 11                                                    11 
 12 Required properties:                               12 Required properties:
 13 - compatible:                                      13 - compatible:
 14         Should be "nxp,lpc1850-ccu"                14         Should be "nxp,lpc1850-ccu"
 15 - reg:                                             15 - reg:
 16         Shall define the base and range of the     16         Shall define the base and range of the address space
 17         containing clock control registers         17         containing clock control registers
 18 - #clock-cells:                                    18 - #clock-cells:
 19         Shall have value <1>.  The permitted c     19         Shall have value <1>.  The permitted clock-specifier values
 20         are the branch clock names defined in      20         are the branch clock names defined in table below.
 21 - clocks:                                          21 - clocks:
 22         Shall contain a list of phandles for t     22         Shall contain a list of phandles for the base clocks routed
 23         from the CGU to the specific CCU. See      23         from the CGU to the specific CCU. See mapping of base clocks
 24         and CCU in table below.                    24         and CCU in table below.
 25 - clock-names:                                     25 - clock-names:
 26         Shall contain a list of names for the      26         Shall contain a list of names for the base clock routed
 27         from the CGU to the specific CCU. Vali     27         from the CGU to the specific CCU. Valid CCU clock names:
 28         "base_usb0_clk",  "base_periph_clk", "     28         "base_usb0_clk",  "base_periph_clk", "base_usb1_clk",
 29         "base_cpu_clk",   "base_spifi_clk",  "     29         "base_cpu_clk",   "base_spifi_clk",  "base_spi_clk",
 30         "base_apb1_clk",  "base_apb3_clk",   "     30         "base_apb1_clk",  "base_apb3_clk",   "base_adchs_clk",
 31         "base_sdio_clk",  "base_ssp0_clk",   "     31         "base_sdio_clk",  "base_ssp0_clk",   "base_ssp1_clk",
 32         "base_uart0_clk", "base_uart1_clk",  "     32         "base_uart0_clk", "base_uart1_clk",  "base_uart2_clk",
 33         "base_uart3_clk", "base_audio_clk"         33         "base_uart3_clk", "base_audio_clk"
 34                                                    34 
 35 Which branch clocks that are available on the      35 Which branch clocks that are available on the CCU depends on the
 36 specific LPC part. Check the user manual for y     36 specific LPC part. Check the user manual for your specific part.
 37                                                    37 
 38 A list of CCU clocks can be found in dt-bindin     38 A list of CCU clocks can be found in dt-bindings/clock/lpc18xx-ccu.h.
 39                                                    39 
 40 Example board file:                                40 Example board file:
 41                                                    41 
 42 soc {                                              42 soc {
 43         ccu1: clock-controller@40051000 {          43         ccu1: clock-controller@40051000 {
 44                 compatible = "nxp,lpc1850-ccu"     44                 compatible = "nxp,lpc1850-ccu";
 45                 reg = <0x40051000 0x1000>;         45                 reg = <0x40051000 0x1000>;
 46                 #clock-cells = <1>;                46                 #clock-cells = <1>;
 47                 clocks = <&cgu BASE_APB3_CLK>,     47                 clocks = <&cgu BASE_APB3_CLK>,   <&cgu BASE_APB1_CLK>,
 48                          <&cgu BASE_SPIFI_CLK>     48                          <&cgu BASE_SPIFI_CLK>,  <&cgu BASE_CPU_CLK>,
 49                          <&cgu BASE_PERIPH_CLK     49                          <&cgu BASE_PERIPH_CLK>, <&cgu BASE_USB0_CLK>,
 50                          <&cgu BASE_USB1_CLK>,     50                          <&cgu BASE_USB1_CLK>,   <&cgu BASE_SPI_CLK>;
 51                 clock-names = "base_apb3_clk",     51                 clock-names = "base_apb3_clk",   "base_apb1_clk",
 52                               "base_spifi_clk"     52                               "base_spifi_clk",  "base_cpu_clk",
 53                               "base_periph_clk     53                               "base_periph_clk", "base_usb0_clk",
 54                               "base_usb1_clk",     54                               "base_usb1_clk",   "base_spi_clk";
 55         };                                         55         };
 56                                                    56 
 57         ccu2: clock-controller@40052000 {          57         ccu2: clock-controller@40052000 {
 58                 compatible = "nxp,lpc1850-ccu"     58                 compatible = "nxp,lpc1850-ccu";
 59                 reg = <0x40052000 0x1000>;         59                 reg = <0x40052000 0x1000>;
 60                 #clock-cells = <1>;                60                 #clock-cells = <1>;
 61                 clocks = <&cgu BASE_AUDIO_CLK>     61                 clocks = <&cgu BASE_AUDIO_CLK>, <&cgu BASE_UART3_CLK>,
 62                          <&cgu BASE_UART2_CLK>     62                          <&cgu BASE_UART2_CLK>, <&cgu BASE_UART1_CLK>,
 63                          <&cgu BASE_UART0_CLK>     63                          <&cgu BASE_UART0_CLK>, <&cgu BASE_SSP1_CLK>,
 64                          <&cgu BASE_SSP0_CLK>,     64                          <&cgu BASE_SSP0_CLK>,  <&cgu BASE_SDIO_CLK>;
 65                 clock-names = "base_audio_clk"     65                 clock-names = "base_audio_clk", "base_uart3_clk",
 66                               "base_uart2_clk"     66                               "base_uart2_clk", "base_uart1_clk",
 67                               "base_uart0_clk"     67                               "base_uart0_clk", "base_ssp1_clk",
 68                               "base_ssp0_clk",     68                               "base_ssp0_clk",  "base_sdio_clk";
 69         };                                         69         };
 70                                                    70 
 71         /* A user of CCU branch clocks */          71         /* A user of CCU branch clocks */
 72         uart1: serial@40082000 {                   72         uart1: serial@40082000 {
 73                 ...                                73                 ...
 74                 clocks = <&ccu2 CLK_APB0_UART1     74                 clocks = <&ccu2 CLK_APB0_UART1>, <&ccu1 CLK_CPU_UART1>;
 75                 ...                                75                 ...
 76         };                                         76         };
 77 };                                                 77 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php