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 */
                >;
        };
 };
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to