Renesas Bus State Controller (BSC)
Schema identifier ($id): "http://devicetree.org/schemas/bus/renesas,bsc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
The Renesas Bus State Controller (BSC, sometimes called "LBSC within Bus Bridge", or "External Bus Interface") can be found in several Renesas ARM SoCs. It provides an external bus for connecting multiple external devices to the SoC, driving several chip select lines, for e.g. NOR FLASH, Ethernet and USB.
While the BSC is a fairly simple memory-mapped bus, it may be part of a PM domain, and may have a gateable functional clock. Before a device connected to the BSC can be accessed, the PM domain containing the BSC must be powered on, and the functional clock driving the BSC must be enabled.
The bindings for the BSC extend the bindings for "simple-pm-bus".
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):simple-pm-bus.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,bsc-r8a73a4","renesas,bsc-sh73a0"
Item 2
Exact value (
const):"renesas,bsc"
Item 3
This rule adds no constraints.
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
Required in this object (required): "reg"
Required in this object (required): "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
bsc: bus@fec10000 {
compatible = "renesas,bsc-sh73a0", "renesas,bsc", "simple-pm-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0 0x20000000>;
reg = <0xfec10000 0x400>;
interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&zb_clk>;
power-domains = <&pd_a4s>;
};
Source notes #
Annotations retained from the schema source
Line 33: R-Mobile APE6 (r8a73a4)
Line 34: SH-Mobile AG5 (sh73a0)
Line 36: simple-pm-bus, but not listed here to avoid false select
Line 45: All other properties should be child nodes with unit-address and 'reg'