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