Hi Rob, Sorry for missing your message. It has kind of got lost among the Krzysztof' comments. On Tue, Aug 30, 2022 at 01:00:28PM -0500, Rob Herring wrote: > On Mon, Aug 22, 2022 at 10:19:45PM +0300, Serge Semin wrote: > > Baikal-T1 DDR controller is based on the DW uMCTL2 DDRC IP-core v2.51a > > with up to DDR3 protocol capability and 32-bit data bus + 8-bit ECC. There > > are individual IRQs for each ECC and DFI events.The dedicated scrubber > > clock source is absent since it's fully synchronous to the core clock. > > In addition to that the DFI-DDR PHY CSRs can be accessed via a separate > > registers space. > > Are you sure the phy and dfi irq shouldn't be a separate device? I am sure that the DFI IRQ is a part of the DW uMCTl2 DDR controller specification. The DFI interface has a special signal called "dfi_alert_n". It is supposed to be supplied to the DDR controller from the DDR PHY. The signal state indicates the CRC/Parity errors detected on the address/command sent to the PHY/SDRAM side. Aside with some other statuses the signal state is reflected in the DW uMCTL2 CRCPARSTAT register. The CSR state in its turn is then sent out via the corresponding output wire (dfi_err_int) up to the IRQ controller. So to speak there is no doubts the DFI errors IRQ is a part of the DW uMCTL2 DDRC IRQs interface. Regarding the PHY CSR space. You are right. It is a separate device indeed. I'll drop the PHY CSR region from here. -Sergey > > Rob