aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap4-sdp.dts
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2012-01-20 08:17:00 -0500
committerBenoit Cousson <b-cousson@ti.com>2012-03-12 09:58:27 -0400
commite7c64db9f50d6523e20bc5b8f042645612e37b74 (patch)
tree28267ec1ecdcc85e73f16cb6c4ce56e6dcc109f2 /arch/arm/boot/dts/omap4-sdp.dts
parentfc72d248d01a3bfef4cde6fe642536c94bee1306 (diff)
arm/dts: omap4-sdp: Add ks8851 ethernet SPI device
Add an ethernet SPI chip in the OMAP4 SDP/Blaze board DTS file. Add a fixed regulator node controlled by a GPIO line to supply the ethernet chip. Based on original code from Rajendra. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com> Acked-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-sdp.dts')
-rw-r--r--arch/arm/boot/dts/omap4-sdp.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts
index 01db8b78ea71..31938c1c3f14 100644
--- a/arch/arm/boot/dts/omap4-sdp.dts
+++ b/arch/arm/boot/dts/omap4-sdp.dts
@@ -17,6 +17,16 @@
17 device_type = "memory"; 17 device_type = "memory";
18 reg = <0x80000000 0x40000000>; /* 1 GB */ 18 reg = <0x80000000 0x40000000>; /* 1 GB */
19 }; 19 };
20
21 vdd_eth: fixedregulator@0 {
22 compatible = "regulator-fixed";
23 regulator-name = "VDD_ETH";
24 regulator-min-microvolt = <3300000>;
25 regulator-max-microvolt = <3300000>;
26 gpio = <&gpio2 16 0>; /* gpio line 48 */
27 enable-active-high;
28 regulator-boot-on;
29 };
20}; 30};
21 31
22&i2c1 { 32&i2c1 {
@@ -70,3 +80,14 @@
70 reg = <0x1e>; 80 reg = <0x1e>;
71 }; 81 };
72}; 82};
83
84&mcspi1 {
85 eth@0 {
86 compatible = "ks8851";
87 spi-max-frequency = <24000000>;
88 reg = <0>;
89 interrupt-parent = <&gpio2>;
90 interrupts = <2>; /* gpio line 34 */
91 vdd-supply = <&vdd_eth>;
92 };
93};