Commit 8979cfef authored by Lee Jones's avatar Lee Jones Committed by Linus Walleij

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: default avatarLee Jones <lee.jones@linaro.org>
[Added reg-names="prcmu"; to the prcmu DT node]
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7452b64d
...@@ -170,10 +170,9 @@ gpio8: gpio@a03fe000 { ...@@ -170,10 +170,9 @@ gpio8: gpio@a03fe000 {
gpio-bank = <8>; gpio-bank = <8>;
}; };
pinctrl@80157000 { pinctrl {
// This is actually the PRCMU base address
reg = <0x80157000 0x2000>;
compatible = "stericsson,nmk_pinctrl"; compatible = "stericsson,nmk_pinctrl";
prcm = <&prcmu>;
}; };
usb@a03e0000 { usb@a03e0000 {
...@@ -190,9 +189,10 @@ dma-controller@801C0000 { ...@@ -190,9 +189,10 @@ dma-controller@801C0000 {
interrupts = <0 25 0x4>; interrupts = <0 25 0x4>;
}; };
prcmu@80157000 { prcmu: prcmu@80157000 {
compatible = "stericsson,db8500-prcmu"; compatible = "stericsson,db8500-prcmu";
reg = <0x80157000 0x1000>; reg = <0x80157000 0x1000>;
reg-names = "prcmu";
interrupts = <0 47 0x4>; interrupts = <0 47 0x4>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment