ARM: dts: socfpga: Add Rohm DH2228FV DAC
authorDinh Nguyen <dinguyen@kernel.org>
Fri, 16 Dec 2016 05:30:03 +0000 (23:30 -0600)
committerDinh 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

index 24650ba..c2884c9 100644 (file)
        };
 };
 
+&spi0 {
+       status = "okay";
+
+       spidev@0 {
+               compatible = "rohm,dh2228fv";
+               reg = <0>;
+               spi-max-frequency = <1000000>;
+       };
+};
+
 &usb1 {
        status = "okay";
 };