summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-bonegreen.dts
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2015-11-13 01:53:43 -0300
committerTony Lindgren <tony@atomide.com>2015-11-30 08:43:20 -0800
commitf5ea9398f23207645d7e821ad62b29c6701837c8 (patch)
tree4a75784922cf2416e871ccd586f1b5171c066372 /arch/arm/boot/dts/am335x-bonegreen.dts
parente03b2a26d6bf93d1631aa36985892877986ee7b9 (diff)
downloadtalos-obmc-linux-f5ea9398f23207645d7e821ad62b29c6701837c8.tar.gz
talos-obmc-linux-f5ea9398f23207645d7e821ad62b29c6701837c8.zip
ARM: dts: am335x-bonegreen: Use AM33XX_IOPAD pinmux macro
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>
Diffstat (limited to 'arch/arm/boot/dts/am335x-bonegreen.dts')
-rw-r--r--arch/arm/boot/dts/am335x-bonegreen.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-bonegreen.dts b/arch/arm/boot/dts/am335x-bonegreen.dts
index 0f65bdaaa583..dce3c8657e04 100644
--- a/arch/arm/boot/dts/am335x-bonegreen.dts
+++ b/arch/arm/boot/dts/am335x-bonegreen.dts
@@ -36,8 +36,8 @@
&am33xx_pinmux {
uart2_pins: uart2_pins {
pinctrl-single,pins = <
- 0x150 (PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */
- 0x154 (PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */
+ AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */
+ AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */
>;
};
};
OpenPOWER on IntegriCloud