Skip to contentSkip to conversation

ARM: imx6: dmo edmqmx6 updates

PATCH New Sascha Hauer 3 participants 7 messages Jan 16, 2014 – Jan 18, 2014

Subsystems (2)
lore
Share & tools
lore

Sascha Hauer

author maintainer
#0 lore raw

PATCH 1/1 ARM: imx6: dmo edmqmx6 updates

This series adds some additional features to the recently introduced DataModul edmqmx6 board.

Sascha

----------------------------------------------------------------
Philipp Zabel (1):
ARM: dts: imx6: edmqmx6: add PF0100 PMIC to device tree

Sascha Hauer (3):
ARM: dts: imx6: edmqmx6: Add usdhc4 (emmc) support
ARM: dts: imx6: edmqmx6: Add sata support
ARM: dts: imx6: edmqmx6: Add LED support

 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 148 ++++++++++++++++++++++++++++++++
 1 file changed, 148 insertions(+)
author maintainer
#1 lore raw

PATCH 1/4 ARM: dts: imx6: edmqmx6: Add usdhc4 (emmc) support

---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +13 -0
index 84f5143..7ce2038 100644
@@ -141,6 +141,10 @@
 		pinctrl_usdhc3: usdhc3grp {
 			fsl,pins = <MX6QDL_USDHC3_PINGRP_D4>;
 		};
+
+		pinctrl_usdhc4: usdhc4grp {
+			fsl,pins = <MX6QDL_USDHC4_PINGRP_D8>;
+		};
 	};
 };
 
@@ -176,3 +180,12 @@
 	vmmc-supply = <&reg_3p3v>;
 	status = "okay";
 };
+
+&usdhc4 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_usdhc4>;
+	vmmc-supply = <&reg_3p3v>;
+	non-removable;
+	bus-width = <8>;
+	status = "okay";
+};
Signature · 1 line
1.8.5.2
author maintainer
#2 lore raw

PATCH 2/4 ARM: dts: imx6: edmqmx6: Add sata support

In reply to Sascha Hauer
---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +4 -0
index 7ce2038..fe990bc 100644
@@ -148,6 +148,10 @@
 	};
 };
 
+&sata {
+	status = "okay";
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1>;
Signature · 1 line
1.8.5.2
author maintainer
#3 lore raw

PATCH 3/4 ARM: dts: imx6: edmqmx6: add PF0100 PMIC to device tree

In reply to Sascha Hauer

From: Philipp Zabel <[email protected]>

---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 104 ++++++++++++++++++++++++++++++++
 1 file changed, 104 insertions(+)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +104 -0
index fe990bc..bafc392 100644
@@ -65,6 +65,7 @@
 	pinctrl-0 = <&pinctrl_enet>;
 	phy-mode = "rgmii";
 	phy-reset-gpios = <&gpio3 23 0>;
+	phy-supply = <&vgen2_1v2_eth>;
 	status = "okay";
 };
 
@@ -75,6 +76,109 @@
 		     &pinctrl_stmpe>;
 	status = "okay";
 
