1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/memory-controllers/renesas,dbsc.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Renesas DDR Bus Controllers 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Geert Uytterhoeven <geert+renesas@glider.be> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot Renesas SoCs contain one or more memory controllers. These memory 14c66ec88fSEmmanuel Vadot controllers differ from one SoC variant to another, and are called by 15c66ec88fSEmmanuel Vadot different names, e.g. "DDR Bus Controller (DBSC)", "DDR3 Bus State Controller 16c66ec88fSEmmanuel Vadot (DBSC3)", or "SDRAM Bus State Controller (SBSC)"). 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadotproperties: 19c66ec88fSEmmanuel Vadot compatible: 20c66ec88fSEmmanuel Vadot enum: 21c66ec88fSEmmanuel Vadot - renesas,dbsc-r8a73a4 # R-Mobile APE6 22c66ec88fSEmmanuel Vadot - renesas,dbsc3-r8a7740 # R-Mobile A1 23c66ec88fSEmmanuel Vadot - renesas,sbsc-sh73a0 # SH-Mobile AG5 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadot reg: 26c66ec88fSEmmanuel Vadot maxItems: 1 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot interrupts: 29c66ec88fSEmmanuel Vadot maxItems: 2 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot interrupt-names: 32c66ec88fSEmmanuel Vadot items: 33c66ec88fSEmmanuel Vadot - const: sec # secure interrupt 34c66ec88fSEmmanuel Vadot - const: temp # normal (temperature) interrupt 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot power-domains: 37c66ec88fSEmmanuel Vadot maxItems: 1 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadotrequired: 40c66ec88fSEmmanuel Vadot - compatible 41c66ec88fSEmmanuel Vadot - reg 42c66ec88fSEmmanuel Vadot - power-domains 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel VadotadditionalProperties: false 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadotexamples: 47c66ec88fSEmmanuel Vadot - | 48c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 49c66ec88fSEmmanuel Vadot sbsc1: memory-controller@fe400000 { 50c66ec88fSEmmanuel Vadot compatible = "renesas,sbsc-sh73a0"; 51c66ec88fSEmmanuel Vadot reg = <0xfe400000 0x400>; 52c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>, 53c66ec88fSEmmanuel Vadot <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 54c66ec88fSEmmanuel Vadot interrupt-names = "sec", "temp"; 55c66ec88fSEmmanuel Vadot power-domains = <&pd_a4bc0>; 56c66ec88fSEmmanuel Vadot }; 57