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:
Yannis Damigos 2018-07-20 20:06:24 +03:00 committed by Kumar Gala
commit a2e7477c8a
5 changed files with 14 additions and 0 deletions

View file

@ -199,6 +199,7 @@
interrupt-names = "otgfs";
num-bidir-endpoints = <4>;
ram-size = <1280>;
maximum-speed = "full-speed";
status = "disabled";
label= "OTGFS";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -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";
};

View file

@ -5,3 +5,11 @@
*/
#include <st/f7/stm32f7.dtsi>
/ {
soc {
usbotg_hs: usb@40040000 {
maximum-speed = "high-speed";
};
};
};