Skip to content

Commit a202f55

Browse files
Andrei StefanescuRazvanStef
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>
1 parent 427f234 commit a202f55

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
@@ -1455,9 +1455,12 @@
14551455
clocks = <&pioA_clk>;
14561456
};
14571457

1458-
secumod@fc040000 {
1458+
pioBU: secumod@fc040000 {
14591459
compatible = "atmel,sama5d2-secumod", "syscon";
14601460
reg = <0xfc040000 0x100>;
1461+
1462+
gpio-controller;
1463+
#gpio-cells = <2>;
14611464
};
14621465

14631466
tdes@fc044000 {

0 commit comments

Comments
 (0)