Skip to content

Commit cba0d57

Browse files
wenyouyaclaudiubeznea
authored andcommitted
Documentation: atmel-pmc: Add DT bindings for fast startup
Add DT bindings to configurate the PMC_FSMR and PMC_FSPR registers to trigger a fast restart signal to PMC. Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Rob Herring <robh+dt@kernel.org>
1 parent d3737f9 commit cba0d57

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

Documentation/devicetree/bindings/arm/atmel-pmc.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,55 @@ Examples:
1212
compatible = "atmel,at91rm9200-pmc";
1313
reg = <0xfffffc00 0x100>;
1414
};
15+
16+
PMC Fast Startup Signals
17+
18+
The PMC Fast Start Signals are used as the wake up source to trigger the PMC
19+
to wake up the system from the ULP1 mode.
20+
21+
required properties:
22+
- compatible: should be "atmel,sama5d2-pmc-fast-startup".
23+
24+
optional properties:
25+
- atmel,wakeup-rtc-timer: boolean to enable RTC alarm wake-up.
26+
- atmel,wakeup-usb-resume: boolean to enable USB resume wake-up.
27+
- atmel,wakeup-sdmmc-cd: boolean to enable SDMMC card detect wake-up.
28+
- atmel,wakeup-rxlp-match: boolean to enable RXLP matching condition wake-up.
29+
- atmel,wakeup-acc-comparison: boolean to enable ACC comparison wake-up.
30+
31+
The node contains child nodes for each wake-up input pin that the platform uses.
32+
33+
Input nodes
34+
35+
Required properties:
36+
- reg: should contain the wake-up input index [0 - 10], to enable
37+
the corresponding wake-up input.
38+
39+
Optional properties:
40+
- atmel,wakeup-active-high: boolean to declare the corresponding wake-up
41+
input described by the child be active high.
42+
The default is to be active low.
43+
44+
Example:
45+
46+
pmc: pmc@f0014000 {
47+
compatible = "atmel,sama5d2-pmc";
48+
reg = <0xf0014000 0x160>;
49+
50+
pmc_fast_restart {
51+
compatible = "atmel,sama5d2-pmc-fast-startup";
52+
#address-cells = <1>;
53+
#size-cells = <0>;
54+
55+
atmel,wakeup-rtc-timer;
56+
57+
wkpin: input@0 {
58+
reg = <0>;
59+
};
60+
61+
gmac_wol: input@10 {
62+
reg = <10>;
63+
atmel,wakeup-active-high;
64+
};
65+
};
66+
};

0 commit comments

Comments
 (0)