summaryrefslogtreecommitdiff
path: root/arch/arm/dts/stm32f746-disco.dts
diff options
context:
space:
mode:
authorVikas Manocha <vikas.manocha@st.com>2017-04-10 22:02:58 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-08 15:57:20 (GMT)
commitd33a6a2f064a5dabfc277d5345aa03a9fbce4680 (patch)
treed7c30ce21d889c26f452a53d601890a2a4519442 /arch/arm/dts/stm32f746-disco.dts
parent774171020beaf3af19dcc8056c9de38653bc121b (diff)
downloadu-boot-fsl-qoriq-d33a6a2f064a5dabfc277d5345aa03a9fbce4680.tar.xz
ARM: DT: stm32f7: add gpio device tree nodes
Also created alias for gpios for stm32f7 discovery board. Based on these aliases, it would be possible to get gpio devices by sequence. Signed-off-by: Vikas Manocha <vikas.manocha@st.com> cc: Christophe KERELLO <christophe.kerello@st.com>
Diffstat (limited to 'arch/arm/dts/stm32f746-disco.dts')
-rw-r--r--arch/arm/dts/stm32f746-disco.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts
index f098d2e..f830aa9 100644
--- a/arch/arm/dts/stm32f746-disco.dts
+++ b/arch/arm/dts/stm32f746-disco.dts
@@ -65,6 +65,18 @@
aliases {
serial0 = &usart1;
spi0 = &qspi;
+ /* Aliases for gpios so as to use sequence */
+ gpio0 = &gpioa;
+ gpio1 = &gpiob;
+ gpio2 = &gpioc;
+ gpio3 = &gpiod;
+ gpio4 = &gpioe;
+ gpio5 = &gpiof;
+ gpio6 = &gpiog;
+ gpio7 = &gpioh;
+ gpio8 = &gpioi;
+ gpio9 = &gpioj;
+ gpio10 = &gpiok;
};
};