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