mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
dtb: Add SGMII based 1GbE node to APM X-Gene SoC device tree
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Signed-off-by: Keyur Chudgar <kchudgar@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c15952dc18
commit
4c2e7f0954
2 changed files with 28 additions and 0 deletions
|
@ -33,6 +33,10 @@ &menet {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&sgenet0 {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
&xgenet {
|
&xgenet {
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
|
@ -176,6 +176,16 @@ menetclk: menetclk {
|
||||||
clock-output-names = "menetclk";
|
clock-output-names = "menetclk";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sge0clk: sge0clk@1f21c000 {
|
||||||
|
compatible = "apm,xgene-device-clock";
|
||||||
|
#clock-cells = <1>;
|
||||||
|
clocks = <&socplldiv2 0>;
|
||||||
|
reg = <0x0 0x1f21c000 0x0 0x1000>;
|
||||||
|
reg-names = "csr-reg";
|
||||||
|
csr-mask = <0x3>;
|
||||||
|
clock-output-names = "sge0clk";
|
||||||
|
};
|
||||||
|
|
||||||
xge0clk: xge0clk@1f61c000 {
|
xge0clk: xge0clk@1f61c000 {
|
||||||
compatible = "apm,xgene-device-clock";
|
compatible = "apm,xgene-device-clock";
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
|
@ -446,6 +456,20 @@ menetphy: menetphy@3 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sgenet0: ethernet@1f210000 {
|
||||||
|
compatible = "apm,xgene-enet";
|
||||||
|
status = "disabled";
|
||||||
|
reg = <0x0 0x1f210000 0x0 0x10000>,
|
||||||
|
<0x0 0x1f200000 0x0 0X10000>,
|
||||||
|
<0x0 0x1B000000 0x0 0X20000>;
|
||||||
|
reg-names = "enet_csr", "ring_csr", "ring_cmd";
|
||||||
|
interrupts = <0x0 0xA0 0x4>;
|
||||||
|
dma-coherent;
|
||||||
|
clocks = <&sge0clk 0>;
|
||||||
|
local-mac-address = [00 00 00 00 00 00];
|
||||||
|
phy-connection-type = "sgmii";
|
||||||
|
};
|
||||||
|
|
||||||
xgenet: ethernet@1f610000 {
|
xgenet: ethernet@1f610000 {
|
||||||
compatible = "apm,xgene-enet";
|
compatible = "apm,xgene-enet";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
|
|
Loading…
Reference in a new issue