LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5
@ 2021-08-23 10:03 Claudiu Beznea
  2021-08-23 10:03 ` [PATCH 1/3] ARM: dts: at91: add ram bindings Claudiu Beznea
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Claudiu Beznea @ 2021-08-23 10:03 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt
  Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea

Hi,

The following patches enable UDDRC, DDR3 PHY, SECURAM and SHDWC IPs
on SAMA7G5.

Thank you,
Claudiu Beznea

Claudiu Beznea (3):
  ARM: dts: at91: add ram bindings
  ARM: dts: at91: add bindins for securam
  ARM: dts: at91: add bindings for shdwc

 arch/arm/boot/dts/at91-sama7g5ek.dts |  9 ++++++++
 arch/arm/boot/dts/sama7g5.dtsi       | 34 ++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] ARM: dts: at91: add ram bindings
  2021-08-23 10:03 [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Claudiu Beznea
@ 2021-08-23 10:03 ` Claudiu Beznea
  2021-08-23 10:03 ` [PATCH 2/3] ARM: dts: at91: add bindins for securam Claudiu Beznea
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Claudiu Beznea @ 2021-08-23 10:03 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt
  Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea

Add bindings for RAM (controller and PHY). These are necessary
for platform specific power management code.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/sama7g5.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index cc6be6db7b80..ecabab4343b6 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -515,6 +515,18 @@ spi11: spi@400 {
 			};
 		};
 
+		uddrc: uddrc@e3800000 {
+			compatible = "microchip,sama7g5-uddrc";
+			reg = <0xe3800000 0x4000>;
+			status = "okay";
+		};
+
+		ddr3phy: ddr3phy@e3804000 {
+			compatible = "microchip,sama7g5-ddr3phy";
+			reg = <0xe3804000 0x1000>;
+			status = "okay";
+		};
+
 		gic: interrupt-controller@e8c11000 {
 			compatible = "arm,cortex-a7-gic";
 			#interrupt-cells = <3>;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/3] ARM: dts: at91: add bindins for securam
  2021-08-23 10:03 [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Claudiu Beznea
  2021-08-23 10:03 ` [PATCH 1/3] ARM: dts: at91: add ram bindings Claudiu Beznea
@ 2021-08-23 10:03 ` Claudiu Beznea
  2021-08-23 10:03 ` [PATCH 3/3] ARM: dts: at91: add bindings for shdwc Claudiu Beznea
  2021-08-23 12:18 ` [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Alexandre Belloni
  3 siblings, 0 replies; 5+ messages in thread
From: Claudiu Beznea @ 2021-08-23 10:03 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt
  Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea

Add bindings for securam.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/sama7g5.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index ecabab4343b6..3a4315ac0eb0 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -75,6 +75,17 @@ soc {
 		#size-cells = <1>;
 		ranges;
 
+		securam: securam@e0000000 {
+			compatible = "microchip,sama7g5-securam", "atmel,sama5d2-securam", "mmio-sram";
+			reg = <0xe0000000 0x4000>;
+			clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges = <0 0xe0000000 0x4000>;
+			no-memory-wc;
+			status = "okay";
+		};
+
 		secumod: secumod@e0004000 {
 			compatible = "microchip,sama7g5-secumod", "atmel,sama5d2-secumod", "syscon";
 			reg = <0xe0004000 0x4000>;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 3/3] ARM: dts: at91: add bindings for shdwc
  2021-08-23 10:03 [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Claudiu Beznea
  2021-08-23 10:03 ` [PATCH 1/3] ARM: dts: at91: add ram bindings Claudiu Beznea
  2021-08-23 10:03 ` [PATCH 2/3] ARM: dts: at91: add bindins for securam Claudiu Beznea
@ 2021-08-23 10:03 ` Claudiu Beznea
  2021-08-23 12:18 ` [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Alexandre Belloni
  3 siblings, 0 replies; 5+ messages in thread
From: Claudiu Beznea @ 2021-08-23 10:03 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches, robh+dt
  Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea

Add DT bindings for shutdown controller and enable it.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/at91-sama7g5ek.dts |  9 +++++++++
 arch/arm/boot/dts/sama7g5.dtsi       | 11 +++++++++++
 2 files changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts
index 4cbed98cc2f4..8b13b031a167 100644
--- a/arch/arm/boot/dts/at91-sama7g5ek.dts
+++ b/arch/arm/boot/dts/at91-sama7g5ek.dts
@@ -634,6 +634,15 @@ &sdmmc2 {
 	pinctrl-0 = <&pinctrl_sdmmc2_default>;
 };
 
+&shdwc {
+	atmel,shdwc-debouncer = <976>;
+	status = "okay";
+
+	input@0 {
+		reg = <0>;
+	};
+};
+
 &spdifrx {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_spdifrx_default>;
diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index 3a4315ac0eb0..e50806cf7660 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -122,6 +122,17 @@ pmc: pmc@e0018000 {
 			clock-names = "td_slck", "md_slck", "main_xtal";
 		};
 
+		shdwc: shdwc@e001d010 {
+			compatible = "microchip,sama7g5-shdwc", "syscon";
+			reg = <0xe001d010 0x10>;
+			clocks = <&clk32k 0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			atmel,wakeup-rtc-timer;
+			atmel,wakeup-rtt-timer;
+			status = "disabled";
+		};
+
 		rtt: rtt@e001d020 {
 			compatible = "microchip,sama7g5-rtt", "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
 			reg = <0xe001d020 0x30>;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5
  2021-08-23 10:03 [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Claudiu Beznea
                   ` (2 preceding siblings ...)
  2021-08-23 10:03 ` [PATCH 3/3] ARM: dts: at91: add bindings for shdwc Claudiu Beznea
@ 2021-08-23 12:18 ` Alexandre Belloni
  3 siblings, 0 replies; 5+ messages in thread
From: Alexandre Belloni @ 2021-08-23 12:18 UTC (permalink / raw)
  To: Claudiu Beznea
  Cc: nicolas.ferre, ludovic.desroches, robh+dt, linux-arm-kernel,
	devicetree, linux-kernel

On 23/08/2021 13:03:53+0300, Claudiu Beznea wrote:
> Hi,
> 
> The following patches enable UDDRC, DDR3 PHY, SECURAM and SHDWC IPs
> on SAMA7G5.
> 
> Thank you,
> Claudiu Beznea
> 
> Claudiu Beznea (3):
>   ARM: dts: at91: add ram bindings
>   ARM: dts: at91: add bindins for securam
>   ARM: dts: at91: add bindings for shdwc

I think you meant node instead of bindings.


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-23 12:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-23 10:03 [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Claudiu Beznea
2021-08-23 10:03 ` [PATCH 1/3] ARM: dts: at91: add ram bindings Claudiu Beznea
2021-08-23 10:03 ` [PATCH 2/3] ARM: dts: at91: add bindins for securam Claudiu Beznea
2021-08-23 10:03 ` [PATCH 3/3] ARM: dts: at91: add bindings for shdwc Claudiu Beznea
2021-08-23 12:18 ` [PATCH 0/3] ARM: dts: at91: enable ips for sama7g5 Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).