diff options
Diffstat (limited to 'recipes-kernel/linux/linux-3.19/overlays/port1_lora.dts')
-rw-r--r-- | recipes-kernel/linux/linux-3.19/overlays/port1_lora.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-3.19/overlays/port1_lora.dts b/recipes-kernel/linux/linux-3.19/overlays/port1_lora.dts new file mode 100644 index 0000000..dfc04c5 --- /dev/null +++ b/recipes-kernel/linux/linux-3.19/overlays/port1_lora.dts @@ -0,0 +1,19 @@ +/dts-v1/; +/plugin/; + +/* enable spi0 for spidev */ + +/ { + fragment@0 { + target-path = "/ahb/apb/spi@f0000000"; + __overlay__ { + status = "okay"; + + ap1-cs0@0 { + compatible = "spidev"; + spi-max-frequency = <1000000>; + reg = <0>; + }; + }; + }; +}; |