Skip to content

Commit 3044d98

Browse files
thierryredingrobherring
authored andcommitted
dt-bindings: memory-controller: Update example for Tegra124 EMC
The example in the Tegra124 EMC device tree binding looks like an old version that doesn't contain all the required fields. Update it with a version from the current DTS files to fix the make dt_binding_check target. Reported-by: Rob Herring <[email protected]> Signed-off-by: Thierry Reding <[email protected]> [robh: also fix missing '#reset-cells'] Signed-off-by: Rob Herring <[email protected]>
1 parent 88d5271 commit 3044d98

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-emc.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ examples:
347347
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
348348
349349
#iommu-cells = <1>;
350+
#reset-cells = <1>;
350351
};
351352
352353
external-memory-controller@7001b000 {
@@ -363,20 +364,23 @@ examples:
363364
timing-0 {
364365
clock-frequency = <12750000>;
365366
366-
nvidia,emc-zcal-cnt-long = <0x00000042>;
367-
nvidia,emc-auto-cal-interval = <0x001fffff>;
368-
nvidia,emc-ctt-term-ctrl = <0x00000802>;
369-
nvidia,emc-cfg = <0x73240000>;
370-
nvidia,emc-cfg-2 = <0x000008c5>;
371-
nvidia,emc-sel-dpd-ctrl = <0x00040128>;
372-
nvidia,emc-bgbias-ctl0 = <0x00000008>;
373367
nvidia,emc-auto-cal-config = <0xa1430000>;
374368
nvidia,emc-auto-cal-config2 = <0x00000000>;
375369
nvidia,emc-auto-cal-config3 = <0x00000000>;
376-
nvidia,emc-mode-reset = <0x80001221>;
370+
nvidia,emc-auto-cal-interval = <0x001fffff>;
371+
nvidia,emc-bgbias-ctl0 = <0x00000008>;
372+
nvidia,emc-cfg = <0x73240000>;
373+
nvidia,emc-cfg-2 = <0x000008c5>;
374+
nvidia,emc-ctt-term-ctrl = <0x00000802>;
377375
nvidia,emc-mode-1 = <0x80100003>;
378376
nvidia,emc-mode-2 = <0x80200008>;
379377
nvidia,emc-mode-4 = <0x00000000>;
378+
nvidia,emc-mode-reset = <0x80001221>;
379+
nvidia,emc-mrs-wait-cnt = <0x000e000e>;
380+
nvidia,emc-sel-dpd-ctrl = <0x00040128>;
381+
nvidia,emc-xm2dqspadctrl2 = <0x0130b118>;
382+
nvidia,emc-zcal-cnt-long = <0x00000042>;
383+
nvidia,emc-zcal-interval = <0x00000000>;
380384
381385
nvidia,emc-configuration = <
382386
0x00000000 /* EMC_RC */

0 commit comments

Comments
 (0)