diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-26 18:34:01 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-28 02:21:01 +0900 |
commit | 149c751dc7958f3db99203e49208198aa40811b3 (patch) | |
tree | 81dd4430f3367fcc52a82d495f11a931d44231ee /arch/arm/dts/uniphier-ph1-pro4.dtsi | |
parent | 625177d27ed9e91cb96c0221b8020f7e4d24bfb6 (diff) |
usb: UniPhier: support OF configuration
If CONFIG_OF_CONTROL is defined, search device tree nodes that are
compatible with "panasonic,uniphier-ehci" and take the base address
from their "reg" property.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/dts/uniphier-ph1-pro4.dtsi')
-rw-r--r-- | arch/arm/dts/uniphier-ph1-pro4.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/uniphier-ph1-pro4.dtsi b/arch/arm/dts/uniphier-ph1-pro4.dtsi index b53fbc5161..dd84269d1a 100644 --- a/arch/arm/dts/uniphier-ph1-pro4.dtsi +++ b/arch/arm/dts/uniphier-ph1-pro4.dtsi @@ -62,5 +62,17 @@ reg = <0x54006b00 0x20>; clock-frequency = <73728000>; }; + + usb0: usb@5a800100 { + compatible = "panasonic,uniphier-ehci", "usb-ehci"; + status = "disabled"; + reg = <0x5a800100 0x100>; + }; + + usb1: usb@5a810100 { + compatible = "panasonic,uniphier-ehci", "usb-ehci"; + status = "disabled"; + reg = <0x5a810100 0x100>; + }; }; }; |