xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77990.dtsi (revision 103db9b539567073de2200a8a0a725646610865d)
1f37a7767SYoshihiro Shimoda/* SPDX-License-Identifier: GPL-2.0 */
2f37a7767SYoshihiro Shimoda/*
3e18a31a7SMagnus Damm * Device Tree Source for the R-Car E3 (R8A77990) SoC
4f37a7767SYoshihiro Shimoda *
5f37a7767SYoshihiro Shimoda * Copyright (C) 2018 Renesas Electronics Corp.
6f37a7767SYoshihiro Shimoda */
7f37a7767SYoshihiro Shimoda
883e7d2ecSGeert Uytterhoeven#include <dt-bindings/clock/r8a77990-cpg-mssr.h>
9f37a7767SYoshihiro Shimoda#include <dt-bindings/interrupt-controller/arm-gic.h>
1055697cbbSMagnus Damm#include <dt-bindings/power/r8a77990-sysc.h>
11f37a7767SYoshihiro Shimoda
12f37a7767SYoshihiro Shimoda/ {
13f37a7767SYoshihiro Shimoda	compatible = "renesas,r8a77990";
14f37a7767SYoshihiro Shimoda	#address-cells = <2>;
15f37a7767SYoshihiro Shimoda	#size-cells = <2>;
16f37a7767SYoshihiro Shimoda
17f37a7767SYoshihiro Shimoda	cpus {
18f37a7767SYoshihiro Shimoda		#address-cells = <1>;
19f37a7767SYoshihiro Shimoda		#size-cells = <0>;
20f37a7767SYoshihiro Shimoda
21f37a7767SYoshihiro Shimoda		a53_0: cpu@0 {
22f37a7767SYoshihiro Shimoda			compatible = "arm,cortex-a53", "arm,armv8";
237085f5d9SGeert Uytterhoeven			reg = <0>;
24f37a7767SYoshihiro Shimoda			device_type = "cpu";
2583e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_CA53_CPU0>;
26f37a7767SYoshihiro Shimoda			next-level-cache = <&L2_CA53>;
27f37a7767SYoshihiro Shimoda			enable-method = "psci";
28f37a7767SYoshihiro Shimoda		};
29f37a7767SYoshihiro Shimoda
307085f5d9SGeert Uytterhoeven		a53_1: cpu@1 {
317085f5d9SGeert Uytterhoeven			compatible = "arm,cortex-a53", "arm,armv8";
327085f5d9SGeert Uytterhoeven			reg = <1>;
337085f5d9SGeert Uytterhoeven			device_type = "cpu";
3483e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_CA53_CPU1>;
357085f5d9SGeert Uytterhoeven			next-level-cache = <&L2_CA53>;
367085f5d9SGeert Uytterhoeven			enable-method = "psci";
377085f5d9SGeert Uytterhoeven		};
387085f5d9SGeert Uytterhoeven
39de1eb23cSYoshihiro Shimoda		L2_CA53: cache-controller-0 {
40f37a7767SYoshihiro Shimoda			compatible = "cache";
4183e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_CA53_SCU>;
42f37a7767SYoshihiro Shimoda			cache-unified;
43f37a7767SYoshihiro Shimoda			cache-level = <2>;
44f37a7767SYoshihiro Shimoda		};
45f37a7767SYoshihiro Shimoda	};
46f37a7767SYoshihiro Shimoda
47f37a7767SYoshihiro Shimoda	extal_clk: extal {
48f37a7767SYoshihiro Shimoda		compatible = "fixed-clock";
49f37a7767SYoshihiro Shimoda		#clock-cells = <0>;
50f37a7767SYoshihiro Shimoda		/* This value must be overridden by the board */
51f37a7767SYoshihiro Shimoda		clock-frequency = <0>;
52f37a7767SYoshihiro Shimoda	};
53f37a7767SYoshihiro Shimoda
54f37a7767SYoshihiro Shimoda	pmu_a53 {
55f37a7767SYoshihiro Shimoda		compatible = "arm,cortex-a53-pmu";
567085f5d9SGeert Uytterhoeven		interrupts-extended = <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
577085f5d9SGeert Uytterhoeven				      <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
587085f5d9SGeert Uytterhoeven		interrupt-affinity = <&a53_0>, <&a53_1>;
59f37a7767SYoshihiro Shimoda	};
60f37a7767SYoshihiro Shimoda
61f37a7767SYoshihiro Shimoda	psci {
62bc26b8f4SYoshihiro Shimoda		compatible = "arm,psci-1.0", "arm,psci-0.2";
63f37a7767SYoshihiro Shimoda		method = "smc";
64f37a7767SYoshihiro Shimoda	};
65f37a7767SYoshihiro Shimoda
66*103db9b5STakeshi Kihara	/* External SCIF clock - to be overridden by boards that provide it */
67*103db9b5STakeshi Kihara	scif_clk: scif {
68*103db9b5STakeshi Kihara		compatible = "fixed-clock";
69*103db9b5STakeshi Kihara		#clock-cells = <0>;
70*103db9b5STakeshi Kihara		clock-frequency = <0>;
71*103db9b5STakeshi Kihara	};
72*103db9b5STakeshi Kihara
73f37a7767SYoshihiro Shimoda	soc: soc {
74f37a7767SYoshihiro Shimoda		compatible = "simple-bus";
75f37a7767SYoshihiro Shimoda		interrupt-parent = <&gic>;
76f37a7767SYoshihiro Shimoda		#address-cells = <2>;
77f37a7767SYoshihiro Shimoda		#size-cells = <2>;
78f37a7767SYoshihiro Shimoda		ranges;
79f37a7767SYoshihiro Shimoda
80eb614d94STakeshi Kihara		rwdt: watchdog@e6020000 {
81eb614d94STakeshi Kihara			compatible = "renesas,r8a77990-wdt",
82eb614d94STakeshi Kihara				     "renesas,rcar-gen3-wdt";
83eb614d94STakeshi Kihara			reg = <0 0xe6020000 0 0x0c>;
84eb614d94STakeshi Kihara			clocks = <&cpg CPG_MOD 402>;
8583e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
86eb614d94STakeshi Kihara			resets = <&cpg 402>;
87eb614d94STakeshi Kihara			status = "disabled";
88eb614d94STakeshi Kihara		};
89eb614d94STakeshi Kihara
900d292de1SYoshihiro Shimoda		gpio0: gpio@e6050000 {
910d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
920d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
930d292de1SYoshihiro Shimoda			reg = <0 0xe6050000 0 0x50>;
940d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
950d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
960d292de1SYoshihiro Shimoda			gpio-controller;
970d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 0 18>;
980d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
990d292de1SYoshihiro Shimoda			interrupt-controller;
1000d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 912>;
10183e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1020d292de1SYoshihiro Shimoda			resets = <&cpg 912>;
1030d292de1SYoshihiro Shimoda		};
1040d292de1SYoshihiro Shimoda
1050d292de1SYoshihiro Shimoda		gpio1: gpio@e6051000 {
1060d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1070d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1080d292de1SYoshihiro Shimoda			reg = <0 0xe6051000 0 0x50>;
1090d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1100d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1110d292de1SYoshihiro Shimoda			gpio-controller;
1120d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 32 23>;
1130d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1140d292de1SYoshihiro Shimoda			interrupt-controller;
1150d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 911>;
11683e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1170d292de1SYoshihiro Shimoda			resets = <&cpg 911>;
1180d292de1SYoshihiro Shimoda		};
1190d292de1SYoshihiro Shimoda
1200d292de1SYoshihiro Shimoda		gpio2: gpio@e6052000 {
1210d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1220d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1230d292de1SYoshihiro Shimoda			reg = <0 0xe6052000 0 0x50>;
1240d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1250d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1260d292de1SYoshihiro Shimoda			gpio-controller;
1270d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 64 26>;
1280d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1290d292de1SYoshihiro Shimoda			interrupt-controller;
1300d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 910>;
13183e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1320d292de1SYoshihiro Shimoda			resets = <&cpg 910>;
1330d292de1SYoshihiro Shimoda		};
1340d292de1SYoshihiro Shimoda
1350d292de1SYoshihiro Shimoda		gpio3: gpio@e6053000 {
1360d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1370d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1380d292de1SYoshihiro Shimoda			reg = <0 0xe6053000 0 0x50>;
1390d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1400d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1410d292de1SYoshihiro Shimoda			gpio-controller;
1420d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 96 16>;
1430d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1440d292de1SYoshihiro Shimoda			interrupt-controller;
1450d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 909>;
14683e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1470d292de1SYoshihiro Shimoda			resets = <&cpg 909>;
1480d292de1SYoshihiro Shimoda		};
1490d292de1SYoshihiro Shimoda
1500d292de1SYoshihiro Shimoda		gpio4: gpio@e6054000 {
1510d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1520d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1530d292de1SYoshihiro Shimoda			reg = <0 0xe6054000 0 0x50>;
1540d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1550d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1560d292de1SYoshihiro Shimoda			gpio-controller;
1570d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 128 11>;
1580d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1590d292de1SYoshihiro Shimoda			interrupt-controller;
1600d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 908>;
16183e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1620d292de1SYoshihiro Shimoda			resets = <&cpg 908>;
1630d292de1SYoshihiro Shimoda		};
1640d292de1SYoshihiro Shimoda
1650d292de1SYoshihiro Shimoda		gpio5: gpio@e6055000 {
1660d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1670d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1680d292de1SYoshihiro Shimoda			reg = <0 0xe6055000 0 0x50>;
1690d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1700d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1710d292de1SYoshihiro Shimoda			gpio-controller;
1720d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 160 20>;
1730d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1740d292de1SYoshihiro Shimoda			interrupt-controller;
1750d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 907>;
17683e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1770d292de1SYoshihiro Shimoda			resets = <&cpg 907>;
1780d292de1SYoshihiro Shimoda		};
1790d292de1SYoshihiro Shimoda
1800d292de1SYoshihiro Shimoda		gpio6: gpio@e6055400 {
1810d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1820d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1830d292de1SYoshihiro Shimoda			reg = <0 0xe6055400 0 0x50>;
1840d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1850d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1860d292de1SYoshihiro Shimoda			gpio-controller;
1870d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 192 18>;
1880d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1890d292de1SYoshihiro Shimoda			interrupt-controller;
1900d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 906>;
19183e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
1920d292de1SYoshihiro Shimoda			resets = <&cpg 906>;
1930d292de1SYoshihiro Shimoda		};
1940d292de1SYoshihiro Shimoda
1954ab0df33SYoshihiro Shimoda		pfc: pin-controller@e6060000 {
1964ab0df33SYoshihiro Shimoda			compatible = "renesas,pfc-r8a77990";
1974ab0df33SYoshihiro Shimoda			reg = <0 0xe6060000 0 0x508>;
1984ab0df33SYoshihiro Shimoda		};
1994ab0df33SYoshihiro Shimoda
200f37a7767SYoshihiro Shimoda		cpg: clock-controller@e6150000 {
201f37a7767SYoshihiro Shimoda			compatible = "renesas,r8a77990-cpg-mssr";
202f37a7767SYoshihiro Shimoda			reg = <0 0xe6150000 0 0x1000>;
203f37a7767SYoshihiro Shimoda			clocks = <&extal_clk>;
204f37a7767SYoshihiro Shimoda			clock-names = "extal";
205f37a7767SYoshihiro Shimoda			#clock-cells = <2>;
206f37a7767SYoshihiro Shimoda			#power-domain-cells = <0>;
207f37a7767SYoshihiro Shimoda			#reset-cells = <1>;
208f37a7767SYoshihiro Shimoda		};
209f37a7767SYoshihiro Shimoda
210f37a7767SYoshihiro Shimoda		rst: reset-controller@e6160000 {
211f37a7767SYoshihiro Shimoda			compatible = "renesas,r8a77990-rst";
212f37a7767SYoshihiro Shimoda			reg = <0 0xe6160000 0 0x0200>;
213f37a7767SYoshihiro Shimoda		};
214f37a7767SYoshihiro Shimoda
215f37a7767SYoshihiro Shimoda		sysc: system-controller@e6180000 {
216f37a7767SYoshihiro Shimoda			compatible = "renesas,r8a77990-sysc";
217f37a7767SYoshihiro Shimoda			reg = <0 0xe6180000 0 0x0400>;
218f37a7767SYoshihiro Shimoda			#power-domain-cells = <1>;
219f37a7767SYoshihiro Shimoda		};
220f37a7767SYoshihiro Shimoda
22155697cbbSMagnus Damm		ipmmu_ds0: mmu@e6740000 {
22255697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
22355697cbbSMagnus Damm			reg = <0 0xe6740000 0 0x1000>;
22455697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 0>;
22555697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
22655697cbbSMagnus Damm			#iommu-cells = <1>;
22755697cbbSMagnus Damm		};
22855697cbbSMagnus Damm
22955697cbbSMagnus Damm		ipmmu_ds1: mmu@e7740000 {
23055697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
23155697cbbSMagnus Damm			reg = <0 0xe7740000 0 0x1000>;
23255697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 1>;
23355697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
23455697cbbSMagnus Damm			#iommu-cells = <1>;
23555697cbbSMagnus Damm		};
23655697cbbSMagnus Damm
23755697cbbSMagnus Damm		ipmmu_hc: mmu@e6570000 {
23855697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
23955697cbbSMagnus Damm			reg = <0 0xe6570000 0 0x1000>;
24055697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 2>;
24155697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
24255697cbbSMagnus Damm			#iommu-cells = <1>;
24355697cbbSMagnus Damm		};
24455697cbbSMagnus Damm
24555697cbbSMagnus Damm		ipmmu_mm: mmu@e67b0000 {
24655697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
24755697cbbSMagnus Damm			reg = <0 0xe67b0000 0 0x1000>;
24855697cbbSMagnus Damm			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
24955697cbbSMagnus Damm				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
25055697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
25155697cbbSMagnus Damm			#iommu-cells = <1>;
25255697cbbSMagnus Damm		};
25355697cbbSMagnus Damm
25455697cbbSMagnus Damm		ipmmu_mp: mmu@ec670000 {
25555697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
25655697cbbSMagnus Damm			reg = <0 0xec670000 0 0x1000>;
25755697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 4>;
25855697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
25955697cbbSMagnus Damm			#iommu-cells = <1>;
26055697cbbSMagnus Damm		};
26155697cbbSMagnus Damm
26255697cbbSMagnus Damm		ipmmu_pv0: mmu@fd800000 {
26355697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
26455697cbbSMagnus Damm			reg = <0 0xfd800000 0 0x1000>;
26555697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 6>;
26655697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
26755697cbbSMagnus Damm			#iommu-cells = <1>;
26855697cbbSMagnus Damm		};
26955697cbbSMagnus Damm
27055697cbbSMagnus Damm		ipmmu_rt: mmu@ffc80000 {
27155697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
27255697cbbSMagnus Damm			reg = <0 0xffc80000 0 0x1000>;
27355697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 10>;
27455697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
27555697cbbSMagnus Damm			#iommu-cells = <1>;
27655697cbbSMagnus Damm		};
27755697cbbSMagnus Damm
27855697cbbSMagnus Damm		ipmmu_vc0: mmu@fe6b0000 {
27955697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
28055697cbbSMagnus Damm			reg = <0 0xfe6b0000 0 0x1000>;
28155697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 12>;
28255697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_A3VC>;
28355697cbbSMagnus Damm			#iommu-cells = <1>;
28455697cbbSMagnus Damm		};
28555697cbbSMagnus Damm
28655697cbbSMagnus Damm		ipmmu_vi0: mmu@febd0000 {
28755697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
28855697cbbSMagnus Damm			reg = <0 0xfebd0000 0 0x1000>;
28955697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 14>;
29055697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
29155697cbbSMagnus Damm			#iommu-cells = <1>;
29255697cbbSMagnus Damm		};
29355697cbbSMagnus Damm
29455697cbbSMagnus Damm		ipmmu_vp0: mmu@fe990000 {
29555697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
29655697cbbSMagnus Damm			reg = <0 0xfe990000 0 0x1000>;
29755697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 16>;
29855697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
29955697cbbSMagnus Damm			#iommu-cells = <1>;
30055697cbbSMagnus Damm		};
30155697cbbSMagnus Damm
302913a78b5SYoshihiro Shimoda		avb: ethernet@e6800000 {
303913a78b5SYoshihiro Shimoda			compatible = "renesas,etheravb-r8a77990",
304913a78b5SYoshihiro Shimoda				     "renesas,etheravb-rcar-gen3";
3054b03df5fSGeert Uytterhoeven			reg = <0 0xe6800000 0 0x800>;
306913a78b5SYoshihiro Shimoda			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
307913a78b5SYoshihiro Shimoda				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
308913a78b5SYoshihiro Shimoda				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
309913a78b5SYoshihiro Shimoda				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
310913a78b5SYoshihiro Shimoda				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
311913a78b5SYoshihiro Shimoda				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
312913a78b5SYoshihiro Shimoda				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
313913a78b5SYoshihiro Shimoda				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
314913a78b5SYoshihiro Shimoda				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
315913a78b5SYoshihiro Shimoda				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
316913a78b5SYoshihiro Shimoda				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
317913a78b5SYoshihiro Shimoda				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
318913a78b5SYoshihiro Shimoda				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
319913a78b5SYoshihiro Shimoda				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
320913a78b5SYoshihiro Shimoda				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
321913a78b5SYoshihiro Shimoda				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
322913a78b5SYoshihiro Shimoda				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
323913a78b5SYoshihiro Shimoda				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
324913a78b5SYoshihiro Shimoda				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
325913a78b5SYoshihiro Shimoda				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
326913a78b5SYoshihiro Shimoda				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
327913a78b5SYoshihiro Shimoda				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
328913a78b5SYoshihiro Shimoda				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
329913a78b5SYoshihiro Shimoda				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
330913a78b5SYoshihiro Shimoda				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
331913a78b5SYoshihiro Shimoda			interrupt-names = "ch0", "ch1", "ch2", "ch3",
332913a78b5SYoshihiro Shimoda					  "ch4", "ch5", "ch6", "ch7",
333913a78b5SYoshihiro Shimoda					  "ch8", "ch9", "ch10", "ch11",
334913a78b5SYoshihiro Shimoda					  "ch12", "ch13", "ch14", "ch15",
335913a78b5SYoshihiro Shimoda					  "ch16", "ch17", "ch18", "ch19",
336913a78b5SYoshihiro Shimoda					  "ch20", "ch21", "ch22", "ch23",
337913a78b5SYoshihiro Shimoda					  "ch24";
338913a78b5SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 812>;
33983e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
340913a78b5SYoshihiro Shimoda			resets = <&cpg 812>;
341913a78b5SYoshihiro Shimoda			phy-mode = "rgmii";
342913a78b5SYoshihiro Shimoda			#address-cells = <1>;
343913a78b5SYoshihiro Shimoda			#size-cells = <0>;
344913a78b5SYoshihiro Shimoda			status = "disabled";
345913a78b5SYoshihiro Shimoda		};
346913a78b5SYoshihiro Shimoda
34718048556SYoshihiro Shimoda		pwm0: pwm@e6e30000 {
34818048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
34918048556SYoshihiro Shimoda			reg = <0 0xe6e30000 0 0x8>;
35018048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
35118048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
35218048556SYoshihiro Shimoda			resets = <&cpg 523>;
35318048556SYoshihiro Shimoda			#pwm-cells = <2>;
35418048556SYoshihiro Shimoda			status = "disabled";
35518048556SYoshihiro Shimoda		};
35618048556SYoshihiro Shimoda
35718048556SYoshihiro Shimoda		pwm1: pwm@e6e31000 {
35818048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
35918048556SYoshihiro Shimoda			reg = <0 0xe6e31000 0 0x8>;
36018048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
36118048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
36218048556SYoshihiro Shimoda			resets = <&cpg 523>;
36318048556SYoshihiro Shimoda			#pwm-cells = <2>;
36418048556SYoshihiro Shimoda			status = "disabled";
36518048556SYoshihiro Shimoda		};
36618048556SYoshihiro Shimoda
36718048556SYoshihiro Shimoda		pwm2: pwm@e6e32000 {
36818048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
36918048556SYoshihiro Shimoda			reg = <0 0xe6e32000 0 0x8>;
37018048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
37118048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
37218048556SYoshihiro Shimoda			resets = <&cpg 523>;
37318048556SYoshihiro Shimoda			#pwm-cells = <2>;
37418048556SYoshihiro Shimoda			status = "disabled";
37518048556SYoshihiro Shimoda		};
37618048556SYoshihiro Shimoda
37718048556SYoshihiro Shimoda		pwm3: pwm@e6e33000 {
37818048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
37918048556SYoshihiro Shimoda			reg = <0 0xe6e33000 0 0x8>;
38018048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
38118048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
38218048556SYoshihiro Shimoda			resets = <&cpg 523>;
38318048556SYoshihiro Shimoda			#pwm-cells = <2>;
38418048556SYoshihiro Shimoda			status = "disabled";
38518048556SYoshihiro Shimoda		};
38618048556SYoshihiro Shimoda
38718048556SYoshihiro Shimoda		pwm4: pwm@e6e34000 {
38818048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
38918048556SYoshihiro Shimoda			reg = <0 0xe6e34000 0 0x8>;
39018048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
39118048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
39218048556SYoshihiro Shimoda			resets = <&cpg 523>;
39318048556SYoshihiro Shimoda			#pwm-cells = <2>;
39418048556SYoshihiro Shimoda			status = "disabled";
39518048556SYoshihiro Shimoda		};
39618048556SYoshihiro Shimoda
39718048556SYoshihiro Shimoda		pwm5: pwm@e6e35000 {
39818048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
39918048556SYoshihiro Shimoda			reg = <0 0xe6e35000 0 0x8>;
40018048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
40118048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
40218048556SYoshihiro Shimoda			resets = <&cpg 523>;
40318048556SYoshihiro Shimoda			#pwm-cells = <2>;
40418048556SYoshihiro Shimoda			status = "disabled";
40518048556SYoshihiro Shimoda		};
40618048556SYoshihiro Shimoda
40718048556SYoshihiro Shimoda		pwm6: pwm@e6e36000 {
40818048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
40918048556SYoshihiro Shimoda			reg = <0 0xe6e36000 0 0x8>;
41018048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
41118048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
41218048556SYoshihiro Shimoda			resets = <&cpg 523>;
41318048556SYoshihiro Shimoda			#pwm-cells = <2>;
41418048556SYoshihiro Shimoda			status = "disabled";
41518048556SYoshihiro Shimoda		};
41618048556SYoshihiro Shimoda
417f37a7767SYoshihiro Shimoda		scif2: serial@e6e88000 {
418f37a7767SYoshihiro Shimoda			compatible = "renesas,scif-r8a77990",
419f37a7767SYoshihiro Shimoda				     "renesas,rcar-gen3-scif", "renesas,scif";
420f37a7767SYoshihiro Shimoda			reg = <0 0xe6e88000 0 64>;
421f37a7767SYoshihiro Shimoda			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
422*103db9b5STakeshi Kihara			clocks = <&cpg CPG_MOD 310>,
423*103db9b5STakeshi Kihara				 <&cpg CPG_CORE R8A77990_CLK_S3D1C>,
424*103db9b5STakeshi Kihara				 <&scif_clk>;
425*103db9b5STakeshi Kihara			clock-names = "fck", "brg_int", "scif_clk";
426*103db9b5STakeshi Kihara
42783e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
428f37a7767SYoshihiro Shimoda			resets = <&cpg 310>;
429f37a7767SYoshihiro Shimoda			status = "disabled";
430f37a7767SYoshihiro Shimoda		};
431f37a7767SYoshihiro Shimoda
432fe1bc94aSYoshihiro Shimoda		xhci0: usb@ee000000 {
433fe1bc94aSYoshihiro Shimoda			compatible = "renesas,xhci-r8a77990",
434fe1bc94aSYoshihiro Shimoda				     "renesas,rcar-gen3-xhci";
435fe1bc94aSYoshihiro Shimoda			reg = <0 0xee000000 0 0xc00>;
436fe1bc94aSYoshihiro Shimoda			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
437fe1bc94aSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 328>;
438fe1bc94aSYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
439fe1bc94aSYoshihiro Shimoda			resets = <&cpg 328>;
440fe1bc94aSYoshihiro Shimoda			status = "disabled";
441fe1bc94aSYoshihiro Shimoda		};
442fe1bc94aSYoshihiro Shimoda
4436dd72b4dSYoshihiro Shimoda		ohci0: usb@ee080000 {
4446dd72b4dSYoshihiro Shimoda			compatible = "generic-ohci";
4456dd72b4dSYoshihiro Shimoda			reg = <0 0xee080000 0 0x100>;
4466dd72b4dSYoshihiro Shimoda			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
4476dd72b4dSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 703>;
4486dd72b4dSYoshihiro Shimoda			phys = <&usb2_phy0>;
4496dd72b4dSYoshihiro Shimoda			phy-names = "usb";
45083e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
4516dd72b4dSYoshihiro Shimoda			resets = <&cpg 703>;
4526dd72b4dSYoshihiro Shimoda			status = "disabled";
4536dd72b4dSYoshihiro Shimoda		};
4546dd72b4dSYoshihiro Shimoda
4556dd72b4dSYoshihiro Shimoda		ehci0: usb@ee080100 {
4566dd72b4dSYoshihiro Shimoda			compatible = "generic-ehci";
4576dd72b4dSYoshihiro Shimoda			reg = <0 0xee080100 0 0x100>;
4586dd72b4dSYoshihiro Shimoda			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
4596dd72b4dSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 703>;
4606dd72b4dSYoshihiro Shimoda			phys = <&usb2_phy0>;
4616dd72b4dSYoshihiro Shimoda			phy-names = "usb";
4626dd72b4dSYoshihiro Shimoda			companion = <&ohci0>;
46383e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
4646dd72b4dSYoshihiro Shimoda			resets = <&cpg 703>;
4656dd72b4dSYoshihiro Shimoda			status = "disabled";
4666dd72b4dSYoshihiro Shimoda		};
4676dd72b4dSYoshihiro Shimoda
4686dd72b4dSYoshihiro Shimoda		usb2_phy0: usb-phy@ee080200 {
4696dd72b4dSYoshihiro Shimoda			compatible = "renesas,usb2-phy-r8a77990",
4706dd72b4dSYoshihiro Shimoda				     "renesas,rcar-gen3-usb2-phy";
4716dd72b4dSYoshihiro Shimoda			reg = <0 0xee080200 0 0x700>;
4726dd72b4dSYoshihiro Shimoda			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
4736dd72b4dSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 703>;
47483e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
4756dd72b4dSYoshihiro Shimoda			resets = <&cpg 703>;
4766dd72b4dSYoshihiro Shimoda			#phy-cells = <0>;
4776dd72b4dSYoshihiro Shimoda			status = "disabled";
4786dd72b4dSYoshihiro Shimoda		};
4796dd72b4dSYoshihiro Shimoda
480f37a7767SYoshihiro Shimoda		gic: interrupt-controller@f1010000 {
481f37a7767SYoshihiro Shimoda			compatible = "arm,gic-400";
482f37a7767SYoshihiro Shimoda			#interrupt-cells = <3>;
483f37a7767SYoshihiro Shimoda			#address-cells = <0>;
484f37a7767SYoshihiro Shimoda			interrupt-controller;
485f37a7767SYoshihiro Shimoda			reg = <0x0 0xf1010000 0 0x1000>,
486f37a7767SYoshihiro Shimoda			      <0x0 0xf1020000 0 0x20000>,
487f37a7767SYoshihiro Shimoda			      <0x0 0xf1040000 0 0x20000>,
488f37a7767SYoshihiro Shimoda			      <0x0 0xf1060000 0 0x20000>;
489f37a7767SYoshihiro Shimoda			interrupts = <GIC_PPI 9
4907085f5d9SGeert Uytterhoeven					(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
491f37a7767SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 408>;
492f37a7767SYoshihiro Shimoda			clock-names = "clk";
49383e7d2ecSGeert Uytterhoeven			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
494f37a7767SYoshihiro Shimoda			resets = <&cpg 408>;
495f37a7767SYoshihiro Shimoda		};
496f37a7767SYoshihiro Shimoda
497f37a7767SYoshihiro Shimoda		prr: chipid@fff00044 {
498f37a7767SYoshihiro Shimoda			compatible = "renesas,prr";
499f37a7767SYoshihiro Shimoda			reg = <0 0xfff00044 0 4>;
500f37a7767SYoshihiro Shimoda		};
501f37a7767SYoshihiro Shimoda	};
502f37a7767SYoshihiro Shimoda
503f37a7767SYoshihiro Shimoda	timer {
504f37a7767SYoshihiro Shimoda		compatible = "arm,armv8-timer";
5057085f5d9SGeert Uytterhoeven		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
5067085f5d9SGeert Uytterhoeven				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
5077085f5d9SGeert Uytterhoeven				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
5087085f5d9SGeert Uytterhoeven				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
509f37a7767SYoshihiro Shimoda	};
510f37a7767SYoshihiro Shimoda};
511