diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-01-11 19:45:28 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-19 00:00:27 +0400 |
commit | 8979cfef26a74f0df154d4e991bdafb4105af8f1 (patch) | |
tree | 8d54324c95333ff4e5438b2f135160d23de25a4a /arch/arm/boot | |
parent | 7452b64d0154ab8ae4933b8e97feebc1ae98d1a4 (diff) | |
download | linux-8979cfef26a74f0df154d4e991bdafb4105af8f1.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/dbx5x0.dtsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index 63f2fbcfe819..96f518b9ae2c 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -170,10 +170,9 @@ gpio-bank = <8>; }; - pinctrl@80157000 { - // This is actually the PRCMU base address - reg = <0x80157000 0x2000>; + pinctrl { compatible = "stericsson,nmk_pinctrl"; + prcm = <&prcmu>; }; usb@a03e0000 { @@ -190,9 +189,10 @@ interrupts = <0 25 0x4>; }; - prcmu@80157000 { + prcmu: prcmu@80157000 { compatible = "stericsson,db8500-prcmu"; reg = <0x80157000 0x1000>; + reg-names = "prcmu"; interrupts = <0 47 0x4>; #address-cells = <1>; #size-cells = <1>; |