aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorDeepak Sikri <deepak.sikri@st.com>2012-08-09 03:48:40 -0400
committerViresh Kumar <viresh.kumar@linaro.org>2012-11-26 05:23:52 -0500
commit4c7a078f9003f31862f3a194dfa6a2dcf0937b39 (patch)
tree87a7e71e40b0b7a3960f02f2ecbd129cf77e3114 /arch/arm
parentf631b984ee104bb3979cd26311abbcd4d23a715d (diff)
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: Deepak Sikri <deepak.sikri@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/spear1310-evb.dts1
-rw-r--r--arch/arm/boot/dts/spear1310.dtsi4
-rw-r--r--arch/arm/boot/dts/spear1340-evb.dts1
-rw-r--r--arch/arm/boot/dts/spear3xx.dtsi1
-rw-r--r--arch/arm/boot/dts/spear600.dtsi1
5 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/spear1310-evb.dts b/arch/arm/boot/dts/spear1310-evb.dts
index 668dcb27daf..72f46757574 100644
--- a/arch/arm/boot/dts/spear1310-evb.dts
+++ b/arch/arm/boot/dts/spear1310-evb.dts
@@ -148,6 +148,7 @@
148 }; 148 };
149 149
150 gmac0: eth@e2000000 { 150 gmac0: eth@e2000000 {
151 phy-mode = "gmii";
151 status = "okay"; 152 status = "okay";
152 }; 153 };
153 154
diff --git a/arch/arm/boot/dts/spear1310.dtsi b/arch/arm/boot/dts/spear1310.dtsi
index b2479be7590..e613452ec5b 100644
--- a/arch/arm/boot/dts/spear1310.dtsi
+++ b/arch/arm/boot/dts/spear1310.dtsi
@@ -55,6 +55,7 @@
55 reg = <0x5c400000 0x8000>; 55 reg = <0x5c400000 0x8000>;
56 interrupts = <0 95 0x4>; 56 interrupts = <0 95 0x4>;
57 interrupt-names = "macirq"; 57 interrupt-names = "macirq";
58 phy-mode = "mii";
58 status = "disabled"; 59 status = "disabled";
59 }; 60 };
60 61
@@ -63,6 +64,7 @@
63 reg = <0x5c500000 0x8000>; 64 reg = <0x5c500000 0x8000>;
64 interrupts = <0 96 0x4>; 65 interrupts = <0 96 0x4>;
65 interrupt-names = "macirq"; 66 interrupt-names = "macirq";
67 phy-mode = "mii";
66 status = "disabled"; 68 status = "disabled";
67 }; 69 };
68 70
@@ -71,6 +73,7 @@
71 reg = <0x5c600000 0x8000>; 73 reg = <0x5c600000 0x8000>;
72 interrupts = <0 97 0x4>; 74 interrupts = <0 97 0x4>;
73 interrupt-names = "macirq"; 75 interrupt-names = "macirq";
76 phy-mode = "rmii";
74 status = "disabled"; 77 status = "disabled";
75 }; 78 };
76 79
@@ -79,6 +82,7 @@
79 reg = <0x5c700000 0x8000>; 82 reg = <0x5c700000 0x8000>;
80 interrupts = <0 98 0x4>; 83 interrupts = <0 98 0x4>;
81 interrupt-names = "macirq"; 84 interrupt-names = "macirq";
85 phy-mode = "rgmii";
82 status = "disabled"; 86 status = "disabled";
83 }; 87 };
84 88
diff --git a/arch/arm/boot/dts/spear1340-evb.dts b/arch/arm/boot/dts/spear1340-evb.dts
index 015601360f7..cfe82d126da 100644
--- a/arch/arm/boot/dts/spear1340-evb.dts
+++ b/arch/arm/boot/dts/spear1340-evb.dts
@@ -156,6 +156,7 @@
156 }; 156 };
157 157
158 gmac0: eth@e2000000 { 158 gmac0: eth@e2000000 {
159 phy-mode = "rgmii";
159 status = "okay"; 160 status = "okay";
160 }; 161 };
161 162
diff --git a/arch/arm/boot/dts/spear3xx.dtsi b/arch/arm/boot/dts/spear3xx.dtsi
index b02721fed16..494636000f5 100644
--- a/arch/arm/boot/dts/spear3xx.dtsi
+++ b/arch/arm/boot/dts/spear3xx.dtsi
@@ -53,6 +53,7 @@
53 reg = <0xe0800000 0x8000>; 53 reg = <0xe0800000 0x8000>;
54 interrupts = <23 22>; 54 interrupts = <23 22>;
55 interrupt-names = "macirq", "eth_wake_irq"; 55 interrupt-names = "macirq", "eth_wake_irq";
56 phy-mode = "mii";
56 status = "disabled"; 57 status = "disabled";
57 }; 58 };
58 59
diff --git a/arch/arm/boot/dts/spear600.dtsi b/arch/arm/boot/dts/spear600.dtsi
index a3c36e47d7e..f74feeaab1e 100644
--- a/arch/arm/boot/dts/spear600.dtsi
+++ b/arch/arm/boot/dts/spear600.dtsi
@@ -59,6 +59,7 @@
59 interrupt-parent = <&vic1>; 59 interrupt-parent = <&vic1>;
60 interrupts = <24 23>; 60 interrupts = <24 23>;
61 interrupt-names = "macirq", "eth_wake_irq"; 61 interrupt-names = "macirq", "eth_wake_irq";
62 phy-mode = "gmii";
62 status = "disabled"; 63 status = "disabled";
63 }; 64 };
64 65