Commit e4b9b9f3 authored by Jon Hunter's avatar Jon Hunter Committed by Benoit Cousson

ARM: dts: OMAP2+: Identify GPIO banks that are always powered

Add the "ti,gpio-always-on" property to the appropriate GPIO banks to
indicate which banks are always powered and will never lose logic state.
Signed-off-by: default avatarJon Hunter <jon-hunter@ti.com>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent d1c6ccfe
...@@ -34,6 +34,7 @@ gpio1: gpio@48018000 { ...@@ -34,6 +34,7 @@ gpio1: gpio@48018000 {
reg = <0x48018000 0x200>; reg = <0x48018000 0x200>;
interrupts = <29>; interrupts = <29>;
ti,hwmods = "gpio1"; ti,hwmods = "gpio1";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
...@@ -45,6 +46,7 @@ gpio2: gpio@4801a000 { ...@@ -45,6 +46,7 @@ gpio2: gpio@4801a000 {
reg = <0x4801a000 0x200>; reg = <0x4801a000 0x200>;
interrupts = <30>; interrupts = <30>;
ti,hwmods = "gpio2"; ti,hwmods = "gpio2";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
...@@ -56,6 +58,7 @@ gpio3: gpio@4801c000 { ...@@ -56,6 +58,7 @@ gpio3: gpio@4801c000 {
reg = <0x4801c000 0x200>; reg = <0x4801c000 0x200>;
interrupts = <31>; interrupts = <31>;
ti,hwmods = "gpio3"; ti,hwmods = "gpio3";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
...@@ -67,6 +70,7 @@ gpio4: gpio@4801e000 { ...@@ -67,6 +70,7 @@ gpio4: gpio@4801e000 {
reg = <0x4801e000 0x200>; reg = <0x4801e000 0x200>;
interrupts = <32>; interrupts = <32>;
ti,hwmods = "gpio4"; ti,hwmods = "gpio4";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -34,6 +34,7 @@ gpio1: gpio@4900c000 { ...@@ -34,6 +34,7 @@ gpio1: gpio@4900c000 {
reg = <0x4900c000 0x200>; reg = <0x4900c000 0x200>;
interrupts = <29>; interrupts = <29>;
ti,hwmods = "gpio1"; ti,hwmods = "gpio1";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
...@@ -45,6 +46,7 @@ gpio2: gpio@4900e000 { ...@@ -45,6 +46,7 @@ gpio2: gpio@4900e000 {
reg = <0x4900e000 0x200>; reg = <0x4900e000 0x200>;
interrupts = <30>; interrupts = <30>;
ti,hwmods = "gpio2"; ti,hwmods = "gpio2";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
...@@ -56,6 +58,7 @@ gpio3: gpio@49010000 { ...@@ -56,6 +58,7 @@ gpio3: gpio@49010000 {
reg = <0x49010000 0x200>; reg = <0x49010000 0x200>;
interrupts = <31>; interrupts = <31>;
ti,hwmods = "gpio3"; ti,hwmods = "gpio3";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
...@@ -67,6 +70,7 @@ gpio4: gpio@49012000 { ...@@ -67,6 +70,7 @@ gpio4: gpio@49012000 {
reg = <0x49012000 0x200>; reg = <0x49012000 0x200>;
interrupts = <32>; interrupts = <32>;
ti,hwmods = "gpio4"; ti,hwmods = "gpio4";
ti,gpio-always-on;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-controller; gpio-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
......
...@@ -116,6 +116,7 @@ gpio1: gpio@48310000 { ...@@ -116,6 +116,7 @@ gpio1: gpio@48310000 {
reg = <0x48310000 0x200>; reg = <0x48310000 0x200>;
interrupts = <29>; interrupts = <29>;
ti,hwmods = "gpio1"; ti,hwmods = "gpio1";
ti,gpio-always-on;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
......
...@@ -140,6 +140,7 @@ gpio1: gpio@4a310000 { ...@@ -140,6 +140,7 @@ gpio1: gpio@4a310000 {
reg = <0x4a310000 0x200>; reg = <0x4a310000 0x200>;
interrupts = <0 29 0x4>; interrupts = <0 29 0x4>;
ti,hwmods = "gpio1"; ti,hwmods = "gpio1";
ti,gpio-always-on;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
......
...@@ -133,6 +133,7 @@ gpio1: gpio@4ae10000 { ...@@ -133,6 +133,7 @@ gpio1: gpio@4ae10000 {
reg = <0x4ae10000 0x200>; reg = <0x4ae10000 0x200>;
interrupts = <0 29 0x4>; interrupts = <0 29 0x4>;
ti,hwmods = "gpio1"; ti,hwmods = "gpio1";
ti,gpio-always-on;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
interrupt-controller; interrupt-controller;
......
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