summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2016-12-15 23:30:03 -0600
committerDinh Nguyen <dinguyen@kernel.org>2017-01-04 18:12:08 -0600
commitc4fb689307fbb12284efa9f8c95de60bec728964 (patch)
treeaa67e5efcc0517f1103896e430ceaf4960bb9dc4 /arch
parent4d3e72b1198bff5de939379d23c20d90e632b287 (diff)
downloadblackbird-obmc-linux-c4fb689307fbb12284efa9f8c95de60bec728964.tar.gz
blackbird-obmc-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>
Diffstat (limited to 'arch')
-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";
};
OpenPOWER on IntegriCloud