18c2ecf20Sopenharmony_ciST Microelectronics Nomadik SRC System Reset and Control
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThis binding uses the common clock binding:
48c2ecf20Sopenharmony_ciDocumentation/devicetree/bindings/clock/clock-bindings.txt
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciThe Nomadik SRC controller is responsible of controlling chrystals,
78c2ecf20Sopenharmony_ciPLLs and clock gates.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciRequired properties for the SRC node:
108c2ecf20Sopenharmony_ci- compatible: must be "stericsson,nomadik-src"
118c2ecf20Sopenharmony_ci- reg: must contain the SRC register base and size
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciOptional properties for the SRC node:
148c2ecf20Sopenharmony_ci- disable-sxtalo: if present this will disable the SXTALO
158c2ecf20Sopenharmony_ci  i.e. the driver output for the slow 32kHz chrystal, if the
168c2ecf20Sopenharmony_ci  board has its own circuitry for providing this oscillator
178c2ecf20Sopenharmony_ci- disable-mxtal: if present this will disable the MXTALO,
188c2ecf20Sopenharmony_ci  i.e. the driver output for the main (~19.2 MHz) chrystal,
198c2ecf20Sopenharmony_ci  if the board has its own circuitry for providing this
208c2ecf20Sopenharmony_ci  oscillator
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciPLL nodes: these nodes represent the two PLLs on the system,
248c2ecf20Sopenharmony_ciwhich should both have the main chrystal, represented as a
258c2ecf20Sopenharmony_cifixed frequency clock, as parent.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciRequired properties for the two PLL nodes:
288c2ecf20Sopenharmony_ci- compatible: must be "st,nomadik-pll-clock"
298c2ecf20Sopenharmony_ci- clock-cells: must be 0
308c2ecf20Sopenharmony_ci- clock-id: must be 1 or 2 for PLL1 and PLL2 respectively
318c2ecf20Sopenharmony_ci- clocks: this clock will have main chrystal as parent
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciHCLK nodes: these represent the clock gates on individual
358c2ecf20Sopenharmony_cilines from the HCLK clock tree and the gate for individual
368c2ecf20Sopenharmony_cilines from the PCLK clock tree.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciRequires properties for the HCLK nodes:
398c2ecf20Sopenharmony_ci- compatible: must be "st,nomadik-hclk-clock"
408c2ecf20Sopenharmony_ci- clock-cells: must be 0
418c2ecf20Sopenharmony_ci- clock-id: must be the clock ID from 0 to 63 according to
428c2ecf20Sopenharmony_ci  this table:
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci	0:  HCLKDMA0
458c2ecf20Sopenharmony_ci	1:  HCLKSMC
468c2ecf20Sopenharmony_ci	2:  HCLKSDRAM
478c2ecf20Sopenharmony_ci	3:  HCLKDMA1
488c2ecf20Sopenharmony_ci	4:  HCLKCLCD
498c2ecf20Sopenharmony_ci	5:  PCLKIRDA
508c2ecf20Sopenharmony_ci	6:  PCLKSSP
518c2ecf20Sopenharmony_ci	7:  PCLKUART0
528c2ecf20Sopenharmony_ci	8:  PCLKSDI
538c2ecf20Sopenharmony_ci	9:  PCLKI2C0
548c2ecf20Sopenharmony_ci	10: PCLKI2C1
558c2ecf20Sopenharmony_ci	11: PCLKUART1
568c2ecf20Sopenharmony_ci	12: PCLMSP0
578c2ecf20Sopenharmony_ci	13: HCLKUSB
588c2ecf20Sopenharmony_ci	14: HCLKDIF
598c2ecf20Sopenharmony_ci	15: HCLKSAA
608c2ecf20Sopenharmony_ci	16: HCLKSVA
618c2ecf20Sopenharmony_ci	17: PCLKHSI
628c2ecf20Sopenharmony_ci	18: PCLKXTI
638c2ecf20Sopenharmony_ci	19: PCLKUART2
648c2ecf20Sopenharmony_ci	20: PCLKMSP1
658c2ecf20Sopenharmony_ci	21: PCLKMSP2
668c2ecf20Sopenharmony_ci	22: PCLKOWM
678c2ecf20Sopenharmony_ci	23: HCLKHPI
688c2ecf20Sopenharmony_ci	24: PCLKSKE
698c2ecf20Sopenharmony_ci	25: PCLKHSEM
708c2ecf20Sopenharmony_ci	26: HCLK3D
718c2ecf20Sopenharmony_ci	27: HCLKHASH
728c2ecf20Sopenharmony_ci	28: HCLKCRYP
738c2ecf20Sopenharmony_ci	29: PCLKMSHC
748c2ecf20Sopenharmony_ci	30: HCLKUSBM
758c2ecf20Sopenharmony_ci	31: HCLKRNG
768c2ecf20Sopenharmony_ci	(32, 33, 34, 35 RESERVED)
778c2ecf20Sopenharmony_ci	36: CLDCLK
788c2ecf20Sopenharmony_ci	37: IRDACLK
798c2ecf20Sopenharmony_ci	38: SSPICLK
808c2ecf20Sopenharmony_ci	39: UART0CLK
818c2ecf20Sopenharmony_ci	40: SDICLK
828c2ecf20Sopenharmony_ci	41: I2C0CLK
838c2ecf20Sopenharmony_ci	42: I2C1CLK
848c2ecf20Sopenharmony_ci	43: UART1CLK
858c2ecf20Sopenharmony_ci	44: MSPCLK0
868c2ecf20Sopenharmony_ci	45: USBCLK
878c2ecf20Sopenharmony_ci	46: DIFCLK
888c2ecf20Sopenharmony_ci	47: IPI2CCLK
898c2ecf20Sopenharmony_ci	48: IPBMCCLK
908c2ecf20Sopenharmony_ci	49: HSICLKRX
918c2ecf20Sopenharmony_ci	50: HSICLKTX
928c2ecf20Sopenharmony_ci	51: UART2CLK
938c2ecf20Sopenharmony_ci	52: MSPCLK1
948c2ecf20Sopenharmony_ci	53: MSPCLK2
958c2ecf20Sopenharmony_ci	54: OWMCLK
968c2ecf20Sopenharmony_ci	(55 RESERVED)
978c2ecf20Sopenharmony_ci	56: SKECLK
988c2ecf20Sopenharmony_ci	(57 RESERVED)
998c2ecf20Sopenharmony_ci	58: 3DCLK
1008c2ecf20Sopenharmony_ci	59: PCLKMSP3
1018c2ecf20Sopenharmony_ci	60: MSPCLK3
1028c2ecf20Sopenharmony_ci	61: MSHCCLK
1038c2ecf20Sopenharmony_ci	62: USBMCLK
1048c2ecf20Sopenharmony_ci	63: RNGCCLK
105