mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
ARM: dts: STiHxxx-b2120: update gpio specifier
Remove useless gpio-cells Add second parameter to indicate if gpio is active high or low. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
parent
973b932450
commit
2402850fac
1 changed files with 2 additions and 4 deletions
|
|
@ -18,14 +18,12 @@
|
|||
leds {
|
||||
compatible = "gpio-leds";
|
||||
red {
|
||||
#gpio-cells = <2>;
|
||||
label = "Front Panel LED";
|
||||
gpios = <&pio4 1 0>;
|
||||
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
green {
|
||||
#gpio-cells = <2>;
|
||||
gpios = <&pio1 3 0>;
|
||||
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue