Commit 66ad164b authored by Frank Li's avatar Frank Li
Browse files

ARM: dts: imx6qdl-sr-som-ti: use fixed-clock instead of clock-frequency



Replace the clock-frequency property with a fixed-clock providing the
32kHz input to the gpio-gate-clock.

Fix the following CHECK_DTBS warning:
  ti-wifi-clock (gpio-gate-clock): 'clock-frequency' does not match any of the regexes: '^pinctrl-[0-9]+$'

Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
parent 7e660488
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -41,6 +41,12 @@
#include <dt-bindings/gpio/gpio.h>

/ {
	clk32k: clock-32k {
		compatible = "fixed-clock";
		clock-frequency = <32768>;
		#clock-cells = <0>;
	};

	nvcc_sd1: regulator-nvcc-sd1 {
		compatible = "regulator-fixed";
		regulator-always-on;
@@ -58,7 +64,7 @@ clk_ti_wifi: ti-wifi-clock {
		 */
		compatible = "gpio-gate-clock";
		#clock-cells = <0>;
		clock-frequency = <32768>;
		clocks = <&clk32k>;
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_microsom_ti_clk>;
		enable-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;