1 Allwinnner SoC SRAM controllers
2 -----------------------------------------------------
4 The SRAM controller found on most Allwinner devices is represented by
5 a regular node for the SRAM controller itself, with sub-nodes
6 reprensenting the SRAM handled by the SRAM controller.
12 - compatible : "allwinner,sun4i-a10-sram-controller"
13 - reg : sram controller register offset + length
18 Each SRAM is described using the mmio-sram bindings documented in
19 Documentation/devicetree/bindings/sram/sram.txt
21 Each SRAM will have SRAM sections that are going to be handled by the
22 SRAM controller as subnodes. These sections are represented following
23 once again the representation described in the mmio-sram binding.
25 The valid sections compatible are:
26 - allwinner,sun4i-a10-sram-a3-a4
27 - allwinner,sun4i-a10-sram-d
29 Devices using SRAM sections
30 ---------------------------
32 Some devices need to request to the SRAM controller to map an SRAM for
35 The relationship between such a device and an SRAM section is
36 expressed through the allwinner,sram property, that will take a
37 phandle and an argument.
39 This valid values for this argument are:
45 sram-controller@01c00000 {
46 compatible = "allwinner,sun4i-a10-sram-controller";
47 reg = <0x01c00000 0x30>;
52 sram_a: sram@00000000 {
53 compatible = "mmio-sram";
54 reg = <0x00000000 0xc000>;
57 ranges = <0 0x00000000 0xc000>;
59 emac_sram: sram-section@8000 {
60 compatible = "allwinner,sun4i-a10-sram-a3-a4";
61 reg = <0x8000 0x4000>;
67 emac: ethernet@01c0b000 {
68 compatible = "allwinner,sun4i-a10-emac";
71 allwinner,sram = <&emac_sram 1>;