ARM: dts: omap5-uevm.dts: Use OMAP5_IOPAD pinmux macro
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 13 Nov 2015 04:54:17 +0000 (01:54 -0300)
committerTony Lindgren <tony@atomide.com>
Mon, 30 Nov 2015 16:43:32 +0000 (08:43 -0800)
Use the pinmux IOPAD macros to define the register as an offset from
the padconf physical address instead of the offset from padconf base.
This makes the DTS easier to read since matches the addresses listed
in the Technical Reference Manual.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5-uevm.dts

index 05b1c1ebded8d1305f053427cb8e482d5ef6c00e..60b3fbb3bf07ad384182e951e1329ca46a8cf1ab 100644 (file)
@@ -40,8 +40,8 @@
 &omap5_pmx_core {
        i2c5_pins: pinmux_i2c5_pins {
                pinctrl-single,pins = <
-                       0x186 (PIN_INPUT | MUX_MODE0)           /* i2c5_scl */
-                       0x188 (PIN_INPUT | MUX_MODE0)           /* i2c5_sda */
+                       OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0)               /* i2c5_scl */
+                       OMAP5_IOPAD(0x1c8, PIN_INPUT | MUX_MODE0)               /* i2c5_sda */
                >;
        };
 };