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