ARM: dts: NSP: Add AMAC entries
authorJon Mason <jon.mason@broadcom.com>
Fri, 8 Jul 2016 15:56:02 +0000 (11:56 -0400)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 8 Aug 2016 18:06:26 +0000 (11:06 -0700)
Add Device Tree entries for the Ethernet devices (AMAC) present on the Broadcom
Northstar Plus SoCs.

Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-nsp.dtsi
arch/arm/boot/dts/bcm958625k.dts

index c3bf7d2..80b5180 100644 (file)
                        #dma-cells = <1>;
                };
 
+               amac0: ethernet@22000 {
+                       compatible = "brcm,nsp-amac";
+                       reg = <0x022000 0x1000>,
+                             <0x110000 0x1000>;
+                       reg-names = "amac_base", "idm_base";
+                       interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
+               amac1: ethernet@23000 {
+                       compatible = "brcm,nsp-amac";
+                       reg = <0x023000 0x1000>,
+                             <0x111000 0x1000>;
+                       reg-names = "amac_base", "idm_base";
+                       interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
+                       status = "disabled";
+               };
+
                nand: nand@26000 {
                        compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
                        reg = <0x026000 0x600>,
index 2d84226..18bab83 100644 (file)
        status = "okay";
 };
 
+&amac0 {
+       status = "okay";
+};
+
+&amac1 {
+       status = "okay";
+};
+
 &pcie0 {
        status = "okay";
 };