Commit 80e2cbc1 authored by Abhishek Shah's avatar Abhishek Shah Committed by Florian Fainelli

arm64: dts: Add DT node to enable BGMAC driver on Stingray

This patch adds DT node to enable BGMAC driver on Stingray
Signed-off-by: default avatarAbhishek Shah <abhishek.shah@broadcom.com>
Reviewed-by: default avatarRay Jui <ray.jui@broadcom.com>
Reviewed-by: default avatarOza Oza <oza.oza@broadcom.com>
Reviewed-by: default avatarScott Branden <scott.branden@broadcom.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 567b3b0a
...@@ -72,6 +72,14 @@ &memory { /* Default DRAM banks */ ...@@ -72,6 +72,14 @@ &memory { /* Default DRAM banks */
<0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */ <0x00000008 0x80000000 0x1 0x80000000>; /* 6G @ 34G */
}; };
&mdio_mux_iproc {
mdio@10 {
gphy0: eth-phy@10 {
reg = <0x10>;
};
};
};
&uart1 { &uart1 {
status = "okay"; status = "okay";
}; };
...@@ -102,6 +110,12 @@ pcf8574: pcf8574@20 { ...@@ -102,6 +110,12 @@ pcf8574: pcf8574@20 {
}; };
}; };
&enet {
phy-mode = "rgmii-id";
phy-handle = <&gphy0>;
status = "okay";
};
&nand { &nand {
status = "ok"; status = "ok";
nandcs@0 { nandcs@0 {
......
...@@ -39,6 +39,10 @@ / { ...@@ -39,6 +39,10 @@ / {
model = "Stingray Combo SVK (BCM958742K)"; model = "Stingray Combo SVK (BCM958742K)";
}; };
&gphy0 {
enet-phy-lane-swap;
};
&uart2 { &uart2 {
status = "okay"; status = "okay";
}; };
......
...@@ -38,3 +38,7 @@ / { ...@@ -38,3 +38,7 @@ / {
compatible = "brcm,bcm958742t", "brcm,stingray"; compatible = "brcm,bcm958742t", "brcm,stingray";
model = "Stingray SST100 (BCM958742T)"; model = "Stingray SST100 (BCM958742T)";
}; };
&gphy0 {
enet-phy-lane-swap;
};
...@@ -548,6 +548,15 @@ dma0: dma@00310000 { ...@@ -548,6 +548,15 @@ dma0: dma@00310000 {
iommus = <&smmu 0x6000 0x0000>; iommus = <&smmu 0x6000 0x0000>;
}; };
enet: ethernet@00340000{
compatible = "brcm,amac";
reg = <0x00340000 0x1000>;
reg-names = "amac_base";
dma-coherent;
interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
status= "disabled";
};
nand: nand@00360000 { nand: nand@00360000 {
compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1"; compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
reg = <0x00360000 0x600>, reg = <0x00360000 0x600>,
......
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