Skip to contentSkip to conversation

ARM: i.MX53: voipac-dmm-668 Devicetree

PATCH New Rostislav Lisovy 2 participants 4 messages Nov 26, 2013 – Nov 28, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: i.MX53: voipac-dmm-668 Devicetree

This patchset adds NAND controller and USB host controller support for Voipac x53-dmm-668 module.

This patchset applies to linux-next (since the Voipac devicetree support is not present in any other trees).

Rostislav Lisovy (2):
ARM: i.MX53: dts: NAND flash controller
ARM: i.MX53: dts: USB host controller

 arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/2 ARM: i.MX53: dts: NAND flash controller

arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi +12 -0
index 9304d0a..fa7309f5 100644
@@ -72,6 +72,10 @@
 		pinctrl_uart1: uart1grp {
 			fsl,pins = <MX53_UART1_PINGRP2>;
 		};
+
+		pinctrl_nand: nandgrp {
+			fsl,pins = <MX53_NAND_PINGRP1>;
+		};
 	};
 };
 
@@ -205,6 +209,14 @@
 	};
 };
 
+&nfc {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_nand>;
+	nand-bus-width = <8>;
+	nand-ecc-mode = "hw";
+	status = "okay";
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1>;
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH 2/2 ARM: i.MX53: dts: USB host controller

In reply to Rostislav Lisovy
arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi +16 -0
index fa7309f5..04a2895 100644
@@ -38,6 +38,16 @@
 			regulator-max-microvolt = <3300000>;
 			regulator-always-on;
 		};
+
+		reg_usb_vbus: regulator at 1 {
+			compatible = "regulator-fixed";
+			reg = <1>;
+			regulator-name = "usb_vbus";
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
+			gpio = <&gpio3 31 0>; /* PEN */
+			enable-active-high;
+		};
 	};
 };
 
@@ -222,3 +232,9 @@
 	pinctrl-0 = <&pinctrl_uart1>;
 	status = "okay";
 };
+
+&usbh1 {
+	vbus-supply = <&reg_usb_vbus>;
+	phy_type = "utmi";
+	status = "okay";
+};
Signature · 1 line
1.8.3.2
Applied
#3 lore raw

cover ARM: i.MX53: voipac-dmm-668 Devicetree

In reply to Rostislav Lisovy
Quoted 3 lines · Rostislav Lisovy

Rostislav Lisovy (2):
ARM: i.MX53: dts: NAND flash controller
ARM: i.MX53: dts: USB host controller

Applied both, thanks.