Skip to content

Commit d6d5cd5

Browse files
xhackerustcxry111
authored andcommitted
XUANTIE: riscv: dts: thead: Add TH1520 USB nodes
From: revyos@2bd7874 Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
1 parent 4f8fb3f commit d6d5cd5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

arch/riscv/boot/dts/thead/th1520.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,29 @@
660660
#pwm-cells = <3>;
661661
};
662662

663+
misc_sysreg: misc_sysreg@ffec02c000 {
664+
compatible = "thead,th1520-misc-sysreg", "syscon";
665+
reg = <0xff 0xec02c000 0x0 0x1000>;
666+
};
667+
668+
usb: usb@ffec03f000 {
669+
compatible = "thead,th1520-usb";
670+
reg = <0xff 0xec03f000 0x0 0x1000>;
671+
thead,misc-sysreg = <&misc_sysreg>;
672+
#address-cells = <2>;
673+
#size-cells = <2>;
674+
ranges;
675+
676+
usb_dwc3: usb@ffe7040000 {
677+
compatible = "snps,dwc3";
678+
reg = <0xff 0xe7040000 0x0 0x10000>;
679+
interrupts = <68 IRQ_TYPE_LEVEL_HIGH>;
680+
dr_mode = "host";
681+
snps,usb3_lpm_capable;
682+
status = "disabled";
683+
};
684+
};
685+
663686
dmac0: dma-controller@ffefc00000 {
664687
compatible = "snps,axi-dma-1.01a";
665688
reg = <0xff 0xefc00000 0x0 0x1000>;

0 commit comments

Comments
 (0)