Skip to content

Commit 8979cfe

Browse files
Lee JonesLinus Walleij
authored andcommitted
ARM: ux500: Provide a link from AB8500 Pinctrl to the PRCMU
The AB8500 Pinctrl driver uses PRCMU register addresses to control Pinctrl related functions. For this to happen, the Pinctrl driver needs the PRCMU base to work from. We can do that using standard Open Firmware (of_*) function calls, but first we need a mechanism to gain access to the PRCMU device node. We're going to use a Phandle in this case. Signed-off-by: Lee Jones <lee.jones@linaro.org> [Added reg-names="prcmu"; to the prcmu DT node] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 7452b64 commit 8979cfe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎arch/arm/boot/dts/dbx5x0.dtsi‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,9 @@
170170
gpio-bank = <8>;
171171
};
172172

173-
pinctrl@80157000 {
174-
// This is actually the PRCMU base address
175-
reg = <0x80157000 0x2000>;
173+
pinctrl {
176174
compatible = "stericsson,nmk_pinctrl";
175+
prcm = <&prcmu>;
177176
};
178177

179178
usb@a03e0000 {
@@ -190,9 +189,10 @@
190189
interrupts = <0 25 0x4>;
191190
};
192191

193-
prcmu@80157000 {
192+
prcmu: prcmu@80157000 {
194193
compatible = "stericsson,db8500-prcmu";
195194
reg = <0x80157000 0x1000>;
195+
reg-names = "prcmu";
196196
interrupts = <0 47 0x4>;
197197
#address-cells = <1>;
198198
#size-cells = <1>;

0 commit comments

Comments
 (0)