提交 cc4d6641 编写于 作者: J Jerome Brunet 提交者: Kevin Hilman

ARM64: dts: meson-axg: use hhi syscon for the clock controller

Like the meson-gx, the axg clock controller should go through a syscon
to access the hhi register region, and not directly map the region.
This way, the hhi register region can be used safely by multiple drivers.
Signed-off-by: NJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: NKevin Hilman <khilman@baylibre.com>
上级 6f95c8cd
...@@ -262,10 +262,14 @@ ...@@ -262,10 +262,14 @@
#size-cells = <2>; #size-cells = <2>;
ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>; ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
clkc: clock-controller@0 { sysctrl: system-controller@0 {
compatible = "amlogic,axg-clkc"; compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
#clock-cells = <1>; reg = <0 0 0 0x400>;
reg = <0x0 0x0 0x0 0x320>;
clkc: clock-controller {
compatible = "amlogic,axg-clkc";
#clock-cells = <1>;
};
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册