Skip to contentSkip to conversation

ARM: dts: imx53: Add gpio and input dt includes.

PATCH Superseded Denis Carikli 2 participants 3 messages Dec 6, 2013

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 ARM: dts: imx53: Add gpio and input dt includes.

This is to permit to use of the includes in the boards dts.

---
ChangeLog v1->v2:
- New patch to make it possible to fix the gpios and input in the next patch.

---
 arch/arm/boot/dts/imx53.dtsi |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx53.dtsi +2 -0
index 885dbbd..891081e 100644
@@ -14,6 +14,8 @@
 #include "imx53-pinfunc.h"
 #include "imx53-pingrp.h"
 #include <dt-bindings/clock/imx5-clock.h>
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 
 / {
 	aliases {
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 2/2 ARM: dts: Add support for the cpuimx53 board from Eukrea and its baseboard.

The following devices/functionalities were added:
* Main and secondary UARTs.
* i2c and the pcf8563 device.
* Ethernet.
* NAND.
* The BP1 button.
* The LED.
* Watchdog.
* SD.
* USB host.

Cc Rob Herring <[email protected]>
Cc Pawel Moll <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Stephen Warren <[email protected]>
Cc Ian Campbell <[email protected]>
Cc Grant Likely <[email protected]>
Cc devicetree at vger.kernel.org
Cc Sascha Hauer <[email protected]>
Cc Shawn Guo <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc Eric B?nard <[email protected]>

---
ChangeLog v1->v2:
- Added the board target in arch/arm/boot/dts/Makefile
- Fixed the gpios to now use the gpios defines.
- Fixed the button linux code to now use an input define.
- Fixed the regulator.

---
 arch/arm/boot/dts/Makefile                         |    1 +
 arch/arm/boot/dts/imx53-eukrea-cpuimx53.dtsi       |   81 ++++++++++++++
 .../boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts  |  112 ++++++++++++++++++++
 3 files changed, 194 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx53-eukrea-cpuimx53.dtsi
 create mode 100644 arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts
arch/arm/boot/dts/Makefile +1 -0
index 648c016..89aec16 100644
@@ -135,6 +135,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
 	imx51-babbage.dtb \
 	imx51-eukrea-mbimxsd51-baseboard.dtb \
 	imx53-ard.dtb \
+	imx53-eukrea-mbimxsd53-baseboard.dts \
 	imx53-evk.dtb \
 	imx53-m53evk.dtb \
 	imx53-mba53.dtb \
arch/arm/boot/dts/imx53-eukrea-cpuimx53.dtsi new file +81 -0

81 lines not on this page · raw message

arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +112 -0

112 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCHv2][ 2/2] ARM: dts: Add support for the cpuimx53 board from Eukrea and its baseboard.

Hello.

Quoted 10 lines

The following devices/functionalities were added:
* Main and secondary UARTs.
* i2c and the pcf8563 device.
* Ethernet.
* NAND.
* The BP1 button.
* The LED.
* Watchdog.
* SD.
* USB host.

...

arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts line 57

Quoted 7 lines
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +7 -0
+		reg_3p3v: regulator at 0 {
+			reg = <0>;
+			compatible = "regulator-fixed";
+			regulator-name = "3P3V";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-always-on;

"regulator-always-on" make no sense for virtual supplies.

...

Quoted 4 lines
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +4 -0
+		pinctrl_uart1: uart1grp {
+			fsl,pins = <MX53_UART1_PINGRP2>;
+		};
+

arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts line 103

Quoted 10 lines
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +10 -0
+		pinctrl_uart2: uart2grp {
+			fsl,pins = <MX53_UART2_PINGRP2>;
+		};
+	};
+};
+
+&uart1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_uart1>;
+	fsl,uart-has-rtscts;

So if you use "fsl,uart-has-rtscts", should you add MX53_UART1_PINGRP3 into pinctls too?

---