From 30b9dea04e35455b61743abce6141f509a687ed8 Mon Sep 17 00:00:00 2001 From: Mykyta Dorokhin Date: Sat, 13 Feb 2021 18:03:48 +0200 Subject: linux-5.4: fix for adc spi device not being added on ap1 --- recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts b/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts index cd3eaeb..2c16bc1 100644 --- a/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts +++ b/recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts @@ -1015,6 +1015,11 @@ status = "okay"; cs-gpios = <&pioA 4 0>, <&pioA 2 0>, <&pioA 3 0>, <&pioA 5 0>; + ap1-adc@0 { + compatible = "mts-io-ap1-adc"; + spi-max-frequency = <20000000>; + reg = <0>; + }; ap1-dout@1 { compatible = "mts-io-ap1-dout"; spi-max-frequency = <1000000>; @@ -1049,6 +1054,7 @@ status = "okay"; cs-gpios = <&pioC 15 0>, <&pioC 16 0>, <&pioC 17 0>, <&pioC 18 0>; + ap2-adc@0 { compatible = "mts-io-ap2-adc"; spi-max-frequency = <20000000>; -- cgit v1.2.3