Skip to content

Commit aab0a4c

Browse files
Boris BrezillonNicolas Ferre
Boris Brezillon
authored and
Nicolas Ferre
committed
ARM: dts: at91: sam9x5: Fix the memory range assigned to the PMC
The memory range assigned to the PMC (Power Management Controller) was not including the PMC_PCR register which are used to control peripheral clocks. This was working fine thanks to the page granularity of ioremap(), but started to fail when we switched to syscon/regmap, because regmap is making sure that all accesses are falling into the reserved range. Signed-off-by: Boris Brezillon <[email protected]> Reported-by: Richard Genoud <[email protected]> Tested-by: Richard Genoud <[email protected]> Fixes: 863a81c ("clk: at91: make use of syscon to share PMC registers in several drivers") Cc: <[email protected]> Signed-off-by: Nicolas Ferre <[email protected]>
1 parent b8453d4 commit aab0a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/boot/dts/at91sam9x5.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106

107107
pmc: pmc@fffffc00 {
108108
compatible = "atmel,at91sam9x5-pmc", "syscon";
109-
reg = <0xfffffc00 0x100>;
109+
reg = <0xfffffc00 0x200>;
110110
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
111111
interrupt-controller;
112112
#address-cells = <1>;

0 commit comments

Comments
 (0)