Commit 4c7a078f authored by Deepak Sikri's avatar Deepak Sikri Committed by Viresh Kumar

ARM: SPEAr: DT: Modify DT bindings for STMMAC

This patch modifies the DT bindings for the GMAC IP existings for the
SPEAr family. The DT bindings now additionally pass the phy mode as a
configuration parameter for the ethernet device.
Signed-off-by: default avatarDeepak Sikri <deepak.sikri@st.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent f631b984
...@@ -148,6 +148,7 @@ partition@E40000 { ...@@ -148,6 +148,7 @@ partition@E40000 {
}; };
gmac0: eth@e2000000 { gmac0: eth@e2000000 {
phy-mode = "gmii";
status = "okay"; status = "okay";
}; };
......
...@@ -55,6 +55,7 @@ gmac1: eth@5c400000 { ...@@ -55,6 +55,7 @@ gmac1: eth@5c400000 {
reg = <0x5c400000 0x8000>; reg = <0x5c400000 0x8000>;
interrupts = <0 95 0x4>; interrupts = <0 95 0x4>;
interrupt-names = "macirq"; interrupt-names = "macirq";
phy-mode = "mii";
status = "disabled"; status = "disabled";
}; };
...@@ -63,6 +64,7 @@ gmac2: eth@5c500000 { ...@@ -63,6 +64,7 @@ gmac2: eth@5c500000 {
reg = <0x5c500000 0x8000>; reg = <0x5c500000 0x8000>;
interrupts = <0 96 0x4>; interrupts = <0 96 0x4>;
interrupt-names = "macirq"; interrupt-names = "macirq";
phy-mode = "mii";
status = "disabled"; status = "disabled";
}; };
...@@ -71,6 +73,7 @@ gmac3: eth@5c600000 { ...@@ -71,6 +73,7 @@ gmac3: eth@5c600000 {
reg = <0x5c600000 0x8000>; reg = <0x5c600000 0x8000>;
interrupts = <0 97 0x4>; interrupts = <0 97 0x4>;
interrupt-names = "macirq"; interrupt-names = "macirq";
phy-mode = "rmii";
status = "disabled"; status = "disabled";
}; };
...@@ -79,6 +82,7 @@ gmac4: eth@5c700000 { ...@@ -79,6 +82,7 @@ gmac4: eth@5c700000 {
reg = <0x5c700000 0x8000>; reg = <0x5c700000 0x8000>;
interrupts = <0 98 0x4>; interrupts = <0 98 0x4>;
interrupt-names = "macirq"; interrupt-names = "macirq";
phy-mode = "rgmii";
status = "disabled"; status = "disabled";
}; };
......
...@@ -156,6 +156,7 @@ partition@1200000 { ...@@ -156,6 +156,7 @@ partition@1200000 {
}; };
gmac0: eth@e2000000 { gmac0: eth@e2000000 {
phy-mode = "rgmii";
status = "okay"; status = "okay";
}; };
......
...@@ -53,6 +53,7 @@ gmac: eth@e0800000 { ...@@ -53,6 +53,7 @@ gmac: eth@e0800000 {
reg = <0xe0800000 0x8000>; reg = <0xe0800000 0x8000>;
interrupts = <23 22>; interrupts = <23 22>;
interrupt-names = "macirq", "eth_wake_irq"; interrupt-names = "macirq", "eth_wake_irq";
phy-mode = "mii";
status = "disabled"; status = "disabled";
}; };
......
...@@ -59,6 +59,7 @@ gmac: ethernet@e0800000 { ...@@ -59,6 +59,7 @@ gmac: ethernet@e0800000 {
interrupt-parent = <&vic1>; interrupt-parent = <&vic1>;
interrupts = <24 23>; interrupts = <24 23>;
interrupt-names = "macirq", "eth_wake_irq"; interrupt-names = "macirq", "eth_wake_irq";
phy-mode = "gmii";
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