xref: /freebsd/sys/contrib/device-tree/src/arm64/broadcom/stingray/stingray-usb.dtsi (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2/*
3 *Copyright(c) 2018 Broadcom
4 */
5	usb {
6		compatible = "simple-bus";
7		#address-cells = <2>;
8		#size-cells = <2>;
9		ranges = <0x0 0x0 0x0 0x68500000 0x0 0x00400000>;
10
11		/*
12		 * Internally, USB bus to the interconnect can only address up
13		 * to 40-bit
14		 */
15		dma-ranges = <0 0 0 0 0x100 0x0>;
16
17		usbphy0: usb-phy@0 {
18			compatible = "brcm,sr-usb-combo-phy";
19			reg = <0x0 0x00000000 0x0 0x100>;
20			#phy-cells = <1>;
21			status = "disabled";
22		};
23
24		xhci0: usb@1000 {
25			compatible = "generic-xhci";
26			reg = <0x0 0x00001000 0x0 0x1000>;
27			interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
28			phys = <&usbphy0 1>, <&usbphy0 0>;
29			phy-names = "phy0", "phy1";
30			dma-coherent;
31			status = "disabled";
32		};
33
34		bdc0: usb@2000 {
35			compatible = "brcm,bdc-v0.16";
36			reg = <0x0 0x00002000 0x0 0x1000>;
37			interrupts = <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>;
38			phys = <&usbphy0 0>, <&usbphy0 1>;
39			phy-names = "phy0", "phy1";
40			dma-coherent;
41			status = "disabled";
42		};
43
44		usbphy1: usb-phy@10000 {
45			compatible = "brcm,sr-usb-combo-phy";
46			reg = <0x0 0x00010000 0x0 0x100>;
47			#phy-cells = <1>;
48			status = "disabled";
49		};
50
51		usbphy2: usb-phy@20000 {
52			compatible = "brcm,sr-usb-hs-phy";
53			reg = <0x0 0x00020000 0x0 0x100>;
54			#phy-cells = <0>;
55			status = "disabled";
56		};
57
58		xhci1: usb@11000 {
59			compatible = "generic-xhci";
60			reg = <0x0 0x00011000 0x0 0x1000>;
61			interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
62			phys = <&usbphy1 1>, <&usbphy2>, <&usbphy1 0>;
63			phy-names = "phy0", "phy1", "phy2";
64			dma-coherent;
65			status = "disabled";
66		};
67
68		bdc1: usb@21000 {
69			compatible = "brcm,bdc-v0.16";
70			reg = <0x0 0x00021000 0x0 0x1000>;
71			interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
72			phys = <&usbphy2>;
73			phy-names = "phy0";
74			dma-coherent;
75			status = "disabled";
76		};
77	};
78