]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm: dts: mt7623: add ethernet nodes to the mt7623.dtsi file
authorSean Wang <sean.wang@mediatek.com>
Wed, 26 Apr 2017 09:25:59 +0000 (17:25 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:08 +0000 (10:47 +0200)
Add ethernet nodes to the mt7623.dtsi file.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623.dtsi

index 27823307d71e774369077d73c4d722a2bc758dc6..4d301125647013eda64f1531f00efcb0df97643c 100644 (file)
@@ -483,4 +483,24 @@ ethsys: syscon@1b000000 {
                reg = <0 0x1b000000 0 0x1000>;
                #clock-cells = <1>;
        };
+
+       eth: ethernet@1b100000 {
+               compatible = "mediatek,mt2701-eth", "syscon";
+               reg = <0 0x1b100000 0 0x20000>;
+               interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_LOW>,
+                            <GIC_SPI 199 IRQ_TYPE_LEVEL_LOW>,
+                            <GIC_SPI 198 IRQ_TYPE_LEVEL_LOW>;
+               clocks = <&topckgen CLK_TOP_ETHIF_SEL>,
+                        <&ethsys CLK_ETHSYS_ESW>,
+                        <&ethsys CLK_ETHSYS_GP1>,
+                        <&ethsys CLK_ETHSYS_GP2>,
+                        <&apmixedsys CLK_APMIXED_TRGPLL>;
+               clock-names = "ethif", "esw", "gp1", "gp2", "trgpll";
+               power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
+               mediatek,ethsys = <&ethsys>;
+               mediatek,pctl = <&syscfg_pctl_a>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+               status = "disabled";
+       };
 };