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

arm64: dts: meson: g12a: add audio clock controller



Add the g12a clock controller dedicated to audio.

Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 32232316
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
@@ -673,6 +673,42 @@
				};
			};

			audio: bus@42000 {
				compatible = "simple-bus";
				reg = <0x0 0x42000 0x0 0x2000>;
				#address-cells = <2>;
				#size-cells = <2>;
				ranges = <0x0 0x0 0x0 0x42000 0x0 0x2000>;

				clkc_audio: clock-controller@0 {
					status = "disabled";
					compatible = "amlogic,g12a-audio-clkc";
					reg = <0x0 0x0 0x0 0xb4>;
					#clock-cells = <1>;

					clocks = <&clkc CLKID_AUDIO>,
						 <&clkc CLKID_MPLL0>,
						 <&clkc CLKID_MPLL1>,
						 <&clkc CLKID_MPLL2>,
						 <&clkc CLKID_MPLL3>,
						 <&clkc CLKID_HIFI_PLL>,
						 <&clkc CLKID_FCLK_DIV3>,
						 <&clkc CLKID_FCLK_DIV4>,
						 <&clkc CLKID_GP0_PLL>;
					clock-names = "pclk",
						      "mst_in0",
						      "mst_in1",
						      "mst_in2",
						      "mst_in3",
						      "mst_in4",
						      "mst_in5",
						      "mst_in6",
						      "mst_in7";

					resets = <&reset RESET_AUDIO>;
				};
			};

			usb3_pcie_phy: phy@46000 {
				compatible = "amlogic,g12a-usb3-pcie-phy";
				reg = <0x0 0x46000 0x0 0x2000>;