Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: dt: atmel-at91: add clocks to system timer, rstc and shdwc

The system timer (at91rm9200), the reset controller and the shutdown
controller need an input clock. This is the slow clock and they will not
function without it.

Also fix the shutdown controller example.

Acked-By: Sebastian Reichel <sre@kernel.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

+8 -3
+8 -3
Documentation/devicetree/bindings/arm/atmel-at91.txt
··· 50 50 - reg: Should contain registers location and length 51 51 - interrupts: Should contain interrupt for the ST which is the IRQ line 52 52 shared across all System Controller members. 53 + - clocks: phandle to input clock. 53 54 Its subnodes can be: 54 55 - watchdog: compatible should be "atmel,at91rm9200-wdt" 55 56 ··· 90 89 - compatible: Should be "atmel,<chip>-rstc". 91 90 <chip> can be "at91sam9260" or "at91sam9g45" 92 91 - reg: Should contain registers location and length 92 + - clocks: phandle to input clock. 93 93 94 94 Example: 95 95 96 96 rstc@fffffd00 { 97 97 compatible = "atmel,at91sam9260-rstc"; 98 98 reg = <0xfffffd00 0x10>; 99 + clocks = <&clk32k>; 99 100 }; 100 101 101 102 RAMC SDRAM/DDR Controller required properties: ··· 120 117 - compatible: Should be "atmel,<chip>-shdwc". 121 118 <chip> can be "at91sam9260", "at91sam9rl" or "at91sam9x5". 122 119 - reg: Should contain registers location and length 120 + - clocks: phandle to input clock. 123 121 124 122 optional properties: 125 123 - atmel,wakeup-mode: String, operation mode of the wakeup mode. ··· 139 135 140 136 Example: 141 137 142 - rstc@fffffd00 { 143 - compatible = "atmel,at91sam9260-rstc"; 144 - reg = <0xfffffd00 0x10>; 138 + shdwc@fffffd10 { 139 + compatible = "atmel,at91sam9260-shdwc"; 140 + reg = <0xfffffd10 0x10>; 141 + clocks = <&clk32k>; 145 142 }; 146 143 147 144 Special Function Registers (SFR)