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/port2_lora.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-kernel/linux/linux-3.19/overlays/port2_lora.dts (limited to 'recipes-kernel/linux/linux-3.19/overlays/port2_lora.dts') diff --git a/recipes-kernel/linux/linux-3.19/overlays/port2_lora.dts b/recipes-kernel/linux/linux-3.19/overlays/port2_lora.dts new file mode 100644 index 0000000..5c03f2a --- /dev/null +++ b/recipes-kernel/linux/linux-3.19/overlays/port2_lora.dts @@ -0,0 +1,19 @@ +/dts-v1/; +/plugin/; + +/* enable spi1 for spidev */ + +/ { + fragment@0 { + target-path = "/ahb/apb/spi@f0004000"; + __overlay__ { + status = "okay"; + + ap2-cs0@0 { + compatible = "spidev"; + spi-max-frequency = <1000000>; + reg = <0>; + }; + }; + }; +}; -- cgit v1.2.3