projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c2747
)
ARM: dts: ebaz4205: add pinctrl entries for switches
author
Michael Walle
<michael@walle.cc>
Mon, 1 Feb 2021 13:30:00 +0000
(14:30 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Wed, 10 Feb 2021 10:01:28 +0000
(11:01 +0100)
Add the pinctrl entries for the GPIOs which are connected to the
push buttons on this board.
Signed-off-by: Michael Walle <michael@walle.cc>
Link:
https://lore.kernel.org/r/20210201133000.23402-1-michael@walle.cc
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/boot/dts/zynq-ebaz4205.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/zynq-ebaz4205.dts
b/arch/arm/boot/dts/zynq-ebaz4205.dts
index e802d4ae88049e37312a302a539ca0ddce8019db..b0b836aedd7657ba2571ca91f90a1868b9d1d5a7 100644
(file)
--- a/
arch/arm/boot/dts/zynq-ebaz4205.dts
+++ b/
arch/arm/boot/dts/zynq-ebaz4205.dts
@@
-43,7
+43,30
@@
};
};
+&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";