diff options
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch index 9cc9091..dc60692 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch @@ -258,7 +258,7 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/Makefile linux-4.9.87/arch/arm/bo diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtcap.dts linux-4.9.87/arch/arm/boot/dts/mtcap.dts --- linux-4.9.87.orig/arch/arm/boot/dts/mtcap.dts 1969-12-31 18:00:00.000000000 -0600 +++ linux-4.9.87/arch/arm/boot/dts/mtcap.dts 2019-01-31 18:11:18.651648726 -0600 -@@ -0,0 +1,270 @@ +@@ -0,0 +1,288 @@ +/* + * DTS file for Multi-Tech Systems MTCAP Hardware + * @@ -511,16 +511,34 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/mtcap.dts linux-4.9.87/arch/arm/b + }; + }; + -+ i2c-gpio-0 { -+ status = "okay"; ++ /* GPS-PPS input on AP1 - enabled by overlay*/ ++ pps-0 { ++ compatible = "pps-gpio"; ++ gpios = <&pioC 10 0>; ++ capture-clear; ++ status = "disabled"; ++ }; + ++ i2c0: i2c@f8010000 { ++ compatible = "atmel,at91sam9x5-i2c"; ++ reg = <0xf8010000 0x100>; ++ interrupts = <9 IRQ_TYPE_LEVEL_HIGH 6>; ++ mas = <&dma0 1 AT91_DMA_CFG_PER_ID(7)>, ++ <&dma0 1 AT91_DMA_CFG_PER_ID(8)>; ++ dma-names = "tx", "rx"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ pinctrl-names = "default"; ++ pinctrl-0 = <&pinctrl_i2c0>; ++ clocks = <&twi0_clk>; ++ status = "okay"; + id_eeprom@56 { + compatible = "atmel,24c04"; + reg = <0x56>; + pagesize = <16>; + status = "okay"; + }; -+ }; ++ }; + + mts-io-0 { + status = "okay"; |