diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-11-13 01:54:14 -0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-11-30 08:43:31 -0800 |
commit | 56ed5665ebde995210d4a7f7a0ba7d1d67bc82f7 (patch) | |
tree | 298fe87e4030deb1bd89113c70595944f83e51b3 /arch/arm/boot/dts/twl6030_omap4.dtsi | |
parent | ed04b3747ceabdabf6f808e7a1f878d727ce6478 (diff) | |
download | lwn-56ed5665ebde995210d4a7f7a0ba7d1d67bc82f7.tar.gz lwn-56ed5665ebde995210d4a7f7a0ba7d1d67bc82f7.zip |
ARM: dts: twl6030: Use OMAP4_IOPAD pinmux macro
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>
Diffstat (limited to 'arch/arm/boot/dts/twl6030_omap4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/twl6030_omap4.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/twl6030_omap4.dtsi b/arch/arm/boot/dts/twl6030_omap4.dtsi index a4fa5703c42b..e373f59cea9c 100644 --- a/arch/arm/boot/dts/twl6030_omap4.dtsi +++ b/arch/arm/boot/dts/twl6030_omap4.dtsi @@ -24,7 +24,7 @@ &omap4_pmx_wkup { twl6030_wkup_pins: pinmux_twl6030_wkup_pins { pinctrl-single,pins = < - 0x14 (PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ + OMAP4_IOPAD(0x054, PIN_OUTPUT | MUX_MODE2) /* fref_clk0_out.sys_drm_msecure */ >; }; }; @@ -32,7 +32,7 @@ &omap4_pmx_core { twl6030_pins: pinmux_twl6030_pins { pinctrl-single,pins = < - 0x15e (WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ + OMAP4_IOPAD(0x19e, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE0) /* sys_nirq1.sys_nirq1 */ >; }; }; |