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

Commit ba61e893 authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard
Browse files

ARM: dts: sun6i: Add support for the status led



The Mele M9 / A1000G quad has a blue status led, add support for this.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent fad1d553
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -82,6 +82,13 @@
		};

		pio: pinctrl@01c20800 {
			led_pins_m9: led_pins@0 {
				allwinner,pins = "PH13";
				allwinner,function = "gpio_out";
				allwinner,drive = <0>;
				allwinner,pull = <0>;
			};

			mmc0_cd_pin_m9: mmc0_cd_pin@0 {
				allwinner,pins = "PH22";
				allwinner,function = "gpio_in";
@@ -104,6 +111,17 @@
		};
	};

	leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&led_pins_m9>;

		blue {
			label = "m9:blue:usr";
			gpios = <&pio 7 13 0>;
		};
	};

	reg_usb1_vbus: usb1-vbus {
		pinctrl-names = "default";
		pinctrl-0 = <&usb1_vbus_pin_m9>;