"Fossies" - the Fresh Open Source Software Archive

Member "linux-5.3.1/Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt" (21 Sep 2019, 1161 Bytes) of package /linux/kernel/v5.3/linux-5.3.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Device tree bindings for Allwinner DE2/3 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. The DE3 on Allwinner H6 is at the same
    5 situation, and the binding also applies.
    6 
    7 Required properties:
    8 
    9  - compatible:		Should be one of:
   10 				- "allwinner,sun50i-a64-de2"
   11 				- "allwinner,sun50i-h6-de3", "allwinner,sun50i-a64-de2"
   12  - reg:			A resource specifier for the register space
   13  - #address-cells:	Must be set to 1
   14  - #size-cells:		Must be set to 1
   15  - ranges:		Must be set up to map the address space inside the
   16 			DE2, for the sub-blocks of DE2.
   17  - allwinner,sram:	the SRAM that needs to be claimed
   18 
   19 Example:
   20 
   21 	de2@1000000 {
   22 		compatible = "allwinner,sun50i-a64-de2";
   23 		reg = <0x1000000 0x400000>;
   24 		allwinner,sram = <&de2_sram 1>;
   25 		#address-cells = <1>;
   26 		#size-cells = <1>;
   27 		ranges = <0 0x1000000 0x400000>;
   28 
   29 		display_clocks: clock@0 {
   30 			compatible = "allwinner,sun50i-a64-de2-clk";
   31 			reg = <0x0 0x100000>;
   32 			clocks = <&ccu CLK_DE>,
   33 				 <&ccu CLK_BUS_DE>;
   34 			clock-names = "mod",
   35 				      "bus";
   36 			resets = <&ccu RST_BUS_DE>;
   37 			#clock-cells = <1>;
   38 			#reset-cells = <1>;
   39 		};
   40 	};