Skip to contentSkip to conversation

ARM: dts: imx51-babbage: Fix chipselect level for dataflash on spi0.1

PATCH New Alexander Shiyan 2 participants 3 messages Nov 27, 2013 – Nov 28, 2013

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

PATCH 1/2 ARM: dts: imx51-babbage: Fix chipselect level for dataflash on spi0.1

---
 arch/arm/boot/dts/imx51-babbage.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-babbage.dts +1 -1
index bbe899f..ee0deb3 100644
@@ -138,7 +138,7 @@
 	pinctrl-0 = <&pinctrl_ecspi1>;
 	fsl,spi-num-chipselects = <2>;
 	cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>,
-		   <&gpio4 25 GPIO_ACTIVE_HIGH>;
+		   <&gpio4 25 GPIO_ACTIVE_LOW>;
 	status = "okay";
 
 	pmic: mc13892 at 0 {
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 2/2 ARM: dts: imx51-babbage: Define FEC reset pin

---
 arch/arm/boot/dts/imx51-babbage.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx51-babbage.dts +6 -1
index ee0deb3..483178a 100644
@@ -299,7 +299,10 @@
 		};
 
 		pinctrl_fec: fecgrp {
-			fsl,pins = <MX51_FEC_PINGRP1>;
+			fsl,pins = <
+				MX51_FEC_PINGRP1
+				MX51_PAD_EIM_A20__GPIO2_14 0x85 /* Reset */
+			>;
 		};
 
 		pinctrl_i2c2: i2c2grp {
@@ -377,6 +380,8 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_fec>;
 	phy-mode = "mii";
+	phy-reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
+	phy-reset-duration = <1>;
 	status = "okay";
 };
 
Signature · 1 line
1.8.3.2
Applied
#2 lore raw

PATCH 1/2 ARM: dts: imx51-babbage: Fix chipselect level for dataflash on spi0.1

In reply to Alexander Shiyan
Quoted 1 line · Alexander Shiyan

Applied both, thanks.

Shawn

Quoted 20 lines
---
 arch/arm/boot/dts/imx51-babbage.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-babbage.dts +1 -1
index bbe899f..ee0deb3 100644
@@ -138,7 +138,7 @@
 	pinctrl-0 = <&pinctrl_ecspi1>;
 	fsl,spi-num-chipselects = <2>;
 	cs-gpios = <&gpio4 24 GPIO_ACTIVE_HIGH>,
-		   <&gpio4 25 GPIO_ACTIVE_HIGH>;
+		   <&gpio4 25 GPIO_ACTIVE_LOW>;
 	status = "okay";
 
 	pmic: mc13892 at 0 {
Signature · 1 line
1.8.3.2