summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2014-12-15 17:24:06 -0600
committerMike Fiore <mfiore@multitech.com>2014-12-15 17:24:06 -0600
commitdf21d61b75407f35600b6108563b1674ca24ee3d (patch)
treee8f76b5023e60192ce2f29ce5eecb80bfbf19258 /recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts
parentc11fab577a5abefb6cc9e5a3e9e8d931613936cd (diff)
downloadmeta-multitech-3.19-dt-overlay.tar.gz
meta-multitech-3.19-dt-overlay.tar.bz2
meta-multitech-3.19-dt-overlay.zip
changes for building 3.19 kernel with complete DT Overlay support3.19-dt-overlay
Diffstat (limited to 'recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts')
-rw-r--r--recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts b/recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts
new file mode 100644
index 0000000..d931cd8
--- /dev/null
+++ b/recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts
@@ -0,0 +1,29 @@
+/dts-v1/;
+/plugin/;
+
+/* enable spi0 for mts-io */
+
+/ {
+ fragment@0 {
+ target-path = "/ahb/apb/spi@f0000000";
+ __overlay__ {
+ status = "okay";
+
+ ap1-cs0@0 {
+ compatible = "mts-io-ap1-adc";
+ spi-max-frequency = <20000000>;
+ reg = <0>;
+ };
+ ap1-cs1@1 {
+ compatible = "mts-io-ap1-dout";
+ spi-max-frequency = <1000000>;
+ reg = <1>;
+ };
+ ap1-cs2@2 {
+ compatible = "mts-io-ap1-din";
+ spi-max-frequency = <1000000>;
+ reg = <2>;
+ };
+ };
+ };
+};