mediatek: update the ethernet compat string
authorJohn Crispin <john@phrozen.org>
Wed, 25 Jan 2017 07:23:38 +0000 (08:23 +0100)
committerJohn Crispin <john@phrozen.org>
Wed, 25 Jan 2017 07:44:53 +0000 (08:44 +0100)
mt2701 is an earlier version of the ip core, so use that compat string as
baseline.

Signed-off-by: John Crispin <john@phrozen.org>
target/linux/mediatek/files/arch/arm/boot/dts/_mt7623.dtsi
target/linux/mediatek/patches-4.4/0023-ARM-dts-mediatek-add-MT7623-basic-support.patch
target/linux/mediatek/patches-4.4/0048-net-next-mediatek-document-MediaTek-SoC-ethernet-bin.patch
target/linux/mediatek/patches-4.4/0049-net-next-mediatek-add-support-for-MT7623-ethernet.patch
target/linux/mediatek/patches-4.4/0070-net-mediatek-update-the-IRQ-part-of-the-binding-docu.patch

index 4afcc750961582b90d405bd39316536648fb04d8..87be1b80920ce6dd6f8a3d628dcafc029e4ebae0 100644 (file)
        };
 
        eth: ethernet@1b100000 {
-               compatible = "mediatek,mt7623-eth";
+               compatible = "mediatek,mt2701-eth";
                reg = <0 0x1b100000 0 0x20000>;
        
                clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
index 5be3b27eb21c6c461fc35728bdb557657babfa23..c1f2690391a2f34e70750404d2d1ac358f8514dd 100644 (file)
@@ -968,7 +968,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      };
 +
 +      eth: ethernet@1b100000 {
-+              compatible = "mediatek,mt7623-eth";
++              compatible = "mediatek,mt2701-eth";
 +              reg = <0 0x1b100000 0 0x20000>;
 +      
 +              clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
index 7d1e7422eaec9c66a4b3b7adef1204156b55c686..8721d770fd82cef1e8da2e247049cb87c83139ae 100644 (file)
@@ -27,7 +27,7 @@ Cc: devicetree@vger.kernel.org
 +* Ethernet controller node
 +
 +Required properties:
-+- compatible: Should be "mediatek,mt7623-eth"
++- compatible: Should be "mediatek,mt2701-eth"
 +- reg: Address and length of the register set for the device
 +- interrupts: Should contain the frame engines interrupt
 +- clocks: the clock used by the core
@@ -55,7 +55,7 @@ Cc: devicetree@vger.kernel.org
 +Example:
 +
 +eth: ethernet@1b100000 {
-+      compatible = "mediatek,mt7623-eth";
++      compatible = "mediatek,mt2701-eth";
 +      reg = <0 0x1b100000 0 0x20000>;
 +      clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
 +               <&ethsys CLK_ETHSYS_ESW>,
index 85aa93d475fcd1ca30241d515a8639e5b8fece23..9d445921aa465c6298505f2e25cfc04a62084f0a 100644 (file)
@@ -1817,7 +1817,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +}
 +
 +const struct of_device_id of_mtk_match[] = {
-+      { .compatible = "mediatek,mt7623-eth" },
++      { .compatible = "mediatek,mt2701-eth" },
 +      {},
 +};
 +
index efc59c06f27027809820ca97c313c97ad9560181..afb01748f1665595004fa719626c7e50e9409d7e 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +++ b/Documentation/devicetree/bindings/net/mediatek-net.txt
 @@ -9,7 +9,8 @@ have dual GMAC each represented by a chi
  Required properties:
- - compatible: Should be "mediatek,mt7623-eth"
+ - compatible: Should be "mediatek,mt2701-eth"
  - reg: Address and length of the register set for the device
 -- interrupts: Should contain the frame engines interrupt
 +- interrupts: Should contain the three frame engines interrupts in numeric