aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/dts
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-12-03 19:45:02 +0200
committerBin Meng <bmeng.cn@gmail.com>2020-12-16 13:51:24 +0800
commitf89e8acbc81ee6d9e57f0156c3ee6de44528c8b7 (patch)
treea75f202de4cf30c2ee83904856d689d8865383cb /arch/x86/dts
parent23cdbba8b199f2f35c28e40dbb59a5e935dbbae9 (diff)
downloadu-boot-f89e8acbc81ee6d9e57f0156c3ee6de44528c8b7.zip
u-boot-f89e8acbc81ee6d9e57f0156c3ee6de44528c8b7.tar.gz
u-boot-f89e8acbc81ee6d9e57f0156c3ee6de44528c8b7.tar.bz2
x86: edison: Switch to DM_USB_GADGET
DM is the modern default approach for the drivers in U-Boot. It also allows to configure code via Device Tree. Move Intel Edison to use DM_USB_GADGET and drop hard coded values. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/dts')
-rw-r--r--arch/x86/dts/edison.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/dts/edison.dts b/arch/x86/dts/edison.dts
index 600d6d2..8d245bf 100644
--- a/arch/x86/dts/edison.dts
+++ b/arch/x86/dts/edison.dts
@@ -107,6 +107,14 @@
usb: usb@f9100000 {
compatible = "intel,tangier-dwc3";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ dwc3: dwc3 {
+ reg = <0xf9100000 0x100000>;
+ maximum-speed = "high-speed";
+ dr_mode = "peripheral";
+ };
};
watchdog: wdt@0 {