dts: mtmips: enable eth port0 led and link poll functions for all boards
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:36 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:44 +0000 (17:20 +0200)
This patch adds default p0led status and phy0 link polling for all boards.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/dts/gardena-smart-gateway-mt7688.dts
arch/mips/dts/linkit-smart-7688.dts
arch/mips/dts/mt7628a.dtsi

index 95675a3..fc1f5e9 100644 (file)
        };
 };
 
+&pinctrl {
+       state_default: pin_state {
+               p0led {
+                       groups = "p0led_a";
+                       function = "led";
+               };
+       };
+};
+
 &uart0 {
        status = "okay";
 };
                reg = <1>;
        };
 };
+
+&eth {
+       mediatek,poll-link-phy = <0>;
+};
index 9353157..740b73b 100644 (file)
        };
 };
 
+&pinctrl {
+       state_default: pin_state {
+               p0led {
+                       groups = "p0led_a";
+                       function = "led";
+               };
+       };
+};
+
 &uart2 {
        status = "okay";
 };
@@ -42,3 +51,7 @@
                reg = <0>;
        };
 };
+
+&eth {
+       mediatek,poll-link-phy = <0>;
+};
index b0e0ed7..5fd83c1 100644 (file)
                };
        };
 
-       eth@10110000 {
+       eth: eth@10110000 {
                compatible = "mediatek,mt7628-eth";
                reg = <0x10100000 0x10000
                       0x10110000 0x8000>;