summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap4-sdp.dts
diff options
context:
space:
mode:
authorBenoit Cousson2012-01-20 14:17:00 +0100
committerBenoit Cousson2012-03-12 14:58:27 +0100
commite7c64db9f50d6523e20bc5b8f042645612e37b74 (patch)
tree28267ec1ecdcc85e73f16cb6c4ce56e6dcc109f2 /arch/arm/boot/dts/omap4-sdp.dts
parentarm/dts: OMAP3: Add SPI controller nodes (diff)
downloadkernel-qcow2-linux-e7c64db9f50d6523e20bc5b8f042645612e37b74.tar.gz
kernel-qcow2-linux-e7c64db9f50d6523e20bc5b8f042645612e37b74.tar.xz
kernel-qcow2-linux-e7c64db9f50d6523e20bc5b8f042645612e37b74.zip
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 @@
device_type = "memory";
reg = <0x80000000 0x40000000>; /* 1 GB */
};
+
+ vdd_eth: fixedregulator@0 {
+ compatible = "regulator-fixed";
+ regulator-name = "VDD_ETH";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio2 16 0>; /* gpio line 48 */
+ enable-active-high;
+ regulator-boot-on;
+ };
};
&i2c1 {
@@ -70,3 +80,14 @@
reg = <0x1e>;
};
};
+
+&mcspi1 {
+ eth@0 {
+ compatible = "ks8851";
+ spi-max-frequency = <24000000>;
+ reg = <0>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <2>; /* gpio line 34 */
+ vdd-supply = <&vdd_eth>;
+ };
+};