bmips: bcm6348: add support for bcm6348-enet
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sat, 1 Dec 2018 18:00:27 +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,bcm6348.dtsi

index 875de23..79e7bd8 100644 (file)
                        u-boot,dm-pre-reloc;
                };
 
+               enet0: ethernet@fffe6000 {
+                       compatible = "brcm,bcm6348-enet";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0xfffe6000 0x2dc>;
+                       dmas = <&iudma BCM6348_DMA_ENET0_RX>,
+                              <&iudma BCM6348_DMA_ENET0_TX>;
+                       dma-names = "rx",
+                                   "tx";
+
+                       status = "disabled";
+               };
+
+               enet1: ethernet@fffe6800 {
+                       compatible = "brcm,bcm6348-enet";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0xfffe6800 0x2dc>;
+                       dmas = <&iudma BCM6348_DMA_ENET1_RX>,
+                              <&iudma BCM6348_DMA_ENET1_TX>;
+                       dma-names = "rx",
+                                   "tx";
+
+                       status = "disabled";
+               };
+
                iudma: dma-controller@fffe7000 {
                        compatible = "brcm,bcm6348-iudma";
                        reg = <0xfffe7000 0x1c>,