summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7ulp.dtsi
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2017-09-06 21:47:14 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:30:31 +0800
commit9373cd9ec933072bea759527edbf0a9bbbea053a (patch)
treef423baefffffb2eeb1874dd622116b05502a0de8 /arch/arm/boot/dts/imx7ulp.dtsi
parent6b8c64504f15abe2984be94ab2a3b3dc80cd685c (diff)
MLK-17491-13 dts: imx7ulp: improve the gpio using
Currently people have no idea on which pad is correspding to which gpio controller as there's no hints in dts. Let's add a proper prefix for gpio nodes as follows in dts to make it much easier to use. gpio0 = &gpio_ptc; gpio1 = &gpio_ptd; gpio2 = &gpio_pte; gpio3 = &gpio_ptf; Reviewed-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7ulp.dtsi')
-rw-r--r--arch/arm/boot/dts/imx7ulp.dtsi16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index 121a1d494ceb..38f57c9fa6da 100644
--- a/arch/arm/boot/dts/imx7ulp.dtsi
+++ b/arch/arm/boot/dts/imx7ulp.dtsi
@@ -18,10 +18,10 @@
interrupt-parent = <&intc>;
aliases {
- gpio0 = &gpio0;
- gpio1 = &gpio1;
- gpio2 = &gpio2;
- gpio3 = &gpio3;
+ gpio0 = &gpio_ptc;
+ gpio1 = &gpio_ptd;
+ gpio2 = &gpio_pte;
+ gpio3 = &gpio_ptf;
mmc0 = &usdhc0;
mmc1 = &usdhc1;
serial0 = &lpuart4;
@@ -522,7 +522,7 @@
reg = <0x40ac0000 0x1000>;
};
- gpio0: gpio@40ae0000 {
+ gpio_ptc: gpio@40ae0000 {
compatible = "fsl,vf610-gpio";
reg = <0x40ae0000 0x1000 0x400F0000 0x40>;
gpio-controller;
@@ -533,7 +533,7 @@
gpio-ranges = <&iomuxc1 0 0 32>;
};
- gpio1: gpio@40af0000 {
+ gpio_ptd: gpio@40af0000 {
compatible = "fsl,vf610-gpio";
reg = <0x40af0000 0x1000 0x400F0040 0x40>;
gpio-controller;
@@ -544,7 +544,7 @@
gpio-ranges = <&iomuxc1 0 32 32>;
};
- gpio2: gpio@40b00000 {
+ gpio_pte: gpio@40b00000 {
compatible = "fsl,vf610-gpio";
reg = <0x40b00000 0x1000 0x400F0080 0x40>;
gpio-controller;
@@ -555,7 +555,7 @@
gpio-ranges = <&iomuxc1 0 64 32>;
};
- gpio3: gpio@40b10000 {
+ gpio_ptf: gpio@40b10000 {
compatible = "fsl,vf610-gpio";
reg = <0x40b10000 0x1000 0x400F00c0 0x40>;
gpio-controller;