Commit 2d33394e authored by Keyur Chudgar's avatar Keyur Chudgar Committed by David S. Miller

dtb: xgene: Add second SGMII based 1G interface node

- Added new SGMII node for port 1
- Added port-id field
Signed-off-by: default avatarKeyur Chudgar <kchudgar@apm.com>
Signed-off-by: default avatarIyappan Subramanian <isubramanian@apm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2bc6e11
...@@ -45,6 +45,10 @@ &sgenet0 { ...@@ -45,6 +45,10 @@ &sgenet0 {
status = "ok"; status = "ok";
}; };
&sgenet1 {
status = "ok";
};
&xgenet { &xgenet {
status = "ok"; status = "ok";
}; };
...@@ -186,6 +186,16 @@ sge0clk: sge0clk@1f21c000 { ...@@ -186,6 +186,16 @@ sge0clk: sge0clk@1f21c000 {
clock-output-names = "sge0clk"; clock-output-names = "sge0clk";
}; };
sge1clk: sge1clk@1f21c000 {
compatible = "apm,xgene-device-clock";
#clock-cells = <1>;
clocks = <&socplldiv2 0>;
reg = <0x0 0x1f21c000 0x0 0x1000>;
reg-names = "csr-reg";
csr-mask = <0xc>;
clock-output-names = "sge1clk";
};
xge0clk: xge0clk@1f61c000 { xge0clk: xge0clk@1f61c000 {
compatible = "apm,xgene-device-clock"; compatible = "apm,xgene-device-clock";
#clock-cells = <1>; #clock-cells = <1>;
...@@ -635,6 +645,21 @@ sgenet0: ethernet@1f210000 { ...@@ -635,6 +645,21 @@ sgenet0: ethernet@1f210000 {
phy-connection-type = "sgmii"; phy-connection-type = "sgmii";
}; };
sgenet1: ethernet@1f210030 {
compatible = "apm,xgene1-sgenet";
status = "disabled";
reg = <0x0 0x1f210030 0x0 0xd100>,
<0x0 0x1f200000 0x0 0Xc300>,
<0x0 0x1B000000 0x0 0X8000>;
reg-names = "enet_csr", "ring_csr", "ring_cmd";
interrupts = <0x0 0xAC 0x4>;
port-id = <1>;
dma-coherent;
clocks = <&sge1clk 0>;
local-mac-address = [00 00 00 00 00 00];
phy-connection-type = "sgmii";
};
xgenet: ethernet@1f610000 { xgenet: ethernet@1f610000 {
compatible = "apm,xgene1-xgenet"; compatible = "apm,xgene1-xgenet";
status = "disabled"; status = "disabled";
......
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