From df21d61b75407f35600b6108563b1674ca24ee3d Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Mon, 15 Dec 2014 17:24:06 -0600 Subject: changes for building 3.19 kernel with complete DT Overlay support --- .../linux/linux-3.19/overlays/port1_gpio.dts | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts (limited to 'recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts') 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>; + }; + }; + }; +}; -- cgit v1.2.3