ARM: dts: am3517-craneboard: Use OMAP3_CORE1_IOPAD pinmux macro
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 13 Nov 2015 04:53:53 +0000 (01:53 -0300)
committerTony Lindgren <tony@atomide.com>
Mon, 30 Nov 2015 16:43:24 +0000 (08:43 -0800)
Use the pinmux IOPAD macro to define the register absolute physical
address instead of the offset from the padconf base address. 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/am3517-craneboard.dts

index 2d40b3f..cb7de1d 100644 (file)
@@ -77,7 +77,7 @@
 &omap3_pmx_core {
        tps_pins: pinmux_tps_pins {
                pinctrl-single,pins = <
-                       0x1b0 (PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq.sys_nirq */
+                       OMAP3_CORE1_IOPAD(0x21e0, PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq.sys_nirq */
                >;
        };
 };