2018-03-06 00:45:09 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Philémon Jaermann
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2018-09-27 21:23:16 +08:00
|
|
|
#include <st/f4/stm32f401.dtsi>
|
2018-03-06 00:45:09 +08:00
|
|
|
|
2018-06-19 14:22:20 +08:00
|
|
|
/ {
|
|
|
|
soc {
|
|
|
|
usbotg_fs: usb@50000000 {
|
|
|
|
num-bidir-endpoints = <6>;
|
|
|
|
};
|
2018-07-07 22:34:35 +08:00
|
|
|
|
|
|
|
usbotg_hs: usb@40040000 {
|
|
|
|
compatible = "st,stm32-otghs", "st,stm32-otgfs";
|
|
|
|
reg = <0x40040000 0x40000>;
|
|
|
|
interrupts = <77 0>, <74 0>, <75 0>;
|
|
|
|
interrupt-names = "otghs", "ep1_out", "ep1_in";
|
|
|
|
num-bidir-endpoints = <9>;
|
|
|
|
ram-size = <4096>;
|
2018-07-21 01:06:24 +08:00
|
|
|
maximum-speed = "full-speed";
|
2018-10-03 22:19:59 +08:00
|
|
|
phys = <&otghs_fs_phy>;
|
2018-07-07 22:34:35 +08:00
|
|
|
status = "disabled";
|
|
|
|
label= "OTGHS";
|
|
|
|
};
|
2018-06-19 14:22:20 +08:00
|
|
|
};
|
2018-12-14 02:38:33 +08:00
|
|
|
|
|
|
|
otghs_fs_phy: otghs_fs_phy {
|
|
|
|
compatible = "usb-nop-xceiv";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
label = "OTGHS_FS_PHY";
|
|
|
|
};
|
2018-06-19 14:22:20 +08:00
|
|
|
};
|