Skip to contentSkip to conversation

ARM: dts: at91: sama5d2: disable pwm0 by default

PATCH In review [email protected] 2 participants 5 messages Nov 12, 2019 – Nov 14, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 ARM: dts: at91: sama5d2: disable pwm0 by default

From: Razvan Stefanescu <[email protected]>

It will be enabled as needed by each board.

---
 arch/arm/boot/dts/sama5d2.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sama5d2.dtsi +1 -0
index 5652048..4d3ba6d 100644
@@ -615,6 +615,7 @@
 				interrupts = <38 IRQ_TYPE_LEVEL_HIGH 7>;
 				#pwm-cells = <3>;
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
+				status = "disabled";
 			};
 
 			sfr: sfr@f8030000 {
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/4 ARM: dts: at91: sama5d2: mark secumod as a GPIO controller

From: Andrei Stefanescu <[email protected]>

The Security Module exposes the PIOBU pins which an be used as regular GPIOs. The PIOBU pins are special because they do not lose their voltage during suspend-to-mem.

This patch marks the secumod as a GPIO controller.

---
 arch/arm/boot/dts/sama5d2.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
arch/arm/boot/dts/sama5d2.dtsi +4 -1
index 4d3ba6d..1b6f44b 100644
@@ -885,9 +885,12 @@
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
 			};
 
-			secumod@fc040000 {
+			pioBU: secumod@fc040000 {
 				compatible = "atmel,sama5d2-secumod", "syscon";
 				reg = <0xfc040000 0x100>;
+
+				gpio-controller;
+				#gpio-cells = <2>;
 			};
 
 			tdes@fc044000 {
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/4 dt-bindings: ARM: at91: Document SAMA5D27 WLSOM1 and Evaluation Kit

In reply to [email protected]

From: Eugen Hristev <[email protected]>

Document device tree binding of SAMA5D27 WLSOM1 - Wireless module; and SAMA5D27 WLSOM1 EK - Wireless module evaluation kit, from Microchip.

---
 Documentation/devicetree/bindings/arm/atmel-at91.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Documentation/devicetree/bindings/arm/atmel-at91.yaml +15 -0
index 6dd8be4..7b512be 100644
@@ -52,6 +52,21 @@ properties:
           - const: atmel,sama5d2
           - const: atmel,sama5
 
+      - description: Microchip SAMA5D27 WLSOM1
+        items:
+          - const: microchip,sama5d27-wlsom1
+          - const: atmel,sama5d27
+          - const: atmel,sama5d2
+          - const: atmel,sama5
+
+      - description: Microchip SAMA5D27 WLSOM1 Evaluation Kit
+        items:
+          - const: microchip,sama5d27-wlsom1-ek
+          - const: microchip,sama5d27-wlsom1
+          - const: atmel,sama5d27
+          - const: atmel,sama5d2
+          - const: atmel,sama5
+
       - items:
           - const: atmel,sama5d27
           - const: atmel,sama5d2
Signature · 1 line
2.7.4
maintainer Reviewed-by on v1 3/4
#3 lore raw

Re: [PATCH 3/4] dt-bindings: ARM: at91: Document SAMA5D27 WLSOM1 and Evaluation Kit

Quoted 11 lines · On Tue, 12 Nov 2019 07:19:54 +0000, <[email protected]> wrote:

From: Eugen Hristev <[email protected]>

Document device tree binding of SAMA5D27 WLSOM1 - Wireless module; and SAMA5D27 WLSOM1 EK - Wireless module evaluation kit, from Microchip.

---
 Documentation/devicetree/bindings/arm/atmel-at91.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
#4 lore raw

PATCH 4/4 ARM: dts: at91: sama5d27_wlsom1: add SAMA5D27 wlsom1 and wlsom1-ek

In reply to [email protected]

From: Eugen Hristev <[email protected]>

This is the addition of a new Evaluation Kit the SAMA5D27-WLSOM1-EK. It's based on the Microchip WireLess SoM which contains the SAMA5D27 LPDDR2 2Gbits SiP.

[[email protected]]: initial implementation

[[email protected]]: ported to new kernel version, [[email protected]]: addition of peripherals (adc, pmic, qspi, uart)

---
 arch/arm/boot/dts/Makefile                    |   1 +
 arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi   | 304 ++++++++++++++++++++++++++
 arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts | 270 +++++++++++++++++++++++
 3 files changed, 575 insertions(+)
 create mode 100644 arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
 create mode 100644 arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts
arch/arm/boot/dts/Makefile +1 -0
index 4ac0531..3beb450 100644
@@ -49,6 +49,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \
 	at91-kizbox3-hs.dtb \
 	at91-nattis-2-natte-2.dtb \
 	at91-sama5d27_som1_ek.dtb \
+	at91-sama5d27_wlsom1_ek.dtb \
 	at91-sama5d2_ptc_ek.dtb \
 	at91-sama5d2_xplained.dtb \
 	at91-sama5d3_xplained.dtb \
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi new file +304 -0

304 lines not on this page · raw message

arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts new file +270 -0

270 lines not on this page · raw message

Signature · 1 line
2.7.4