1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*833e5d42SEmmanuel Vadot%YAML 1.2 3*833e5d42SEmmanuel Vadot--- 4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/reset/nxp,lpc1850-rgu.yaml# 5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*833e5d42SEmmanuel Vadot 7*833e5d42SEmmanuel Vadottitle: NXP LPC1850 Reset Generation Unit (RGU) 8*833e5d42SEmmanuel Vadot 9*833e5d42SEmmanuel Vadotmaintainers: 10*833e5d42SEmmanuel Vadot - Frank Li <Frank.Li@nxp.com> 11*833e5d42SEmmanuel Vadot 12*833e5d42SEmmanuel Vadotproperties: 13*833e5d42SEmmanuel Vadot compatible: 14*833e5d42SEmmanuel Vadot const: nxp,lpc1850-rgu 15*833e5d42SEmmanuel Vadot 16*833e5d42SEmmanuel Vadot reg: 17*833e5d42SEmmanuel Vadot maxItems: 1 18*833e5d42SEmmanuel Vadot 19*833e5d42SEmmanuel Vadot clocks: 20*833e5d42SEmmanuel Vadot maxItems: 2 21*833e5d42SEmmanuel Vadot 22*833e5d42SEmmanuel Vadot clock-names: 23*833e5d42SEmmanuel Vadot items: 24*833e5d42SEmmanuel Vadot - const: delay 25*833e5d42SEmmanuel Vadot - const: reg 26*833e5d42SEmmanuel Vadot 27*833e5d42SEmmanuel Vadot '#reset-cells': 28*833e5d42SEmmanuel Vadot const: 1 29*833e5d42SEmmanuel Vadot description: | 30*833e5d42SEmmanuel Vadot See table below for valid peripheral reset numbers. Numbers not 31*833e5d42SEmmanuel Vadot in the table below are either reserved or not applicable for 32*833e5d42SEmmanuel Vadot normal operation. 33*833e5d42SEmmanuel Vadot 34*833e5d42SEmmanuel Vadot Reset Peripheral 35*833e5d42SEmmanuel Vadot 9 System control unit (SCU) 36*833e5d42SEmmanuel Vadot 12 ARM Cortex-M0 subsystem core (LPC43xx only) 37*833e5d42SEmmanuel Vadot 13 CPU core 38*833e5d42SEmmanuel Vadot 16 LCD controller 39*833e5d42SEmmanuel Vadot 17 USB0 40*833e5d42SEmmanuel Vadot 18 USB1 41*833e5d42SEmmanuel Vadot 19 DMA 42*833e5d42SEmmanuel Vadot 20 SDIO 43*833e5d42SEmmanuel Vadot 21 External memory controller (EMC) 44*833e5d42SEmmanuel Vadot 22 Ethernet 45*833e5d42SEmmanuel Vadot 25 Flash bank A 46*833e5d42SEmmanuel Vadot 27 EEPROM 47*833e5d42SEmmanuel Vadot 28 GPIO 48*833e5d42SEmmanuel Vadot 29 Flash bank B 49*833e5d42SEmmanuel Vadot 32 Timer0 50*833e5d42SEmmanuel Vadot 33 Timer1 51*833e5d42SEmmanuel Vadot 34 Timer2 52*833e5d42SEmmanuel Vadot 35 Timer3 53*833e5d42SEmmanuel Vadot 36 Repetitive Interrupt timer (RIT) 54*833e5d42SEmmanuel Vadot 37 State Configurable Timer (SCT) 55*833e5d42SEmmanuel Vadot 38 Motor control PWM (MCPWM) 56*833e5d42SEmmanuel Vadot 39 QEI 57*833e5d42SEmmanuel Vadot 40 ADC0 58*833e5d42SEmmanuel Vadot 41 ADC1 59*833e5d42SEmmanuel Vadot 42 DAC 60*833e5d42SEmmanuel Vadot 44 USART0 61*833e5d42SEmmanuel Vadot 45 UART1 62*833e5d42SEmmanuel Vadot 46 USART2 63*833e5d42SEmmanuel Vadot 47 USART3 64*833e5d42SEmmanuel Vadot 48 I2C0 65*833e5d42SEmmanuel Vadot 49 I2C1 66*833e5d42SEmmanuel Vadot 50 SSP0 67*833e5d42SEmmanuel Vadot 51 SSP1 68*833e5d42SEmmanuel Vadot 52 I2S0 and I2S1 69*833e5d42SEmmanuel Vadot 53 Serial Flash Interface (SPIFI) 70*833e5d42SEmmanuel Vadot 54 C_CAN1 71*833e5d42SEmmanuel Vadot 55 C_CAN0 72*833e5d42SEmmanuel Vadot 56 ARM Cortex-M0 application core (LPC4370 only) 73*833e5d42SEmmanuel Vadot 57 SGPIO (LPC43xx only) 74*833e5d42SEmmanuel Vadot 58 SPI (LPC43xx only) 75*833e5d42SEmmanuel Vadot 60 ADCHS (12-bit ADC) (LPC4370 only) 76*833e5d42SEmmanuel Vadot 77*833e5d42SEmmanuel Vadot Refer to NXP LPC18xx or LPC43xx user manual for more details about 78*833e5d42SEmmanuel Vadot the reset signals and the connected block/peripheral. 79*833e5d42SEmmanuel Vadot 80*833e5d42SEmmanuel Vadotrequired: 81*833e5d42SEmmanuel Vadot - compatible 82*833e5d42SEmmanuel Vadot - reg 83*833e5d42SEmmanuel Vadot - clocks 84*833e5d42SEmmanuel Vadot - clock-names 85*833e5d42SEmmanuel Vadot - '#reset-cells' 86*833e5d42SEmmanuel Vadot 87*833e5d42SEmmanuel VadotadditionalProperties: false 88*833e5d42SEmmanuel Vadot 89*833e5d42SEmmanuel Vadotexamples: 90*833e5d42SEmmanuel Vadot - | 91*833e5d42SEmmanuel Vadot #include <dt-bindings/clock/lpc18xx-ccu.h> 92*833e5d42SEmmanuel Vadot #include <dt-bindings/clock/lpc18xx-cgu.h> 93*833e5d42SEmmanuel Vadot 94*833e5d42SEmmanuel Vadot reset-controller@40053000 { 95*833e5d42SEmmanuel Vadot compatible = "nxp,lpc1850-rgu"; 96*833e5d42SEmmanuel Vadot reg = <0x40053000 0x1000>; 97*833e5d42SEmmanuel Vadot clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_BUS>; 98*833e5d42SEmmanuel Vadot clock-names = "delay", "reg"; 99*833e5d42SEmmanuel Vadot #reset-cells = <1>; 100*833e5d42SEmmanuel Vadot }; 101*833e5d42SEmmanuel Vadot 102