“190a1d722a59725706daf832bc8a511ed62f249d”上不存在“arch/s390/include/asm/pgalloc.h”
提交 ba5ba119 编写于 作者: P Patrice Chotard

ARM: dts: STiH41x-b2020: Update gpio specifier

- Remove useless gpio-cells
- Update second parameter by using GPIO_ACTIVE_HIGH/LOW
  instead of hardcoded value
Signed-off-by: NPatrice Chotard <patrice.chotard@st.com>
Acked-by: NLinus Walleij <linus.walleij@linaro.org>
上级 c3ee7e9d
......@@ -7,6 +7,7 @@
* publishhed by the Free Software Foundation.
*/
#include "stih41x-b2020x.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ {
memory{
device_type = "memory";
......@@ -30,13 +31,12 @@
leds {
compatible = "gpio-leds";
red {
#gpio-cells = <1>;
label = "Front Panel LED";
gpios = <&pio4 1>;
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
green {
gpios = <&pio4 7>;
gpios = <&pio4 7 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册