Commit 96bb736f authored by Bhupesh Sharma's avatar Bhupesh Sharma Committed by Bjorn Andersson

arm64: dts: qcom: Fix sdhci node names - use 'mmc@'

Since the Qualcomm sdhci-msm device-tree binding has been converted
to yaml format, 'make dtbs_check' reports issues with
inconsistent 'sdhci@' convention used for specifying the
sdhci nodes. The generic mmc bindings expect 'mmc@' format
instead.

Fix the same.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: default avatarBhupesh Sharma <bhupesh.sharma@linaro.org>
[bjorn: Moved non-arm64 changes to separate commit]
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220514215424.1007718-2-bhupesh.sharma@linaro.org
parent dd764e1a
...@@ -375,7 +375,7 @@ spmi_bus: spmi@200f000 { ...@@ -375,7 +375,7 @@ spmi_bus: spmi@200f000 {
cell-index = <0>; cell-index = <0>;
}; };
sdhc_1: sdhci@7824900 { sdhc_1: mmc@7824900 {
compatible = "qcom,sdhci-msm-v4"; compatible = "qcom,sdhci-msm-v4";
reg = <0x7824900 0x500>, <0x7824000 0x800>; reg = <0x7824900 0x500>, <0x7824000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
......
...@@ -1464,7 +1464,7 @@ lpass_codec: audio-codec@771c000 { ...@@ -1464,7 +1464,7 @@ lpass_codec: audio-codec@771c000 {
#sound-dai-cells = <1>; #sound-dai-cells = <1>;
}; };
sdhc_1: sdhci@7824000 { sdhc_1: mmc@7824000 {
compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4";
reg = <0x07824900 0x11c>, <0x07824000 0x800>; reg = <0x07824900 0x11c>, <0x07824000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
...@@ -1482,7 +1482,7 @@ sdhc_1: sdhci@7824000 { ...@@ -1482,7 +1482,7 @@ sdhc_1: sdhci@7824000 {
status = "disabled"; status = "disabled";
}; };
sdhc_2: sdhci@7864000 { sdhc_2: mmc@7864000 {
compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4";
reg = <0x07864900 0x11c>, <0x07864000 0x800>; reg = <0x07864900 0x11c>, <0x07864000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
......
...@@ -795,7 +795,7 @@ usb3_dwc3: usb@7000000 { ...@@ -795,7 +795,7 @@ usb3_dwc3: usb@7000000 {
}; };
}; };
sdhc_1: sdhci@7824900 { sdhc_1: mmc@7824900 {
compatible = "qcom,msm8953-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8953-sdhci", "qcom,sdhci-msm-v4";
reg = <0x7824900 0x500>, <0x7824000 0x800>; reg = <0x7824900 0x500>, <0x7824000 0x800>;
...@@ -855,7 +855,7 @@ opp-384000000 { ...@@ -855,7 +855,7 @@ opp-384000000 {
}; };
}; };
sdhc_2: sdhci@7864900 { sdhc_2: mmc@7864900 {
compatible = "qcom,msm8953-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8953-sdhci", "qcom,sdhci-msm-v4";
reg = <0x7864900 0x500>, <0x7864000 0x800>; reg = <0x7864900 0x500>, <0x7864000 0x800>;
......
...@@ -461,7 +461,7 @@ usb@f9200000 { ...@@ -461,7 +461,7 @@ usb@f9200000 {
}; };
}; };
sdhc1: sdhci@f9824900 { sdhc1: mmc@f9824900 {
compatible = "qcom,msm8994-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8994-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf9824900 0x1a0>, <0xf9824000 0x800>; reg = <0xf9824900 0x1a0>, <0xf9824000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
...@@ -484,7 +484,7 @@ sdhc1: sdhci@f9824900 { ...@@ -484,7 +484,7 @@ sdhc1: sdhci@f9824900 {
status = "disabled"; status = "disabled";
}; };
sdhc2: sdhci@f98a4900 { sdhc2: mmc@f98a4900 {
compatible = "qcom,msm8994-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8994-sdhci", "qcom,sdhci-msm-v4";
reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
......
...@@ -2820,7 +2820,7 @@ hsusb_phy2: phy@7412000 { ...@@ -2820,7 +2820,7 @@ hsusb_phy2: phy@7412000 {
status = "disabled"; status = "disabled";
}; };
sdhc1: sdhci@7464900 { sdhc1: mmc@7464900 {
compatible = "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4";
reg = <0x07464900 0x11c>, <0x07464000 0x800>; reg = <0x07464900 0x11c>, <0x07464000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
...@@ -2844,7 +2844,7 @@ sdhc1: sdhci@7464900 { ...@@ -2844,7 +2844,7 @@ sdhc1: sdhci@7464900 {
status = "disabled"; status = "disabled";
}; };
sdhc2: sdhci@74a4900 { sdhc2: mmc@74a4900 {
compatible = "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4"; compatible = "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4";
reg = <0x074a4900 0x314>, <0x074a4000 0x800>; reg = <0x074a4900 0x314>, <0x074a4000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
......
...@@ -2075,7 +2075,7 @@ qusb2phy: phy@c012000 { ...@@ -2075,7 +2075,7 @@ qusb2phy: phy@c012000 {
nvmem-cells = <&qusb2_hstx_trim>; nvmem-cells = <&qusb2_hstx_trim>;
}; };
sdhc2: sdhci@c0a4900 { sdhc2: mmc@c0a4900 {
compatible = "qcom,sdhci-msm-v4"; compatible = "qcom,sdhci-msm-v4";
reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>; reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
reg-names = "hc_mem", "core_mem"; reg-names = "hc_mem", "core_mem";
......
...@@ -806,7 +806,7 @@ pcie_phy: phy@7786000 { ...@@ -806,7 +806,7 @@ pcie_phy: phy@7786000 {
status = "disabled"; status = "disabled";
}; };
sdcc1: sdcc@7804000 { sdcc1: mmc@7804000 {
compatible = "qcom,qcs404-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,qcs404-sdhci", "qcom,sdhci-msm-v5";
reg = <0x07804000 0x1000>, <0x7805000 0x1000>; reg = <0x07804000 0x1000>, <0x7805000 0x1000>;
reg-names = "hc", "cqhci"; reg-names = "hc", "cqhci";
......
...@@ -693,7 +693,7 @@ gpu_speed_bin: gpu_speed_bin@1d2 { ...@@ -693,7 +693,7 @@ gpu_speed_bin: gpu_speed_bin@1d2 {
}; };
}; };
sdhc_1: sdhci@7c4000 { sdhc_1: mmc@7c4000 {
compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x7c4000 0 0x1000>, reg = <0 0x7c4000 0 0x1000>,
<0 0x07c5000 0 0x1000>; <0 0x07c5000 0 0x1000>;
...@@ -2578,7 +2578,7 @@ apss_merge_funnel_in: endpoint { ...@@ -2578,7 +2578,7 @@ apss_merge_funnel_in: endpoint {
}; };
}; };
sdhc_2: sdhci@8804000 { sdhc_2: mmc@8804000 {
compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x08804000 0 0x1000>; reg = <0 0x08804000 0 0x1000>;
......
...@@ -857,7 +857,7 @@ gpu_speed_bin: gpu_speed_bin@1e9 { ...@@ -857,7 +857,7 @@ gpu_speed_bin: gpu_speed_bin@1e9 {
}; };
}; };
sdhc_1: sdhci@7c4000 { sdhc_1: mmc@7c4000 {
compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc1_clk>, <&sdc1_cmd>, <&sdc1_data>, <&sdc1_rclk>; pinctrl-0 = <&sdc1_clk>, <&sdc1_cmd>, <&sdc1_data>, <&sdc1_rclk>;
...@@ -3028,7 +3028,7 @@ apss_merge_funnel_in: endpoint { ...@@ -3028,7 +3028,7 @@ apss_merge_funnel_in: endpoint {
}; };
}; };
sdhc_2: sdhci@8804000 { sdhc_2: mmc@8804000 {
compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sc7280-sdhci", "qcom,sdhci-msm-v5";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>; pinctrl-0 = <&sdc2_clk>, <&sdc2_cmd>, <&sdc2_data>;
......
...@@ -1277,7 +1277,7 @@ qusb2phy1: phy@c014000 { ...@@ -1277,7 +1277,7 @@ qusb2phy1: phy@c014000 {
status = "disabled"; status = "disabled";
}; };
sdhc_2: sdhci@c084000 { sdhc_2: mmc@c084000 {
compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5";
reg = <0x0c084000 0x1000>; reg = <0x0c084000 0x1000>;
reg-names = "hc"; reg-names = "hc";
...@@ -1327,7 +1327,7 @@ opp-200000000 { ...@@ -1327,7 +1327,7 @@ opp-200000000 {
}; };
}; };
sdhc_1: sdhci@c0c4000 { sdhc_1: mmc@c0c4000 {
compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5";
reg = <0x0c0c4000 0x1000>, reg = <0x0c0c4000 0x1000>,
<0x0c0c5000 0x1000>, <0x0c0c5000 0x1000>,
......
...@@ -3551,7 +3551,7 @@ apss_merge_funnel_in: endpoint { ...@@ -3551,7 +3551,7 @@ apss_merge_funnel_in: endpoint {
}; };
}; };
sdhc_2: sdhci@8804000 { sdhc_2: mmc@8804000 {
compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x08804000 0 0x1000>; reg = <0 0x08804000 0 0x1000>;
......
...@@ -435,7 +435,7 @@ rpm_msg_ram: sram@45f0000 { ...@@ -435,7 +435,7 @@ rpm_msg_ram: sram@45f0000 {
reg = <0x045f0000 0x7000>; reg = <0x045f0000 0x7000>;
}; };
sdhc_1: sdhci@4744000 { sdhc_1: mmc@4744000 {
compatible = "qcom,sm6125-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sm6125-sdhci", "qcom,sdhci-msm-v5";
reg = <0x04744000 0x1000>, <0x04745000 0x1000>; reg = <0x04744000 0x1000>, <0x04745000 0x1000>;
reg-names = "hc", "core"; reg-names = "hc", "core";
...@@ -456,7 +456,7 @@ sdhc_1: sdhci@4744000 { ...@@ -456,7 +456,7 @@ sdhc_1: sdhci@4744000 {
status = "disabled"; status = "disabled";
}; };
sdhc_2: sdhci@4784000 { sdhc_2: mmc@4784000 {
compatible = "qcom,sm6125-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sm6125-sdhci", "qcom,sdhci-msm-v5";
reg = <0x04784000 0x1000>; reg = <0x04784000 0x1000>;
reg-names = "hc"; reg-names = "hc";
......
...@@ -472,7 +472,7 @@ rng: rng@793000 { ...@@ -472,7 +472,7 @@ rng: rng@793000 {
clock-names = "core"; clock-names = "core";
}; };
sdhc_1: sdhci@7c4000 { sdhc_1: mmc@7c4000 {
compatible = "qcom,sm6350-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sm6350-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x007c4000 0 0x1000>, reg = <0 0x007c4000 0 0x1000>,
<0 0x007c5000 0 0x1000>, <0 0x007c5000 0 0x1000>,
...@@ -921,7 +921,7 @@ compute-cb@8 { ...@@ -921,7 +921,7 @@ compute-cb@8 {
}; };
}; };
sdhc_2: sdhci@8804000 { sdhc_2: mmc@8804000 {
compatible = "qcom,sm6350-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sm6350-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x08804000 0 0x1000>; reg = <0 0x08804000 0 0x1000>;
......
...@@ -3543,7 +3543,7 @@ usb_2_ssphy: phy@88eb200 { ...@@ -3543,7 +3543,7 @@ usb_2_ssphy: phy@88eb200 {
}; };
}; };
sdhc_2: sdhci@8804000 { sdhc_2: mmc@8804000 {
compatible = "qcom,sm8150-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sm8150-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x08804000 0 0x1000>; reg = <0 0x08804000 0 0x1000>;
......
...@@ -2917,7 +2917,7 @@ usb_2_ssphy: phy@88eb200 { ...@@ -2917,7 +2917,7 @@ usb_2_ssphy: phy@88eb200 {
}; };
}; };
sdhc_2: sdhci@8804000 { sdhc_2: mmc@8804000 {
compatible = "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5"; compatible = "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5";
reg = <0 0x08804000 0 0x1000>; reg = <0 0x08804000 0 0x1000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment