ipq40xx: ex61x0v2: Disable unused GMACs
authorThomas Hebb <tommyhebb@gmail.com>
Thu, 19 Apr 2018 18:34:56 +0000 (14:34 -0400)
committerMathias Kresin <dev@kresin.me>
Fri, 20 Apr 2018 18:58:52 +0000 (20:58 +0200)
These devices have only one ethernet port. It doesn't make sense to
expose the unused GMACs as separate network devices.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi

index dd0098e..e5f1c07 100644 (file)
@@ -72,6 +72,7 @@
 
                edma@c080000 {
                        status = "okay";
+                       qcom,num_gmac = <1>;
                };
        };