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 c3bf7d23f1361d99dc932d707bd3b03549f3c630..80b51806dc10bb6b35a132f30f88c7a3688ba83a 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 2d8422632b2b9da88026d8aecae748fce33a6162..18bab8320257cbb8fdfda94dbd44c39b69bb35fe 100644 (file)
        status = "okay";
 };
 
+&amac0 {
+       status = "okay";
+};
+
+&amac1 {
+       status = "okay";
+};
+
 &pcie0 {
        status = "okay";
 };