diff options
author | 2016-12-15 23:30:03 -0600 | |
---|---|---|
committer | 2017-01-04 18:12:08 -0600 | |
commit | c4fb689307fbb12284efa9f8c95de60bec728964 (patch) | |
tree | aa67e5efcc0517f1103896e430ceaf4960bb9dc4 | |
parent | ARM: dts: socfpga: set desired i2c clock on Cyclone5 and Arria5 devkits (diff) | |
download | wireguard-linux-c4fb689307fbb12284efa9f8c95de60bec728964.tar.xz wireguard-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.dts | 10 |
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"; }; |