Skip to contentSkip to conversation

ARM: dts: dra7-evm: Fixes for 3.17

PATCH In review Roger Quadros 3 participants 5 messages Sep 3, 2014 – Sep 6, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: dra7-evm: Fixes for 3.17

Hi Tony,

These patches fix I2C3 bus pinmux and frequency as well as NAND partition name on dra7-evm.

cheers,
-roger

---
Roger Quadros (2):
ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency
ARM: dts: dra7-evm: Fix 8th NAND partition's name

 arch/arm/boot/dts/dra7-evm.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/2 ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency

The I2C3 pins are taken from pads E21 (GPIO6_14) and F20 (GPIO6_15). Use the right pinmux register and mode.

Also set the I2C3 bus frequency to a safer 400KHz than 3.4Mhz.

---
 arch/arm/boot/dts/dra7-evm.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/dra7-evm.dts +3 -3
index 50f8022..42f5bc9 100644
@@ -43,8 +43,8 @@
 
 	i2c3_pins: pinmux_i2c3_pins {
 		pinctrl-single,pins = <
-			0x410 (PIN_INPUT | MUX_MODE0) /* i2c3_sda */
-			0x414 (PIN_INPUT | MUX_MODE0) /* i2c3_scl */
+			0x288 (PIN_INPUT | MUX_MODE9) /* gpio6_14.i2c3_sda */
+			0x28c (PIN_INPUT | MUX_MODE9) /* gpio6_15.i2c3_scl */
 		>;
 	};
 
@@ -284,7 +284,7 @@
 	status = "okay";
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c3_pins>;
-	clock-frequency = <3400000>;
+	clock-frequency = <400000>;
 };
 
 &mcspi1 {
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH 2/2 ARM: dts: dra7-evm: Fix 8th NAND partition's name

In reply to Roger Quadros

The 8th NAND partition should be named "NAND.u-boot-env.backup1" instead of "NAND.u-boot-env". This is to be consistent with other TI boards as well as u-boot.

---
 arch/arm/boot/dts/dra7-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/dra7-evm.dts +1 -1
index 42f5bc9..990ee6a 100644
@@ -483,7 +483,7 @@
 			reg = <0x001c0000 0x00020000>;
 		};
 		partition@7 {
-			label = "NAND.u-boot-env";
+			label = "NAND.u-boot-env.backup1";
 			reg = <0x001e0000 0x00020000>;
 		};
 		partition@8 {
Signature · 1 line
1.8.3.2
Reviewed-by on v1 2/2
#3 lore raw

Re: [PATCH 2/2] ARM: dts: dra7-evm: Fix 8th NAND partition's name

Quoted 17 lines · Roger Quadros

The 8th NAND partition should be named "NAND.u-boot-env.backup1" instead of "NAND.u-boot-env". This is to be consistent with other TI boards as well as u-boot.

---
  arch/arm/boot/dts/dra7-evm.dts | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/dra7-evm.dts +0 -0
index 42f5bc9..990ee6a 100644

arch/arm/boot/dts/dra7-evm.dts line 489

Quoted 8 lines
arch/arm/boot/dts/dra7-evm.dts +1 -1
@@ -483,7 +483,7 @@
  			reg = <0x001c0000 0x00020000>;
  		};
  		partition@7 {
-			label = "NAND.u-boot-env";
+			label = "NAND.u-boot-env.backup1";
  			reg = <0x001e0000 0x00020000>;
  		};
  		partition@8 {

Thanks for the fixing this typo.

with regards, pekon

------------------------
Powered by BigRock.com

#4 lore raw
In reply to Roger Quadros
Quoted 8 lines · Roger Quadros

Hi Tony,

These patches fix I2C3 bus pinmux and frequency as well as NAND partition name on dra7-evm.

cheers,
-roger

Quoted 7 lines

---
Roger Quadros (2):
ARM: dts: dra7-evm: Fix i2c3 pinmux and frequency
ARM: dts: dra7-evm: Fix 8th NAND partition's name

 arch/arm/boot/dts/dra7-evm.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Applying into omap-for-v3.17/fixes-v2 thanks.

Tony