xref: /openbmc/linux/Documentation/devicetree/bindings/arm/atmel-sysregs.txt (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
179fbf76dSRob HerringAtmel system registers
279fbf76dSRob Herring
379fbf76dSRob HerringChipid required properties:
465d41b14SClaudiu Beznea- compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid"
579fbf76dSRob Herring- reg : Should contain registers location and length
679fbf76dSRob Herring
779fbf76dSRob HerringPIT Timer required properties:
879fbf76dSRob Herring- compatible: Should be "atmel,at91sam9260-pit"
979fbf76dSRob Herring- reg: Should contain registers location and length
1079fbf76dSRob Herring- interrupts: Should contain interrupt for the PIT which is the IRQ line
1179fbf76dSRob Herring  shared across all System Controller members.
1279fbf76dSRob Herring
13625022a5SClaudiu BezneaPIT64B Timer required properties:
14625022a5SClaudiu Beznea- compatible: Should be "microchip,sam9x60-pit64b"
15625022a5SClaudiu Beznea- reg: Should contain registers location and length
16625022a5SClaudiu Beznea- interrupts: Should contain interrupt for PIT64B timer
17625022a5SClaudiu Beznea- clocks: Should contain the available clock sources for PIT64B timer.
18625022a5SClaudiu Beznea
1979fbf76dSRob HerringSystem Timer (ST) required properties:
2079fbf76dSRob Herring- compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd"
2179fbf76dSRob Herring- reg: Should contain registers location and length
2279fbf76dSRob Herring- interrupts: Should contain interrupt for the ST which is the IRQ line
2379fbf76dSRob Herring  shared across all System Controller members.
2479fbf76dSRob Herring- clocks: phandle to input clock.
2579fbf76dSRob HerringIts subnodes can be:
2679fbf76dSRob Herring- watchdog: compatible should be "atmel,at91rm9200-wdt"
2779fbf76dSRob Herring
2879fbf76dSRob HerringRAMC SDRAM/DDR Controller required properties:
2979fbf76dSRob Herring- compatible: Should be "atmel,at91rm9200-sdramc", "syscon"
3079fbf76dSRob Herring			"atmel,at91sam9260-sdramc",
3179fbf76dSRob Herring			"atmel,at91sam9g45-ddramc",
3279fbf76dSRob Herring			"atmel,sama5d3-ddramc",
33*b6862714SClaudiu Beznea			"microchip,sam9x60-ddramc",
34*b6862714SClaudiu Beznea			"microchip,sama7g5-uddrc"
3579fbf76dSRob Herring- reg: Should contain registers location and length
3679fbf76dSRob Herring
3779fbf76dSRob HerringExamples:
3879fbf76dSRob Herring
3979fbf76dSRob Herring	ramc0: ramc@ffffe800 {
4079fbf76dSRob Herring		compatible = "atmel,at91sam9g45-ddramc";
4179fbf76dSRob Herring		reg = <0xffffe800 0x200>;
4279fbf76dSRob Herring	};
4379fbf76dSRob Herring
44*b6862714SClaudiu BezneaRAMC PHY Controller required properties:
45*b6862714SClaudiu Beznea- compatible: Should be "microchip,sama7g5-ddr3phy", "syscon"
46*b6862714SClaudiu Beznea- reg: Should contain registers location and length
47*b6862714SClaudiu Beznea
48*b6862714SClaudiu BezneaExample:
49*b6862714SClaudiu Beznea
50*b6862714SClaudiu Beznea	ddr3phy: ddr3phy@e3804000 {
51*b6862714SClaudiu Beznea		compatible = "microchip,sama7g5-ddr3phy", "syscon";
52*b6862714SClaudiu Beznea		reg = <0xe3804000 0x1000>;
53*b6862714SClaudiu Beznea};
54*b6862714SClaudiu Beznea
5579fbf76dSRob HerringSpecial Function Registers (SFR)
5679fbf76dSRob Herring
5779fbf76dSRob HerringSpecial Function Registers (SFR) manage specific aspects of the integrated
5879fbf76dSRob Herringmemory, bridge implementations, processor and other functionality not controlled
5979fbf76dSRob Herringelsewhere.
6079fbf76dSRob Herring
6179fbf76dSRob Herringrequired properties:
6279fbf76dSRob Herring- compatible: Should be "atmel,<chip>-sfr", "syscon" or
6379fbf76dSRob Herring	"atmel,<chip>-sfrbu", "syscon"
6479fbf76dSRob Herring  <chip> can be "sama5d3", "sama5d4" or "sama5d2".
6536ed8ebcSNicolas Ferre  It also can be "microchip,sam9x60-sfr", "syscon".
6679fbf76dSRob Herring- reg: Should contain registers location and length
6779fbf76dSRob Herring
6879fbf76dSRob Herring	sfr@f0038000 {
6979fbf76dSRob Herring		compatible = "atmel,sama5d3-sfr", "syscon";
7079fbf76dSRob Herring		reg = <0xf0038000 0x60>;
7179fbf76dSRob Herring	};
7279fbf76dSRob Herring
7379fbf76dSRob HerringSecurity Module (SECUMOD)
7479fbf76dSRob Herring
7579fbf76dSRob HerringThe Security Module macrocell provides all necessary secure functions to avoid
7679fbf76dSRob Herringvoltage, temperature, frequency and mechanical attacks on the chip. It also
776bd925a8SAndrei.Stefanescu@microchip.comembeds secure memories that can be scrambled.
786bd925a8SAndrei.Stefanescu@microchip.com
796bd925a8SAndrei.Stefanescu@microchip.comThe Security Module also offers the PIOBU pins which can be used as GPIO pins.
806bd925a8SAndrei.Stefanescu@microchip.comNote that they maintain their voltage during Backup/Self-refresh.
8179fbf76dSRob Herring
8279fbf76dSRob Herringrequired properties:
8379fbf76dSRob Herring- compatible: Should be "atmel,<chip>-secumod", "syscon".
8479fbf76dSRob Herring  <chip> can be "sama5d2".
8579fbf76dSRob Herring- reg: Should contain registers location and length
866bd925a8SAndrei.Stefanescu@microchip.com- gpio-controller:	Marks the port as GPIO controller.
876bd925a8SAndrei.Stefanescu@microchip.com- #gpio-cells:		There are 2. The pin number is the
886bd925a8SAndrei.Stefanescu@microchip.com			first, the second represents additional
896bd925a8SAndrei.Stefanescu@microchip.com			parameters such as GPIO_ACTIVE_HIGH/LOW.
906bd925a8SAndrei.Stefanescu@microchip.com
9179fbf76dSRob Herring
9279fbf76dSRob Herring	secumod@fc040000 {
9379fbf76dSRob Herring		compatible = "atmel,sama5d2-secumod", "syscon";
9479fbf76dSRob Herring		reg = <0xfc040000 0x100>;
956bd925a8SAndrei.Stefanescu@microchip.com		gpio-controller;
966bd925a8SAndrei.Stefanescu@microchip.com		#gpio-cells = <2>;
9779fbf76dSRob Herring	};
98