Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc4d6641 authored by Jerome Brunet's avatar Jerome Brunet Committed by Kevin Hilman
Browse files

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: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 6f95c8cd
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -262,10 +262,14 @@
			#size-cells = <2>;
			ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;

			clkc: clock-controller@0 {
			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>;
				reg = <0x0 0x0 0x0 0x320>;
				};
			};
		};