|
14 | 14 | #include <dt-bindings/clock/mt8173-clk.h>
|
15 | 15 | #include <dt-bindings/interrupt-controller/irq.h>
|
16 | 16 | #include <dt-bindings/interrupt-controller/arm-gic.h>
|
| 17 | +#include <dt-bindings/phy/phy.h> |
17 | 18 | #include <dt-bindings/power/mt8173-power.h>
|
18 | 19 | #include <dt-bindings/reset-controller/mt8173-resets.h>
|
19 | 20 | #include "mt8173-pinfunc.h"
|
|
510 | 511 | status = "disabled";
|
511 | 512 | };
|
512 | 513 |
|
| 514 | + usb30: usb@11270000 { |
| 515 | + compatible = "mediatek,mt8173-xhci"; |
| 516 | + reg = <0 0x11270000 0 0x1000>, |
| 517 | + <0 0x11280700 0 0x0100>; |
| 518 | + interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_LOW>; |
| 519 | + power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>; |
| 520 | + clocks = <&topckgen CLK_TOP_USB30_SEL>, |
| 521 | + <&pericfg CLK_PERI_USB0>, |
| 522 | + <&pericfg CLK_PERI_USB1>; |
| 523 | + clock-names = "sys_ck", |
| 524 | + "wakeup_deb_p0", |
| 525 | + "wakeup_deb_p1"; |
| 526 | + phys = <&phy_port0 PHY_TYPE_USB3>, |
| 527 | + <&phy_port1 PHY_TYPE_USB2>; |
| 528 | + mediatek,syscon-wakeup = <&pericfg>; |
| 529 | + status = "okay"; |
| 530 | + }; |
| 531 | + |
| 532 | + u3phy: usb-phy@11290000 { |
| 533 | + compatible = "mediatek,mt8173-u3phy"; |
| 534 | + reg = <0 0x11290000 0 0x800>; |
| 535 | + clocks = <&apmixedsys CLK_APMIXED_REF2USB_TX>; |
| 536 | + clock-names = "u3phya_ref"; |
| 537 | + #address-cells = <2>; |
| 538 | + #size-cells = <2>; |
| 539 | + ranges; |
| 540 | + status = "okay"; |
| 541 | + |
| 542 | + phy_port0: port@11290800 { |
| 543 | + reg = <0 0x11290800 0 0x800>; |
| 544 | + #phy-cells = <1>; |
| 545 | + status = "okay"; |
| 546 | + }; |
| 547 | + |
| 548 | + phy_port1: port@11291000 { |
| 549 | + reg = <0 0x11291000 0 0x800>; |
| 550 | + #phy-cells = <1>; |
| 551 | + status = "okay"; |
| 552 | + }; |
| 553 | + }; |
| 554 | + |
513 | 555 | mmsys: clock-controller@14000000 {
|
514 | 556 | compatible = "mediatek,mt8173-mmsys", "syscon";
|
515 | 557 | reg = <0 0x14000000 0 0x1000>;
|
|
0 commit comments