projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3e72b
)
ARM: dts: socfpga: Add Rohm DH2228FV DAC
author
Dinh Nguyen
<dinguyen@kernel.org>
Fri, 16 Dec 2016 05:30:03 +0000
(23:30 -0600)
committer
Dinh Nguyen
<dinguyen@kernel.org>
Thu, 5 Jan 2017 00:12:08 +0000
(18:12 -0600)
Enable the SPI node and add the Rohm DH2228FV DAC.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
index
24650ba
..
c2884c9
100644
(file)
--- 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";
};