diff options
author | Tony Lindgren | 2017-05-15 03:16:00 -0500 |
---|---|---|
committer | Kishon Vijay Abraham I | 2017-06-16 04:43:30 -0500 |
commit | df4078523e797a8e4f2eded2eff639043c364997 (patch) | |
tree | 980e095450c54281aae48832d325665f1ed8d6a8 | |
parent | 1ddadcb402326f3c82defc0c77b93147c6d12839 (diff) | |
download | linux-phy-df4078523e797a8e4f2eded2eff639043c364997.tar.gz linux-phy-df4078523e797a8e4f2eded2eff639043c364997.tar.xz linux-phy-df4078523e797a8e4f2eded2eff639043c364997.zip |
ARM: dts: Add dra7 iodelay configuration
Add dra7 iodelay configuration.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
-rw-r--r-- | arch/arm/boot/dts/dra7.dtsi | 8 | ||||
-rw-r--r-- | include/dt-bindings/pinctrl/dra.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index c09a91e77f53..b9b8b4b5143a 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi | |||
@@ -418,6 +418,14 @@ | |||
418 | reg = <0x40d00000 0x100>; | 418 | reg = <0x40d00000 0x100>; |
419 | }; | 419 | }; |
420 | 420 | ||
421 | dra7_iodelay_core: padconf@4844a000 { | ||
422 | compatible = "ti,dra7-iodelay"; | ||
423 | reg = <0x4844a000 0x0d1c>; | ||
424 | #address-cells = <1>; | ||
425 | #size-cells = <0>; | ||
426 | #pinctrl-cells = <2>; | ||
427 | }; | ||
428 | |||
421 | sdma: dma-controller@4a056000 { | 429 | sdma: dma-controller@4a056000 { |
422 | compatible = "ti,omap4430-sdma"; | 430 | compatible = "ti,omap4430-sdma"; |
423 | reg = <0x4a056000 0x1000>; | 431 | reg = <0x4a056000 0x1000>; |
diff --git a/include/dt-bindings/pinctrl/dra.h b/include/dt-bindings/pinctrl/dra.h index 5c75e80915fc..18ec5df5a581 100644 --- a/include/dt-bindings/pinctrl/dra.h +++ b/include/dt-bindings/pinctrl/dra.h | |||
@@ -73,5 +73,8 @@ | |||
73 | */ | 73 | */ |
74 | #define DRA7XX_CORE_IOPAD(pa, val) (((pa) & 0xffff) - 0x3400) (val) | 74 | #define DRA7XX_CORE_IOPAD(pa, val) (((pa) & 0xffff) - 0x3400) (val) |
75 | 75 | ||
76 | /* DRA7 IODELAY configuration parameters */ | ||
77 | #define A_DELAY_PS(val) ((val) & 0xffff) | ||
78 | #define G_DELAY_PS(val) ((val) & 0xffff) | ||
76 | #endif | 79 | #endif |
77 | 80 | ||