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 dd0098eb8bd7ccba479c8b87cf61e79f2c4823d0..e5f1c073783395556bbbd35180c8a10abd01244c 100644 (file)
@@ -72,6 +72,7 @@
 
                edma@c080000 {
                        status = "okay";
+                       qcom,num_gmac = <1>;
                };
        };