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

index 990355481c39001d58fd01599f1cb62a71458922..c547e949ddce547d9a2bd00109b520fac5e4852d 100644 (file)
                        dma-channels = <6>;
                        resets = <&periph_rst BCM6338_RST_DMAMEM>;
                };
+
+               enet: ethernet@fffe2800 {
+                       compatible = "brcm,bcm6348-enet";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0xfffe2800 0x2dc>;
+                       clocks = <&periph_clk BCM6338_CLK_ENET>;
+                       resets = <&periph_rst BCM6338_RST_ENET>;
+                       dmas = <&iudma BCM6338_DMA_ENET_RX>,
+                              <&iudma BCM6338_DMA_ENET_TX>;
+                       dma-names = "rx",
+                                   "tx";
+
+                       status = "disabled";
+               };
        };
 };