| .. | .. |
|---|
| 59 | 59 | spi1 = &spi1; |
|---|
| 60 | 60 | spi2 = &spi2; |
|---|
| 61 | 61 | spi3 = &spi3; |
|---|
| 62 | | - spi4 = &sfc; // for U-Boot |
|---|
| 62 | + lvds0 = &lvds; |
|---|
| 63 | + lvds1 = &lvds1; |
|---|
| 63 | 64 | }; |
|---|
| 64 | 65 | |
|---|
| 65 | 66 | cpus { |
|---|
| .. | .. |
|---|
| 126 | 127 | opp-shared; |
|---|
| 127 | 128 | |
|---|
| 128 | 129 | mbist-vmin = <825000 900000 950000>; |
|---|
| 129 | | - nvmem-cells = <&cpu_leakage>, <&core_pvtm>, <&mbist_vmin>, <&cpu_opp_info>; |
|---|
| 130 | | - nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info"; |
|---|
| 130 | + nvmem-cells = <&cpu_leakage>, <&core_pvtm>, <&mbist_vmin>, <&cpu_opp_info>, |
|---|
| 131 | + <&specification_serial_number>, <&remark_spec_serial_number>; |
|---|
| 132 | + nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info", |
|---|
| 133 | + "specification_serial_number", "remark_spec_serial_number"; |
|---|
| 134 | + rockchip,supported-hw; |
|---|
| 131 | 135 | rockchip,max-volt = <1150000>; |
|---|
| 132 | 136 | rockchip,pvtm-voltage-sel = < |
|---|
| 133 | 137 | 0 84000 0 |
|---|
| .. | .. |
|---|
| 151 | 155 | 0 1992 75000 |
|---|
| 152 | 156 | >; |
|---|
| 153 | 157 | |
|---|
| 158 | + /* RK3568 && RK3568M cpu OPPs */ |
|---|
| 154 | 159 | opp-408000000 { |
|---|
| 160 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 155 | 161 | opp-hz = /bits/ 64 <408000000>; |
|---|
| 156 | 162 | opp-microvolt = <850000 850000 1150000>; |
|---|
| 157 | 163 | clock-latency-ns = <40000>; |
|---|
| 158 | 164 | }; |
|---|
| 159 | 165 | opp-600000000 { |
|---|
| 166 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 160 | 167 | opp-hz = /bits/ 64 <600000000>; |
|---|
| 161 | 168 | opp-microvolt = <850000 850000 1150000>; |
|---|
| 162 | 169 | clock-latency-ns = <40000>; |
|---|
| 163 | 170 | }; |
|---|
| 164 | 171 | opp-816000000 { |
|---|
| 172 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 165 | 173 | opp-hz = /bits/ 64 <816000000>; |
|---|
| 166 | 174 | opp-microvolt = <850000 850000 1150000>; |
|---|
| 167 | 175 | clock-latency-ns = <40000>; |
|---|
| 168 | 176 | opp-suspend; |
|---|
| 169 | 177 | }; |
|---|
| 170 | 178 | opp-1104000000 { |
|---|
| 179 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 171 | 180 | opp-hz = /bits/ 64 <1104000000>; |
|---|
| 172 | 181 | opp-microvolt = <900000 900000 1150000>; |
|---|
| 173 | 182 | opp-microvolt-L0 = <900000 900000 1150000>; |
|---|
| .. | .. |
|---|
| 177 | 186 | clock-latency-ns = <40000>; |
|---|
| 178 | 187 | }; |
|---|
| 179 | 188 | opp-1416000000 { |
|---|
| 189 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 180 | 190 | opp-hz = /bits/ 64 <1416000000>; |
|---|
| 181 | 191 | opp-microvolt = <1025000 1025000 1150000>; |
|---|
| 182 | 192 | opp-microvolt-L0 = <1025000 1025000 1150000>; |
|---|
| .. | .. |
|---|
| 186 | 196 | clock-latency-ns = <40000>; |
|---|
| 187 | 197 | }; |
|---|
| 188 | 198 | opp-1608000000 { |
|---|
| 199 | + opp-supported-hw = <0xf9 0xffff>; |
|---|
| 189 | 200 | opp-hz = /bits/ 64 <1608000000>; |
|---|
| 190 | 201 | opp-microvolt = <1100000 1100000 1150000>; |
|---|
| 191 | 202 | opp-microvolt-L0 = <1100000 1100000 1150000>; |
|---|
| .. | .. |
|---|
| 195 | 206 | clock-latency-ns = <40000>; |
|---|
| 196 | 207 | }; |
|---|
| 197 | 208 | opp-1800000000 { |
|---|
| 209 | + opp-supported-hw = <0xf9 0xffff>; |
|---|
| 198 | 210 | opp-hz = /bits/ 64 <1800000000>; |
|---|
| 199 | 211 | opp-microvolt = <1150000 1150000 1150000>; |
|---|
| 200 | 212 | opp-microvolt-L0 = <1150000 1150000 1150000>; |
|---|
| .. | .. |
|---|
| 204 | 216 | clock-latency-ns = <40000>; |
|---|
| 205 | 217 | }; |
|---|
| 206 | 218 | opp-1992000000 { |
|---|
| 219 | + opp-supported-hw = <0xf9 0xffff>; |
|---|
| 207 | 220 | opp-hz = /bits/ 64 <1992000000>; |
|---|
| 208 | 221 | opp-microvolt = <1150000 1150000 1150000>; |
|---|
| 209 | 222 | opp-microvolt-L0 = <1150000 1150000 1150000>; |
|---|
| .. | .. |
|---|
| 212 | 225 | opp-microvolt-L3 = <1100000 1100000 1150000>; |
|---|
| 213 | 226 | clock-latency-ns = <40000>; |
|---|
| 214 | 227 | }; |
|---|
| 228 | + |
|---|
| 229 | + /* RK3568J cpu OPPs */ |
|---|
| 230 | + opp-j-1008000000 { |
|---|
| 231 | + opp-supported-hw = <0x04 0xffff>; |
|---|
| 232 | + opp-hz = /bits/ 64 <1008000000>; |
|---|
| 233 | + opp-microvolt = <850000 850000 1150000>; |
|---|
| 234 | + clock-latency-ns = <40000>; |
|---|
| 235 | + }; |
|---|
| 236 | + opp-j-1416000000 { |
|---|
| 237 | + opp-supported-hw = <0x04 0xffff>; |
|---|
| 238 | + opp-hz = /bits/ 64 <1416000000>; |
|---|
| 239 | + opp-microvolt = <900000 900000 1150000>; |
|---|
| 240 | + clock-latency-ns = <40000>; |
|---|
| 241 | + }; |
|---|
| 242 | + |
|---|
| 243 | + /* RK3568M cpu OPPs */ |
|---|
| 244 | + opp-m-1608000000 { |
|---|
| 245 | + opp-supported-hw = <0x02 0xffff>; |
|---|
| 246 | + opp-hz = /bits/ 64 <1608000000>; |
|---|
| 247 | + opp-microvolt = <1000000 1000000 1150000>; |
|---|
| 248 | + clock-latency-ns = <40000>; |
|---|
| 249 | + }; |
|---|
| 215 | 250 | }; |
|---|
| 216 | 251 | |
|---|
| 217 | | - arm-pmu { |
|---|
| 252 | + arm_pmu: arm-pmu { |
|---|
| 218 | 253 | compatible = "arm,cortex-a55-pmu", "arm,armv8-pmuv3"; |
|---|
| 219 | 254 | interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 220 | 255 | <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| .. | .. |
|---|
| 251 | 286 | logo,kernel = "logo_kernel.bmp"; |
|---|
| 252 | 287 | logo,mode = "center"; |
|---|
| 253 | 288 | charge_logo,mode = "center"; |
|---|
| 254 | | - connect = <&vp0_out_dsi1>; |
|---|
| 289 | + connect = <&vp1_out_dsi1>; |
|---|
| 255 | 290 | }; |
|---|
| 256 | 291 | route_edp: route-edp { |
|---|
| 257 | 292 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 259 | 294 | logo,kernel = "logo_kernel.bmp"; |
|---|
| 260 | 295 | logo,mode = "center"; |
|---|
| 261 | 296 | charge_logo,mode = "center"; |
|---|
| 262 | | - connect = <&vp0_out_edp>; |
|---|
| 297 | + connect = <&vp1_out_edp>; |
|---|
| 263 | 298 | }; |
|---|
| 264 | 299 | route_hdmi: route-hdmi { |
|---|
| 265 | 300 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 267 | 302 | logo,kernel = "logo_kernel.bmp"; |
|---|
| 268 | 303 | logo,mode = "center"; |
|---|
| 269 | 304 | charge_logo,mode = "center"; |
|---|
| 270 | | - connect = <&vp1_out_hdmi>; |
|---|
| 305 | + connect = <&vp0_out_hdmi>; |
|---|
| 271 | 306 | }; |
|---|
| 272 | 307 | route_lvds: route-lvds { |
|---|
| 273 | 308 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 288 | 323 | }; |
|---|
| 289 | 324 | }; |
|---|
| 290 | 325 | |
|---|
| 291 | | - firmware { |
|---|
| 292 | | - optee: optee { |
|---|
| 293 | | - compatible = "linaro,optee-tz"; |
|---|
| 294 | | - method = "smc"; |
|---|
| 295 | | - }; |
|---|
| 326 | + edac: edac { |
|---|
| 327 | + compatible = "rockchip,rk3568-edac"; |
|---|
| 328 | + interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 329 | + <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 330 | + interrupt-names = "ce", "ue"; |
|---|
| 331 | + status = "disabled"; |
|---|
| 332 | + }; |
|---|
| 296 | 333 | |
|---|
| 334 | + firmware { |
|---|
| 297 | 335 | scmi: scmi { |
|---|
| 298 | 336 | compatible = "arm,scmi-smc"; |
|---|
| 299 | 337 | shmem = <&scmi_shmem>; |
|---|
| .. | .. |
|---|
| 313 | 351 | compatible = "arm,sdei-1.0"; |
|---|
| 314 | 352 | method = "smc"; |
|---|
| 315 | 353 | }; |
|---|
| 354 | + }; |
|---|
| 355 | + |
|---|
| 356 | + mipi_csi2: mipi-csi2 { |
|---|
| 357 | + compatible = "rockchip,rk3568-mipi-csi2"; |
|---|
| 358 | + rockchip,hw = <&mipi_csi2_hw>; |
|---|
| 359 | + status = "disabled"; |
|---|
| 316 | 360 | }; |
|---|
| 317 | 361 | |
|---|
| 318 | 362 | mpp_srv: mpp-srv { |
|---|
| .. | .. |
|---|
| 580 | 624 | resets = <&cru SRST_USB3OTG0>; |
|---|
| 581 | 625 | reset-names = "usb3-otg"; |
|---|
| 582 | 626 | snps,dis_enblslpm_quirk; |
|---|
| 583 | | - snps,dis-u1u2-quirk; |
|---|
| 627 | + snps,dis-u1-entry-quirk; |
|---|
| 628 | + snps,dis-u2-entry-quirk; |
|---|
| 584 | 629 | snps,dis-u2-freeclk-exists-quirk; |
|---|
| 585 | 630 | snps,dis-del-phy-power-chg-quirk; |
|---|
| 586 | 631 | snps,dis-tx-ipgap-linecheck-quirk; |
|---|
| 587 | 632 | snps,dis_rxdet_inp3_quirk; |
|---|
| 588 | 633 | snps,xhci-trb-ent-quirk; |
|---|
| 634 | + snps,parkmode-disable-hs-quirk; |
|---|
| 635 | + snps,parkmode-disable-ss-quirk; |
|---|
| 589 | 636 | quirk-skip-phy-init; |
|---|
| 590 | 637 | status = "disabled"; |
|---|
| 591 | 638 | }; |
|---|
| .. | .. |
|---|
| 619 | 666 | snps,dis-tx-ipgap-linecheck-quirk; |
|---|
| 620 | 667 | snps,dis_rxdet_inp3_quirk; |
|---|
| 621 | 668 | snps,xhci-trb-ent-quirk; |
|---|
| 669 | + snps,parkmode-disable-hs-quirk; |
|---|
| 670 | + snps,parkmode-disable-ss-quirk; |
|---|
| 622 | 671 | status = "disabled"; |
|---|
| 623 | 672 | }; |
|---|
| 624 | 673 | }; |
|---|
| .. | .. |
|---|
| 759 | 808 | reg = <2>; |
|---|
| 760 | 809 | remote-endpoint = <&vp2_out_lvds>; |
|---|
| 761 | 810 | status = "disabled"; |
|---|
| 811 | + }; |
|---|
| 812 | + }; |
|---|
| 813 | + }; |
|---|
| 814 | + }; |
|---|
| 815 | + |
|---|
| 816 | + lvds1: lvds1 { |
|---|
| 817 | + compatible = "rockchip,rk3568-lvds"; |
|---|
| 818 | + phys = <&video_phy1>; |
|---|
| 819 | + phy-names = "phy"; |
|---|
| 820 | + status = "disabled"; |
|---|
| 821 | + |
|---|
| 822 | + ports { |
|---|
| 823 | + #address-cells = <1>; |
|---|
| 824 | + #size-cells = <0>; |
|---|
| 825 | + |
|---|
| 826 | + port@0 { |
|---|
| 827 | + reg = <0>; |
|---|
| 828 | + #address-cells = <1>; |
|---|
| 829 | + #size-cells = <0>; |
|---|
| 830 | + |
|---|
| 831 | + lvds1_in_vp1: endpoint@0 { |
|---|
| 832 | + reg = <0>; |
|---|
| 833 | + remote-endpoint = <&vp1_out_lvds1>; |
|---|
| 834 | + }; |
|---|
| 835 | + |
|---|
| 836 | + lvds1_in_vp2: endpoint@1 { |
|---|
| 837 | + reg = <1>; |
|---|
| 838 | + remote-endpoint = <&vp2_out_lvds1>; |
|---|
| 762 | 839 | }; |
|---|
| 763 | 840 | }; |
|---|
| 764 | 841 | }; |
|---|
| .. | .. |
|---|
| 1107 | 1184 | compatible = "operating-points-v2"; |
|---|
| 1108 | 1185 | |
|---|
| 1109 | 1186 | mbist-vmin = <825000 900000 950000>; |
|---|
| 1110 | | - nvmem-cells = <&npu_leakage>, <&core_pvtm>, <&mbist_vmin>, <&npu_opp_info>; |
|---|
| 1111 | | - nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info"; |
|---|
| 1187 | + nvmem-cells = <&npu_leakage>, <&core_pvtm>, <&mbist_vmin>, <&npu_opp_info>, |
|---|
| 1188 | + <&specification_serial_number>, <&remark_spec_serial_number>; |
|---|
| 1189 | + nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info", |
|---|
| 1190 | + "specification_serial_number", "remark_spec_serial_number"; |
|---|
| 1191 | + rockchip,supported-hw; |
|---|
| 1112 | 1192 | rockchip,max-volt = <1000000>; |
|---|
| 1113 | 1193 | rockchip,temp-hysteresis = <5000>; |
|---|
| 1114 | 1194 | rockchip,low-temp = <0>; |
|---|
| .. | .. |
|---|
| 1124 | 1204 | >; |
|---|
| 1125 | 1205 | rockchip,pvtm-ch = <0 5>; |
|---|
| 1126 | 1206 | |
|---|
| 1207 | + /* RK3568 && RK3568M npu OPPs */ |
|---|
| 1127 | 1208 | opp-200000000 { |
|---|
| 1209 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1128 | 1210 | opp-hz = /bits/ 64 <200000000>; |
|---|
| 1129 | 1211 | opp-microvolt = <850000 850000 1000000>; |
|---|
| 1130 | 1212 | }; |
|---|
| 1131 | 1213 | opp-300000000 { |
|---|
| 1214 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1132 | 1215 | opp-hz = /bits/ 64 <297000000>; |
|---|
| 1133 | 1216 | opp-microvolt = <850000 850000 1000000>; |
|---|
| 1134 | 1217 | }; |
|---|
| 1135 | 1218 | opp-400000000 { |
|---|
| 1219 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1136 | 1220 | opp-hz = /bits/ 64 <400000000>; |
|---|
| 1137 | 1221 | opp-microvolt = <850000 850000 1000000>; |
|---|
| 1138 | 1222 | }; |
|---|
| 1139 | 1223 | opp-600000000 { |
|---|
| 1224 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1140 | 1225 | opp-hz = /bits/ 64 <600000000>; |
|---|
| 1141 | 1226 | opp-microvolt = <850000 850000 1000000>; |
|---|
| 1142 | 1227 | }; |
|---|
| 1143 | 1228 | opp-700000000 { |
|---|
| 1229 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1144 | 1230 | opp-hz = /bits/ 64 <700000000>; |
|---|
| 1145 | 1231 | opp-microvolt = <875000 875000 1000000>; |
|---|
| 1146 | 1232 | opp-microvolt-L0 = <875000 875000 1000000>; |
|---|
| .. | .. |
|---|
| 1149 | 1235 | opp-microvolt-L3 = <850000 850000 1000000>; |
|---|
| 1150 | 1236 | }; |
|---|
| 1151 | 1237 | opp-800000000 { |
|---|
| 1238 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1152 | 1239 | opp-hz = /bits/ 64 <800000000>; |
|---|
| 1153 | 1240 | opp-microvolt = <925000 925000 1000000>; |
|---|
| 1154 | 1241 | opp-microvolt-L0 = <925000 925000 1000000>; |
|---|
| .. | .. |
|---|
| 1157 | 1244 | opp-microvolt-L3 = <875000 875000 1000000>; |
|---|
| 1158 | 1245 | }; |
|---|
| 1159 | 1246 | opp-900000000 { |
|---|
| 1247 | + opp-supported-hw = <0xf9 0xffff>; |
|---|
| 1160 | 1248 | opp-hz = /bits/ 64 <900000000>; |
|---|
| 1161 | 1249 | opp-microvolt = <975000 975000 1000000>; |
|---|
| 1162 | 1250 | opp-microvolt-L0 = <975000 975000 1000000>; |
|---|
| .. | .. |
|---|
| 1165 | 1253 | opp-microvolt-L3 = <900000 900000 1000000>; |
|---|
| 1166 | 1254 | }; |
|---|
| 1167 | 1255 | opp-1000000000 { |
|---|
| 1256 | + opp-supported-hw = <0xf9 0xffff>; |
|---|
| 1168 | 1257 | opp-hz = /bits/ 64 <1000000000>; |
|---|
| 1169 | 1258 | opp-microvolt = <1000000 1000000 1000000>; |
|---|
| 1170 | 1259 | opp-microvolt-L0 = <1000000 1000000 1000000>; |
|---|
| .. | .. |
|---|
| 1172 | 1261 | opp-microvolt-L2 = <950000 950000 1000000>; |
|---|
| 1173 | 1262 | opp-microvolt-L3 = <925000 925000 1000000>; |
|---|
| 1174 | 1263 | status = "disabled"; |
|---|
| 1264 | + }; |
|---|
| 1265 | + |
|---|
| 1266 | + /* RK3568J npu OPPs */ |
|---|
| 1267 | + opp-j-600000000 { |
|---|
| 1268 | + opp-supported-hw = <0x04 0xffff>; |
|---|
| 1269 | + opp-hz = /bits/ 64 <600000000>; |
|---|
| 1270 | + opp-microvolt = <900000 900000 1000000>; |
|---|
| 1271 | + }; |
|---|
| 1272 | + |
|---|
| 1273 | + /* RK3568M npu OPPs */ |
|---|
| 1274 | + opp-m-900000000 { |
|---|
| 1275 | + opp-supported-hw = <0x02 0xffff>; |
|---|
| 1276 | + opp-hz = /bits/ 64 <900000000>; |
|---|
| 1277 | + opp-microvolt = <925000 925000 1000000>; |
|---|
| 1175 | 1278 | }; |
|---|
| 1176 | 1279 | }; |
|---|
| 1177 | 1280 | |
|---|
| .. | .. |
|---|
| 1263 | 1366 | compatible = "operating-points-v2"; |
|---|
| 1264 | 1367 | |
|---|
| 1265 | 1368 | mbist-vmin = <825000 900000 950000>; |
|---|
| 1266 | | - nvmem-cells = <&gpu_leakage>, <&core_pvtm>, <&mbist_vmin>, <&gpu_opp_info>; |
|---|
| 1267 | | - nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info"; |
|---|
| 1369 | + nvmem-cells = <&gpu_leakage>, <&core_pvtm>, <&mbist_vmin>, <&gpu_opp_info>, |
|---|
| 1370 | + <&specification_serial_number>, <&remark_spec_serial_number>; |
|---|
| 1371 | + nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info", |
|---|
| 1372 | + "specification_serial_number", "remark_spec_serial_number"; |
|---|
| 1373 | + rockchip,supported-hw; |
|---|
| 1268 | 1374 | rockchip,max-volt = <1000000>; |
|---|
| 1269 | 1375 | rockchip,temp-hysteresis = <5000>; |
|---|
| 1270 | 1376 | rockchip,low-temp = <0>; |
|---|
| .. | .. |
|---|
| 1280 | 1386 | >; |
|---|
| 1281 | 1387 | rockchip,pvtm-ch = <0 5>; |
|---|
| 1282 | 1388 | |
|---|
| 1389 | + /* RK3568 && RK3568M gpu OPPs */ |
|---|
| 1283 | 1390 | opp-200000000 { |
|---|
| 1391 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1284 | 1392 | opp-hz = /bits/ 64 <200000000>; |
|---|
| 1285 | 1393 | opp-microvolt = <850000 850000 1000000>; |
|---|
| 1286 | 1394 | }; |
|---|
| 1287 | 1395 | opp-300000000 { |
|---|
| 1396 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1288 | 1397 | opp-hz = /bits/ 64 <300000000>; |
|---|
| 1289 | 1398 | opp-microvolt = <850000 850000 1000000>; |
|---|
| 1290 | 1399 | }; |
|---|
| 1291 | 1400 | opp-400000000 { |
|---|
| 1401 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1292 | 1402 | opp-hz = /bits/ 64 <400000000>; |
|---|
| 1293 | 1403 | opp-microvolt = <850000 850000 1000000>; |
|---|
| 1294 | 1404 | }; |
|---|
| 1295 | 1405 | opp-600000000 { |
|---|
| 1406 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1296 | 1407 | opp-hz = /bits/ 64 <600000000>; |
|---|
| 1297 | 1408 | opp-microvolt = <900000 900000 1000000>; |
|---|
| 1298 | 1409 | opp-microvolt-L0 = <900000 900000 1000000>; |
|---|
| .. | .. |
|---|
| 1301 | 1412 | opp-microvolt-L3 = <850000 850000 1000000>; |
|---|
| 1302 | 1413 | }; |
|---|
| 1303 | 1414 | opp-700000000 { |
|---|
| 1415 | + opp-supported-hw = <0xfb 0xffff>; |
|---|
| 1304 | 1416 | opp-hz = /bits/ 64 <700000000>; |
|---|
| 1305 | 1417 | opp-microvolt = <950000 950000 1000000>; |
|---|
| 1306 | 1418 | opp-microvolt-L0 = <950000 950000 1000000>; |
|---|
| .. | .. |
|---|
| 1309 | 1421 | opp-microvolt-L3 = <875000 875000 1000000>; |
|---|
| 1310 | 1422 | }; |
|---|
| 1311 | 1423 | opp-800000000 { |
|---|
| 1424 | + opp-supported-hw = <0xf9 0xffff>; |
|---|
| 1312 | 1425 | opp-hz = /bits/ 64 <800000000>; |
|---|
| 1313 | 1426 | opp-microvolt = <1000000 1000000 1000000>; |
|---|
| 1314 | 1427 | opp-microvolt-L0 = <1000000 1000000 1000000>; |
|---|
| .. | .. |
|---|
| 1316 | 1429 | opp-microvolt-L2 = <950000 950000 1000000>; |
|---|
| 1317 | 1430 | opp-microvolt-L3 = <925000 925000 1000000>; |
|---|
| 1318 | 1431 | }; |
|---|
| 1432 | + |
|---|
| 1433 | + /* RK3568J gpu OPPs */ |
|---|
| 1434 | + opp-j-600000000 { |
|---|
| 1435 | + opp-supported-hw = <0x04 0xffff>; |
|---|
| 1436 | + opp-hz = /bits/ 64 <600000000>; |
|---|
| 1437 | + opp-microvolt = <900000 900000 1000000>; |
|---|
| 1438 | + }; |
|---|
| 1439 | + |
|---|
| 1440 | + /* RK3568M gpu OPPs */ |
|---|
| 1441 | + opp-m-800000000 { |
|---|
| 1442 | + opp-supported-hw = <0x02 0xffff>; |
|---|
| 1443 | + opp-hz = /bits/ 64 <800000000>; |
|---|
| 1444 | + opp-microvolt = <950000 950000 1000000>; |
|---|
| 1445 | + }; |
|---|
| 1446 | + |
|---|
| 1319 | 1447 | }; |
|---|
| 1320 | 1448 | |
|---|
| 1321 | 1449 | pvtm@fde80000 { |
|---|
| .. | .. |
|---|
| 1374 | 1502 | clock-names = "aclk", "iface"; |
|---|
| 1375 | 1503 | clocks = <&cru ACLK_VPU>, <&cru HCLK_VPU>; |
|---|
| 1376 | 1504 | power-domains = <&power RK3568_PD_VPU>; |
|---|
| 1377 | | - rockchip,shootdown-entire; |
|---|
| 1378 | 1505 | #iommu-cells = <0>; |
|---|
| 1379 | 1506 | status = "disabled"; |
|---|
| 1380 | 1507 | }; |
|---|
| .. | .. |
|---|
| 1427 | 1554 | clock-names = "aclk", "iface"; |
|---|
| 1428 | 1555 | clocks = <&cru ACLK_JDEC>, <&cru HCLK_JDEC>; |
|---|
| 1429 | 1556 | power-domains = <&power RK3568_PD_RGA>; |
|---|
| 1430 | | - rockchip,shootdown-entire; |
|---|
| 1431 | 1557 | #iommu-cells = <0>; |
|---|
| 1432 | 1558 | status = "disabled"; |
|---|
| 1433 | 1559 | }; |
|---|
| .. | .. |
|---|
| 1457 | 1583 | clock-names = "aclk", "iface"; |
|---|
| 1458 | 1584 | clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>; |
|---|
| 1459 | 1585 | power-domains = <&power RK3568_PD_RGA>; |
|---|
| 1460 | | - rockchip,shootdown-entire; |
|---|
| 1461 | 1586 | #iommu-cells = <0>; |
|---|
| 1462 | 1587 | status = "disabled"; |
|---|
| 1463 | 1588 | }; |
|---|
| .. | .. |
|---|
| 1488 | 1613 | clock-names = "aclk", "iface"; |
|---|
| 1489 | 1614 | #iommu-cells = <0>; |
|---|
| 1490 | 1615 | power-domains = <&power RK3568_PD_RGA>; |
|---|
| 1491 | | - rockchip,shootdown-entire; |
|---|
| 1492 | 1616 | //rockchip,disable-device-link-resume; |
|---|
| 1493 | 1617 | status = "disabled"; |
|---|
| 1494 | 1618 | }; |
|---|
| .. | .. |
|---|
| 1564 | 1688 | clock-names = "aclk", "iface"; |
|---|
| 1565 | 1689 | rockchip,disable-mmu-reset; |
|---|
| 1566 | 1690 | rockchip,enable-cmd-retry; |
|---|
| 1567 | | - rockchip,shootdown-entire; |
|---|
| 1568 | 1691 | #iommu-cells = <0>; |
|---|
| 1569 | 1692 | power-domains = <&power RK3568_PD_RKVENC>; |
|---|
| 1570 | 1693 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 1644 | 1767 | clocks = <&cru ACLK_RKVDEC>, <&cru HCLK_RKVDEC>; |
|---|
| 1645 | 1768 | clock-names = "aclk", "iface"; |
|---|
| 1646 | 1769 | power-domains = <&power RK3568_PD_RKVDEC>; |
|---|
| 1647 | | - rockchip,shootdown-entire; |
|---|
| 1648 | 1770 | #iommu-cells = <0>; |
|---|
| 1649 | 1771 | status = "disabled"; |
|---|
| 1650 | 1772 | }; |
|---|
| 1651 | 1773 | |
|---|
| 1652 | | - mipi_csi2: mipi-csi2@fdfb0000 { |
|---|
| 1653 | | - compatible = "rockchip,rk3568-mipi-csi2"; |
|---|
| 1774 | + mipi_csi2_hw: mipi-csi2-hw@fdfb0000 { |
|---|
| 1775 | + compatible = "rockchip,rk3568-mipi-csi2-hw"; |
|---|
| 1654 | 1776 | reg = <0x0 0xfdfb0000 0x0 0x10000>; |
|---|
| 1655 | 1777 | reg-names = "csihost_regs"; |
|---|
| 1656 | 1778 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| .. | .. |
|---|
| 1897 | 2019 | reg = <4>; |
|---|
| 1898 | 2020 | remote-endpoint = <&lvds_in_vp1>; |
|---|
| 1899 | 2021 | }; |
|---|
| 2022 | + |
|---|
| 2023 | + vp1_out_lvds1: endpoint@5 { |
|---|
| 2024 | + reg = <5>; |
|---|
| 2025 | + remote-endpoint = <&lvds1_in_vp1>; |
|---|
| 2026 | + }; |
|---|
| 1900 | 2027 | }; |
|---|
| 1901 | 2028 | |
|---|
| 1902 | 2029 | vp2: port@2 { |
|---|
| .. | .. |
|---|
| 1914 | 2041 | reg = <1>; |
|---|
| 1915 | 2042 | remote-endpoint = <&rgb_in_vp2>; |
|---|
| 1916 | 2043 | }; |
|---|
| 2044 | + |
|---|
| 2045 | + vp2_out_lvds1: endpoint@2 { |
|---|
| 2046 | + reg = <2>; |
|---|
| 2047 | + remote-endpoint = <&lvds1_in_vp2>; |
|---|
| 2048 | + }; |
|---|
| 1917 | 2049 | }; |
|---|
| 1918 | 2050 | }; |
|---|
| 1919 | 2051 | }; |
|---|
| .. | .. |
|---|
| 1926 | 2058 | clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>; |
|---|
| 1927 | 2059 | clock-names = "aclk", "iface"; |
|---|
| 1928 | 2060 | #iommu-cells = <0>; |
|---|
| 2061 | + rockchip,disable-device-link-resume; |
|---|
| 1929 | 2062 | status = "disabled"; |
|---|
| 1930 | 2063 | }; |
|---|
| 1931 | 2064 | |
|---|
| .. | .. |
|---|
| 1933 | 2066 | compatible = "rockchip,rk3568-mipi-dsi"; |
|---|
| 1934 | 2067 | reg = <0x0 0xfe060000 0x0 0x10000>; |
|---|
| 1935 | 2068 | interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1936 | | - clocks = <&cru PCLK_DSITX_0>, <&cru HCLK_VO>, <&video_phy0>; |
|---|
| 1937 | | - clock-names = "pclk", "hclk", "hs_clk"; |
|---|
| 2069 | + clocks = <&cru PCLK_DSITX_0>, <&cru HCLK_VO>; |
|---|
| 2070 | + clock-names = "pclk", "hclk"; |
|---|
| 1938 | 2071 | resets = <&cru SRST_P_DSITX_0>; |
|---|
| 1939 | 2072 | reset-names = "apb"; |
|---|
| 1940 | 2073 | phys = <&video_phy0>; |
|---|
| 1941 | | - phy-names = "mipi_dphy"; |
|---|
| 2074 | + phy-names = "dphy"; |
|---|
| 1942 | 2075 | power-domains = <&power RK3568_PD_VO>; |
|---|
| 1943 | 2076 | rockchip,grf = <&grf>; |
|---|
| 1944 | 2077 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 1973 | 2106 | compatible = "rockchip,rk3568-mipi-dsi"; |
|---|
| 1974 | 2107 | reg = <0x0 0xfe070000 0x0 0x10000>; |
|---|
| 1975 | 2108 | interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 1976 | | - clocks = <&cru PCLK_DSITX_1>, <&cru HCLK_VO>, <&video_phy1>; |
|---|
| 1977 | | - clock-names = "pclk", "hclk", "hs_clk"; |
|---|
| 2109 | + clocks = <&cru PCLK_DSITX_1>, <&cru HCLK_VO>; |
|---|
| 2110 | + clock-names = "pclk", "hclk"; |
|---|
| 1978 | 2111 | resets = <&cru SRST_P_DSITX_1>; |
|---|
| 1979 | 2112 | reset-names = "apb"; |
|---|
| 1980 | 2113 | phys = <&video_phy1>; |
|---|
| 1981 | | - phy-names = "mipi_dphy"; |
|---|
| 2114 | + phy-names = "dphy"; |
|---|
| 1982 | 2115 | power-domains = <&power RK3568_PD_VO>; |
|---|
| 1983 | 2116 | rockchip,grf = <&grf>; |
|---|
| 1984 | 2117 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 2012 | 2145 | hdmi: hdmi@fe0a0000 { |
|---|
| 2013 | 2146 | compatible = "rockchip,rk3568-dw-hdmi"; |
|---|
| 2014 | 2147 | reg = <0x0 0xfe0a0000 0x0 0x20000>; |
|---|
| 2015 | | - interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 2016 | | - interrupt-names = "hdmi", "hdmi_wakeup"; |
|---|
| 2148 | + interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 2017 | 2149 | clocks = <&cru PCLK_HDMI_HOST>, |
|---|
| 2018 | 2150 | <&cru CLK_HDMI_SFR>, |
|---|
| 2019 | 2151 | <&cru CLK_HDMI_CEC>, |
|---|
| .. | .. |
|---|
| 2032 | 2164 | #address-cells = <1>; |
|---|
| 2033 | 2165 | #size-cells = <0>; |
|---|
| 2034 | 2166 | |
|---|
| 2035 | | - hdmi_in: port { |
|---|
| 2167 | + port@0 { |
|---|
| 2036 | 2168 | reg = <0>; |
|---|
| 2037 | 2169 | #address-cells = <1>; |
|---|
| 2038 | 2170 | #size-cells = <0>; |
|---|
| .. | .. |
|---|
| 2042 | 2174 | remote-endpoint = <&vp0_out_hdmi>; |
|---|
| 2043 | 2175 | status = "disabled"; |
|---|
| 2044 | 2176 | }; |
|---|
| 2177 | + |
|---|
| 2045 | 2178 | hdmi_in_vp1: endpoint@1 { |
|---|
| 2046 | 2179 | reg = <1>; |
|---|
| 2047 | 2180 | remote-endpoint = <&vp1_out_hdmi>; |
|---|
| .. | .. |
|---|
| 2332 | 2465 | compatible = "operating-points-v2"; |
|---|
| 2333 | 2466 | |
|---|
| 2334 | 2467 | mbist-vmin = <825000 900000 950000>; |
|---|
| 2335 | | - nvmem-cells = <&log_leakage>, <&core_pvtm>, <&mbist_vmin>, <&dmc_opp_info>; |
|---|
| 2336 | | - nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info"; |
|---|
| 2468 | + nvmem-cells = <&log_leakage>, <&core_pvtm>, <&mbist_vmin>, <&dmc_opp_info>, |
|---|
| 2469 | + <&specification_serial_number>, <&remark_spec_serial_number>; |
|---|
| 2470 | + nvmem-cell-names = "leakage", "pvtm", "mbist-vmin", "opp-info", |
|---|
| 2471 | + "specification_serial_number", "remark_spec_serial_number"; |
|---|
| 2472 | + rockchip,supported-hw; |
|---|
| 2337 | 2473 | rockchip,max-volt = <1000000>; |
|---|
| 2338 | 2474 | rockchip,temp-hysteresis = <5000>; |
|---|
| 2339 | 2475 | rockchip,low-temp = <0>; |
|---|
| .. | .. |
|---|
| 2351 | 2487 | >; |
|---|
| 2352 | 2488 | rockchip,pvtm-ch = <0 5>; |
|---|
| 2353 | 2489 | |
|---|
| 2490 | + /* RK3568 dmc OPPs */ |
|---|
| 2354 | 2491 | opp-1560000000 { |
|---|
| 2492 | + opp-supported-hw = <0xf9 0xffff>; |
|---|
| 2355 | 2493 | opp-hz = /bits/ 64 <1560000000>; |
|---|
| 2356 | 2494 | opp-microvolt = <900000 900000 1000000>; |
|---|
| 2357 | 2495 | opp-microvolt-L0 = <900000 900000 1000000>; |
|---|
| 2358 | 2496 | opp-microvolt-L1 = <875000 875000 1000000>; |
|---|
| 2359 | 2497 | }; |
|---|
| 2360 | | - }; |
|---|
| 2361 | 2498 | |
|---|
| 2362 | | - dmcdbg: dmcdbg { |
|---|
| 2363 | | - compatible = "rockchip,rk3568-dmcdbg"; |
|---|
| 2364 | | - status = "disabled"; |
|---|
| 2499 | + /* RK3568J/M dmc OPPs */ |
|---|
| 2500 | + opp-j-m-1560000000 { |
|---|
| 2501 | + opp-supported-hw = <0x06 0xffff>; |
|---|
| 2502 | + opp-hz = /bits/ 64 <1560000000>; |
|---|
| 2503 | + opp-microvolt = <875000 875000 1000000>; |
|---|
| 2504 | + }; |
|---|
| 2365 | 2505 | }; |
|---|
| 2366 | 2506 | |
|---|
| 2367 | 2507 | pcie2x1: pcie@fe260000 { |
|---|
| .. | .. |
|---|
| 2613 | 2753 | status = "disabled"; |
|---|
| 2614 | 2754 | }; |
|---|
| 2615 | 2755 | |
|---|
| 2616 | | - sfc: sfc@fe300000 { |
|---|
| 2756 | + sfc: spi@fe300000 { |
|---|
| 2617 | 2757 | compatible = "rockchip,sfc"; |
|---|
| 2618 | 2758 | reg = <0x0 0xfe300000 0x0 0x4000>; |
|---|
| 2619 | 2759 | interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 2621 | 2761 | clock-names = "clk_sfc", "hclk_sfc"; |
|---|
| 2622 | 2762 | assigned-clocks = <&cru SCLK_SFC>; |
|---|
| 2623 | 2763 | assigned-clock-rates = <100000000>; |
|---|
| 2764 | + #address-cells = <1>; |
|---|
| 2765 | + #size-cells = <0>; |
|---|
| 2624 | 2766 | status = "disabled"; |
|---|
| 2625 | 2767 | }; |
|---|
| 2626 | 2768 | |
|---|
| 2627 | 2769 | sdhci: sdhci@fe310000 { |
|---|
| 2628 | | - compatible = "rockchip,dwcmshc-sdhci", "snps,dwcmshc-sdhci"; |
|---|
| 2770 | + compatible = "rockchip,rk3568-dwcmshc", "rockchip,dwcmshc-sdhci"; |
|---|
| 2629 | 2771 | reg = <0x0 0xfe310000 0x0 0x10000>; |
|---|
| 2630 | 2772 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 2631 | 2773 | assigned-clocks = <&cru BCLK_EMMC>, <&cru TCLK_EMMC>, |
|---|
| .. | .. |
|---|
| 2635 | 2777 | <&cru ACLK_EMMC>, <&cru BCLK_EMMC>, |
|---|
| 2636 | 2778 | <&cru TCLK_EMMC>; |
|---|
| 2637 | 2779 | clock-names = "core", "bus", "axi", "block", "timer"; |
|---|
| 2780 | + resets = <&cru SRST_C_EMMC>, <&cru SRST_H_EMMC>, |
|---|
| 2781 | + <&cru SRST_A_EMMC>, <&cru SRST_B_EMMC>, |
|---|
| 2782 | + <&cru SRST_T_EMMC>; |
|---|
| 2783 | + reset-names = "core", "bus", "axi", "block", "timer"; |
|---|
| 2638 | 2784 | status = "disabled"; |
|---|
| 2639 | 2785 | }; |
|---|
| 2640 | 2786 | |
|---|
| .. | .. |
|---|
| 2686 | 2832 | /* Data cells */ |
|---|
| 2687 | 2833 | cpu_code: cpu-code@2 { |
|---|
| 2688 | 2834 | reg = <0x02 0x2>; |
|---|
| 2835 | + }; |
|---|
| 2836 | + specification_serial_number: specification-serial-number@7 { |
|---|
| 2837 | + reg = <0x07 0x1>; |
|---|
| 2838 | + bits = <0 5>; |
|---|
| 2689 | 2839 | }; |
|---|
| 2690 | 2840 | otp_cpu_version: cpu-version@8 { |
|---|
| 2691 | 2841 | reg = <0x08 0x1>; |
|---|
| .. | .. |
|---|
| 2745 | 2895 | }; |
|---|
| 2746 | 2896 | dmc_opp_info: dmc-opp-info@48 { |
|---|
| 2747 | 2897 | reg = <0x48 0x6>; |
|---|
| 2898 | + }; |
|---|
| 2899 | + remark_spec_serial_number: remark-spec-serial-number@56 { |
|---|
| 2900 | + reg = <0x56 0x1>; |
|---|
| 2901 | + bits = <0 5>; |
|---|
| 2748 | 2902 | }; |
|---|
| 2749 | 2903 | }; |
|---|
| 2750 | 2904 | |
|---|
| .. | .. |
|---|
| 2837 | 2991 | }; |
|---|
| 2838 | 2992 | |
|---|
| 2839 | 2993 | pdm: pdm@fe440000 { |
|---|
| 2840 | | - compatible = "rockchip,rk3568-pdm"; |
|---|
| 2994 | + compatible = "rockchip,rk3568-pdm", "rockchip,pdm"; |
|---|
| 2841 | 2995 | reg = <0x0 0xfe440000 0x0 0x1000>; |
|---|
| 2842 | 2996 | clocks = <&cru MCLK_PDM>, <&cru HCLK_PDM>; |
|---|
| 2843 | 2997 | clock-names = "pdm_clk", "pdm_hclk"; |
|---|
| .. | .. |
|---|
| 3077 | 3231 | pinctrl-names = "default", "high_speed"; |
|---|
| 3078 | 3232 | pinctrl-0 = <&spi0m0_cs0 &spi0m0_cs1 &spi0m0_pins>; |
|---|
| 3079 | 3233 | pinctrl-1 = <&spi0m0_cs0 &spi0m0_cs1 &spi0m0_pins_hs>; |
|---|
| 3234 | + num-cs = <2>; |
|---|
| 3080 | 3235 | status = "disabled"; |
|---|
| 3081 | 3236 | }; |
|---|
| 3082 | 3237 | |
|---|
| .. | .. |
|---|
| 3093 | 3248 | pinctrl-names = "default", "high_speed"; |
|---|
| 3094 | 3249 | pinctrl-0 = <&spi1m0_cs0 &spi1m0_cs1 &spi1m0_pins>; |
|---|
| 3095 | 3250 | pinctrl-1 = <&spi1m0_cs0 &spi1m0_cs1 &spi1m0_pins_hs>; |
|---|
| 3251 | + num-cs = <2>; |
|---|
| 3096 | 3252 | status = "disabled"; |
|---|
| 3097 | 3253 | }; |
|---|
| 3098 | 3254 | |
|---|
| .. | .. |
|---|
| 3109 | 3265 | pinctrl-names = "default", "high_speed"; |
|---|
| 3110 | 3266 | pinctrl-0 = <&spi2m0_cs0 &spi2m0_cs1 &spi2m0_pins>; |
|---|
| 3111 | 3267 | pinctrl-1 = <&spi2m0_cs0 &spi2m0_cs1 &spi2m0_pins_hs>; |
|---|
| 3268 | + num-cs = <2>; |
|---|
| 3112 | 3269 | status = "disabled"; |
|---|
| 3113 | 3270 | }; |
|---|
| 3114 | 3271 | |
|---|
| .. | .. |
|---|
| 3125 | 3282 | pinctrl-names = "default", "high_speed"; |
|---|
| 3126 | 3283 | pinctrl-0 = <&spi3m0_cs0 &spi3m0_cs1 &spi3m0_pins>; |
|---|
| 3127 | 3284 | pinctrl-1 = <&spi3m0_cs0 &spi3m0_cs1 &spi3m0_pins_hs>; |
|---|
| 3285 | + num-cs = <2>; |
|---|
| 3128 | 3286 | status = "disabled"; |
|---|
| 3129 | 3287 | }; |
|---|
| 3130 | 3288 | |
|---|
| .. | .. |
|---|
| 3503 | 3661 | status = "disabled"; |
|---|
| 3504 | 3662 | }; |
|---|
| 3505 | 3663 | |
|---|
| 3506 | | - video_phy0: video-phy@fe850000 { |
|---|
| 3507 | | - compatible = "rockchip,rk3568-video-phy"; |
|---|
| 3664 | + video_phy0: phy@fe850000 { |
|---|
| 3665 | + compatible = "rockchip,rk3568-dsi-dphy", "rockchip,rk3568-video-phy"; |
|---|
| 3508 | 3666 | reg = <0x0 0xfe850000 0x0 0x10000>, |
|---|
| 3509 | 3667 | <0x0 0xfe060000 0x0 0x10000>; |
|---|
| 3668 | + reg-names = "phy", "host"; |
|---|
| 3510 | 3669 | clocks = <&pmucru CLK_MIPIDSIPHY0_REF>, |
|---|
| 3511 | 3670 | <&cru PCLK_MIPIDSIPHY0>, <&cru PCLK_DSITX_0>; |
|---|
| 3512 | | - clock-names = "ref", "pclk_phy", "pclk_host"; |
|---|
| 3671 | + clock-names = "ref", "pclk", "pclk_host"; |
|---|
| 3513 | 3672 | #clock-cells = <0>; |
|---|
| 3514 | 3673 | resets = <&cru SRST_P_MIPIDSIPHY0>; |
|---|
| 3515 | | - reset-names = "rst"; |
|---|
| 3674 | + reset-names = "apb"; |
|---|
| 3516 | 3675 | power-domains = <&power RK3568_PD_VO>; |
|---|
| 3517 | 3676 | #phy-cells = <0>; |
|---|
| 3518 | 3677 | status = "disabled"; |
|---|
| 3519 | 3678 | }; |
|---|
| 3520 | 3679 | |
|---|
| 3521 | | - video_phy1: video-phy@fe860000 { |
|---|
| 3522 | | - compatible = "rockchip,rk3568-video-phy"; |
|---|
| 3680 | + video_phy1: phy@fe860000 { |
|---|
| 3681 | + compatible = "rockchip,rk3568-dsi-dphy", "rockchip,rk3568-video-phy"; |
|---|
| 3523 | 3682 | reg = <0x0 0xfe860000 0x0 0x10000>, |
|---|
| 3524 | 3683 | <0x0 0xfe070000 0x0 0x10000>; |
|---|
| 3684 | + reg-names = "phy", "host"; |
|---|
| 3525 | 3685 | clocks = <&pmucru CLK_MIPIDSIPHY1_REF>, |
|---|
| 3526 | 3686 | <&cru PCLK_MIPIDSIPHY1>, <&cru PCLK_DSITX_1>; |
|---|
| 3527 | | - clock-names = "ref", "pclk_phy", "pclk_host"; |
|---|
| 3687 | + clock-names = "ref", "pclk", "pclk_host"; |
|---|
| 3528 | 3688 | #clock-cells = <0>; |
|---|
| 3529 | 3689 | resets = <&cru SRST_P_MIPIDSIPHY1>; |
|---|
| 3530 | | - reset-names = "rst"; |
|---|
| 3690 | + reset-names = "apb"; |
|---|
| 3531 | 3691 | power-domains = <&power RK3568_PD_VO>; |
|---|
| 3532 | 3692 | #phy-cells = <0>; |
|---|
| 3533 | 3693 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 3637 | 3797 | #size-cells = <2>; |
|---|
| 3638 | 3798 | ranges; |
|---|
| 3639 | 3799 | |
|---|
| 3640 | | - gpio0: gpio@fdd60000 { |
|---|
| 3800 | + gpio0: gpio0@fdd60000 { |
|---|
| 3641 | 3801 | compatible = "rockchip,gpio-bank"; |
|---|
| 3642 | 3802 | reg = <0x0 0xfdd60000 0x0 0x100>; |
|---|
| 3643 | 3803 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 3645 | 3805 | |
|---|
| 3646 | 3806 | gpio-controller; |
|---|
| 3647 | 3807 | #gpio-cells = <2>; |
|---|
| 3648 | | - gpio-ranges = <&pinctrl 0 0 32>; |
|---|
| 3649 | 3808 | interrupt-controller; |
|---|
| 3650 | 3809 | #interrupt-cells = <2>; |
|---|
| 3651 | 3810 | }; |
|---|
| 3652 | 3811 | |
|---|
| 3653 | | - gpio1: gpio@fe740000 { |
|---|
| 3812 | + gpio1: gpio1@fe740000 { |
|---|
| 3654 | 3813 | compatible = "rockchip,gpio-bank"; |
|---|
| 3655 | 3814 | reg = <0x0 0xfe740000 0x0 0x100>; |
|---|
| 3656 | 3815 | interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 3658 | 3817 | |
|---|
| 3659 | 3818 | gpio-controller; |
|---|
| 3660 | 3819 | #gpio-cells = <2>; |
|---|
| 3661 | | - gpio-ranges = <&pinctrl 0 32 32>; |
|---|
| 3662 | 3820 | interrupt-controller; |
|---|
| 3663 | 3821 | #interrupt-cells = <2>; |
|---|
| 3664 | 3822 | }; |
|---|
| 3665 | 3823 | |
|---|
| 3666 | | - gpio2: gpio@fe750000 { |
|---|
| 3824 | + gpio2: gpio2@fe750000 { |
|---|
| 3667 | 3825 | compatible = "rockchip,gpio-bank"; |
|---|
| 3668 | 3826 | reg = <0x0 0xfe750000 0x0 0x100>; |
|---|
| 3669 | 3827 | interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 3671 | 3829 | |
|---|
| 3672 | 3830 | gpio-controller; |
|---|
| 3673 | 3831 | #gpio-cells = <2>; |
|---|
| 3674 | | - gpio-ranges = <&pinctrl 0 64 32>; |
|---|
| 3675 | 3832 | interrupt-controller; |
|---|
| 3676 | 3833 | #interrupt-cells = <2>; |
|---|
| 3677 | 3834 | }; |
|---|
| 3678 | 3835 | |
|---|
| 3679 | | - gpio3: gpio@fe760000 { |
|---|
| 3836 | + gpio3: gpio3@fe760000 { |
|---|
| 3680 | 3837 | compatible = "rockchip,gpio-bank"; |
|---|
| 3681 | 3838 | reg = <0x0 0xfe760000 0x0 0x100>; |
|---|
| 3682 | 3839 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 3684 | 3841 | |
|---|
| 3685 | 3842 | gpio-controller; |
|---|
| 3686 | 3843 | #gpio-cells = <2>; |
|---|
| 3687 | | - gpio-ranges = <&pinctrl 0 96 32>; |
|---|
| 3688 | 3844 | interrupt-controller; |
|---|
| 3689 | 3845 | #interrupt-cells = <2>; |
|---|
| 3690 | 3846 | }; |
|---|
| 3691 | 3847 | |
|---|
| 3692 | | - gpio4: gpio@fe770000 { |
|---|
| 3848 | + gpio4: gpio4@fe770000 { |
|---|
| 3693 | 3849 | compatible = "rockchip,gpio-bank"; |
|---|
| 3694 | 3850 | reg = <0x0 0xfe770000 0x0 0x100>; |
|---|
| 3695 | 3851 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| .. | .. |
|---|
| 3697 | 3853 | |
|---|
| 3698 | 3854 | gpio-controller; |
|---|
| 3699 | 3855 | #gpio-cells = <2>; |
|---|
| 3700 | | - gpio-ranges = <&pinctrl 0 128 32>; |
|---|
| 3701 | 3856 | interrupt-controller; |
|---|
| 3702 | 3857 | #interrupt-cells = <2>; |
|---|
| 3703 | 3858 | }; |
|---|