Commit 3edb73d8 authored by Stefan Wahren's avatar Stefan Wahren Committed by Eric Anholt
Browse files

ARM: dts: bcm283x: Use GPIO polarity defines consistently



Currently most of the Raspberry Pi DTS have a mixture of magic
numbers and the proper GPIO polarity defines. So use the latter
one consistently.

Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 4fbd8d19
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,12 +10,12 @@

	leds {
		act {
			gpios = <&gpio 47 0>;
			gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
		};

		pwr {
			label = "PWR";
			gpios = <&gpio 35 0>;
			gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
			default-state = "keep";
			linux,default-trigger = "default-on";
		};
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@

	leds {
		act {
			gpios = <&gpio 16 1>;
			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
		};
	};
};
+2 −2
Original line number Diff line number Diff line
@@ -11,12 +11,12 @@

	leds {
		act {
			gpios = <&gpio 47 0>;
			gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
		};

		pwr {
			label = "PWR";
			gpios = <&gpio 35 0>;
			gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
			default-state = "keep";
			linux,default-trigger = "default-on";
		};
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

	leds {
		act {
			gpios = <&gpio 16 1>;
			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
		};
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@

	leds {
		act {
			gpios = <&gpio 16 1>;
			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
		};
	};
};
Loading