summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2021-10-25 14:47:44 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2021-10-25 14:47:44 -0500
commit7c89a73ec07f17aa001cef75a47a647ecb9de349 (patch)
tree44881cce0dfc1dedce88735af202e5e6f633d0d0
parent95eabc42fcabf6195e9e2ad448a1cf968a029ba2 (diff)
downloadmeta-multitech-atmel-7c89a73ec07f17aa001cef75a47a647ecb9de349.tar.gz
meta-multitech-atmel-7c89a73ec07f17aa001cef75a47a647ecb9de349.tar.bz2
meta-multitech-atmel-7c89a73ec07f17aa001cef75a47a647ecb9de349.zip
Revert "Updated mtcdt.dts to use overlays for installed accessory cards"
This reverts commit 696f2e6e975e558e902c0268ad3413c810b4fe3b
-rw-r--r--recipes-kernel/linux/linux-at91-5.4.81/mts-dts/mtcdt.dts45
1 files 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 {