mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c445335a76
The Allwinner H6 DE3 bus is similar to the A64 DE2 one. Add its compatible string with the A64 string as fallback to the binding. Some description of the binding is modified to make it more generic. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Icenowy Zheng <icenowy@aosc.io> [Fixed compatible name] Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181104182705.18047-2-jernej.skrabec@siol.net
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
Device tree bindings for Allwinner DE2/3 bus
|
|
|
|
The Allwinner A64 DE2 is on a special bus, which needs a SRAM region (SRAM C)
|
|
to be claimed for enabling the access. The DE3 on Allwinner H6 is at the same
|
|
situation, and the binding also applies.
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be one of:
|
|
- "allwinner,sun50i-a64-de2"
|
|
- "allwinner,sun50i-h6-de3", "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>;
|
|
};
|
|
};
|