forked from Minki/linux
ARM: dts: STiH41x-b2000: 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
2402850fac
commit
5984d65342
@ -7,6 +7,8 @@
|
||||
* publishhed by the Free Software Foundation.
|
||||
*/
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
|
||||
memory{
|
||||
@ -33,9 +35,8 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
fp_led {
|
||||
#gpio-cells = <1>;
|
||||
label = "Front Panel LED";
|
||||
gpios = <&pio105 7>;
|
||||
gpios = <&pio105 7 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user