]> git.baikalelectronics.ru Git - uboot.git/commitdiff
bmips: bcm63268: add support for bcm6368-enet
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 1 Dec 2018 18:00:39 +0000 (19:00 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 19 Dec 2018 14:23:01 +0000 (15:23 +0100)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
arch/mips/dts/brcm,bcm63268.dtsi

index c7ad83c306a2517ddde31d30c0c8a92a9e245c44..f8a72ef535deeff7b816592369f8dc9f1f422e0e 100644 (file)
                        #dma-cells = <1>;
                        dma-channels = <8>;
                };
+
+               enet: ethernet@10700000 {
+                       compatible = "brcm,bcm6368-enet";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x10700000 0x10000>;
+                       clocks = <&periph_clk BCM63268_CLK_GMAC>,
+                                <&periph_clk BCM63268_CLK_ROBOSW>,
+                                <&periph_clk BCM63268_CLK_ROBOSW250>,
+                                <&timer_clk BCM63268_TCLK_EPHY1>,
+                                <&timer_clk BCM63268_TCLK_EPHY2>,
+                                <&timer_clk BCM63268_TCLK_EPHY3>,
+                                <&timer_clk BCM63268_TCLK_GPHY>;
+                       resets = <&periph_rst BCM63268_RST_ENETSW>,
+                                <&periph_rst BCM63268_RST_EPHY>,
+                                <&periph_rst BCM63268_RST_GPHY>;
+                       dmas = <&iudma BCM63268_DMA_ENETSW_RX>,
+                              <&iudma BCM63268_DMA_ENETSW_TX>;
+                       dma-names = "rx",
+                                   "tx";
+                       brcm,rgmii-override;
+                       brcm,rgmii-timing;
+
+                       status = "disabled";
+               };
        };
 };