]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 95675a39475d4e8fc557ea40cac9c8f8bb4d80e5..fc1f5e93ddc69467ccb94e636dded3c66f100678 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 935315743c132803c1a3be8ebe0dd4fef5173d62..740b73b3d14caa456ef2949c70cdc289c69575da 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 b0e0ed7ec8896f6ecaebeac0bd19397d0e1dfd28..5fd83c16231210b389badec7ab308e28d7575598 100644 (file)
                };
        };
 
-       eth@10110000 {
+       eth: eth@10110000 {
                compatible = "mediatek,mt7628-eth";
                reg = <0x10100000 0x10000
                       0x10110000 0x8000>;