GNU Linux-libre 4.19.211-gnu1
[releases.git] / Documentation / devicetree / bindings / bus / sun50i-de2-bus.txt
1 Device tree bindings for Allwinner A64 DE2 bus
2
3 The Allwinner A64 DE2 is on a special bus, which needs a SRAM region (SRAM C)
4 to be claimed for enabling the access.
5
6 Required properties:
7
8  - compatible:          Should contain "allwinner,sun50i-a64-de2"
9  - reg:                 A resource specifier for the register space
10  - #address-cells:      Must be set to 1
11  - #size-cells:         Must be set to 1
12  - ranges:              Must be set up to map the address space inside the
13                         DE2, for the sub-blocks of DE2.
14  - allwinner,sram:      the SRAM that needs to be claimed
15
16 Example:
17
18         de2@1000000 {
19                 compatible = "allwinner,sun50i-a64-de2";
20                 reg = <0x1000000 0x400000>;
21                 allwinner,sram = <&de2_sram 1>;
22                 #address-cells = <1>;
23                 #size-cells = <1>;
24                 ranges = <0 0x1000000 0x400000>;
25
26                 display_clocks: clock@0 {
27                         compatible = "allwinner,sun50i-a64-de2-clk";
28                         reg = <0x0 0x100000>;
29                         clocks = <&ccu CLK_DE>,
30                                  <&ccu CLK_BUS_DE>;
31                         clock-names = "mod",
32                                       "bus";
33                         resets = <&ccu RST_BUS_DE>;
34                         #clock-cells = <1>;
35                         #reset-cells = <1>;
36                 };
37         };