summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/aspeed-g5.dtsi
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2017-04-12 05:27:02 +0200
committerDavid S. Miller2017-04-12 16:17:01 +0200
commit78d28543a6093fad8f1b00a5debbde02f392ebb4 (patch)
tree10a6239679f2a61a576870e3e554c1e8ec22daa6 /arch/arm/boot/dts/aspeed-g5.dtsi
parentftgmac100: Upgrade to NETIF_F_HW_CSUM (diff)
downloadkernel-qcow2-linux-78d28543a6093fad8f1b00a5debbde02f392ebb4.tar.gz
kernel-qcow2-linux-78d28543a6093fad8f1b00a5debbde02f392ebb4.tar.xz
kernel-qcow2-linux-78d28543a6093fad8f1b00a5debbde02f392ebb4.zip
ftgmac100: Use device "compatible" property, not machine.
We test for aspeed chips to handle a couple of special cases, but we do that by checking the machine type which isn't right. Instead check the actual device compatible property. This also updates the dtsi files for the aspeed SoC to match. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-g5.dtsi')
-rw-r--r--arch/arm/boot/dts/aspeed-g5.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index b664fe380936..4dbe91a02792 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -33,7 +33,7 @@
};
mac0: ethernet@1e660000 {
- compatible = "faraday,ftgmac100";
+ compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
reg = <0x1e660000 0x180>;
interrupts = <2>;
no-hw-checksum;
@@ -41,7 +41,7 @@
};
mac1: ethernet@1e680000 {
- compatible = "faraday,ftgmac100";
+ compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
reg = <0x1e680000 0x180>;
interrupts = <3>;
no-hw-checksum;