|
1279 | 1279 | status = "disabled"; |
1280 | 1280 | }; |
1281 | 1281 |
|
| 1282 | + vdec: video-codec@27b00000 { |
| 1283 | + compatible = "rockchip,rk3576-vdec"; |
| 1284 | + reg = <0x0 0x27b00100 0x0 0x500>, |
| 1285 | + <0x0 0x27b00000 0x0 0x100>, |
| 1286 | + <0x0 0x27b00600 0x0 0x100>; |
| 1287 | + reg-names = "function", "link", "cache"; |
| 1288 | + interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>; |
| 1289 | + clocks = <&cru ACLK_RKVDEC_ROOT>, <&cru HCLK_RKVDEC>, |
| 1290 | + <&cru ACLK_RKVDEC_ROOT_BAK>, <&cru CLK_RKVDEC_CORE>, |
| 1291 | + <&cru CLK_RKVDEC_HEVC_CA>; |
| 1292 | + clock-names = "axi", "ahb", "cabac", "core", "hevc_cabac"; |
| 1293 | + assigned-clocks = <&cru ACLK_RKVDEC_ROOT>, <&cru CLK_RKVDEC_CORE>, |
| 1294 | + <&cru ACLK_RKVDEC_ROOT_BAK>, <&cru CLK_RKVDEC_HEVC_CA>; |
| 1295 | + assigned-clock-rates = <600000000>, <600000000>, |
| 1296 | + <500000000>, <1000000000>; |
| 1297 | + iommus = <&vdec_mmu>; |
| 1298 | + power-domains = <&power RK3576_PD_VDEC>; |
| 1299 | + resets = <&cru SRST_A_RKVDEC_BIU>, <&cru SRST_H_RKVDEC_BIU>, |
| 1300 | + <&cru SRST_H_RKVDEC>, <&cru SRST_RKVDEC_CORE>, |
| 1301 | + <&cru SRST_RKVDEC_HEVC_CA>; |
| 1302 | + reset-names = "axi", "ahb", "cabac", "core", "hevc_cabac"; |
| 1303 | + sram = <&rkvdec_sram>; |
| 1304 | + }; |
| 1305 | + |
| 1306 | + vdec_mmu: iommu@27b00800 { |
| 1307 | + compatible = "rockchip,rk3576-iommu", "rockchip,rk3568-iommu"; |
| 1308 | + reg = <0x0 0x27b00800 0x0 0x40>, <0x0 0x27b00900 0x0 0x40>; |
| 1309 | + interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>; |
| 1310 | + clocks = <&cru CLK_RKVDEC_CORE>, <&cru HCLK_RKVDEC>; |
| 1311 | + clock-names = "aclk", "iface"; |
| 1312 | + power-domains = <&power RK3576_PD_VDEC>; |
| 1313 | + rockchip,disable-mmu-reset; |
| 1314 | + #iommu-cells = <0>; |
| 1315 | + }; |
| 1316 | + |
1282 | 1317 | vop: vop@27d00000 { |
1283 | 1318 | compatible = "rockchip,rk3576-vop"; |
1284 | 1319 | reg = <0x0 0x27d00000 0x0 0x3000>, <0x0 0x27d05000 0x0 0x1000>; |
|
2684 | 2719 | /* start address and size should be 4k align */ |
2685 | 2720 | rkvdec_sram: rkvdec-sram@0 { |
2686 | 2721 | reg = <0x0 0x78000>; |
| 2722 | + pool; |
2687 | 2723 | }; |
2688 | 2724 | }; |
2689 | 2725 |
|
|
0 commit comments