diff mbox

ARM: dts: keystone: add device state control syscon entry

Message ID 1400681760-24351-1-git-send-email-ivan.khoronzhuk@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ivan Khoronzhuk May 21, 2014, 2:16 p.m. UTC
Device state control registers has register regions with different
purposes so add syscon entry in order to be able to correctly access
them from appropriate places.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
---

Based on linux-next/master

 arch/arm/boot/dts/keystone.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Ivan Khoronzhuk May 21, 2014, 2:56 p.m. UTC | #1
Ignore this. It'll be included in "Introduce keystone reset driver" 
patch series

On 05/21/2014 05:16 PM, Ivan Khoronzhuk wrote:
> Device state control registers has register regions with different
> purposes so add syscon entry in order to be able to correctly access
> them from appropriate places.
>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
> ---
>
> Based on linux-next/master
>
>   arch/arm/boot/dts/keystone.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
> index 5e67c5b..8b899ba 100644
> --- a/arch/arm/boot/dts/keystone.dtsi
> +++ b/arch/arm/boot/dts/keystone.dtsi
> @@ -71,6 +71,11 @@
>   			reg = <0x2310000 0x200>;
>   		};
>   
> +		devctrl: device_state_control {
> +			compatible = "ti,keystone-devctrl", "syscon";
> +			reg = <0x2620000 0x1000>;
> +		};
> +
>   		rstctrl: reset-controller {
>   			compatible = "ti,keystone-reset";
>   			reg = <0x023100e8 4>;	/* pll reset control reg */
diff mbox

Patch

diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
index 5e67c5b..8b899ba 100644
--- a/arch/arm/boot/dts/keystone.dtsi
+++ b/arch/arm/boot/dts/keystone.dtsi
@@ -71,6 +71,11 @@ 
 			reg = <0x2310000 0x200>;
 		};
 
+		devctrl: device_state_control {
+			compatible = "ti,keystone-devctrl", "syscon";
+			reg = <0x2620000 0x1000>;
+		};
+
 		rstctrl: reset-controller {
 			compatible = "ti,keystone-reset";
 			reg = <0x023100e8 4>;	/* pll reset control reg */