|
11 | 11 | #include <dt-bindings/interrupt-controller/apple-aic.h> |
12 | 12 | #include <dt-bindings/interrupt-controller/irq.h> |
13 | 13 | #include <dt-bindings/pinctrl/apple.h> |
| 14 | +#include <dt-bindings/phy/phy.h> |
14 | 15 | #include <dt-bindings/spmi/spmi.h> |
15 | 16 |
|
16 | 17 | / { |
|
1010 | 1011 | resets = <&ps_ans>; |
1011 | 1012 | }; |
1012 | 1013 |
|
| 1014 | + dwc3_0: usb@382280000 { |
| 1015 | + compatible = "apple,t8112-dwc3", "apple,t8103-dwc3"; |
| 1016 | + reg = <0x3 0x82280000 0x0 0xcd00>, <0x3 0x8228cd00 0x0 0x3200>; |
| 1017 | + reg-names = "dwc3-core", "dwc3-apple"; |
| 1018 | + interrupt-parent = <&aic>; |
| 1019 | + interrupts = <AIC_IRQ 1031 IRQ_TYPE_LEVEL_HIGH>; |
| 1020 | + dr_mode = "otg"; |
| 1021 | + usb-role-switch; |
| 1022 | + role-switch-default-mode = "host"; |
| 1023 | + iommus = <&dwc3_0_dart_0 0>, <&dwc3_0_dart_1 1>; |
| 1024 | + power-domains = <&ps_atc0_usb>; |
| 1025 | + resets = <&atcphy0>; |
| 1026 | + phys = <&atcphy0 PHY_TYPE_USB2>, <&atcphy0 PHY_TYPE_USB3>; |
| 1027 | + phy-names = "usb2-phy", "usb3-phy"; |
| 1028 | + }; |
| 1029 | + |
| 1030 | + dwc3_0_dart_0: iommu@382f00000 { |
| 1031 | + compatible = "apple,t8110-dart"; |
| 1032 | + reg = <0x3 0x82f00000 0x0 0x4000>; |
| 1033 | + interrupt-parent = <&aic>; |
| 1034 | + interrupts = <AIC_IRQ 1035 IRQ_TYPE_LEVEL_HIGH>; |
| 1035 | + #iommu-cells = <1>; |
| 1036 | + power-domains = <&ps_atc0_usb>; |
| 1037 | + }; |
| 1038 | + |
| 1039 | + dwc3_0_dart_1: iommu@382f80000 { |
| 1040 | + compatible = "apple,t8110-dart"; |
| 1041 | + reg = <0x3 0x82f80000 0x0 0x4000>; |
| 1042 | + interrupt-parent = <&aic>; |
| 1043 | + interrupts = <AIC_IRQ 1035 IRQ_TYPE_LEVEL_HIGH>; |
| 1044 | + #iommu-cells = <1>; |
| 1045 | + power-domains = <&ps_atc0_usb>; |
| 1046 | + }; |
| 1047 | + |
| 1048 | + atcphy0: phy@383000000 { |
| 1049 | + compatible = "apple,t8112-atcphy", "apple,t8103-atcphy"; |
| 1050 | + reg = <0x3 0x83000000 0x0 0x4c000>, |
| 1051 | + <0x3 0x83050000 0x0 0x8000>, |
| 1052 | + <0x3 0x80000000 0x0 0x4000>, |
| 1053 | + <0x3 0x82a90000 0x0 0x4000>, |
| 1054 | + <0x3 0x82a84000 0x0 0x4000>; |
| 1055 | + reg-names = "core", "lpdptx", "axi2af", "usb2phy", |
| 1056 | + "pipehandler"; |
| 1057 | + |
| 1058 | + #phy-cells = <1>; |
| 1059 | + #reset-cells = <0>; |
| 1060 | + |
| 1061 | + orientation-switch; |
| 1062 | + mode-switch; |
| 1063 | + power-domains = <&ps_atc0_usb>; |
| 1064 | + }; |
| 1065 | + |
| 1066 | + dwc3_1: usb@502280000 { |
| 1067 | + compatible = "apple,t8112-dwc3", "apple,t8103-dwc3"; |
| 1068 | + reg = <0x5 0x02280000 0x0 0xcd00>, <0x5 0x0228cd00 0x0 0x3200>; |
| 1069 | + reg-names = "dwc3-core", "dwc3-apple"; |
| 1070 | + interrupt-parent = <&aic>; |
| 1071 | + interrupts = <AIC_IRQ 1112 IRQ_TYPE_LEVEL_HIGH>; |
| 1072 | + dr_mode = "otg"; |
| 1073 | + usb-role-switch; |
| 1074 | + role-switch-default-mode = "host"; |
| 1075 | + iommus = <&dwc3_1_dart_0 0>, <&dwc3_1_dart_1 1>; |
| 1076 | + power-domains = <&ps_atc1_usb>; |
| 1077 | + resets = <&atcphy1>; |
| 1078 | + phys = <&atcphy1 PHY_TYPE_USB2>, <&atcphy1 PHY_TYPE_USB3>; |
| 1079 | + phy-names = "usb2-phy", "usb3-phy"; |
| 1080 | + }; |
| 1081 | + |
| 1082 | + dwc3_1_dart_0: iommu@502f00000 { |
| 1083 | + compatible = "apple,t8110-dart"; |
| 1084 | + reg = <0x5 0x02f00000 0x0 0x4000>; |
| 1085 | + interrupt-parent = <&aic>; |
| 1086 | + interrupts = <AIC_IRQ 1116 IRQ_TYPE_LEVEL_HIGH>; |
| 1087 | + #iommu-cells = <1>; |
| 1088 | + power-domains = <&ps_atc1_usb>; |
| 1089 | + }; |
| 1090 | + |
| 1091 | + dwc3_1_dart_1: iommu@502f80000 { |
| 1092 | + compatible = "apple,t8110-dart"; |
| 1093 | + reg = <0x5 0x02f80000 0x0 0x4000>; |
| 1094 | + interrupt-parent = <&aic>; |
| 1095 | + interrupts = <AIC_IRQ 1116 IRQ_TYPE_LEVEL_HIGH>; |
| 1096 | + #iommu-cells = <1>; |
| 1097 | + power-domains = <&ps_atc1_usb>; |
| 1098 | + }; |
| 1099 | + |
| 1100 | + atcphy1: phy@503000000 { |
| 1101 | + compatible = "apple,t8112-atcphy", "apple,t8103-atcphy"; |
| 1102 | + reg = <0x5 0x03000000 0x0 0x4c000>, |
| 1103 | + <0x5 0x03050000 0x0 0x8000>, |
| 1104 | + <0x5 0x0 0x0 0x4000>, |
| 1105 | + <0x5 0x02a90000 0x0 0x4000>, |
| 1106 | + <0x5 0x02a84000 0x0 0x4000>; |
| 1107 | + reg-names = "core", "lpdptx", "axi2af", "usb2phy", |
| 1108 | + "pipehandler"; |
| 1109 | + |
| 1110 | + #phy-cells = <1>; |
| 1111 | + #reset-cells = <0>; |
| 1112 | + |
| 1113 | + orientation-switch; |
| 1114 | + mode-switch; |
| 1115 | + power-domains = <&ps_atc1_usb>; |
| 1116 | + }; |
| 1117 | + |
1013 | 1118 | pcie0_dart: iommu@681008000 { |
1014 | 1119 | compatible = "apple,t8110-dart"; |
1015 | 1120 | reg = <0x6 0x81008000 0x0 0x4000>; |
|
0 commit comments