nxp,lpc1850-rgu.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. NXP LPC1850 Reset Generation Unit (RGU)
  2. ========================================
  3. Please also refer to reset.txt in this directory for common reset
  4. controller binding usage.
  5. Required properties:
  6. - compatible: Should be "nxp,lpc1850-rgu"
  7. - reg: register base and length
  8. - clocks: phandle and clock specifier to RGU clocks
  9. - clock-names: should contain "delay" and "reg"
  10. - #reset-cells: should be 1
  11. See table below for valid peripheral reset numbers. Numbers not
  12. in the table below are either reserved or not applicable for
  13. normal operation.
  14. Reset Peripheral
  15. 9 System control unit (SCU)
  16. 12 ARM Cortex-M0 subsystem core (LPC43xx only)
  17. 13 CPU core
  18. 16 LCD controller
  19. 17 USB0
  20. 18 USB1
  21. 19 DMA
  22. 20 SDIO
  23. 21 External memory controller (EMC)
  24. 22 Ethernet
  25. 25 Flash bank A
  26. 27 EEPROM
  27. 28 GPIO
  28. 29 Flash bank B
  29. 32 Timer0
  30. 33 Timer1
  31. 34 Timer2
  32. 35 Timer3
  33. 36 Repetitive Interrupt timer (RIT)
  34. 37 State Configurable Timer (SCT)
  35. 38 Motor control PWM (MCPWM)
  36. 39 QEI
  37. 40 ADC0
  38. 41 ADC1
  39. 42 DAC
  40. 44 USART0
  41. 45 UART1
  42. 46 USART2
  43. 47 USART3
  44. 48 I2C0
  45. 49 I2C1
  46. 50 SSP0
  47. 51 SSP1
  48. 52 I2S0 and I2S1
  49. 53 Serial Flash Interface (SPIFI)
  50. 54 C_CAN1
  51. 55 C_CAN0
  52. 56 ARM Cortex-M0 application core (LPC4370 only)
  53. 57 SGPIO (LPC43xx only)
  54. 58 SPI (LPC43xx only)
  55. 60 ADCHS (12-bit ADC) (LPC4370 only)
  56. Refer to NXP LPC18xx or LPC43xx user manual for more details about
  57. the reset signals and the connected block/peripheral.
  58. Reset provider example:
  59. rgu: reset-controller@40053000 {
  60. compatible = "nxp,lpc1850-rgu";
  61. reg = <0x40053000 0x1000>;
  62. clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_BUS>;
  63. clock-names = "delay", "reg";
  64. #reset-cells = <1>;
  65. };
  66. Reset consumer example:
  67. mac: ethernet@40010000 {
  68. compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
  69. reg = <0x40010000 0x2000>;
  70. interrupts = <5>;
  71. interrupt-names = "macirq";
  72. clocks = <&ccu1 CLK_CPU_ETHERNET>;
  73. clock-names = "stmmaceth";
  74. resets = <&rgu 22>;
  75. reset-names = "stmmaceth";
  76. status = "disabled";
  77. };