diff options
author | Tony Lindgren <tony@atomide.com> | 2015-12-03 12:02:32 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-12-09 16:53:46 -0800 |
commit | 9621557fc31f5e42f026217d67db023ebfe903c9 (patch) | |
tree | 773328a5b52e32aca1f34336ad300528fd73dd3e /arch/arm/boot/dts/dm814x.dtsi | |
parent | 3a91b0616a97c1cdfc5955082c5999663defd54e (diff) | |
download | talos-op-linux-9621557fc31f5e42f026217d67db023ebfe903c9.tar.gz talos-op-linux-9621557fc31f5e42f026217d67db023ebfe903c9.zip |
ARM: dts: Fix dm814x pinctrl address and mask
Otherwise pinctrl won't work. Because of silicon errata for some dm814x
versions, let's also keep bit 18 out of the function-mask and rely on
the bootloader configuration for bit 18 as suggested by
Matthijs van Duin <matthijsvanduin@gmail.com>.
Devices with that need to use bit 18 can override the function-mask in
the board specific dts file if really needed.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/dm814x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/dm814x.dtsi | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi index 68b156b52003..09a8d88bde23 100644 --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -205,13 +205,21 @@ }; }; + /* + * Note that silicon revision 2.1 and older + * require input enabled (bit 18 set) for all + * 3.3V I/Os to avoid cumulative hardware damage. + * For more info, see errata advisory 2.1.87. + * We leave bit 18 out of function-mask and rely + * on the bootloader for it. + */ pincntl: pinmux@800 { compatible = "pinctrl-single"; - reg = <0x800 0xc38>; + reg = <0x800 0x438>; #address-cells = <1>; #size-cells = <0>; pinctrl-single,register-width = <32>; - pinctrl-single,function-mask = <0x300ff>; + pinctrl-single,function-mask = <0x307ff>; }; }; |