18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra124-emc.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: NVIDIA Tegra124 SoC External Memory Controller 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Thierry Reding <thierry.reding@gmail.com> 118c2ecf20Sopenharmony_ci - Jon Hunter <jonathanh@nvidia.com> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cidescription: | 148c2ecf20Sopenharmony_ci The EMC interfaces with the off-chip SDRAM to service the request stream 158c2ecf20Sopenharmony_ci sent from the memory controller. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciproperties: 188c2ecf20Sopenharmony_ci compatible: 198c2ecf20Sopenharmony_ci const: nvidia,tegra124-emc 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci reg: 228c2ecf20Sopenharmony_ci maxItems: 1 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci clocks: 258c2ecf20Sopenharmony_ci items: 268c2ecf20Sopenharmony_ci - description: external memory clock 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci clock-names: 298c2ecf20Sopenharmony_ci items: 308c2ecf20Sopenharmony_ci - const: emc 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci nvidia,memory-controller: 338c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/phandle 348c2ecf20Sopenharmony_ci description: 358c2ecf20Sopenharmony_ci phandle of the memory controller node 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_cipatternProperties: 388c2ecf20Sopenharmony_ci "^emc-timings-[0-9]+$": 398c2ecf20Sopenharmony_ci type: object 408c2ecf20Sopenharmony_ci properties: 418c2ecf20Sopenharmony_ci nvidia,ram-code: 428c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 438c2ecf20Sopenharmony_ci description: 448c2ecf20Sopenharmony_ci value of the RAM_CODE field in the PMC_STRAPPING_OPT_A register that 458c2ecf20Sopenharmony_ci this timing set is used for 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci patternProperties: 488c2ecf20Sopenharmony_ci "^timing-[0-9]+$": 498c2ecf20Sopenharmony_ci type: object 508c2ecf20Sopenharmony_ci properties: 518c2ecf20Sopenharmony_ci clock-frequency: 528c2ecf20Sopenharmony_ci description: 538c2ecf20Sopenharmony_ci external memory clock rate in Hz 548c2ecf20Sopenharmony_ci minimum: 1000000 558c2ecf20Sopenharmony_ci maximum: 1000000000 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-config: 588c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 598c2ecf20Sopenharmony_ci description: 608c2ecf20Sopenharmony_ci value of the EMC_AUTO_CAL_CONFIG register for this set of 618c2ecf20Sopenharmony_ci timings 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-config2: 648c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 658c2ecf20Sopenharmony_ci description: 668c2ecf20Sopenharmony_ci value of the EMC_AUTO_CAL_CONFIG2 register for this set of 678c2ecf20Sopenharmony_ci timings 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-config3: 708c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 718c2ecf20Sopenharmony_ci description: 728c2ecf20Sopenharmony_ci value of the EMC_AUTO_CAL_CONFIG3 register for this set of 738c2ecf20Sopenharmony_ci timings 748c2ecf20Sopenharmony_ci 758c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-interval: 768c2ecf20Sopenharmony_ci description: 778c2ecf20Sopenharmony_ci pad calibration interval in microseconds 788c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 798c2ecf20Sopenharmony_ci minimum: 0 808c2ecf20Sopenharmony_ci maximum: 2097151 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ci nvidia,emc-bgbias-ctl0: 838c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 848c2ecf20Sopenharmony_ci description: 858c2ecf20Sopenharmony_ci value of the EMC_BGBIAS_CTL0 register for this set of timings 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ci nvidia,emc-cfg: 888c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 898c2ecf20Sopenharmony_ci description: 908c2ecf20Sopenharmony_ci value of the EMC_CFG register for this set of timings 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_ci nvidia,emc-cfg-2: 938c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 948c2ecf20Sopenharmony_ci description: 958c2ecf20Sopenharmony_ci value of the EMC_CFG_2 register for this set of timings 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ci nvidia,emc-ctt-term-ctrl: 988c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 998c2ecf20Sopenharmony_ci description: 1008c2ecf20Sopenharmony_ci value of the EMC_CTT_TERM_CTRL register for this set of timings 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ci nvidia,emc-mode-1: 1038c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1048c2ecf20Sopenharmony_ci description: 1058c2ecf20Sopenharmony_ci value of the EMC_MRW register for this set of timings 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ci nvidia,emc-mode-2: 1088c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1098c2ecf20Sopenharmony_ci description: 1108c2ecf20Sopenharmony_ci value of the EMC_MRW2 register for this set of timings 1118c2ecf20Sopenharmony_ci 1128c2ecf20Sopenharmony_ci nvidia,emc-mode-4: 1138c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1148c2ecf20Sopenharmony_ci description: 1158c2ecf20Sopenharmony_ci value of the EMC_MRW4 register for this set of timings 1168c2ecf20Sopenharmony_ci 1178c2ecf20Sopenharmony_ci nvidia,emc-mode-reset: 1188c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1198c2ecf20Sopenharmony_ci description: 1208c2ecf20Sopenharmony_ci reset value of the EMC_MRS register for this set of timings 1218c2ecf20Sopenharmony_ci 1228c2ecf20Sopenharmony_ci nvidia,emc-mrs-wait-cnt: 1238c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1248c2ecf20Sopenharmony_ci description: 1258c2ecf20Sopenharmony_ci value of the EMR_MRS_WAIT_CNT register for this set of timings 1268c2ecf20Sopenharmony_ci 1278c2ecf20Sopenharmony_ci nvidia,emc-sel-dpd-ctrl: 1288c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1298c2ecf20Sopenharmony_ci description: 1308c2ecf20Sopenharmony_ci value of the EMC_SEL_DPD_CTRL register for this set of timings 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ci nvidia,emc-xm2dqspadctrl2: 1338c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1348c2ecf20Sopenharmony_ci description: 1358c2ecf20Sopenharmony_ci value of the EMC_XM2DQSPADCTRL2 register for this set of timings 1368c2ecf20Sopenharmony_ci 1378c2ecf20Sopenharmony_ci nvidia,emc-zcal-cnt-long: 1388c2ecf20Sopenharmony_ci description: 1398c2ecf20Sopenharmony_ci number of EMC clocks to wait before issuing any commands after 1408c2ecf20Sopenharmony_ci clock change 1418c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1428c2ecf20Sopenharmony_ci minimum: 0 1438c2ecf20Sopenharmony_ci maximum: 1023 1448c2ecf20Sopenharmony_ci 1458c2ecf20Sopenharmony_ci nvidia,emc-zcal-interval: 1468c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 1478c2ecf20Sopenharmony_ci description: 1488c2ecf20Sopenharmony_ci value of the EMC_ZCAL_INTERVAL register for this set of timings 1498c2ecf20Sopenharmony_ci 1508c2ecf20Sopenharmony_ci nvidia,emc-configuration: 1518c2ecf20Sopenharmony_ci description: 1528c2ecf20Sopenharmony_ci EMC timing characterization data. These are the registers (see 1538c2ecf20Sopenharmony_ci section "15.6.2 EMC Registers" in the TRM) whose values need to 1548c2ecf20Sopenharmony_ci be specified, according to the board documentation. 1558c2ecf20Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32-array 1568c2ecf20Sopenharmony_ci items: 1578c2ecf20Sopenharmony_ci - description: EMC_RC 1588c2ecf20Sopenharmony_ci - description: EMC_RFC 1598c2ecf20Sopenharmony_ci - description: EMC_RFC_SLR 1608c2ecf20Sopenharmony_ci - description: EMC_RAS 1618c2ecf20Sopenharmony_ci - description: EMC_RP 1628c2ecf20Sopenharmony_ci - description: EMC_R2W 1638c2ecf20Sopenharmony_ci - description: EMC_W2R 1648c2ecf20Sopenharmony_ci - description: EMC_R2P 1658c2ecf20Sopenharmony_ci - description: EMC_W2P 1668c2ecf20Sopenharmony_ci - description: EMC_RD_RCD 1678c2ecf20Sopenharmony_ci - description: EMC_WR_RCD 1688c2ecf20Sopenharmony_ci - description: EMC_RRD 1698c2ecf20Sopenharmony_ci - description: EMC_REXT 1708c2ecf20Sopenharmony_ci - description: EMC_WEXT 1718c2ecf20Sopenharmony_ci - description: EMC_WDV 1728c2ecf20Sopenharmony_ci - description: EMC_WDV_MASK 1738c2ecf20Sopenharmony_ci - description: EMC_QUSE 1748c2ecf20Sopenharmony_ci - description: EMC_QUSE_WIDTH 1758c2ecf20Sopenharmony_ci - description: EMC_IBDLY 1768c2ecf20Sopenharmony_ci - description: EMC_EINPUT 1778c2ecf20Sopenharmony_ci - description: EMC_EINPUT_DURATION 1788c2ecf20Sopenharmony_ci - description: EMC_PUTERM_EXTRA 1798c2ecf20Sopenharmony_ci - description: EMC_PUTERM_WIDTH 1808c2ecf20Sopenharmony_ci - description: EMC_PUTERM_ADJ 1818c2ecf20Sopenharmony_ci - description: EMC_CDB_CNTL_1 1828c2ecf20Sopenharmony_ci - description: EMC_CDB_CNTL_2 1838c2ecf20Sopenharmony_ci - description: EMC_CDB_CNTL_3 1848c2ecf20Sopenharmony_ci - description: EMC_QRST 1858c2ecf20Sopenharmony_ci - description: EMC_QSAFE 1868c2ecf20Sopenharmony_ci - description: EMC_RDV 1878c2ecf20Sopenharmony_ci - description: EMC_RDV_MASK 1888c2ecf20Sopenharmony_ci - description: EMC_REFRESH 1898c2ecf20Sopenharmony_ci - description: EMC_BURST_REFRESH_NUM 1908c2ecf20Sopenharmony_ci - description: EMC_PRE_REFRESH_REQ_CNT 1918c2ecf20Sopenharmony_ci - description: EMC_PDEX2WR 1928c2ecf20Sopenharmony_ci - description: EMC_PDEX2RD 1938c2ecf20Sopenharmony_ci - description: EMC_PCHG2PDEN 1948c2ecf20Sopenharmony_ci - description: EMC_ACT2PDEN 1958c2ecf20Sopenharmony_ci - description: EMC_AR2PDEN 1968c2ecf20Sopenharmony_ci - description: EMC_RW2PDEN 1978c2ecf20Sopenharmony_ci - description: EMC_TXSR 1988c2ecf20Sopenharmony_ci - description: EMC_TXSRDLL 1998c2ecf20Sopenharmony_ci - description: EMC_TCKE 2008c2ecf20Sopenharmony_ci - description: EMC_TCKESR 2018c2ecf20Sopenharmony_ci - description: EMC_TPD 2028c2ecf20Sopenharmony_ci - description: EMC_TFAW 2038c2ecf20Sopenharmony_ci - description: EMC_TRPAB 2048c2ecf20Sopenharmony_ci - description: EMC_TCLKSTABLE 2058c2ecf20Sopenharmony_ci - description: EMC_TCLKSTOP 2068c2ecf20Sopenharmony_ci - description: EMC_TREFBW 2078c2ecf20Sopenharmony_ci - description: EMC_FBIO_CFG6 2088c2ecf20Sopenharmony_ci - description: EMC_ODT_WRITE 2098c2ecf20Sopenharmony_ci - description: EMC_ODT_READ 2108c2ecf20Sopenharmony_ci - description: EMC_FBIO_CFG5 2118c2ecf20Sopenharmony_ci - description: EMC_CFG_DIG_DLL 2128c2ecf20Sopenharmony_ci - description: EMC_CFG_DIG_DLL_PERIOD 2138c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS0 2148c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS1 2158c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS2 2168c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS3 2178c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS4 2188c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS5 2198c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS6 2208c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS7 2218c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS8 2228c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS9 2238c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS10 2248c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS11 2258c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS12 2268c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS13 2278c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS14 2288c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQS15 2298c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE0 2308c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE1 2318c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE2 2328c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE3 2338c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE4 2348c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE5 2358c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE6 2368c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE7 2378c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_ADDR0 2388c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_ADDR1 2398c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_ADDR2 2408c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_ADDR3 2418c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_ADDR4 2428c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_ADDR5 2438c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE8 2448c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE9 2458c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE10 2468c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE11 2478c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE12 2488c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE13 2498c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE14 2508c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_QUSE15 2518c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS0 2528c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS1 2538c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS2 2548c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS3 2558c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS4 2568c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS5 2578c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS6 2588c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS7 2598c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS8 2608c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS9 2618c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS10 2628c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS11 2638c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS12 2648c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS13 2658c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS14 2668c2ecf20Sopenharmony_ci - description: EMC_DLI_TRIM_TXDQS15 2678c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ0 2688c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ1 2698c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ2 2708c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ3 2718c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ4 2728c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ5 2738c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ6 2748c2ecf20Sopenharmony_ci - description: EMC_DLL_XFORM_DQ7 2758c2ecf20Sopenharmony_ci - description: EMC_XM2CMDPADCTRL 2768c2ecf20Sopenharmony_ci - description: EMC_XM2CMDPADCTRL4 2778c2ecf20Sopenharmony_ci - description: EMC_XM2CMDPADCTRL5 2788c2ecf20Sopenharmony_ci - description: EMC_XM2DQPADCTRL2 2798c2ecf20Sopenharmony_ci - description: EMC_XM2DQPADCTRL3 2808c2ecf20Sopenharmony_ci - description: EMC_XM2CLKPADCTRL 2818c2ecf20Sopenharmony_ci - description: EMC_XM2CLKPADCTRL2 2828c2ecf20Sopenharmony_ci - description: EMC_XM2COMPPADCTRL 2838c2ecf20Sopenharmony_ci - description: EMC_XM2VTTGENPADCTRL 2848c2ecf20Sopenharmony_ci - description: EMC_XM2VTTGENPADCTRL2 2858c2ecf20Sopenharmony_ci - description: EMC_XM2VTTGENPADCTRL3 2868c2ecf20Sopenharmony_ci - description: EMC_XM2DQSPADCTRL3 2878c2ecf20Sopenharmony_ci - description: EMC_XM2DQSPADCTRL4 2888c2ecf20Sopenharmony_ci - description: EMC_XM2DQSPADCTRL5 2898c2ecf20Sopenharmony_ci - description: EMC_XM2DQSPADCTRL6 2908c2ecf20Sopenharmony_ci - description: EMC_DSR_VTTGEN_DRV 2918c2ecf20Sopenharmony_ci - description: EMC_TXDSRVTTGEN 2928c2ecf20Sopenharmony_ci - description: EMC_FBIO_SPARE 2938c2ecf20Sopenharmony_ci - description: EMC_ZCAL_WAIT_CNT 2948c2ecf20Sopenharmony_ci - description: EMC_MRS_WAIT_CNT2 2958c2ecf20Sopenharmony_ci - description: EMC_CTT 2968c2ecf20Sopenharmony_ci - description: EMC_CTT_DURATION 2978c2ecf20Sopenharmony_ci - description: EMC_CFG_PIPE 2988c2ecf20Sopenharmony_ci - description: EMC_DYN_SELF_REF_CONTROL 2998c2ecf20Sopenharmony_ci - description: EMC_QPOP 3008c2ecf20Sopenharmony_ci 3018c2ecf20Sopenharmony_ci required: 3028c2ecf20Sopenharmony_ci - clock-frequency 3038c2ecf20Sopenharmony_ci - nvidia,emc-auto-cal-config 3048c2ecf20Sopenharmony_ci - nvidia,emc-auto-cal-config2 3058c2ecf20Sopenharmony_ci - nvidia,emc-auto-cal-config3 3068c2ecf20Sopenharmony_ci - nvidia,emc-auto-cal-interval 3078c2ecf20Sopenharmony_ci - nvidia,emc-bgbias-ctl0 3088c2ecf20Sopenharmony_ci - nvidia,emc-cfg 3098c2ecf20Sopenharmony_ci - nvidia,emc-cfg-2 3108c2ecf20Sopenharmony_ci - nvidia,emc-ctt-term-ctrl 3118c2ecf20Sopenharmony_ci - nvidia,emc-mode-1 3128c2ecf20Sopenharmony_ci - nvidia,emc-mode-2 3138c2ecf20Sopenharmony_ci - nvidia,emc-mode-4 3148c2ecf20Sopenharmony_ci - nvidia,emc-mode-reset 3158c2ecf20Sopenharmony_ci - nvidia,emc-mrs-wait-cnt 3168c2ecf20Sopenharmony_ci - nvidia,emc-sel-dpd-ctrl 3178c2ecf20Sopenharmony_ci - nvidia,emc-xm2dqspadctrl2 3188c2ecf20Sopenharmony_ci - nvidia,emc-zcal-cnt-long 3198c2ecf20Sopenharmony_ci - nvidia,emc-zcal-interval 3208c2ecf20Sopenharmony_ci - nvidia,emc-configuration 3218c2ecf20Sopenharmony_ci 3228c2ecf20Sopenharmony_ci additionalProperties: false 3238c2ecf20Sopenharmony_ci 3248c2ecf20Sopenharmony_cirequired: 3258c2ecf20Sopenharmony_ci - compatible 3268c2ecf20Sopenharmony_ci - reg 3278c2ecf20Sopenharmony_ci - clocks 3288c2ecf20Sopenharmony_ci - clock-names 3298c2ecf20Sopenharmony_ci - nvidia,memory-controller 3308c2ecf20Sopenharmony_ci 3318c2ecf20Sopenharmony_ciadditionalProperties: false 3328c2ecf20Sopenharmony_ci 3338c2ecf20Sopenharmony_ciexamples: 3348c2ecf20Sopenharmony_ci - | 3358c2ecf20Sopenharmony_ci #include <dt-bindings/clock/tegra124-car.h> 3368c2ecf20Sopenharmony_ci #include <dt-bindings/interrupt-controller/arm-gic.h> 3378c2ecf20Sopenharmony_ci 3388c2ecf20Sopenharmony_ci mc: memory-controller@70019000 { 3398c2ecf20Sopenharmony_ci compatible = "nvidia,tegra124-mc"; 3408c2ecf20Sopenharmony_ci reg = <0x70019000 0x1000>; 3418c2ecf20Sopenharmony_ci clocks = <&tegra_car TEGRA124_CLK_MC>; 3428c2ecf20Sopenharmony_ci clock-names = "mc"; 3438c2ecf20Sopenharmony_ci 3448c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; 3458c2ecf20Sopenharmony_ci 3468c2ecf20Sopenharmony_ci #iommu-cells = <1>; 3478c2ecf20Sopenharmony_ci #reset-cells = <1>; 3488c2ecf20Sopenharmony_ci }; 3498c2ecf20Sopenharmony_ci 3508c2ecf20Sopenharmony_ci external-memory-controller@7001b000 { 3518c2ecf20Sopenharmony_ci compatible = "nvidia,tegra124-emc"; 3528c2ecf20Sopenharmony_ci reg = <0x7001b000 0x1000>; 3538c2ecf20Sopenharmony_ci clocks = <&car TEGRA124_CLK_EMC>; 3548c2ecf20Sopenharmony_ci clock-names = "emc"; 3558c2ecf20Sopenharmony_ci 3568c2ecf20Sopenharmony_ci nvidia,memory-controller = <&mc>; 3578c2ecf20Sopenharmony_ci 3588c2ecf20Sopenharmony_ci emc-timings-0 { 3598c2ecf20Sopenharmony_ci nvidia,ram-code = <3>; 3608c2ecf20Sopenharmony_ci 3618c2ecf20Sopenharmony_ci timing-0 { 3628c2ecf20Sopenharmony_ci clock-frequency = <12750000>; 3638c2ecf20Sopenharmony_ci 3648c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-config = <0xa1430000>; 3658c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-config2 = <0x00000000>; 3668c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-config3 = <0x00000000>; 3678c2ecf20Sopenharmony_ci nvidia,emc-auto-cal-interval = <0x001fffff>; 3688c2ecf20Sopenharmony_ci nvidia,emc-bgbias-ctl0 = <0x00000008>; 3698c2ecf20Sopenharmony_ci nvidia,emc-cfg = <0x73240000>; 3708c2ecf20Sopenharmony_ci nvidia,emc-cfg-2 = <0x000008c5>; 3718c2ecf20Sopenharmony_ci nvidia,emc-ctt-term-ctrl = <0x00000802>; 3728c2ecf20Sopenharmony_ci nvidia,emc-mode-1 = <0x80100003>; 3738c2ecf20Sopenharmony_ci nvidia,emc-mode-2 = <0x80200008>; 3748c2ecf20Sopenharmony_ci nvidia,emc-mode-4 = <0x00000000>; 3758c2ecf20Sopenharmony_ci nvidia,emc-mode-reset = <0x80001221>; 3768c2ecf20Sopenharmony_ci nvidia,emc-mrs-wait-cnt = <0x000e000e>; 3778c2ecf20Sopenharmony_ci nvidia,emc-sel-dpd-ctrl = <0x00040128>; 3788c2ecf20Sopenharmony_ci nvidia,emc-xm2dqspadctrl2 = <0x0130b118>; 3798c2ecf20Sopenharmony_ci nvidia,emc-zcal-cnt-long = <0x00000042>; 3808c2ecf20Sopenharmony_ci nvidia,emc-zcal-interval = <0x00000000>; 3818c2ecf20Sopenharmony_ci 3828c2ecf20Sopenharmony_ci nvidia,emc-configuration = < 3838c2ecf20Sopenharmony_ci 0x00000000 /* EMC_RC */ 3848c2ecf20Sopenharmony_ci 0x00000003 /* EMC_RFC */ 3858c2ecf20Sopenharmony_ci 0x00000000 /* EMC_RFC_SLR */ 3868c2ecf20Sopenharmony_ci 0x00000000 /* EMC_RAS */ 3878c2ecf20Sopenharmony_ci 0x00000000 /* EMC_RP */ 3888c2ecf20Sopenharmony_ci 0x00000004 /* EMC_R2W */ 3898c2ecf20Sopenharmony_ci 0x0000000a /* EMC_W2R */ 3908c2ecf20Sopenharmony_ci 0x00000003 /* EMC_R2P */ 3918c2ecf20Sopenharmony_ci 0x0000000b /* EMC_W2P */ 3928c2ecf20Sopenharmony_ci 0x00000000 /* EMC_RD_RCD */ 3938c2ecf20Sopenharmony_ci 0x00000000 /* EMC_WR_RCD */ 3948c2ecf20Sopenharmony_ci 0x00000003 /* EMC_RRD */ 3958c2ecf20Sopenharmony_ci 0x00000003 /* EMC_REXT */ 3968c2ecf20Sopenharmony_ci 0x00000000 /* EMC_WEXT */ 3978c2ecf20Sopenharmony_ci 0x00000006 /* EMC_WDV */ 3988c2ecf20Sopenharmony_ci 0x00000006 /* EMC_WDV_MASK */ 3998c2ecf20Sopenharmony_ci 0x00000006 /* EMC_QUSE */ 4008c2ecf20Sopenharmony_ci 0x00000002 /* EMC_QUSE_WIDTH */ 4018c2ecf20Sopenharmony_ci 0x00000000 /* EMC_IBDLY */ 4028c2ecf20Sopenharmony_ci 0x00000005 /* EMC_EINPUT */ 4038c2ecf20Sopenharmony_ci 0x00000005 /* EMC_EINPUT_DURATION */ 4048c2ecf20Sopenharmony_ci 0x00010000 /* EMC_PUTERM_EXTRA */ 4058c2ecf20Sopenharmony_ci 0x00000003 /* EMC_PUTERM_WIDTH */ 4068c2ecf20Sopenharmony_ci 0x00000000 /* EMC_PUTERM_ADJ */ 4078c2ecf20Sopenharmony_ci 0x00000000 /* EMC_CDB_CNTL_1 */ 4088c2ecf20Sopenharmony_ci 0x00000000 /* EMC_CDB_CNTL_2 */ 4098c2ecf20Sopenharmony_ci 0x00000000 /* EMC_CDB_CNTL_3 */ 4108c2ecf20Sopenharmony_ci 0x00000004 /* EMC_QRST */ 4118c2ecf20Sopenharmony_ci 0x0000000c /* EMC_QSAFE */ 4128c2ecf20Sopenharmony_ci 0x0000000d /* EMC_RDV */ 4138c2ecf20Sopenharmony_ci 0x0000000f /* EMC_RDV_MASK */ 4148c2ecf20Sopenharmony_ci 0x00000060 /* EMC_REFRESH */ 4158c2ecf20Sopenharmony_ci 0x00000000 /* EMC_BURST_REFRESH_NUM */ 4168c2ecf20Sopenharmony_ci 0x00000018 /* EMC_PRE_REFRESH_REQ_CNT */ 4178c2ecf20Sopenharmony_ci 0x00000002 /* EMC_PDEX2WR */ 4188c2ecf20Sopenharmony_ci 0x00000002 /* EMC_PDEX2RD */ 4198c2ecf20Sopenharmony_ci 0x00000001 /* EMC_PCHG2PDEN */ 4208c2ecf20Sopenharmony_ci 0x00000000 /* EMC_ACT2PDEN */ 4218c2ecf20Sopenharmony_ci 0x00000007 /* EMC_AR2PDEN */ 4228c2ecf20Sopenharmony_ci 0x0000000f /* EMC_RW2PDEN */ 4238c2ecf20Sopenharmony_ci 0x00000005 /* EMC_TXSR */ 4248c2ecf20Sopenharmony_ci 0x00000005 /* EMC_TXSRDLL */ 4258c2ecf20Sopenharmony_ci 0x00000004 /* EMC_TCKE */ 4268c2ecf20Sopenharmony_ci 0x00000005 /* EMC_TCKESR */ 4278c2ecf20Sopenharmony_ci 0x00000004 /* EMC_TPD */ 4288c2ecf20Sopenharmony_ci 0x00000000 /* EMC_TFAW */ 4298c2ecf20Sopenharmony_ci 0x00000000 /* EMC_TRPAB */ 4308c2ecf20Sopenharmony_ci 0x00000005 /* EMC_TCLKSTABLE */ 4318c2ecf20Sopenharmony_ci 0x00000005 /* EMC_TCLKSTOP */ 4328c2ecf20Sopenharmony_ci 0x00000064 /* EMC_TREFBW */ 4338c2ecf20Sopenharmony_ci 0x00000000 /* EMC_FBIO_CFG6 */ 4348c2ecf20Sopenharmony_ci 0x00000000 /* EMC_ODT_WRITE */ 4358c2ecf20Sopenharmony_ci 0x00000000 /* EMC_ODT_READ */ 4368c2ecf20Sopenharmony_ci 0x106aa298 /* EMC_FBIO_CFG5 */ 4378c2ecf20Sopenharmony_ci 0x002c00a0 /* EMC_CFG_DIG_DLL */ 4388c2ecf20Sopenharmony_ci 0x00008000 /* EMC_CFG_DIG_DLL_PERIOD */ 4398c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS0 */ 4408c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS1 */ 4418c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS2 */ 4428c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS3 */ 4438c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS4 */ 4448c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS5 */ 4458c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS6 */ 4468c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS7 */ 4478c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS8 */ 4488c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS9 */ 4498c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS10 */ 4508c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS11 */ 4518c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS12 */ 4528c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS13 */ 4538c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS14 */ 4548c2ecf20Sopenharmony_ci 0x00064000 /* EMC_DLL_XFORM_DQS15 */ 4558c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE0 */ 4568c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE1 */ 4578c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE2 */ 4588c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE3 */ 4598c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE4 */ 4608c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE5 */ 4618c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE6 */ 4628c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE7 */ 4638c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_ADDR0 */ 4648c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_ADDR1 */ 4658c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_ADDR2 */ 4668c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_ADDR3 */ 4678c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_ADDR4 */ 4688c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_ADDR5 */ 4698c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE8 */ 4708c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE9 */ 4718c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE10 */ 4728c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE11 */ 4738c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE12 */ 4748c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE13 */ 4758c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE14 */ 4768c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLL_XFORM_QUSE15 */ 4778c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS0 */ 4788c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS1 */ 4798c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS2 */ 4808c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS3 */ 4818c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS4 */ 4828c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS5 */ 4838c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS6 */ 4848c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS7 */ 4858c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS8 */ 4868c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS9 */ 4878c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS10 */ 4888c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS11 */ 4898c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS12 */ 4908c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS13 */ 4918c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS14 */ 4928c2ecf20Sopenharmony_ci 0x00000000 /* EMC_DLI_TRIM_TXDQS15 */ 4938c2ecf20Sopenharmony_ci 0x000fc000 /* EMC_DLL_XFORM_DQ0 */ 4948c2ecf20Sopenharmony_ci 0x000fc000 /* EMC_DLL_XFORM_DQ1 */ 4958c2ecf20Sopenharmony_ci 0x000fc000 /* EMC_DLL_XFORM_DQ2 */ 4968c2ecf20Sopenharmony_ci 0x000fc000 /* EMC_DLL_XFORM_DQ3 */ 4978c2ecf20Sopenharmony_ci 0x0000fc00 /* EMC_DLL_XFORM_DQ4 */ 4988c2ecf20Sopenharmony_ci 0x0000fc00 /* EMC_DLL_XFORM_DQ5 */ 4998c2ecf20Sopenharmony_ci 0x0000fc00 /* EMC_DLL_XFORM_DQ6 */ 5008c2ecf20Sopenharmony_ci 0x0000fc00 /* EMC_DLL_XFORM_DQ7 */ 5018c2ecf20Sopenharmony_ci 0x10000280 /* EMC_XM2CMDPADCTRL */ 5028c2ecf20Sopenharmony_ci 0x00000000 /* EMC_XM2CMDPADCTRL4 */ 5038c2ecf20Sopenharmony_ci 0x00111111 /* EMC_XM2CMDPADCTRL5 */ 5048c2ecf20Sopenharmony_ci 0x00000000 /* EMC_XM2DQPADCTRL2 */ 5058c2ecf20Sopenharmony_ci 0x00000000 /* EMC_XM2DQPADCTRL3 */ 5068c2ecf20Sopenharmony_ci 0x77ffc081 /* EMC_XM2CLKPADCTRL */ 5078c2ecf20Sopenharmony_ci 0x00000e0e /* EMC_XM2CLKPADCTRL2 */ 5088c2ecf20Sopenharmony_ci 0x81f1f108 /* EMC_XM2COMPPADCTRL */ 5098c2ecf20Sopenharmony_ci 0x07070004 /* EMC_XM2VTTGENPADCTRL */ 5108c2ecf20Sopenharmony_ci 0x0000003f /* EMC_XM2VTTGENPADCTRL2 */ 5118c2ecf20Sopenharmony_ci 0x016eeeee /* EMC_XM2VTTGENPADCTRL3 */ 5128c2ecf20Sopenharmony_ci 0x51451400 /* EMC_XM2DQSPADCTRL3 */ 5138c2ecf20Sopenharmony_ci 0x00514514 /* EMC_XM2DQSPADCTRL4 */ 5148c2ecf20Sopenharmony_ci 0x00514514 /* EMC_XM2DQSPADCTRL5 */ 5158c2ecf20Sopenharmony_ci 0x51451400 /* EMC_XM2DQSPADCTRL6 */ 5168c2ecf20Sopenharmony_ci 0x0000003f /* EMC_DSR_VTTGEN_DRV */ 5178c2ecf20Sopenharmony_ci 0x00000007 /* EMC_TXDSRVTTGEN */ 5188c2ecf20Sopenharmony_ci 0x00000000 /* EMC_FBIO_SPARE */ 5198c2ecf20Sopenharmony_ci 0x00000042 /* EMC_ZCAL_WAIT_CNT */ 5208c2ecf20Sopenharmony_ci 0x000e000e /* EMC_MRS_WAIT_CNT2 */ 5218c2ecf20Sopenharmony_ci 0x00000000 /* EMC_CTT */ 5228c2ecf20Sopenharmony_ci 0x00000003 /* EMC_CTT_DURATION */ 5238c2ecf20Sopenharmony_ci 0x0000f2f3 /* EMC_CFG_PIPE */ 5248c2ecf20Sopenharmony_ci 0x800001c5 /* EMC_DYN_SELF_REF_CONTROL */ 5258c2ecf20Sopenharmony_ci 0x0000000a /* EMC_QPOP */ 5268c2ecf20Sopenharmony_ci >; 5278c2ecf20Sopenharmony_ci }; 5288c2ecf20Sopenharmony_ci }; 5298c2ecf20Sopenharmony_ci }; 530