Lines Matching +full:mt8173 +full:- +full:xhci

1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 #include <dt-bindings/interrupt-controller/mips-gic.h>
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/clock/mt7621-clk.h>
5 #include <dt-bindings/reset/mt7621-reset.h>
8 #address-cells = <1>;
9 #size-cells = <1>;
10 compatible = "mediatek,mt7621-soc";
13 #address-cells = <1>;
14 #size-cells = <0>;
30 #address-cells = <0>;
31 #interrupt-cells = <1>;
32 interrupt-controller;
33 compatible = "mti,cpu-interrupt-controller";
36 mmc_fixed_3v3: regulator-3v3 {
37 compatible = "regulator-fixed";
38 regulator-name = "mmc_power";
39 regulator-min-microvolt = <3300000>;
40 regulator-max-microvolt = <3300000>;
41 enable-active-high;
42 regulator-always-on;
45 mmc_fixed_1v8_io: regulator-1v8 {
46 compatible = "regulator-fixed";
47 regulator-name = "mmc_io";
48 regulator-min-microvolt = <1800000>;
49 regulator-max-microvolt = <1800000>;
50 enable-active-high;
51 regulator-always-on;
59 #address-cells = <1>;
60 #size-cells = <1>;
63 compatible = "mediatek,mt7621-sysc", "syscon";
65 #clock-cells = <1>;
66 #reset-cells = <1>;
68 clock-output-names = "xtal", "cpu", "bus",
74 compatible = "mediatek,mt7621-wdt";
80 #gpio-cells = <2>;
81 #interrupt-cells = <2>;
82 compatible = "mediatek,mt7621-gpio";
83 gpio-controller;
84 gpio-ranges = <&pinctrl 0 0 95>;
85 interrupt-controller;
87 interrupt-parent = <&gic>;
92 compatible = "mediatek,mt7621-i2c";
96 clock-names = "i2c";
98 reset-names = "i2c";
100 #address-cells = <1>;
101 #size-cells = <0>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&i2c_pins>;
109 memc: memory-controller@5000 {
110 compatible = "mediatek,mt7621-memc", "syscon";
120 interrupt-parent = <&gic>;
123 reg-shift = <2>;
124 reg-io-width = <4>;
125 no-loopback-test;
131 compatible = "ralink,mt7621-spi";
135 clock-names = "spi";
138 reset-names = "spi";
140 #address-cells = <1>;
141 #size-cells = <0>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&spi_pins>;
149 compatible = "ralink,mt7621-pinctrl";
151 i2c_pins: i2c0-pins {
158 spi_pins: spi0-pins {
165 uart1_pins: uart1-pins {
172 uart2_pins: uart2-pins {
179 uart3_pins: uart3-pins {
186 rgmii1_pins: rgmii1-pins {
193 rgmii2_pins: rgmii2-pins {
200 mdio_pins: mdio0-pins {
207 pcie_pins: pcie0-pins {
214 nand_pins: nand0-pins {
215 spi-pinmux {
220 sdhci-pinmux {
226 sdhci_pins: sdhci0-pins {
237 compatible = "mediatek,mt7620-mmc";
240 bus-width = <4>;
241 max-frequency = <48000000>;
242 cap-sd-highspeed;
243 cap-mmc-highspeed;
244 vmmc-supply = <&mmc_fixed_3v3>;
245 vqmmc-supply = <&mmc_fixed_1v8_io>;
246 disable-wp;
248 pinctrl-names = "default", "state_uhs";
249 pinctrl-0 = <&sdhci_pins>;
250 pinctrl-1 = <&sdhci_pins>;
254 clock-names = "source", "hclk";
256 interrupt-parent = <&gic>;
261 compatible = "mediatek,mt8173-xhci", "mediatek,mtk-xhci";
264 reg-names = "mac", "ippc";
267 clock-names = "sys_ck";
269 interrupt-parent = <&gic>;
273 gic: interrupt-controller@1fbc0000 {
277 interrupt-controller;
278 #interrupt-cells = <3>;
280 mti,reserved-cpu-vectors = <7>;
283 compatible = "mti,gic-timer";
290 compatible = "mti,mips-cpc";
295 compatible = "mti,mips-cdmm";
300 compatible = "mediatek,mt7621-eth";
305 clock-names = "fe", "ethif";
307 #address-cells = <1>;
308 #size-cells = <0>;
311 reset-names = "fe", "eth";
313 interrupt-parent = <&gic>;
318 pinctrl-names = "default";
319 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>, <&rgmii2_pins>;
322 compatible = "mediatek,eth-mac";
324 phy-mode = "trgmii";
326 fixed-link {
328 full-duplex;
334 compatible = "mediatek,eth-mac";
336 phy-mode = "rgmii";
338 fixed-link {
340 full-duplex;
345 mdio: mdio-bus {
346 #address-cells = <1>;
347 #size-cells = <0>;
354 reset-names = "mcm";
355 interrupt-controller;
356 #interrupt-cells = <1>;
360 #address-cells = <1>;
361 #size-cells = <0>;
396 phy-mode = "rgmii";
398 fixed-link {
400 full-duplex;
408 phy-mode = "trgmii";
410 fixed-link {
412 full-duplex;
422 compatible = "mediatek,mt7621-pci";
423 reg = <0x1e140000 0x100>, /* host-pci bridge registers */
427 #address-cells = <3>;
428 #size-cells = <2>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pcie_pins>;
438 #interrupt-cells = <1>;
439 interrupt-map-mask = <0xF800 0 0 0>;
440 interrupt-map = <0x0000 0 0 0 &gic GIC_SHARED 4 IRQ_TYPE_LEVEL_HIGH>,
446 reset-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
450 #address-cells = <3>;
451 #size-cells = <2>;
453 #interrupt-cells = <1>;
454 interrupt-map-mask = <0 0 0 0>;
455 interrupt-map = <0 0 0 0 &gic GIC_SHARED 4 IRQ_TYPE_LEVEL_HIGH>;
459 phy-names = "pcie-phy0";
465 #address-cells = <3>;
466 #size-cells = <2>;
468 #interrupt-cells = <1>;
469 interrupt-map-mask = <0 0 0 0>;
470 interrupt-map = <0 0 0 0 &gic GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH>;
474 phy-names = "pcie-phy1";
480 #address-cells = <3>;
481 #size-cells = <2>;
483 #interrupt-cells = <1>;
484 interrupt-map-mask = <0 0 0 0>;
485 interrupt-map = <0 0 0 0 &gic GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>;
489 phy-names = "pcie-phy2";
494 pcie0_phy: pcie-phy@1e149000 {
495 compatible = "mediatek,mt7621-pci-phy";
498 #phy-cells = <1>;
501 pcie2_phy: pcie-phy@1e14a000 {
502 compatible = "mediatek,mt7621-pci-phy";
505 #phy-cells = <1>;