Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2016 17:18:49 +0000 (UTC)
From:      Luiz Otavio O Souza <loos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297425 - head/sys/boot/fdt/dts/arm
Message-ID:  <201603301718.u2UHInHP029502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loos
Date: Wed Mar 30 17:18:49 2016
New Revision: 297425
URL: https://svnweb.freebsd.org/changeset/base/297425

Log:
  Use the AM33XX_IOPAD() MACRO which is easier to read (uses the same offset
  of TRM).
  
  While here remove i2c2_pins, it is already defined in
  am335x-bone-common.dtsi.
  
  Sponsored by:	Rubicon Communications (Netgate)

Modified:
  head/sys/boot/fdt/dts/arm/beaglebone-black.dts

Modified: head/sys/boot/fdt/dts/arm/beaglebone-black.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/beaglebone-black.dts	Wed Mar 30 17:05:04 2016	(r297424)
+++ head/sys/boot/fdt/dts/arm/beaglebone-black.dts	Wed Mar 30 17:18:49 2016	(r297425)
@@ -33,15 +33,8 @@
 &am33xx_pinmux {
 	i2c1_pins: pinmux_i2c1_pins {
 		pinctrl-single,pins = <
-			0x158 (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_d1.i2c1_sda */
-			0x15c (PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_cs0.i2c1_scl */
-		>;
-	};
-
-	i2c2_pins: pinmux_i2c2_pins {
-		pinctrl-single,pins = <
-			0x178 (PIN_INPUT_PULLUP | MUX_MODE3)	/* uart1_ctsn.i2c2_sda */
-			0x17c (PIN_INPUT_PULLUP | MUX_MODE3)	/* uart1_rtsn.i2c2_scl */
+			AM33XX_IOPAD(0x958, PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_d1.i2c1_sda */
+			AM33XX_IOPAD(0x95c, PIN_INPUT_PULLUP | MUX_MODE2)	/* spi0_cs0.i2c1_scl */
 		>;
 	};
 };



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