]> git.baikalelectronics.ru Git - uboot.git/commitdiff
bmips: bcm6358: add support for bcm6348-enet
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 1 Dec 2018 18:00:29 +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,bcm6358.dtsi

index 5605723e8388d645a20ebe6d16e070b395ccaf81..5e9c9ad7698b013d3b5fed13f7c5c3f2e7bb7e01 100644 (file)
                        status = "disabled";
                };
 
+               enet0: ethernet@fffe4000 {
+                       compatible = "brcm,bcm6348-enet";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0xfffe4000 0x2dc>;
+                       clocks = <&periph_clk BCM6358_CLK_ENET0>;
+                       dmas = <&iudma BCM6358_DMA_ENET0_RX>,
+                              <&iudma BCM6358_DMA_ENET0_TX>;
+                       dma-names = "rx",
+                                   "tx";
+
+                       status = "disabled";
+               };
+
+               enet1: ethernet@fffe4800 {
+                       compatible = "brcm,bcm6348-enet";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0xfffe4800 0x2dc>;
+                       clocks = <&periph_clk BCM6358_CLK_ENET1>;
+                       dmas = <&iudma BCM6358_DMA_ENET1_RX>,
+                              <&iudma BCM6358_DMA_ENET1_TX>;
+                       dma-names = "rx",
+                                   "tx";
+
+                       status = "disabled";
+               };
+
                iudma: dma-controller@fffe5000 {
                        compatible = "brcm,bcm6348-iudma";
                        reg = <0xfffe5000 0x24>,