mediatek: backport upstream mediatek patches
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.14 / 0151-arm64-dts-mt8173-remove-mediatek-mt8135-mmc-from-mmc.patch
1 From fa69904d3b7357a5be43771f764e10fd99ebbb11 Mon Sep 17 00:00:00 2001
2 From: Chaotian Jing <chaotian.jing@mediatek.com>
3 Date: Mon, 16 Oct 2017 09:46:30 +0800
4 Subject: [PATCH 151/224] arm64: dts: mt8173: remove "mediatek, mt8135-mmc"
5 from mmc nodes
6
7 devicetree bindings has been updated to support multi-platforms,
8 so that each platform has its owns compatible name.
9 And, this compatible name may used in driver to distinguish with
10 other platform.
11
12 Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
13 Tested-by: Sean Wang <sean.wang@mediatek.com>
14 Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
15 Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
16 ---
17 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 12 ++++--------
18 1 file changed, 4 insertions(+), 8 deletions(-)
19
20 diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
21 index b99a27372965..26396ef53bde 100644
22 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
23 +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
24 @@ -682,8 +682,7 @@
25 };
26
27 mmc0: mmc@11230000 {
28 - compatible = "mediatek,mt8173-mmc",
29 - "mediatek,mt8135-mmc";
30 + compatible = "mediatek,mt8173-mmc";
31 reg = <0 0x11230000 0 0x1000>;
32 interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_LOW>;
33 clocks = <&pericfg CLK_PERI_MSDC30_0>,
34 @@ -693,8 +692,7 @@
35 };
36
37 mmc1: mmc@11240000 {
38 - compatible = "mediatek,mt8173-mmc",
39 - "mediatek,mt8135-mmc";
40 + compatible = "mediatek,mt8173-mmc";
41 reg = <0 0x11240000 0 0x1000>;
42 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_LOW>;
43 clocks = <&pericfg CLK_PERI_MSDC30_1>,
44 @@ -704,8 +702,7 @@
45 };
46
47 mmc2: mmc@11250000 {
48 - compatible = "mediatek,mt8173-mmc",
49 - "mediatek,mt8135-mmc";
50 + compatible = "mediatek,mt8173-mmc";
51 reg = <0 0x11250000 0 0x1000>;
52 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_LOW>;
53 clocks = <&pericfg CLK_PERI_MSDC30_2>,
54 @@ -715,8 +712,7 @@
55 };
56
57 mmc3: mmc@11260000 {
58 - compatible = "mediatek,mt8173-mmc",
59 - "mediatek,mt8135-mmc";
60 + compatible = "mediatek,mt8173-mmc";
61 reg = <0 0x11260000 0 0x1000>;
62 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_LOW>;
63 clocks = <&pericfg CLK_PERI_MSDC30_3>,
64 --
65 2.11.0
66