mediatek: update the ethernet compat string
[openwrt/openwrt.git] / target / linux / mediatek / patches-4.4 / 0048-net-next-mediatek-document-MediaTek-SoC-ethernet-bin.patch
index eee8d33c32e135a3a86b14ccc6dff57bb1d410d9..8721d770fd82cef1e8da2e247049cb87c83139ae 100644 (file)
@@ -1,7 +1,7 @@
-From b79b0519fb67c22cbed341c5e9dca5ad0aa4d15c Mon Sep 17 00:00:00 2001
+From 6efc8d9081b70dcf71d7e8efd7b51d48ee2541be Mon Sep 17 00:00:00 2001
 From: John Crispin <blogic@openwrt.org>
 Date: Wed, 2 Mar 2016 07:18:52 +0100
-Subject: [PATCH 48/81] net-next: mediatek: document MediaTek SoC ethernet
+Subject: [PATCH 048/102] net-next: mediatek: document MediaTek SoC ethernet
  binding
 
 This adds the binding documentation for the MediaTek Ethernet
@@ -15,9 +15,6 @@ Cc: devicetree@vger.kernel.org
  1 file changed, 77 insertions(+)
  create mode 100644 Documentation/devicetree/bindings/net/mediatek-net.txt
 
-diff --git a/Documentation/devicetree/bindings/net/mediatek-net.txt b/Documentation/devicetree/bindings/net/mediatek-net.txt
-new file mode 100644
-index 0000000..5ca7929
 --- /dev/null
 +++ b/Documentation/devicetree/bindings/net/mediatek-net.txt
 @@ -0,0 +1,77 @@
@@ -30,7 +27,7 @@ index 0000000..5ca7929
 +* 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
@@ -58,7 +55,7 @@ index 0000000..5ca7929
 +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>,
@@ -98,6 +95,3 @@ index 0000000..5ca7929
 +              };
 +      };
 +};
--- 
-1.7.10.4
-