1*4882a593Smuzhiyun%YAML 1.2 2*4882a593Smuzhiyun--- 3*4882a593Smuzhiyun$id: http://devicetree.org/schemas/bus/renesas,bsc.yaml# 4*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 5*4882a593Smuzhiyun 6*4882a593Smuzhiyuntitle: Renesas Bus State Controller (BSC) 7*4882a593Smuzhiyun 8*4882a593Smuzhiyunmaintainers: 9*4882a593Smuzhiyun - Geert Uytterhoeven <geert+renesas@glider.be> 10*4882a593Smuzhiyun 11*4882a593Smuzhiyundescription: | 12*4882a593Smuzhiyun The Renesas Bus State Controller (BSC, sometimes called "LBSC within Bus 13*4882a593Smuzhiyun Bridge", or "External Bus Interface") can be found in several Renesas ARM 14*4882a593Smuzhiyun SoCs. It provides an external bus for connecting multiple external 15*4882a593Smuzhiyun devices to the SoC, driving several chip select lines, for e.g. NOR 16*4882a593Smuzhiyun FLASH, Ethernet and USB. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun While the BSC is a fairly simple memory-mapped bus, it may be part of a 19*4882a593Smuzhiyun PM domain, and may have a gateable functional clock. Before a device 20*4882a593Smuzhiyun connected to the BSC can be accessed, the PM domain containing the BSC 21*4882a593Smuzhiyun must be powered on, and the functional clock driving the BSC must be 22*4882a593Smuzhiyun enabled. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun The bindings for the BSC extend the bindings for "simple-pm-bus". 25*4882a593Smuzhiyun 26*4882a593SmuzhiyunallOf: 27*4882a593Smuzhiyun - $ref: simple-pm-bus.yaml# 28*4882a593Smuzhiyun 29*4882a593Smuzhiyunproperties: 30*4882a593Smuzhiyun compatible: 31*4882a593Smuzhiyun items: 32*4882a593Smuzhiyun - enum: 33*4882a593Smuzhiyun - renesas,bsc-r8a73a4 # R-Mobile APE6 (r8a73a4) 34*4882a593Smuzhiyun - renesas,bsc-sh73a0 # SH-Mobile AG5 (sh73a0) 35*4882a593Smuzhiyun - const: renesas,bsc 36*4882a593Smuzhiyun - {} # simple-pm-bus, but not listed here to avoid false select 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun reg: 39*4882a593Smuzhiyun maxItems: 1 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun interrupts: 42*4882a593Smuzhiyun maxItems: 1 43*4882a593Smuzhiyun 44*4882a593Smuzhiyunrequired: 45*4882a593Smuzhiyun - reg 46*4882a593Smuzhiyun 47*4882a593SmuzhiyununevaluatedProperties: false 48*4882a593Smuzhiyun 49*4882a593Smuzhiyunexamples: 50*4882a593Smuzhiyun - | 51*4882a593Smuzhiyun #include <dt-bindings/interrupt-controller/irq.h> 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun bsc: bus@fec10000 { 54*4882a593Smuzhiyun compatible = "renesas,bsc-sh73a0", "renesas,bsc", "simple-pm-bus"; 55*4882a593Smuzhiyun #address-cells = <1>; 56*4882a593Smuzhiyun #size-cells = <1>; 57*4882a593Smuzhiyun ranges = <0 0 0x20000000>; 58*4882a593Smuzhiyun reg = <0xfec10000 0x400>; 59*4882a593Smuzhiyun interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>; 60*4882a593Smuzhiyun clocks = <&zb_clk>; 61*4882a593Smuzhiyun power-domains = <&pd_a4s>; 62*4882a593Smuzhiyun }; 63