Commit 3edb73d8 authored by Stefan Wahren's avatar Stefan Wahren Committed by Eric Anholt

ARM: dts: bcm283x: Use GPIO polarity defines consistently

Currently most of the Raspberry Pi DTS have a mixture of magic
numbers and the proper GPIO polarity defines. So use the latter
one consistently.
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 4fbd8d19
...@@ -10,12 +10,12 @@ / { ...@@ -10,12 +10,12 @@ / {
leds { leds {
act { act {
gpios = <&gpio 47 0>; gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
}; };
pwr { pwr {
label = "PWR"; label = "PWR";
gpios = <&gpio 35 0>; gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
default-state = "keep"; default-state = "keep";
linux,default-trigger = "default-on"; linux,default-trigger = "default-on";
}; };
......
...@@ -10,7 +10,7 @@ / { ...@@ -10,7 +10,7 @@ / {
leds { leds {
act { act {
gpios = <&gpio 16 1>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };
......
...@@ -11,12 +11,12 @@ / { ...@@ -11,12 +11,12 @@ / {
leds { leds {
act { act {
gpios = <&gpio 47 0>; gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
}; };
pwr { pwr {
label = "PWR"; label = "PWR";
gpios = <&gpio 35 0>; gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
default-state = "keep"; default-state = "keep";
linux,default-trigger = "default-on"; linux,default-trigger = "default-on";
}; };
......
...@@ -11,7 +11,7 @@ / { ...@@ -11,7 +11,7 @@ / {
leds { leds {
act { act {
gpios = <&gpio 16 1>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };
......
...@@ -11,7 +11,7 @@ / { ...@@ -11,7 +11,7 @@ / {
leds { leds {
act { act {
gpios = <&gpio 16 1>; gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };
......
...@@ -15,12 +15,12 @@ memory { ...@@ -15,12 +15,12 @@ memory {
leds { leds {
act { act {
gpios = <&gpio 47 0>; gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
}; };
pwr { pwr {
label = "PWR"; label = "PWR";
gpios = <&gpio 35 0>; gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
default-state = "keep"; default-state = "keep";
linux,default-trigger = "default-on"; linux,default-trigger = "default-on";
}; };
......
...@@ -20,7 +20,7 @@ memory { ...@@ -20,7 +20,7 @@ memory {
leds { leds {
act { act {
gpios = <&gpio 47 0>; gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };
......
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