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

Commit 27563cd9 authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Nicolas Ferre
Browse files

ARM: dts: at91: sama5d27_som1_ek: update pinmux/pinconf for LEDs and USB



There are some changes from the prototype board concerning LEDs and USB
pins:
- USBB power enable and red LED pins are inverted.
- The polarity of LEDs is inverted too.

Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
parent 2bd6bf03
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@

		usb1: ohci@00400000 {
			num-ports = <3>;
			atmel,vbus-gpio = <&pioA PIN_PA10 GPIO_ACTIVE_HIGH>;
			atmel,vbus-gpio = <&pioA PIN_PA27 GPIO_ACTIVE_HIGH>;
			pinctrl-names = "default";
			pinctrl-0 = <&pinctrl_usb_default>;
			status = "okay";
@@ -330,7 +330,7 @@
				};

				pinctrl_led_gpio_default: led_gpio_default {
					pinmux = <PIN_PA27__GPIO>,
					pinmux = <PIN_PA10__GPIO>,
						 <PIN_PB1__GPIO>,
						 <PIN_PA31__GPIO>;
					bias-pull-up;
@@ -396,7 +396,7 @@
				};

				pinctrl_usb_default: usb_default {
					pinmux = <PIN_PA10__GPIO>,
					pinmux = <PIN_PA27__GPIO>,
						 <PIN_PD19__GPIO>;
					bias-disable;
				};
@@ -520,17 +520,17 @@

		red {
			label = "red";
			gpios = <&pioA PIN_PA27 GPIO_ACTIVE_LOW>;
			gpios = <&pioA PIN_PA10 GPIO_ACTIVE_HIGH>;
		};

		green {
			label = "green";
			gpios = <&pioA PIN_PB1 GPIO_ACTIVE_LOW>;
			gpios = <&pioA PIN_PB1 GPIO_ACTIVE_HIGH>;
		};

		blue {
			label = "blue";
			gpios = <&pioA PIN_PA31 GPIO_ACTIVE_LOW>;
			gpios = <&pioA PIN_PA31 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};
	};