From 137d367a4dff729617bbc4cbb6fcddf464e5a603 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 24 Jun 2022 16:56:15 -0500 Subject: Combined lora dtso with 003 dtso for cleaner stanzas --- mtcpmhs/ap1-lora-0.0.dtso | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'mtcpmhs/ap1-lora-0.0.dtso') diff --git a/mtcpmhs/ap1-lora-0.0.dtso b/mtcpmhs/ap1-lora-0.0.dtso index 7f7b839..0dd7d3a 100644 --- a/mtcpmhs/ap1-lora-0.0.dtso +++ b/mtcpmhs/ap1-lora-0.0.dtso @@ -19,11 +19,21 @@ fragment@0 { target-path = "/ocp@44000000/spi@48030000"; __overlay__ { + ap1-spi@0 { + compatible = "mts,mtac"; + spi-max-frequency = <0x1e8480>; + reg = <0x0>; + }; /*ap1-spi0*/ + ap1-spi@1 { + compatible = "mts,mtac"; + spi-max-frequency = <0x1e8480>; + reg = <0x1>; + }; /*ap1-spi1*/ ap1-spi@2 { compatible = "mts,mtac"; spi-max-frequency = <0x1e8480>; reg = <0x2>; - }; /*ap1-spi*/ + }; /*ap1-spi2*/ }; /*overlay*/ }; /*fragment@0*/ }; -- cgit v1.2.3 From 239e7e23eb473ba9b05c61dd8f55a2a45148c7b6 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Mon, 27 Jun 2022 14:41:47 -0500 Subject: Updated overlays with complete stanza data --- mtcpmhs/ap1-lora-0.0.dtso | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mtcpmhs/ap1-lora-0.0.dtso') diff --git a/mtcpmhs/ap1-lora-0.0.dtso b/mtcpmhs/ap1-lora-0.0.dtso index 0dd7d3a..12f347a 100644 --- a/mtcpmhs/ap1-lora-0.0.dtso +++ b/mtcpmhs/ap1-lora-0.0.dtso @@ -19,6 +19,14 @@ fragment@0 { target-path = "/ocp@44000000/spi@48030000"; __overlay__ { + status = "okay"; + dmas = <&edma 16 0>, <&edma 17 0>; + dma-names = "tx0", "rx0"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&spi0_pins_default>; + pinctrl-1 = <&spi0_pins_sleep>; + ti,spi-num-cs = <4>; + ti,pindir-d0-out-d1-in; ap1-spi@0 { compatible = "mts,mtac"; spi-max-frequency = <0x1e8480>; -- cgit v1.2.3 From e14d0e1e2fc8ea905277ba6491ec017be06fe710 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 28 Jun 2022 13:39:01 -0500 Subject: Changed put machine folder name to MTCPM --- mtcpmhs/ap1-lora-0.0.dtso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mtcpmhs/ap1-lora-0.0.dtso') diff --git a/mtcpmhs/ap1-lora-0.0.dtso b/mtcpmhs/ap1-lora-0.0.dtso index 12f347a..44eb267 100644 --- a/mtcpmhs/ap1-lora-0.0.dtso +++ b/mtcpmhs/ap1-lora-0.0.dtso @@ -6,7 +6,7 @@ /* * Location(s): - * Put: MTCDT3/0.0/lora/ap1-lora.dtbo + * Put: MTCPM/0.0/lora/ap1-lora.dtbo */ #include "am4372.dtsi" -- cgit v1.2.3 From 04fcc5efadd333cad2e3aa2e02d22bbd3c34fe83 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 28 Jun 2022 13:57:12 -0500 Subject: Removed shared overlay details --- mtcpmhs/ap1-lora-0.0.dtso | 7 ------- 1 file changed, 7 deletions(-) (limited to 'mtcpmhs/ap1-lora-0.0.dtso') diff --git a/mtcpmhs/ap1-lora-0.0.dtso b/mtcpmhs/ap1-lora-0.0.dtso index 44eb267..af90163 100644 --- a/mtcpmhs/ap1-lora-0.0.dtso +++ b/mtcpmhs/ap1-lora-0.0.dtso @@ -20,13 +20,6 @@ target-path = "/ocp@44000000/spi@48030000"; __overlay__ { status = "okay"; - dmas = <&edma 16 0>, <&edma 17 0>; - dma-names = "tx0", "rx0"; - pinctrl-names = "default", "sleep"; - pinctrl-0 = <&spi0_pins_default>; - pinctrl-1 = <&spi0_pins_sleep>; - ti,spi-num-cs = <4>; - ti,pindir-d0-out-d1-in; ap1-spi@0 { compatible = "mts,mtac"; spi-max-frequency = <0x1e8480>; -- cgit v1.2.3 From 49d2b506ebe664ba0beba35a13b5db2f9590140f Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Fri, 8 Jul 2022 14:25:34 -0500 Subject: Updated target-path for overlays --- mtcpmhs/ap1-lora-0.0.dtso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mtcpmhs/ap1-lora-0.0.dtso') diff --git a/mtcpmhs/ap1-lora-0.0.dtso b/mtcpmhs/ap1-lora-0.0.dtso index af90163..16f03eb 100644 --- a/mtcpmhs/ap1-lora-0.0.dtso +++ b/mtcpmhs/ap1-lora-0.0.dtso @@ -17,7 +17,7 @@ / { compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43"; fragment@0 { - target-path = "/ocp@44000000/spi@48030000"; + target-path = "/ocp@44000000/interconnect@48000000/segment@0/target-module@30000/spi@0"; __overlay__ { status = "okay"; ap1-spi@0 { -- cgit v1.2.3