summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2016-12-16 06:30:03 +0100
committerDinh Nguyen <dinguyen@kernel.org>2017-01-05 01:12:08 +0100
commitc4fb689307fbb12284efa9f8c95de60bec728964 (patch)
treeaa67e5efcc0517f1103896e430ceaf4960bb9dc4
parentARM: dts: socfpga: set desired i2c clock on Cyclone5 and Arria5 devkits (diff)
downloadlinux-c4fb689307fbb12284efa9f8c95de60bec728964.tar.xz
linux-c4fb689307fbb12284efa9f8c95de60bec728964.zip
ARM: dts: socfpga: Add Rohm DH2228FV DAC
Enable the SPI node and add the Rohm DH2228FV DAC. Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
-rw-r--r--arch/arm/boot/dts/socfpga_cyclone5_socdk.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
index 24650bafcef4..c2884c9d0d09 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
@@ -159,6 +159,16 @@
};
};
+&spi0 {
+ status = "okay";
+
+ spidev@0 {
+ compatible = "rohm,dh2228fv";
+ reg = <0>;
+ spi-max-frequency = <1000000>;
+ };
+};
+
&usb1 {
status = "okay";
};