diff options
author | Marek Vasut <marex@denx.de> | 2015-12-05 18:24:22 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-12-20 02:36:51 (GMT) |
commit | 225217da2804d1c61725e2974262bd2f27882cd7 (patch) | |
tree | 5e74634ae81713d9158206e50a37a5cfc6dd3ee9 /arch/arm | |
parent | 9368aa6a680f150755a233be9f97956bba5a915e (diff) | |
download | u-boot-fsl-qoriq-225217da2804d1c61725e2974262bd2f27882cd7.tar.xz |
arm: socfpga: sockit: Probe DWC2 UDC from OF instead of hard-coded data
This patch adds the necessary OF alias for the UDC node, which let's
the code locate the DWC2 UDC base address in OF instead of hard-coding
it into the U-Boot binary. The code is adjusted to use the address from
OF instead of the hard-coded one. Finally, the hard-coded address is
removed and USB DM support is enabled.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Lukasz Majewski <l.majewski@majess.pl>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/socfpga_cyclone5_sockit.dts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_sockit.dts b/arch/arm/dts/socfpga_cyclone5_sockit.dts index d7c41c8..e45c2ab 100644 --- a/arch/arm/dts/socfpga_cyclone5_sockit.dts +++ b/arch/arm/dts/socfpga_cyclone5_sockit.dts @@ -14,9 +14,10 @@ bootargs = "console=ttyS0,115200"; }; - aliases { + aliases { ethernet0 = &gmac1; - }; + udc0 = &usb1; + }; memory { name = "memory"; @@ -90,3 +91,7 @@ tslch-ns = <4>; }; }; + +&usb1 { + status = "okay"; +}; |