+	pmic: pfuze100 at 08 {
+		compatible = "fsl,pfuze100";
+		reg = <0x08>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <20 8>;
+
+		regulators {
+			sw1a_reg: sw1ab {
+				regulator-min-microvolt = <300000>;
+				regulator-max-microvolt = <1875000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			sw1c_reg: sw1c {
+				regulator-min-microvolt = <300000>;
+				regulator-max-microvolt = <1875000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			sw2_reg: sw2 {
+				regulator-min-microvolt = <800000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			sw3a_reg: sw3a {
+				regulator-min-microvolt = <400000>;
+				regulator-max-microvolt = <1975000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			sw3b_reg: sw3b {
+				regulator-min-microvolt = <400000>;
+				regulator-max-microvolt = <1975000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			sw4_reg: sw4 {
+				regulator-min-microvolt = <400000>;
+				regulator-max-microvolt = <1975000>;
+				regulator-always-on;
+			};
+
+			swbst_reg: swbst {
+				regulator-min-microvolt = <5000000>;
+				regulator-max-microvolt = <5150000>;
+				regulator-always-on;
+			};
+
+			snvs_reg: vsnvs {
+				regulator-min-microvolt = <1000000>;
+				regulator-max-microvolt = <3000000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			vref_reg: vrefddr {
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			vgen1_reg: vgen1 {
+				regulator-min-microvolt = <800000>;
+				regulator-max-microvolt = <1550000>;
+			};
+
+			vgen2_1v2_eth: vgen2 {
+				regulator-min-microvolt = <800000>;
+				regulator-max-microvolt = <1550000>;
+			};
+
+			vdd_high_in: vgen3 {
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-boot-on;
+				regulator-always-on;
+			};
+
+			vgen4_reg: vgen4 {
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-always-on;
+			};
+
+			vgen5_reg: vgen5 {
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-always-on;
+			};
+
+			vgen6_reg: vgen6 {
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-always-on;
+			};
+		};
+	};
+
 	stmpe: stmpe1601 at 40 {
 		compatible = "st,stmpe1601";
 		reg = <0x40>;
Signature · 1 line
1.8.5.2
author maintainer
#4 lore raw

PATCH 4/4 ARM: dts: imx6: edmqmx6: Add LED support

In reply to Sascha Hauer

The edmqmx6 has some GPIO controlled LEDs. Add support for them.

---
 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +27 -0
index bafc392..b8a1ff4 100644
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 
+#include <dt-bindings/gpio/gpio.h>
 #include "imx6q.dtsi"
 
 / {
@@ -58,6 +59,31 @@
 			enable-active-high;
 		};
 	};
+
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		led-blue {
+			label = "blue";
+			gpios = <&stmpe_gpio 8 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+
+		led-green {
+			label = "green";
+			gpios = <&stmpe_gpio 9 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-pink {
+			label = "pink";
+			gpios = <&stmpe_gpio 10 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-red {
+			label = "red";
+			gpios = <&stmpe_gpio 11 GPIO_ACTIVE_HIGH>;
+		};
+	};
 };
 
 &fec {
@@ -186,6 +212,7 @@
 		interrupt-parent = <&gpio3>;
 
 		stmpe_gpio: stmpe_gpio {
+			#gpio-cells = <2>;
 			compatible = "st,stmpe-gpio";
 		};
 	};
Signature · 1 line
1.8.5.2
#5 lore raw

PATCH 1/1 ARM: imx6: dmo edmqmx6 updates

In reply to Sascha Hauer

Hi,

Quoted 9 lines

This series adds some additional features to the recently introduced DataModul edmqmx6 board.

Sascha

----------------------------------------------------------------
Philipp Zabel (1):
ARM: dts: imx6: edmqmx6: add PF0100 PMIC to device tree

Quoted 8 lines

Sascha Hauer (3):
ARM: dts: imx6: edmqmx6: Add usdhc4 (emmc) support
ARM: dts: imx6: edmqmx6: Add sata support
ARM: dts: imx6: edmqmx6: Add LED support

 arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 148 ++++++++++++++++++++++++++++++++
 1 file changed, 148 insertions(+)

For the complete patchset:

Cheers,
Silvio

Signature · 4 lines
-- S. Fricke ---------------------------------------- silvio at port1024.net --
   Diplom-Informatiker (FH)
   Linux-Entwicklung             JABBER: silvio at conversation.port1024.net   
----------------------------------------------------------------------------
Applied
#6 lore raw

PATCH 1/1 ARM: imx6: dmo edmqmx6 updates

In reply to Sascha Hauer
Quoted 7 lines · Sascha Hauer

Philipp Zabel (1):
ARM: dts: imx6: edmqmx6: add PF0100 PMIC to device tree

Sascha Hauer (3):
ARM: dts: imx6: edmqmx6: Add usdhc4 (emmc) support
ARM: dts: imx6: edmqmx6: Add sata support
ARM: dts: imx6: edmqmx6: Add LED support

Applied all 4, thanks.