Message ID | 1498143276-7976-8-git-send-email-jacopo+renesas@jmondi.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 55ec65552d3b53987853c61bd487de9e239f06a3 |
Delegated to: | Simon Horman |
Headers | show |
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts index 8b41d83..8e6157b 100644 --- a/arch/arm/boot/dts/r7s72100-genmai.dts +++ b/arch/arm/boot/dts/r7s72100-genmai.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "r7s72100.dtsi" +#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/r7s72100-pinctrl.h> / { @@ -35,6 +36,19 @@ #address-cells = <1>; #size-cells = <1>; }; + + leds { + status = "okay"; + compatible = "gpio-leds"; + + led1 { + gpios = <&port4 10 GPIO_ACTIVE_LOW>; + }; + + led2 { + gpios = <&port4 11 GPIO_ACTIVE_LOW>; + }; + }; }; &pinctrl {