Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 14:05:17 +0000
From:      aleek@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r240495 - soc2012/aleek/beaglexm-armv6/sys/boot/fdt/dts
Message-ID:  <20120818140517.64785106564A@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: aleek
Date: Sat Aug 18 14:05:16 2012
New Revision: 240495
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=240495

Log:
  workaround for the I2C bug. It turns out, that there is bug in SCM, so the pin muxing is being done wrong. Fortunately, u-boot configures everything so we rely on it until SCM module is not fixed

Modified:
  soc2012/aleek/beaglexm-armv6/sys/boot/fdt/dts/beagleboardxm.dts

Modified: soc2012/aleek/beaglexm-armv6/sys/boot/fdt/dts/beagleboardxm.dts
==============================================================================
--- soc2012/aleek/beaglexm-armv6/sys/boot/fdt/dts/beagleboardxm.dts	Sat Aug 18 12:37:07 2012	(r240494)
+++ soc2012/aleek/beaglexm-armv6/sys/boot/fdt/dts/beagleboardxm.dts	Sat Aug 18 14:05:16 2012	(r240495)
@@ -63,7 +63,7 @@
 			compatible = "ti,scm";
 			reg =	< 0x48002000 0x2000 >;
 			/* Set of triplets < padname, muxname, padstate> */
-			scm-pad-config =
+			/*scm-pad-config =*/
 				/* USB OTG */
 				/*
 				"af10",		"hsusb1_stp",	"output",
@@ -81,6 +81,7 @@
 				*/
 
 				/* USB HS */
+				/*
 				"af7", "hsusb2_stp", "output",
 				"ag7", "hsusb2_dir", "input_pulldown",
 				"ah7", "hsusb2_nxt", "input_pulldown",
@@ -93,11 +94,13 @@
 				"y4", "hsusb2_data6", "input_pulldown",
 				"aa3", "hsusb2_data7", "input_pulldown",
 				"ad25", "gpio_147", "output",
-				"ae7", "hsusb2_clk", "output",
+				"ae7", "hsusb2_clk", "output"; */
 
 				/* i2c */
-				"ic11",		"i2c1_scl", "output",
-				"ic12",		"i2c1_sda", "output";
+				/* ths needs to be fixed. The gpio pins are configured by u-boot
+				so they work even without SCM configuration. It is need to be fixed */
+				/*"ic11",		"i2c1_scl", "input_pullup_inact",
+				"ic12",		"i2c1_sda", "input_pullup_inact";*/
 
 
 		};
@@ -179,7 +182,7 @@
 			
 			twl4030@48 {
 				compatible = "ti,twl4030";
-				reg = <0x48>;
+				reg = < 0x48 >;
 				voltage-regulators =
 					"vusb1v5", "0",
 					"vusb1v8", "0",
@@ -210,7 +213,7 @@
 			interrupts = < 77 >;
 			interrupt-parent = <&AINTC>;
 		};
-*/
+		*/
 	};
 
 	chosen {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120818140517.64785106564A>