renesas,bsc.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Renesas Bus State Controller (BSC)
  2. ==================================
  3. The Renesas Bus State Controller (BSC, sometimes called "LBSC within Bus
  4. Bridge", or "External Bus Interface") can be found in several Renesas ARM SoCs.
  5. It provides an external bus for connecting multiple external devices to the
  6. SoC, driving several chip select lines, for e.g. NOR FLASH, Ethernet and USB.
  7. While the BSC is a fairly simple memory-mapped bus, it may be part of a PM
  8. domain, and may have a gateable functional clock.
  9. Before a device connected to the BSC can be accessed, the PM domain
  10. containing the BSC must be powered on, and the functional clock
  11. driving the BSC must be enabled.
  12. The bindings for the BSC extend the bindings for "simple-pm-bus".
  13. Required properties
  14. - compatible: Must contain an SoC-specific value, and "renesas,bsc" and
  15. "simple-pm-bus" as fallbacks.
  16. SoC-specific values can be:
  17. "renesas,bsc-r8a73a4" for R-Mobile APE6 (r8a73a4)
  18. "renesas,bsc-sh73a0" for SH-Mobile AG5 (sh73a0)
  19. - #address-cells, #size-cells, ranges: Must describe the mapping between
  20. parent address and child address spaces.
  21. - reg: Must contain the base address and length to access the bus controller.
  22. Optional properties:
  23. - interrupts: Must contain a reference to the BSC interrupt, if available.
  24. - clocks: Must contain a reference to the functional clock, if available.
  25. - power-domains: Must contain a reference to the PM domain, if available.
  26. Example:
  27. bsc: bus@fec10000 {
  28. compatible = "renesas,bsc-sh73a0", "renesas,bsc",
  29. "simple-pm-bus";
  30. #address-cells = <1>;
  31. #size-cells = <1>;
  32. ranges = <0 0 0x20000000>;
  33. reg = <0xfec10000 0x400>;
  34. interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
  35. clocks = <&zb_clk>;
  36. power-domains = <&pd_a4s>;
  37. };