Sfoglia il codice sorgente

mediatek: update the ethernet compat string

mt2701 is an earlier version of the ip core, so use that compat string as
baseline.

Signed-off-by: John Crispin <[email protected]>
John Crispin 9 anni fa
parent
commit
a68f6942bc

+ 1 - 1
target/linux/mediatek/files/arch/arm/boot/dts/_mt7623.dtsi

@@ -535,7 +535,7 @@
 	};
 
 	eth: ethernet@1b100000 {
-		compatible = "mediatek,mt7623-eth";
+		compatible = "mediatek,mt2701-eth";
 		reg = <0 0x1b100000 0 0x20000>;
 	
 		clocks = <&topckgen CLK_TOP_ETHIF_SEL>,

+ 1 - 1
target/linux/mediatek/patches-4.4/0023-ARM-dts-mediatek-add-MT7623-basic-support.patch

@@ -968,7 +968,7 @@ Signed-off-by: John Crispin <[email protected]>
 +	};
 +
 +	eth: ethernet@1b100000 {
-+		compatible = "mediatek,mt7623-eth";
++		compatible = "mediatek,mt2701-eth";
 +		reg = <0 0x1b100000 0 0x20000>;
 +	
 +		clocks = <&topckgen CLK_TOP_ETHIF_SEL>,

+ 2 - 2
target/linux/mediatek/patches-4.4/0048-net-next-mediatek-document-MediaTek-SoC-ethernet-bin.patch

@@ -27,7 +27,7 @@ Cc: [email protected]
 +* 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: [email protected]
 +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>,

+ 1 - 1
target/linux/mediatek/patches-4.4/0049-net-next-mediatek-add-support-for-MT7623-ethernet.patch

@@ -1817,7 +1817,7 @@ Signed-off-by: John Crispin <[email protected]>
 +}
 +
 +const struct of_device_id of_mtk_match[] = {
-+	{ .compatible = "mediatek,mt7623-eth" },
++	{ .compatible = "mediatek,mt2701-eth" },
 +	{},
 +};
 +

+ 1 - 1
target/linux/mediatek/patches-4.4/0070-net-mediatek-update-the-IRQ-part-of-the-binding-docu.patch

@@ -20,7 +20,7 @@ Signed-off-by: John Crispin <[email protected]>
 +++ 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