From 7c89a73ec07f17aa001cef75a47a647ecb9de349 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Mon, 25 Oct 2021 14:47:44 -0500 Subject: Revert "Updated mtcdt.dts to use overlays for installed accessory cards" This reverts commit 696f2e6e975e558e902c0268ad3413c810b4fe3b --- .../linux/linux-at91-5.4.81/mts-dts/mtcdt.dts | 45 +++++++++++++++++++++- 1 file changed, 43 insertions(+), 2 deletions(-) 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 31b4fab..634d481 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 @@ -1011,9 +1011,29 @@ clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; clock-names = "spi_clk"; - status = "disabled"; + 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>; + reg = <1>; + }; + ap1-spi@2 { + compatible = "mts,mtac"; + spi-max-frequency = <2000000>; + reg = <2>; + }; + ap1-din@3 { + compatible = "mts-io-ap1-din"; + spi-max-frequency = <1000000>; + reg = <3>; + }; }; /* runs to Accessory Port 2 */ @@ -1031,8 +1051,29 @@ clocks = <&pmc PMC_TYPE_PERIPHERAL 14>; clock-names = "spi_clk"; - status = "disabled"; + 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>; + reg = <0>; + }; + ap2-dout@1 { + compatible = "mts-io-ap2-dout"; + spi-max-frequency = <1000000>; + reg = <1>; + }; + ap2-spi@2 { + compatible = "mts,mtac"; + spi-max-frequency = <2000000>; + reg = <2>; + }; + ap2-din@3 { + compatible = "mts-io-ap2-din"; + spi-max-frequency = <1000000>; + reg = <3>; + }; }; usb2: gadget@f803c000 { -- cgit v1.2.3