diff options
author | Johan Hovold <johan@kernel.org> | 2018-05-25 10:25:07 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2018-05-25 14:38:58 +0200 |
commit | 43c78731e099ea805118fdcdac4b34525e722467 (patch) | |
tree | 14a69c8250a5cdca52e4bdaf9c361a6f14261277 | |
parent | 15b0deb69c0d2e4b6f3807eda98e015c40b70f84 (diff) | |
download | usb-serial-of.tar.gz |
dbg: ARM: dts: boneblack: add pinconfig for USB controllerusb-serial-of
Add pinconfig for controller in order to test device-tree node sharing.
The USB controller and root hub share the same node, but for musb the
node would also be shared with a so called glue device. This in turn
could cause problems when driver core did automatic setup during probe
(e.g. trying to claim the same pin twice).
This should now all have been fixed by:
4e75e1d7dac9 ("driver core: add helper to reuse a device-tree node")
ed032c1bede8 ("driver core: fix automatic pinctrl management")
2bf698671205 ("USB: of: fix root-hub device-tree node handling")
-rw-r--r-- | arch/arm/boot/dts/am335x-boneblack.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts index d5f4c78efa53d3..1b86fcc90066d9 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts @@ -27,7 +27,18 @@ }; }; +&am33xx_pinmux { + musb_dbg_pins: musb_dbg_pins { + pinctrl-single,pins = < + AM33XX_IOPAD(0x890, PIN_INPUT | MUX_MODE7) + >; + }; +}; + &usb1 { + pinctrl-names = "default"; + pinctrl-0 = <&musb_dbg_pins>; + #address-cells = <1>; #size-cells = <0>; |