xref: /linux/Documentation/devicetree/bindings/arm/atmel-sysregs.txt (revision 58f6259b7a08f8d47d4629609703d358b042f0fd)
1Atmel system registers
2
3Chipid required properties:
4- compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid"
5- reg : Should contain registers location and length
6
7PIT Timer required properties:
8- compatible: Should be "atmel,at91sam9260-pit"
9- reg: Should contain registers location and length
10- interrupts: Should contain interrupt for the PIT which is the IRQ line
11  shared across all System Controller members.
12
13PIT64B Timer required properties:
14- compatible: Should be "microchip,sam9x60-pit64b"
15- reg: Should contain registers location and length
16- interrupts: Should contain interrupt for PIT64B timer
17- clocks: Should contain the available clock sources for PIT64B timer.
18
19System Timer (ST) required properties:
20- compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd"
21- reg: Should contain registers location and length
22- interrupts: Should contain interrupt for the ST which is the IRQ line
23  shared across all System Controller members.
24- clocks: phandle to input clock.
25Its subnodes can be:
26- watchdog: compatible should be "atmel,at91rm9200-wdt"
27
28RAMC SDRAM/DDR Controller required properties:
29- compatible: Should be "atmel,at91rm9200-sdramc", "syscon"
30			"atmel,at91sam9260-sdramc",
31			"atmel,at91sam9g45-ddramc",
32			"atmel,sama5d3-ddramc",
33			"microchip,sam9x60-ddramc",
34			"microchip,sama7g5-uddrc"
35- reg: Should contain registers location and length
36
37Examples:
38
39	ramc0: ramc@ffffe800 {
40		compatible = "atmel,at91sam9g45-ddramc";
41		reg = <0xffffe800 0x200>;
42	};
43
44RAMC PHY Controller required properties:
45- compatible: Should be "microchip,sama7g5-ddr3phy", "syscon"
46- reg: Should contain registers location and length
47
48Example:
49
50	ddr3phy: ddr3phy@e3804000 {
51		compatible = "microchip,sama7g5-ddr3phy", "syscon";
52		reg = <0xe3804000 0x1000>;
53};
54
55Special Function Registers (SFR)
56
57Special Function Registers (SFR) manage specific aspects of the integrated
58memory, bridge implementations, processor and other functionality not controlled
59elsewhere.
60
61required properties:
62- compatible: Should be "atmel,<chip>-sfr", "syscon" or
63	"atmel,<chip>-sfrbu", "syscon"
64  <chip> can be "sama5d3", "sama5d4" or "sama5d2".
65  It also can be "microchip,sam9x60-sfr", "syscon".
66- reg: Should contain registers location and length
67
68	sfr@f0038000 {
69		compatible = "atmel,sama5d3-sfr", "syscon";
70		reg = <0xf0038000 0x60>;
71	};
72
73Security Module (SECUMOD)
74
75The Security Module macrocell provides all necessary secure functions to avoid
76voltage, temperature, frequency and mechanical attacks on the chip. It also
77embeds secure memories that can be scrambled.
78
79The Security Module also offers the PIOBU pins which can be used as GPIO pins.
80Note that they maintain their voltage during Backup/Self-refresh.
81
82required properties:
83- compatible: Should be "atmel,<chip>-secumod", "syscon".
84  <chip> can be "sama5d2".
85- reg: Should contain registers location and length
86- gpio-controller:	Marks the port as GPIO controller.
87- #gpio-cells:		There are 2. The pin number is the
88			first, the second represents additional
89			parameters such as GPIO_ACTIVE_HIGH/LOW.
90
91
92	secumod@fc040000 {
93		compatible = "atmel,sama5d2-secumod", "syscon";
94		reg = <0xfc040000 0x100>;
95		gpio-controller;
96		#gpio-cells = <2>;
97	};
98