@@ -107,7 +107,7 @@
bus-width = <0x8>;
index = <0x0>;
non-removable;
- clock = <&clkc 0>;
+ clocks = <&clkc 0>;
clock-frequency = <100000000>;
};
@@ -116,7 +116,7 @@
reg = <0x7864900 0x11c 0x7864000 0x800>;
index = <0x1>;
bus-width = <0x4>;
- clock = <&clkc 1>;
+ clocks = <&clkc 1>;
clock-frequency = <200000000>;
cd-gpios = <&soc_gpios 38 GPIO_ACTIVE_LOW>;
};
@@ -88,7 +88,7 @@
reg = <0x74a4900 0x314>, <0x74a4000 0x800>;
index = <0x0>;
bus-width = <4>;
- clock = <&gcc 0>;
+ clocks = <&gcc 0>;
clock-frequency = <200000000>;
};
@@ -229,8 +229,8 @@
sdhci@7804000 {
compatible = "qcom,sdhci-msm-v5";
reg = <0x7804000 0x1000 0x7805000 0x1000>;
- clock = <&gcc GCC_SDCC1_APPS_CLK>,
- <&gcc GCC_SDCC1_AHB_CLK>;
+ clocks = <&gcc GCC_SDCC1_APPS_CLK>,
+ <&gcc GCC_SDCC1_AHB_CLK>;
bus-width = <0x8>;
index = <0x0>;
non-removable;
@@ -63,7 +63,7 @@ static int msm_sdc_clk_init(struct udevice *dev)
struct clk clk;
int ret;
- ret = fdtdec_get_int_array(gd->fdt_blob, node, "clock", clkd, 2);
+ ret = fdtdec_get_int_array(gd->fdt_blob, node, "clocks", clkd, 2);
if (ret)
return ret;
"clocks" is the standard property used in Linux, "clock" seems to be an U-Boot invention. Use the one that's more standardized. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- arch/arm/dts/dragonboard410c.dts | 4 ++-- arch/arm/dts/dragonboard820c.dts | 2 +- arch/arm/dts/qcs404-evb.dts | 4 ++-- drivers/mmc/msm_sdhci.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-)