Skip to content

Instantly share code, notes, and snippets.

@oczkers
Created July 25, 2017 21:29
Show Gist options
  • Save oczkers/c1d1f2d4456d1b0fb2c8cf1cf117cd06 to your computer and use it in GitHub Desktop.
Save oczkers/c1d1f2d4456d1b0fb2c8cf1cf117cd06 to your computer and use it in GitHub Desktop.
usb dts
dwc3@c9000000 {
compatible = "synopsys, dwc3";
reg = <0x0 0xc9000000 0x0 0x100000>;
interrupts = <0x0 0x1e 0x4>;
usb-phy = <0x5a 0x5b>;
cpu-type = "gxl";
clock-src = "usb3.0";
};
usb2phy@d0078000 {
compatible = "amlogic, amlogic-new-usb2";
portnum = <0x2>;
reg = <0x0 0xd0078000 0x0 0x80>;
linux,phandle = <0x5a>;
phandle = <0x5a>;
};
usb3phy@d0078080 {
compatible = "amlogic, amlogic-new-usb3";
portnum = <0x0>;
reg = <0x0 0xd0078080 0x0 0x20>;
linux,phandle = <0x5b>;
phandle = <0x5b>;
};
dwc2_a {
compatible = "amlogic,dwc2";
device_name = "dwc2_a";
reg = <0x0 0xc9100000 0x0 0x40000>;
status = "okay";
interrupts = <0x0 0x1f 0x4>;
pl-periph-id = <0x0>;
clock-src = "usb0";
port-id = <0x0>;
port-type = <0x2>;
port-speed = <0x0>;
port-config = <0x0>;
port-dma = <0x0>;
port-id-mode = <0x0>;
usb-fifo = <0x2d8>;
cpu-type = "gxl";
controller-type = <0x1>;
phy-reg = <0xd0078000>;
phy-reg-size = <0xa0>;
resets = <0x8 0x3a 0x8 0x48 0x8 0x36>;
reset-names = "usb_general", "usb1", "usb1_to_ddr";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment