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

index 94e7de096dcf7ccbc04951add2cb1a65c1a16c3b..c77b80a4ccac88126dc48d619a847f9fccbeecd5 100644 (file)
                        #dma-cells = <1>;
                        dma-channels = <8>;
                };
+
+               enet: ethernet@10e00000 {
+                       compatible = "brcm,bcm6368-enet";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x10e00000 0x10000>;
+                       clocks = <&periph_clk BCM6362_CLK_SWPKT_USB>,
+                                <&periph_clk BCM6362_CLK_SWPKT_SAR>,
+                                <&periph_clk BCM6362_CLK_ROBOSW>;
+                       resets = <&periph_rst BCM6362_RST_ENETSW>,
+                                <&periph_rst BCM6362_RST_EPHY>;
+                       dmas = <&iudma BCM6362_DMA_ENETSW_RX>,
+                              <&iudma BCM6362_DMA_ENETSW_TX>;
+                       dma-names = "rx",
+                                   "tx";
+                       brcm,num-ports = <6>;
+
+                       status = "disabled";
+               };
        };
 };