Skip to content

Commit

Permalink
ARM64: dts: meson-axg: use hhi syscon for the clock controller
Browse files Browse the repository at this point in the history
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: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
  • Loading branch information
Jerome Brunet authored and Kevin Hilman committed Apr 19, 2018
1 parent 6f95c8c commit cc4d664
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions arch/arm64/boot/dts/amlogic/meson-axg.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,14 @@
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;

clkc: clock-controller@0 {
compatible = "amlogic,axg-clkc";
#clock-cells = <1>;
reg = <0x0 0x0 0x0 0x320>;
sysctrl: system-controller@0 {
compatible = "amlogic,meson-axg-hhi-sysctrl", "syscon", "simple-mfd";
reg = <0 0 0 0x400>;

clkc: clock-controller {
compatible = "amlogic,axg-clkc";
#clock-cells = <1>;
};
};
};

Expand Down

0 comments on commit cc4d664

Please sign in to comment.