dts: st: Add maximum-speed property to usb nodes
Add maximum-speed property to usb nodes and set it to their maximum on-chip PHY capability. SoCs with USB device controllers only support full speed, so we don't add maximum-speed to these nodes. Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
parent
90fcdfabd2
commit
a2e7477c8a
5 changed files with 14 additions and 0 deletions
|
@ -199,6 +199,7 @@
|
|||
interrupt-names = "otgfs";
|
||||
num-bidir-endpoints = <4>;
|
||||
ram-size = <1280>;
|
||||
maximum-speed = "full-speed";
|
||||
status = "disabled";
|
||||
label= "OTGFS";
|
||||
};
|
||||
|
|
|
@ -173,6 +173,7 @@
|
|||
interrupt-names = "otghs", "ep1_out", "ep1_in";
|
||||
num-bidir-endpoints = <6>;
|
||||
ram-size = <4096>;
|
||||
maximum-speed = "full-speed";
|
||||
status = "disabled";
|
||||
label= "OTGHS";
|
||||
};
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
interrupt-names = "otghs", "ep1_out", "ep1_in";
|
||||
num-bidir-endpoints = <9>;
|
||||
ram-size = <4096>;
|
||||
maximum-speed = "full-speed";
|
||||
status = "disabled";
|
||||
label= "OTGHS";
|
||||
};
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <dt-bindings/clock/stm32_clock.h>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
|
@ -457,6 +458,7 @@
|
|||
interrupt-names = "otgfs";
|
||||
num-bidir-endpoints = <6>;
|
||||
ram-size = <1280>;
|
||||
maximum-speed = "full-speed";
|
||||
status = "disabled";
|
||||
label = "OTGFS";
|
||||
};
|
||||
|
@ -468,6 +470,7 @@
|
|||
interrupt-names = "otghs", "ep1_out", "ep1_in";
|
||||
num-bidir-endpoints = <9>;
|
||||
ram-size = <4096>;
|
||||
maximum-speed = "full-speed";
|
||||
status = "disabled";
|
||||
label= "OTGHS";
|
||||
};
|
||||
|
|
|
@ -5,3 +5,11 @@
|
|||
*/
|
||||
|
||||
#include <st/f7/stm32f7.dtsi>
|
||||
|
||||
/ {
|
||||
soc {
|
||||
usbotg_hs: usb@40040000 {
|
||||
maximum-speed = "high-speed";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue