From: Dinh Nguyen Date: Fri, 16 Dec 2016 05:30:03 +0000 (-0600) Subject: ARM: dts: socfpga: Add Rohm DH2228FV DAC X-Git-Tag: v4.11-rc1~87^2~38^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c4fb689307fbb12284efa9f8c95de60bec728964;p=karo-tx-linux.git ARM: dts: socfpga: Add Rohm DH2228FV DAC Enable the SPI node and add the Rohm DH2228FV DAC. Signed-off-by: Dinh Nguyen --- 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"; };