提交 1f1f5183 编写于 作者: I Icenowy Zheng 提交者: Chen-Yu Tsai

arm64: dts: allwinner: a64: add SRAM controller device tree node

Allwinner A64 has a SRAM controller, and in the device tree currently
we have a syscon node to enable EMAC driver to access the EMAC clock
register. As SRAM controller driver can now export regmap for this
register, replace the syscon node to the SRAM controller device node,
and let EMAC driver to acquire its EMAC clock regmap.
Signed-off-by: NIcenowy Zheng <icenowy@aosc.io>
[wens@csie.org: Updated compatible string]
Acked-by: NMaxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: NChen-Yu Tsai <wens@csie.org>
上级 df35fbcf
...@@ -170,9 +170,24 @@ ...@@ -170,9 +170,24 @@
ranges; ranges;
syscon: syscon@1c00000 { syscon: syscon@1c00000 {
compatible = "allwinner,sun50i-a64-system-controller", compatible = "allwinner,sun50i-a64-system-control";
"syscon";
reg = <0x01c00000 0x1000>; reg = <0x01c00000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
sram_c: sram@18000 {
compatible = "mmio-sram";
reg = <0x00018000 0x28000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x00018000 0x28000>;
de2_sram: sram-section@0 {
compatible = "allwinner,sun50i-a64-sram-c";
reg = <0x0000 0x28000>;
};
};
}; };
dma: dma-controller@1c02000 { dma: dma-controller@1c02000 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册