ARM: dts: imx53: Add gpio and input dt includes.
Subsystems (3)
PATCH v3 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 v2->v3:
- Added The Cc
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
@@ -13,6 +13,8 @@ #include "skeleton.dtsi" #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
PATCH v3 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.
---
ChangeLog v2->v3:
- Removed the useless regulator-always-on
- Added the rts and cts pins to the uart1 pinctrl
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 | 111 ++++++++++++++++++++ 3 files changed, 193 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
@@ -146,6 +146,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 +111 -0
111 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Shawn Guo
AppliedPATCH v3 1/2 ARM: dts: imx53: Add gpio and input dt includes.
In reply to Denis CarikliQuoted 14 lines · Denis Carikli
This is to permit to use of the includes in the boards dts.
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.orgCc Sascha Hauer <[email protected]>Cc Shawn Guo <[email protected]>Cc linux-arm-kernel at lists.infradead.orgCc Eric B?nard <[email protected]>Signed-off-by Denis Carikli <[email protected]>
Applied, thanks.
PATCH v3 2/2 ARM: dts: Add support for the cpuimx53 board from Eukrea and its baseboard.
In reply to Denis Carikliarch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts line 73
Quoted 12 lines · Denis Carikli
+&esdhc1 {
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +11
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_esdhc1 &pinctrl_esdhc1_cd>; + cd-gpios = <&gpio5 17 GPIO_ACTIVE_LOW>; + vqmmc-supply = <®_3p3v>; + vmmc-supply = <®_3p3v>; + status = "okay"; +}; + +&iomuxc { + imx53-eukrea { + pinctrl_esdhc1: esdhc1 {
s/esdhc1/esdhc1grp
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts line 79
Quoted 6 lines
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +6
-0+ fsl,pins = <MX53_ESDHC1_PINGRP1>; + }; + + pinctrl_esdhc1_cd: esdhc1_cd { + fsl,pins = <MX53_PAD_DISP0_DAT23__GPIO5_17 0x80000000>; + };
Please merge above two nodes into one as below.
pinctrl_esdhc1: esdhc1grp {
fsl,pins = <
MX53_ESDHC1_PINGRP1
MX53_PAD_DISP0_DAT23__GPIO5_17 0x80000000 /* CD */
>;
};arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts line 90
Quoted 11 lines
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +11
-0+ + pinctrl_gpiokeys: gpiokeysgrp { + fsl,pins = <MX53_PAD_KEY_COL4__GPIO4_14 0x80000000>; + }; + + pinctrl_gpioled: gpioledgrp { + fsl,pins = <MX53_PAD_KEY_ROW4__GPIO4_15 0x80000000>; + }; + + pinctrl_uart1: uart1grp { + fsl,pins = <MX53_UART1_PINGRP2 MX53_UART1_PINGRP3>;
Please put two macros onto two lines.
Shawn
Quoted 24 lines
arch/arm/boot/dts/imx53-eukrea-mbimxsd53-baseboard.dts new file +21
-0+ }; + + pinctrl_uart2: uart2grp { + fsl,pins = <MX53_UART2_PINGRP2>; + }; + }; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1>; + fsl,uart-has-rtscts; + status = "okay"; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + fsl,uart-has-rtscts; + status = "okay"; +};Signature · 1 line
1.7.9.5