Commit dddc3c9d authored by Jon Mason's avatar Jon Mason Committed by David S. Miller

arm64: dts: NS2: add AMAC ethernet support

Add support for the AMAC ethernet to the Broadcom Northstar2 SoC device
tree
Signed-off-by: default avatarJon Mason <jon.mason@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd5c5d03
...@@ -56,6 +56,10 @@ memory { ...@@ -56,6 +56,10 @@ memory {
}; };
}; };
&enet {
status = "ok";
};
&pci_phy0 { &pci_phy0 {
status = "ok"; status = "ok";
}; };
...@@ -174,6 +178,7 @@ nandcs@0 { ...@@ -174,6 +178,7 @@ nandcs@0 {
&mdio_mux_iproc { &mdio_mux_iproc {
mdio@10 { mdio@10 {
gphy0: eth-phy@10 { gphy0: eth-phy@10 {
enet-phy-lane-swap;
reg = <0x10>; reg = <0x10>;
}; };
}; };
......
...@@ -191,6 +191,18 @@ soc: soc { ...@@ -191,6 +191,18 @@ soc: soc {
#include "ns2-clock.dtsi" #include "ns2-clock.dtsi"
enet: ethernet@61000000 {
compatible = "brcm,ns2-amac";
reg = <0x61000000 0x1000>,
<0x61090000 0x1000>,
<0x61030000 0x100>;
reg-names = "amac_base", "idm_base", "nicpm_base";
interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
phy-handle = <&gphy0>;
phy-mode = "rgmii";
status = "disabled";
};
dma0: dma@61360000 { dma0: dma@61360000 {
compatible = "arm,pl330", "arm,primecell"; compatible = "arm,pl330", "arm,primecell";
reg = <0x61360000 0x1000>; reg = <0x61360000 0x1000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment