Skip to content

Commit 6011d25

Browse files
Andrei StefanescuCodrin Ciubotariu
authored andcommitted
ARM: dts: at91: sama5d2: mark secumod as a GPIO controller
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. Signed-off-by: Andrei Stefanescu <andrei.stefanescu@microchip.com> [razvan.stefanescu@microchip.com Updated title] Signed-off-by: Razvan Stefanescu <razvan.stefanescu@microchip.com> Link: https://lore.kernel.org/r/1573543139-8533-2-git-send-email-eugen.hristev@microchip.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 742f2e5 commit 6011d25

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

arch/arm/boot/dts/sama5d2.dtsi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,9 +885,12 @@
885885
clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
886886
};
887887

888-
secumod@fc040000 {
888+
pioBU: secumod@fc040000 {
889889
compatible = "atmel,sama5d2-secumod", "syscon";
890890
reg = <0xfc040000 0x100>;
891+
892+
gpio-controller;
893+
#gpio-cells = <2>;
891894
};
892895

893896
tdes@fc044000 {

0 commit comments

Comments
 (0)