diff options
author | Christina Quast <cquast@hanoverdisplays.com> | 2019-04-09 18:03:40 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-04-12 08:55:10 -0700 |
commit | e52a7204cdd3e49a6e609a6dc56593a091ad56eb (patch) | |
tree | 06da700ebc4cda46ec683afca398e3d11e1088cc | |
parent | 9faf08c2e677a391f23c09e22e00fdbce22ae5f9 (diff) | |
download | linux-e52a7204cdd3e49a6e609a6dc56593a091ad56eb.tar.gz |
ARM: dts: am335x: bonegreen-common: Replaced register offsets with defines
The defines are taken from dt-bindings/pinctrl/am33xx.h
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/boot/dts/am335x-bonegreen-common.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/am335x-bonegreen-common.dtsi b/arch/arm/boot/dts/am335x-bonegreen-common.dtsi index 853e6d3a028d..71317e372ec7 100644 --- a/arch/arm/boot/dts/am335x-bonegreen-common.dtsi +++ b/arch/arm/boot/dts/am335x-bonegreen-common.dtsi @@ -27,8 +27,8 @@ &am33xx_pinmux { uart2_pins: uart2_pins { pinctrl-single,pins = < - AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */ - AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */ + AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1) /* spi0_sclk.uart2_rxd */ + AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) /* spi0_d0.uart2_txd */ >; }; }; |