hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/arm64/boot/dts/renesas/r8a77995.dtsi
....@@ -1,6 +1,6 @@
11 // SPDX-License-Identifier: GPL-2.0
22 /*
3
- * Device Tree Source for the r8a77995 SoC
3
+ * Device Tree Source for the R-Car D3 (R8A77995) SoC
44 *
55 * Copyright (C) 2016 Renesas Electronics Corp.
66 * Copyright (C) 2017 Glider bvba
....@@ -27,7 +27,7 @@
2727 #size-cells = <0>;
2828
2929 a53_0: cpu@0 {
30
- compatible = "arm,cortex-a53", "arm,armv8";
30
+ compatible = "arm,cortex-a53";
3131 reg = <0x0>;
3232 device_type = "cpu";
3333 power-domains = <&sysc R8A77995_PD_CA53_CPU0>;
....@@ -188,7 +188,7 @@
188188 resets = <&cpg 906>;
189189 };
190190
191
- pfc: pin-controller@e6060000 {
191
+ pfc: pinctrl@e6060000 {
192192 compatible = "renesas,pfc-r8a77995";
193193 reg = <0 0xe6060000 0 0x508>;
194194 };
....@@ -231,50 +231,15 @@
231231 #interrupt-cells = <2>;
232232 interrupt-controller;
233233 reg = <0 0xe61c0000 0 0x200>;
234
- interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
235
- GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
236
- GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
237
- GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
238
- GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
239
- GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
234
+ interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
235
+ <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
236
+ <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
237
+ <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
238
+ <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
239
+ <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
240240 clocks = <&cpg CPG_MOD 407>;
241241 power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
242242 resets = <&cpg 407>;
243
- };
244
-
245
- hscif0: serial@e6540000 {
246
- compatible = "renesas,hscif-r8a77995",
247
- "renesas,rcar-gen3-hscif",
248
- "renesas,hscif";
249
- reg = <0 0xe6540000 0 0x60>;
250
- interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
251
- clocks = <&cpg CPG_MOD 520>,
252
- <&cpg CPG_CORE R8A77995_CLK_S3D1C>,
253
- <&scif_clk>;
254
- clock-names = "fck", "brg_int", "scif_clk";
255
- dmas = <&dmac1 0x31>, <&dmac1 0x30>,
256
- <&dmac2 0x31>, <&dmac2 0x30>;
257
- dma-names = "tx", "rx", "tx", "rx";
258
- power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
259
- resets = <&cpg 520>;
260
- status = "disabled";
261
- };
262
-
263
- hscif3: serial@e66a0000 {
264
- compatible = "renesas,hscif-r8a77995",
265
- "renesas,rcar-gen3-hscif",
266
- "renesas,hscif";
267
- reg = <0 0xe66a0000 0 0x60>;
268
- interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
269
- clocks = <&cpg CPG_MOD 517>,
270
- <&cpg CPG_CORE R8A77995_CLK_S3D1C>,
271
- <&scif_clk>;
272
- clock-names = "fck", "brg_int", "scif_clk";
273
- dmas = <&dmac0 0x37>, <&dmac0 0x36>;
274
- dma-names = "tx", "rx";
275
- power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
276
- resets = <&cpg 517>;
277
- status = "disabled";
278243 };
279244
280245 i2c0: i2c@e6500000 {
....@@ -344,6 +309,95 @@
344309 status = "disabled";
345310 };
346311
312
+ hscif0: serial@e6540000 {
313
+ compatible = "renesas,hscif-r8a77995",
314
+ "renesas,rcar-gen3-hscif",
315
+ "renesas,hscif";
316
+ reg = <0 0xe6540000 0 0x60>;
317
+ interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
318
+ clocks = <&cpg CPG_MOD 520>,
319
+ <&cpg CPG_CORE R8A77995_CLK_S3D1C>,
320
+ <&scif_clk>;
321
+ clock-names = "fck", "brg_int", "scif_clk";
322
+ dmas = <&dmac1 0x31>, <&dmac1 0x30>,
323
+ <&dmac2 0x31>, <&dmac2 0x30>;
324
+ dma-names = "tx", "rx", "tx", "rx";
325
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
326
+ resets = <&cpg 520>;
327
+ status = "disabled";
328
+ };
329
+
330
+ hscif3: serial@e66a0000 {
331
+ compatible = "renesas,hscif-r8a77995",
332
+ "renesas,rcar-gen3-hscif",
333
+ "renesas,hscif";
334
+ reg = <0 0xe66a0000 0 0x60>;
335
+ interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
336
+ clocks = <&cpg CPG_MOD 517>,
337
+ <&cpg CPG_CORE R8A77995_CLK_S3D1C>,
338
+ <&scif_clk>;
339
+ clock-names = "fck", "brg_int", "scif_clk";
340
+ dmas = <&dmac0 0x37>, <&dmac0 0x36>;
341
+ dma-names = "tx", "rx";
342
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
343
+ resets = <&cpg 517>;
344
+ status = "disabled";
345
+ };
346
+
347
+ hsusb: usb@e6590000 {
348
+ compatible = "renesas,usbhs-r8a77995",
349
+ "renesas,rcar-gen3-usbhs";
350
+ reg = <0 0xe6590000 0 0x200>;
351
+ interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
352
+ clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>;
353
+ dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
354
+ <&usb_dmac1 0>, <&usb_dmac1 1>;
355
+ dma-names = "ch0", "ch1", "ch2", "ch3";
356
+ renesas,buswait = <11>;
357
+ phys = <&usb2_phy0 3>;
358
+ phy-names = "usb";
359
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
360
+ resets = <&cpg 704>, <&cpg 703>;
361
+ status = "disabled";
362
+ };
363
+
364
+ usb_dmac0: dma-controller@e65a0000 {
365
+ compatible = "renesas,r8a77995-usb-dmac",
366
+ "renesas,usb-dmac";
367
+ reg = <0 0xe65a0000 0 0x100>;
368
+ interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
369
+ <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
370
+ interrupt-names = "ch0", "ch1";
371
+ clocks = <&cpg CPG_MOD 330>;
372
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
373
+ resets = <&cpg 330>;
374
+ #dma-cells = <1>;
375
+ dma-channels = <2>;
376
+ };
377
+
378
+ usb_dmac1: dma-controller@e65b0000 {
379
+ compatible = "renesas,r8a77995-usb-dmac",
380
+ "renesas,usb-dmac";
381
+ reg = <0 0xe65b0000 0 0x100>;
382
+ interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
383
+ <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
384
+ interrupt-names = "ch0", "ch1";
385
+ clocks = <&cpg CPG_MOD 331>;
386
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
387
+ resets = <&cpg 331>;
388
+ #dma-cells = <1>;
389
+ dma-channels = <2>;
390
+ };
391
+
392
+ arm_cc630p: crypto@e6601000 {
393
+ compatible = "arm,cryptocell-630p-ree";
394
+ interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
395
+ reg = <0x0 0xe6601000 0 0x1000>;
396
+ clocks = <&cpg CPG_MOD 229>;
397
+ resets = <&cpg 229>;
398
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
399
+ };
400
+
347401 canfd: can@e66c0000 {
348402 compatible = "renesas,r8a77995-canfd",
349403 "renesas,rcar-gen3-canfd";
....@@ -373,15 +427,15 @@
373427 compatible = "renesas,dmac-r8a77995",
374428 "renesas,rcar-dmac";
375429 reg = <0 0xe6700000 0 0x10000>;
376
- interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
377
- GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
378
- GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
379
- GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
380
- GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
381
- GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
382
- GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
383
- GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
384
- GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
430
+ interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
431
+ <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
432
+ <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
433
+ <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
434
+ <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
435
+ <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
436
+ <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
437
+ <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
438
+ <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>;
385439 interrupt-names = "error",
386440 "ch0", "ch1", "ch2", "ch3",
387441 "ch4", "ch5", "ch6", "ch7";
....@@ -391,21 +445,25 @@
391445 resets = <&cpg 219>;
392446 #dma-cells = <1>;
393447 dma-channels = <8>;
448
+ iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>,
449
+ <&ipmmu_ds0 2>, <&ipmmu_ds0 3>,
450
+ <&ipmmu_ds0 4>, <&ipmmu_ds0 5>,
451
+ <&ipmmu_ds0 6>, <&ipmmu_ds0 7>;
394452 };
395453
396454 dmac1: dma-controller@e7300000 {
397455 compatible = "renesas,dmac-r8a77995",
398456 "renesas,rcar-dmac";
399457 reg = <0 0xe7300000 0 0x10000>;
400
- interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
401
- GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
402
- GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
403
- GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
404
- GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
405
- GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
406
- GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
407
- GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
408
- GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
458
+ interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
459
+ <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
460
+ <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
461
+ <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
462
+ <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
463
+ <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
464
+ <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
465
+ <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
466
+ <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
409467 interrupt-names = "error",
410468 "ch0", "ch1", "ch2", "ch3",
411469 "ch4", "ch5", "ch6", "ch7";
....@@ -415,21 +473,25 @@
415473 resets = <&cpg 218>;
416474 #dma-cells = <1>;
417475 dma-channels = <8>;
476
+ iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
477
+ <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
478
+ <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
479
+ <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
418480 };
419481
420482 dmac2: dma-controller@e7310000 {
421483 compatible = "renesas,dmac-r8a77995",
422484 "renesas,rcar-dmac";
423485 reg = <0 0xe7310000 0 0x10000>;
424
- interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
425
- GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
426
- GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
427
- GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
428
- GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
429
- GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
430
- GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
431
- GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
432
- GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>;
486
+ interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
487
+ <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
488
+ <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
489
+ <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
490
+ <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
491
+ <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
492
+ <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
493
+ <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
494
+ <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>;
433495 interrupt-names = "error",
434496 "ch0", "ch1", "ch2", "ch3",
435497 "ch4", "ch5", "ch6", "ch7";
....@@ -439,9 +501,13 @@
439501 resets = <&cpg 217>;
440502 #dma-cells = <1>;
441503 dma-channels = <8>;
504
+ iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
505
+ <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
506
+ <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
507
+ <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
442508 };
443509
444
- ipmmu_ds0: mmu@e6740000 {
510
+ ipmmu_ds0: iommu@e6740000 {
445511 compatible = "renesas,ipmmu-r8a77995";
446512 reg = <0 0xe6740000 0 0x1000>;
447513 renesas,ipmmu-main = <&ipmmu_mm 0>;
....@@ -449,7 +515,7 @@
449515 #iommu-cells = <1>;
450516 };
451517
452
- ipmmu_ds1: mmu@e7740000 {
518
+ ipmmu_ds1: iommu@e7740000 {
453519 compatible = "renesas,ipmmu-r8a77995";
454520 reg = <0 0xe7740000 0 0x1000>;
455521 renesas,ipmmu-main = <&ipmmu_mm 1>;
....@@ -457,7 +523,7 @@
457523 #iommu-cells = <1>;
458524 };
459525
460
- ipmmu_hc: mmu@e6570000 {
526
+ ipmmu_hc: iommu@e6570000 {
461527 compatible = "renesas,ipmmu-r8a77995";
462528 reg = <0 0xe6570000 0 0x1000>;
463529 renesas,ipmmu-main = <&ipmmu_mm 2>;
....@@ -465,7 +531,7 @@
465531 #iommu-cells = <1>;
466532 };
467533
468
- ipmmu_mm: mmu@e67b0000 {
534
+ ipmmu_mm: iommu@e67b0000 {
469535 compatible = "renesas,ipmmu-r8a77995";
470536 reg = <0 0xe67b0000 0 0x1000>;
471537 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
....@@ -474,7 +540,7 @@
474540 #iommu-cells = <1>;
475541 };
476542
477
- ipmmu_mp: mmu@ec670000 {
543
+ ipmmu_mp: iommu@ec670000 {
478544 compatible = "renesas,ipmmu-r8a77995";
479545 reg = <0 0xec670000 0 0x1000>;
480546 renesas,ipmmu-main = <&ipmmu_mm 4>;
....@@ -482,7 +548,7 @@
482548 #iommu-cells = <1>;
483549 };
484550
485
- ipmmu_pv0: mmu@fd800000 {
551
+ ipmmu_pv0: iommu@fd800000 {
486552 compatible = "renesas,ipmmu-r8a77995";
487553 reg = <0 0xfd800000 0 0x1000>;
488554 renesas,ipmmu-main = <&ipmmu_mm 6>;
....@@ -490,7 +556,7 @@
490556 #iommu-cells = <1>;
491557 };
492558
493
- ipmmu_rt: mmu@ffc80000 {
559
+ ipmmu_rt: iommu@ffc80000 {
494560 compatible = "renesas,ipmmu-r8a77995";
495561 reg = <0 0xffc80000 0 0x1000>;
496562 renesas,ipmmu-main = <&ipmmu_mm 10>;
....@@ -498,7 +564,7 @@
498564 #iommu-cells = <1>;
499565 };
500566
501
- ipmmu_vc0: mmu@fe6b0000 {
567
+ ipmmu_vc0: iommu@fe6b0000 {
502568 compatible = "renesas,ipmmu-r8a77995";
503569 reg = <0 0xfe6b0000 0 0x1000>;
504570 renesas,ipmmu-main = <&ipmmu_mm 12>;
....@@ -506,7 +572,7 @@
506572 #iommu-cells = <1>;
507573 };
508574
509
- ipmmu_vi0: mmu@febd0000 {
575
+ ipmmu_vi0: iommu@febd0000 {
510576 compatible = "renesas,ipmmu-r8a77995";
511577 reg = <0 0xfebd0000 0 0x1000>;
512578 renesas,ipmmu-main = <&ipmmu_mm 14>;
....@@ -514,7 +580,7 @@
514580 #iommu-cells = <1>;
515581 };
516582
517
- ipmmu_vp0: mmu@fe990000 {
583
+ ipmmu_vp0: iommu@fe990000 {
518584 compatible = "renesas,ipmmu-r8a77995";
519585 reg = <0 0xfe990000 0 0x1000>;
520586 renesas,ipmmu-main = <&ipmmu_mm 16>;
....@@ -817,11 +883,11 @@
817883 compatible = "generic-ohci";
818884 reg = <0 0xee080000 0 0x100>;
819885 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
820
- clocks = <&cpg CPG_MOD 703>;
821
- phys = <&usb2_phy0>;
886
+ clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
887
+ phys = <&usb2_phy0 1>;
822888 phy-names = "usb";
823889 power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
824
- resets = <&cpg 703>;
890
+ resets = <&cpg 703>, <&cpg 704>;
825891 status = "disabled";
826892 };
827893
....@@ -829,12 +895,12 @@
829895 compatible = "generic-ehci";
830896 reg = <0 0xee080100 0 0x100>;
831897 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
832
- clocks = <&cpg CPG_MOD 703>;
833
- phys = <&usb2_phy0>;
898
+ clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
899
+ phys = <&usb2_phy0 2>;
834900 phy-names = "usb";
835901 companion = <&ohci0>;
836902 power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
837
- resets = <&cpg 703>;
903
+ resets = <&cpg 703>, <&cpg 704>;
838904 status = "disabled";
839905 };
840906
....@@ -843,14 +909,14 @@
843909 "renesas,rcar-gen3-usb2-phy";
844910 reg = <0 0xee080200 0 0x700>;
845911 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
846
- clocks = <&cpg CPG_MOD 703>;
912
+ clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>;
847913 power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
848
- resets = <&cpg 703>;
849
- #phy-cells = <0>;
914
+ resets = <&cpg 703>, <&cpg 704>;
915
+ #phy-cells = <1>;
850916 status = "disabled";
851917 };
852918
853
- sdhi2: sd@ee140000 {
919
+ sdhi2: mmc@ee140000 {
854920 compatible = "renesas,sdhi-r8a77995",
855921 "renesas,rcar-gen3-sdhi";
856922 reg = <0 0xee140000 0 0x2000>;
....@@ -859,6 +925,7 @@
859925 max-frequency = <200000000>;
860926 power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
861927 resets = <&cpg 312>;
928
+ iommus = <&ipmmu_ds1 34>;
862929 status = "disabled";
863930 };
864931
....@@ -936,15 +1003,37 @@
9361003 iommus = <&ipmmu_vi0 9>;
9371004 };
9381005
1006
+ cmm0: cmm@fea40000 {
1007
+ compatible = "renesas,r8a77995-cmm",
1008
+ "renesas,rcar-gen3-cmm";
1009
+ reg = <0 0xfea40000 0 0x1000>;
1010
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
1011
+ clocks = <&cpg CPG_MOD 711>;
1012
+ resets = <&cpg 711>;
1013
+ };
1014
+
1015
+ cmm1: cmm@fea50000 {
1016
+ compatible = "renesas,r8a77995-cmm",
1017
+ "renesas,rcar-gen3-cmm";
1018
+ reg = <0 0xfea50000 0 0x1000>;
1019
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
1020
+ clocks = <&cpg CPG_MOD 710>;
1021
+ resets = <&cpg 710>;
1022
+ };
1023
+
9391024 du: display@feb00000 {
9401025 compatible = "renesas,du-r8a77995";
9411026 reg = <0 0xfeb00000 0 0x40000>;
9421027 interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
9431028 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
944
- clocks = <&cpg CPG_MOD 724>,
945
- <&cpg CPG_MOD 723>;
1029
+ clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>;
9461030 clock-names = "du.0", "du.1";
947
- vsps = <&vspd0 0 &vspd1 0>;
1031
+ resets = <&cpg 724>;
1032
+ reset-names = "du.0";
1033
+
1034
+ renesas,cmms = <&cmm0>, <&cmm1>;
1035
+ renesas,vsps = <&vspd0 0>, <&vspd1 0>;
1036
+
9481037 status = "disabled";
9491038
9501039 ports {
....@@ -960,12 +1049,70 @@
9601049 port@1 {
9611050 reg = <1>;
9621051 du_out_lvds0: endpoint {
1052
+ remote-endpoint = <&lvds0_in>;
9631053 };
9641054 };
9651055
9661056 port@2 {
9671057 reg = <2>;
9681058 du_out_lvds1: endpoint {
1059
+ remote-endpoint = <&lvds1_in>;
1060
+ };
1061
+ };
1062
+ };
1063
+ };
1064
+
1065
+ lvds0: lvds-encoder@feb90000 {
1066
+ compatible = "renesas,r8a77995-lvds";
1067
+ reg = <0 0xfeb90000 0 0x20>;
1068
+ clocks = <&cpg CPG_MOD 727>;
1069
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
1070
+ resets = <&cpg 727>;
1071
+ status = "disabled";
1072
+
1073
+ renesas,companion = <&lvds1>;
1074
+
1075
+ ports {
1076
+ #address-cells = <1>;
1077
+ #size-cells = <0>;
1078
+
1079
+ port@0 {
1080
+ reg = <0>;
1081
+ lvds0_in: endpoint {
1082
+ remote-endpoint = <&du_out_lvds0>;
1083
+ };
1084
+ };
1085
+
1086
+ port@1 {
1087
+ reg = <1>;
1088
+ lvds0_out: endpoint {
1089
+ };
1090
+ };
1091
+ };
1092
+ };
1093
+
1094
+ lvds1: lvds-encoder@feb90100 {
1095
+ compatible = "renesas,r8a77995-lvds";
1096
+ reg = <0 0xfeb90100 0 0x20>;
1097
+ clocks = <&cpg CPG_MOD 727>;
1098
+ power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
1099
+ resets = <&cpg 726>;
1100
+ status = "disabled";
1101
+
1102
+ ports {
1103
+ #address-cells = <1>;
1104
+ #size-cells = <0>;
1105
+
1106
+ port@0 {
1107
+ reg = <0>;
1108
+ lvds1_in: endpoint {
1109
+ remote-endpoint = <&du_out_lvds1>;
1110
+ };
1111
+ };
1112
+
1113
+ port@1 {
1114
+ reg = <1>;
1115
+ lvds1_out: endpoint {
9691116 };
9701117 };
9711118 };
....@@ -983,15 +1130,15 @@
9831130 polling-delay = <1000>;
9841131 thermal-sensors = <&thermal>;
9851132
1133
+ cooling-maps {
1134
+ };
1135
+
9861136 trips {
9871137 cpu-crit {
9881138 temperature = <120000>;
9891139 hysteresis = <2000>;
9901140 type = "critical";
9911141 };
992
- };
993
-
994
- cooling-maps {
9951142 };
9961143 };
9971144 };