dts: st: Add USB PHY nodes

Add USB phy nodes and phys property in USB nodes.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2018-10-03 17:19:59 +03:00 committed by Kumar Gala
commit 542e6ac823
16 changed files with 123 additions and 0 deletions

View file

@ -19,6 +19,12 @@
label = "SPI_2";
};
usb_fs_phy: usbphy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "USB_FS_PHY";
};
usb: usb@40005c00 {
compatible = "st,stm32-usb";
reg = <0x40005c00 0x400>;
@ -26,6 +32,7 @@
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <1024>;
phys = <&usb_fs_phy>;
status = "disabled";
label= "USB";
};

View file

@ -47,6 +47,12 @@
label = "SPI_2";
};
usb_fs_phy: usbphy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "USB_FS_PHY";
};
usb: usb@40005c00 {
compatible = "st,stm32-usb";
reg = <0x40005c00 0x400>;
@ -54,6 +60,7 @@
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <1024>;
phys = <&usb_fs_phy>;
status = "disabled";
label= "USB";
};

View file

@ -31,6 +31,12 @@
label = "SPI_2";
};
usb_fs_phy: usbphy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "USB_FS_PHY";
};
usb: usb@40005c00 {
compatible = "st,stm32-usb";
reg = <0x40005c00 0x400>;
@ -39,6 +45,7 @@
num-bidir-endpoints = <8>;
ram-size = <512>;
status = "disabled";
phys = <&usb_fs_phy>;
label= "USB";
};
};

View file

@ -33,6 +33,12 @@
label = "SPI_2";
};
usb_fs_phy: usbphy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "USB_FS_PHY";
};
usb: usb@40005c00 {
compatible = "st,stm32-usb";
reg = <0x40005c00 0x400>;
@ -40,6 +46,7 @@
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <512>;
phys = <&usb_fs_phy>;
status = "disabled";
label= "USB";
};

View file

@ -194,6 +194,12 @@
label = "UART_5";
};
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usbotg_fs: usb@50000000 {
compatible = "st,stm32-otgfs";
reg = <0x50000000 0x40000>;
@ -202,6 +208,7 @@
num-bidir-endpoints = <4>;
ram-size = <1280>;
maximum-speed = "full-speed";
phys = <&otgfs_phy>;
status = "disabled";
label = "OTGFS";
};

View file

@ -154,6 +154,12 @@
label = "SPI_1";
};
usb_fs_phy: usbphy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "USB_FS_PHY";
};
usb: usb@40005c00 {
compatible = "st,stm32-usb";
reg = <0x40005c00 0x400>;
@ -161,6 +167,7 @@
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <512>;
phys = <&usb_fs_phy>;
status = "disabled";
label= "USB";
};

View file

@ -201,6 +201,12 @@
label = "I2S_1";
};
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usbotg_fs: usb@50000000 {
compatible = "st,stm32-otgfs";
reg = <0x50000000 0x40000>;
@ -209,6 +215,7 @@
num-bidir-endpoints = <4>;
ram-size = <1280>;
maximum-speed = "full-speed";
phys = <&otgfs_phy>;
status = "disabled";
label= "OTGFS";
};

View file

@ -163,6 +163,12 @@
};
};
otghs_fs_phy: otghs_fs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGHS_FS_PHY";
};
usbotg_hs: usb@40040000 {
compatible = "st,stm32-otghs", "st,stm32-otgfs";
reg = <0x40040000 0x40000>;
@ -171,6 +177,7 @@
num-bidir-endpoints = <6>;
ram-size = <4096>;
maximum-speed = "full-speed";
phys = <&otghs_fs_phy>;
status = "disabled";
label= "OTGHS";
};

View file

@ -12,6 +12,12 @@
num-bidir-endpoints = <6>;
};
otghs_fs_phy: otghs_fs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGHS_FS_PHY";
};
usbotg_hs: usb@40040000 {
compatible = "st,stm32-otghs", "st,stm32-otgfs";
reg = <0x40040000 0x40000>;
@ -20,6 +26,7 @@
num-bidir-endpoints = <9>;
ram-size = <4096>;
maximum-speed = "full-speed";
phys = <&otghs_fs_phy>;
status = "disabled";
label= "OTGHS";
};

View file

@ -531,6 +531,12 @@
};
};
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usbotg_fs: usb@50000000 {
compatible = "st,stm32-otgfs";
reg = <0x50000000 0x40000>;
@ -539,10 +545,17 @@
num-bidir-endpoints = <6>;
ram-size = <1280>;
maximum-speed = "full-speed";
phys = <&otgfs_phy>;
status = "disabled";
label = "OTGFS";
};
otghs_fs_phy: otghs_fs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGHS_FS_PHY";
};
usbotg_hs: usb@40040000 {
compatible = "st,stm32-otghs", "st,stm32-otgfs";
reg = <0x40040000 0x40000>;
@ -551,6 +564,7 @@
num-bidir-endpoints = <9>;
ram-size = <4096>;
maximum-speed = "full-speed";
phys = <&otghs_fs_phy>;
status = "disabled";
label= "OTGHS";
};

View file

@ -8,8 +8,19 @@
/ {
soc {
usbphyc: usbphyc@40017c00 {
compatible = "st,stm32-usbphyc";
reg = <0x40017c00 0x400>;
#phy-cells = <0>;
label = "USBPHYC";
};
usbotg_hs: usb@40040000 {
phys = <&usbphyc>;
maximum-speed = "high-speed";
};
};
};
/delete-node/ &otghs_fs_phy;

View file

@ -57,6 +57,12 @@
label = "SPI_2";
};
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usb: usb@40005c00 {
compatible = "st,stm32-usb";
reg = <0x40005c00 0x400>;
@ -64,6 +70,7 @@
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <1024>;
phys = <&otgfs_phy>;
status = "disabled";
label= "USB";
};

View file

@ -56,6 +56,12 @@
label = "SPI_2";
};
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usb: usb@40005c00 {
compatible = "st,stm32-usb";
reg = <0x40005c00 0x400>;
@ -63,6 +69,7 @@
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <1024>;
phys = <&otgfs_phy>;
status = "disabled";
label= "USB";
};

View file

@ -8,6 +8,12 @@
/ {
soc {
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usb: usb@40006800 {
compatible = "st,stm32-usb";
reg = <0x40006800 0x40000>;
@ -15,6 +21,7 @@
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <1024>;
phys = <&otgfs_phy>;
status = "disabled";
label = "USB";
};

View file

@ -89,6 +89,12 @@
label = "SPI_3";
};
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usbotg_fs: otgfs@50000000 {
compatible = "st,stm32-otgfs";
reg = <0x50000000 0x40000>;
@ -97,6 +103,7 @@
num-bidir-endpoints = <6>;
ram-size = <1280>;
maximum-speed = "full-speed";
phys = <&otgfs_phy>;
status = "disabled";
label= "OTGFS";
};

View file

@ -98,6 +98,12 @@
label = "SPI_3";
};
otgfs_phy: otgfs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
label = "OTGFS_PHY";
};
usbotg_fs: otgfs@50000000 {
compatible = "st,stm32-otgfs";
reg = <0x50000000 0x40000>;
@ -106,6 +112,7 @@
num-bidir-endpoints = <6>;
ram-size = <1280>;
maximum-speed = "full-speed";
phys = <&otgfs_phy>;
status = "disabled";
label= "OTGFS";
};