Commit c4e4481a authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

dts records for usb

parent 2ad53514
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; reg = <0x0 0x40000000>;
} ; } ;
ps7_axi_interconnect_0: amba@0 { ps7_axi_interconnect_0: amba@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -450,12 +451,13 @@ ...@@ -450,12 +451,13 @@
} ; } ;
ps7_usb_0: ps7-usb@e0002000 { ps7_usb_0: ps7-usb@e0002000 {
clocks = <&clkc 28>; clocks = <&clkc 28>;
compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2", "xlnx,ps7-usb-1.00.a", "xlnx,zynq-usb-1.00.a"; compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
reg = <0xe0002000 0x1000>; reg = <0xe0002000 0x1000>;
interrupt-parent = <&ps7_scugic_0>; interrupt-parent = <&ps7_scugic_0>;
interrupts = <0 21 4>; interrupts = <0 21 4>;
dr_mode = "host"; dr_mode = "host";
phy_type = "ulpi"; phy_type = "ulpi";
usb-phy = <&usb_phy0>;
} ; } ;
ps7_xadc: ps7-xadc@f8007100 { ps7_xadc: ps7-xadc@f8007100 {
clocks = <&clkc 12>; clocks = <&clkc 12>;
...@@ -473,6 +475,14 @@ ...@@ -473,6 +475,14 @@
fb_offs = <0xc00>; fb_offs = <0xc00>;
}; };
} ; } ;
usb_phy0: phy0{
compatible = "ulpi-phy";
#phy-cells = <0>;
reg = <0xe0002000 0x1000>;
view-port = <0x170>;
} ;
elphel393_pwr: elphel393-pwr@0 { elphel393_pwr: elphel393-pwr@0 {
compatible = "elphel,elphel393-pwr-1.00"; compatible = "elphel,elphel393-pwr-1.00";
elphel393_pwr,simulate= <0>; elphel393_pwr,simulate= <0>;
......
...@@ -456,6 +456,7 @@ ...@@ -456,6 +456,7 @@
interrupts = <0 21 4>; interrupts = <0 21 4>;
dr_mode = "host"; dr_mode = "host";
phy_type = "ulpi"; phy_type = "ulpi";
usb-phy = <&usb_phy0>;
} ; } ;
ps7_xadc: ps7-xadc@f8007100 { ps7_xadc: ps7-xadc@f8007100 {
clocks = <&clkc 12>; clocks = <&clkc 12>;
...@@ -473,6 +474,14 @@ ...@@ -473,6 +474,14 @@
fb_offs = <0xc00>; fb_offs = <0xc00>;
}; };
} ; } ;
usb_phy0: phy0{
compatible = "ulpi-phy";
#phy-cells = <0>;
reg = <0xe0002000 0x1000>;
view-port = <0x170>;
} ;
elphel393_pwr: elphel393-pwr@0 { elphel393_pwr: elphel393-pwr@0 {
compatible = "elphel,elphel393-pwr-1.00"; compatible = "elphel,elphel393-pwr-1.00";
elphel393_pwr,simulate= <0>; elphel393_pwr,simulate= <0>;
......
...@@ -456,6 +456,7 @@ ...@@ -456,6 +456,7 @@
interrupts = <0 21 4>; interrupts = <0 21 4>;
dr_mode = "host"; dr_mode = "host";
phy_type = "ulpi"; phy_type = "ulpi";
usb-phy = <&usb_phy0>;
} ; } ;
ps7_xadc: ps7-xadc@f8007100 { ps7_xadc: ps7-xadc@f8007100 {
clocks = <&clkc 12>; clocks = <&clkc 12>;
...@@ -473,6 +474,14 @@ ...@@ -473,6 +474,14 @@
fb_offs = <0xc00>; fb_offs = <0xc00>;
}; };
} ; } ;
usb_phy0: phy0{
compatible = "ulpi-phy";
#phy-cells = <0>;
reg = <0xe0002000 0x1000>;
view-port = <0x170>;
} ;
elphel393_pwr: elphel393-pwr@0 { elphel393_pwr: elphel393-pwr@0 {
compatible = "elphel,elphel393-pwr-1.00"; compatible = "elphel,elphel393-pwr-1.00";
elphel393_pwr,simulate= <0>; elphel393_pwr,simulate= <0>;
......
...@@ -48,4 +48,13 @@ CONFIG_SENSORS_JC42=y ...@@ -48,4 +48,13 @@ CONFIG_SENSORS_JC42=y
#CONFIG_ELPHEL393_INIT=n #CONFIG_ELPHEL393_INIT=n
CONFIG_ATAGS=n CONFIG_ATAGS=n
\ No newline at end of file
CONFIG_USB_ULPI=y
CONFIG_USB_ULPI_VIEWPORT=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_USB_CHIPIDEA_DEBUG=n
CONFIG_USB_GPIO_VBUS=n
CONFIG_USB_OTG=n
CONFIG_USB_GADGET=n
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment