Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d624eab authored by Florian Vaussard's avatar Florian Vaussard Committed by Benoit Cousson
Browse files

ARM: dts: OMAP2+: Use existing constants for GPIOs



Use standard GPIO constants to enhance the readability of DT GPIOs.

Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@epfl.ch>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent 98ef7957
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@
 * kind, whether express or implied.
 */

#include <dt-bindings/gpio/gpio.h>

#include "skeleton.dtsi"

/ {
+2 −2
Original line number Diff line number Diff line
@@ -29,13 +29,13 @@

		heartbeat {
			label = "beagleboard::usr0";
			gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
			gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
			linux,default-trigger = "heartbeat";
		};

		mmc {
			label = "beagleboard::usr1";
			gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
			gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
			linux,default-trigger = "mmc0";
		};
	};
+3 −3
Original line number Diff line number Diff line
@@ -28,18 +28,18 @@
		compatible = "gpio-leds";
		pmu_stat {
			label = "beagleboard::pmu_stat";
			gpios = <&twl_gpio 19 0>; /* LEDB */
			gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
		};

		heartbeat {
			label = "beagleboard::usr0";
			gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
			gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
			linux,default-trigger = "heartbeat";
		};

		mmc {
			label = "beagleboard::usr1";
			gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
			gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
			linux,default-trigger = "mmc0";
		};
	};
+3 −3
Original line number Diff line number Diff line
@@ -22,21 +22,21 @@

		heartbeat {
			label = "devkit8000::led1";
			gpios = <&gpio6 26 0>;	/* 186 -> LED1 */
			gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>;	/* 186 -> LED1 */
			default-state = "on";
			linux,default-trigger = "heartbeat";
		};

		mmc {
			label = "devkit8000::led2";
			gpios = <&gpio6 3 0>;	/* 163 -> LED2 */
			gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;	/* 163 -> LED2 */
			default-state = "on";
			linux,default-trigger = "none";
		};

		usr {
			label = "devkit8000::led3";
			gpios = <&gpio6 4 0>;	/* 164 -> LED3 */
			gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;	/* 164 -> LED3 */
			default-state = "on";
			linux,default-trigger = "usr";
                };
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
		compatible = "gpio-leds";
		ledb {
			label = "omap3evm::ledb";
			gpios = <&twl_gpio 19 0>; /* LEDB */
			gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
			linux,default-trigger = "default-on";
		};
	};
Loading