[U-Boot] [PATCH v6 3/6] ARM: dts: imx: Provide 'gpio-ranges' for mxs_gpio driver
Lukasz Majewski
lukma at denx.de
Wed Jun 19 15:31:04 UTC 2019
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 at denx.de>
---
Changes in v6:
- Provide correct values for gpio-ranges
Changes in v5:
- Use "ARM: dts: imx: tags"
Changes in v4:
- New file - imx28-u-boot.dtsi
Changes in v3: None
Changes in v2: None
arch/arm/dts/imx28-u-boot.dtsi | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 arch/arm/dts/imx28-u-boot.dtsi
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 at 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>;
+};
--
2.11.0
More information about the U-Boot
mailing list