summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx28-u-boot.dtsi
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-06-19 18:31:04 +0300
committerStefano Babic <sbabic@denx.de>2019-07-19 15:57:14 +0300
commita9cb05080a67c94f21bd86bb41f07d4ed2a4bb22 (patch)
tree2cdfe420d92d9b3552a4e5e54dda8624b88291c1 /arch/arm/dts/imx28-u-boot.dtsi
parent7782f4e441a77ab3834581bc0e9162d97e640858 (diff)
downloadu-boot-a9cb05080a67c94f21bd86bb41f07d4ed2a4bb22.tar.xz
ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver
Those properties are U-Boot specific as the mxs gpio Linux driver (up to version v5.1.11) is not supporting them. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'arch/arm/dts/imx28-u-boot.dtsi')
-rw-r--r--arch/arm/dts/imx28-u-boot.dtsi28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/dts/imx28-u-boot.dtsi b/arch/arm/dts/imx28-u-boot.dtsi
new file mode 100644
index 0000000000..d545b402a7
--- /dev/null
+++ b/arch/arm/dts/imx28-u-boot.dtsi
@@ -0,0 +1,28 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2019
+ * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
+ *
+ * SPDX-License-Identifier: GPL-2.0+ or X11
+ */
+#include "imx28.dtsi"
+
+&gpio0 {
+ gpio-ranges = <&pinctrl 0 0 29>;
+};
+
+&gpio1 {
+ gpio-ranges = <&pinctrl 0 29 32>;
+};
+
+&gpio2 {
+ gpio-ranges = <&pinctrl 0 61 28>;
+};
+
+&gpio3 {
+ gpio-ranges = <&pinctrl 0 89 31>;
+};
+
+&gpio4 {
+ gpio-ranges = <&pinctrl 0 120 21>;
+};