[PATCH v2 10/8] ARM: sun7i: cubietruck: add an SPIdev device for testing
Emilio López
emilio at elopez.com.ar
Sat Jul 5 21:05:17 PDT 2014
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index b87fea9..4ef421f 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -66,6 +66,18 @@
status = "okay";
};
+ spi2: spi at 01c17000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi2_pins_a>;
+ status = "okay";
+
+ dac0: dh2228 at 2 {
+ compatible = "rohm,dh2228fv";
+ reg = <2>;
+ spi-max-frequency = <100000>;
+ };
+ };
+
pinctrl at 01c20800 {
mmc3_pins_a: mmc3 at 0 {
/* AP6210 requires pull-up */
--
2.0.1
More information about the linux-arm-kernel
mailing list