Commit 10d43c86 authored by Michael Walle's avatar Michael Walle Committed by Michal Simek
Browse files

ARM: dts: ebaz4205: add pinctrl entries for switches



Add the pinctrl entries for the GPIOs which are connected to the
push buttons on this board.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210201133000.23402-1-michael@walle.cc


Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 00c27478
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -43,7 +43,30 @@ phy: ethernet-phy@0 {
	};
};

&gpio0 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_gpio0_default>;
};

&pinctrl0 {
	pinctrl_gpio0_default: gpio0-default {
		mux {
			groups = "gpio0_20_grp", "gpio0_32_grp";
			function = "gpio0";
		};

		conf {
			groups = "gpio0_20_grp", "gpio0_32_grp";
			io-standard = <3>;
			slew-rate = <0>;
		};

		conf-pull-up {
			pins = "MIO20", "MIO32";
			bias-disable;
		};
	};

	pinctrl_sdhci0_default: sdhci0-default {
		mux {
			groups = "sdio0_2_grp";