xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/r8a77990.dtsi (revision 180485566d41531c64a57e9253d38a1ac55bc387)
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
8f37a7767SYoshihiro Shimoda#include <dt-bindings/clock/renesas-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";
25f37a7767SYoshihiro Shimoda			power-domains = <&sysc 5>;
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";
347085f5d9SGeert Uytterhoeven			power-domains = <&sysc 6>;
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";
41f37a7767SYoshihiro Shimoda			power-domains = <&sysc 21>;
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
66f37a7767SYoshihiro Shimoda	soc: soc {
67f37a7767SYoshihiro Shimoda		compatible = "simple-bus";
68f37a7767SYoshihiro Shimoda		interrupt-parent = <&gic>;
69f37a7767SYoshihiro Shimoda		#address-cells = <2>;
70f37a7767SYoshihiro Shimoda		#size-cells = <2>;
71f37a7767SYoshihiro Shimoda		ranges;
72f37a7767SYoshihiro Shimoda
73eb614d94STakeshi Kihara		rwdt: watchdog@e6020000 {
74eb614d94STakeshi Kihara			compatible = "renesas,r8a77990-wdt",
75eb614d94STakeshi Kihara				     "renesas,rcar-gen3-wdt";
76eb614d94STakeshi Kihara			reg = <0 0xe6020000 0 0x0c>;
77eb614d94STakeshi Kihara			clocks = <&cpg CPG_MOD 402>;
78eb614d94STakeshi Kihara			power-domains = <&sysc 32>;
79eb614d94STakeshi Kihara			resets = <&cpg 402>;
80eb614d94STakeshi Kihara			status = "disabled";
81eb614d94STakeshi Kihara		};
82eb614d94STakeshi Kihara
830d292de1SYoshihiro Shimoda		gpio0: gpio@e6050000 {
840d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
850d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
860d292de1SYoshihiro Shimoda			reg = <0 0xe6050000 0 0x50>;
870d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
880d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
890d292de1SYoshihiro Shimoda			gpio-controller;
900d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 0 18>;
910d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
920d292de1SYoshihiro Shimoda			interrupt-controller;
930d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 912>;
940d292de1SYoshihiro Shimoda			power-domains = <&sysc 32>;
950d292de1SYoshihiro Shimoda			resets = <&cpg 912>;
960d292de1SYoshihiro Shimoda		};
970d292de1SYoshihiro Shimoda
980d292de1SYoshihiro Shimoda		gpio1: gpio@e6051000 {
990d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1000d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1010d292de1SYoshihiro Shimoda			reg = <0 0xe6051000 0 0x50>;
1020d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1030d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1040d292de1SYoshihiro Shimoda			gpio-controller;
1050d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 32 23>;
1060d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1070d292de1SYoshihiro Shimoda			interrupt-controller;
1080d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 911>;
1090d292de1SYoshihiro Shimoda			power-domains = <&sysc 32>;
1100d292de1SYoshihiro Shimoda			resets = <&cpg 911>;
1110d292de1SYoshihiro Shimoda		};
1120d292de1SYoshihiro Shimoda
1130d292de1SYoshihiro Shimoda		gpio2: gpio@e6052000 {
1140d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1150d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1160d292de1SYoshihiro Shimoda			reg = <0 0xe6052000 0 0x50>;
1170d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
1180d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1190d292de1SYoshihiro Shimoda			gpio-controller;
1200d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 64 26>;
1210d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1220d292de1SYoshihiro Shimoda			interrupt-controller;
1230d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 910>;
1240d292de1SYoshihiro Shimoda			power-domains = <&sysc 32>;
1250d292de1SYoshihiro Shimoda			resets = <&cpg 910>;
1260d292de1SYoshihiro Shimoda		};
1270d292de1SYoshihiro Shimoda
1280d292de1SYoshihiro Shimoda		gpio3: gpio@e6053000 {
1290d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1300d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1310d292de1SYoshihiro Shimoda			reg = <0 0xe6053000 0 0x50>;
1320d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
1330d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1340d292de1SYoshihiro Shimoda			gpio-controller;
1350d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 96 16>;
1360d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1370d292de1SYoshihiro Shimoda			interrupt-controller;
1380d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 909>;
1390d292de1SYoshihiro Shimoda			power-domains = <&sysc 32>;
1400d292de1SYoshihiro Shimoda			resets = <&cpg 909>;
1410d292de1SYoshihiro Shimoda		};
1420d292de1SYoshihiro Shimoda
1430d292de1SYoshihiro Shimoda		gpio4: gpio@e6054000 {
1440d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1450d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1460d292de1SYoshihiro Shimoda			reg = <0 0xe6054000 0 0x50>;
1470d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
1480d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1490d292de1SYoshihiro Shimoda			gpio-controller;
1500d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 128 11>;
1510d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1520d292de1SYoshihiro Shimoda			interrupt-controller;
1530d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 908>;
1540d292de1SYoshihiro Shimoda			power-domains = <&sysc 32>;
1550d292de1SYoshihiro Shimoda			resets = <&cpg 908>;
1560d292de1SYoshihiro Shimoda		};
1570d292de1SYoshihiro Shimoda
1580d292de1SYoshihiro Shimoda		gpio5: gpio@e6055000 {
1590d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1600d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1610d292de1SYoshihiro Shimoda			reg = <0 0xe6055000 0 0x50>;
1620d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
1630d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1640d292de1SYoshihiro Shimoda			gpio-controller;
1650d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 160 20>;
1660d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1670d292de1SYoshihiro Shimoda			interrupt-controller;
1680d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 907>;
1690d292de1SYoshihiro Shimoda			power-domains = <&sysc 32>;
1700d292de1SYoshihiro Shimoda			resets = <&cpg 907>;
1710d292de1SYoshihiro Shimoda		};
1720d292de1SYoshihiro Shimoda
1730d292de1SYoshihiro Shimoda		gpio6: gpio@e6055400 {
1740d292de1SYoshihiro Shimoda			compatible = "renesas,gpio-r8a77990",
1750d292de1SYoshihiro Shimoda				     "renesas,rcar-gen3-gpio";
1760d292de1SYoshihiro Shimoda			reg = <0 0xe6055400 0 0x50>;
1770d292de1SYoshihiro Shimoda			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
1780d292de1SYoshihiro Shimoda			#gpio-cells = <2>;
1790d292de1SYoshihiro Shimoda			gpio-controller;
1800d292de1SYoshihiro Shimoda			gpio-ranges = <&pfc 0 192 18>;
1810d292de1SYoshihiro Shimoda			#interrupt-cells = <2>;
1820d292de1SYoshihiro Shimoda			interrupt-controller;
1830d292de1SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 906>;
1840d292de1SYoshihiro Shimoda			power-domains = <&sysc 32>;
1850d292de1SYoshihiro Shimoda			resets = <&cpg 906>;
1860d292de1SYoshihiro Shimoda		};
1870d292de1SYoshihiro Shimoda
1884ab0df33SYoshihiro Shimoda		pfc: pin-controller@e6060000 {
1894ab0df33SYoshihiro Shimoda			compatible = "renesas,pfc-r8a77990";
1904ab0df33SYoshihiro Shimoda			reg = <0 0xe6060000 0 0x508>;
1914ab0df33SYoshihiro Shimoda		};
1924ab0df33SYoshihiro Shimoda
193f37a7767SYoshihiro Shimoda		cpg: clock-controller@e6150000 {
194f37a7767SYoshihiro Shimoda			compatible = "renesas,r8a77990-cpg-mssr";
195f37a7767SYoshihiro Shimoda			reg = <0 0xe6150000 0 0x1000>;
196f37a7767SYoshihiro Shimoda			clocks = <&extal_clk>;
197f37a7767SYoshihiro Shimoda			clock-names = "extal";
198f37a7767SYoshihiro Shimoda			#clock-cells = <2>;
199f37a7767SYoshihiro Shimoda			#power-domain-cells = <0>;
200f37a7767SYoshihiro Shimoda			#reset-cells = <1>;
201f37a7767SYoshihiro Shimoda		};
202f37a7767SYoshihiro Shimoda
203f37a7767SYoshihiro Shimoda		rst: reset-controller@e6160000 {
204f37a7767SYoshihiro Shimoda			compatible = "renesas,r8a77990-rst";
205f37a7767SYoshihiro Shimoda			reg = <0 0xe6160000 0 0x0200>;
206f37a7767SYoshihiro Shimoda		};
207f37a7767SYoshihiro Shimoda
208f37a7767SYoshihiro Shimoda		sysc: system-controller@e6180000 {
209f37a7767SYoshihiro Shimoda			compatible = "renesas,r8a77990-sysc";
210f37a7767SYoshihiro Shimoda			reg = <0 0xe6180000 0 0x0400>;
211f37a7767SYoshihiro Shimoda			#power-domain-cells = <1>;
212f37a7767SYoshihiro Shimoda		};
213f37a7767SYoshihiro Shimoda
21455697cbbSMagnus Damm		ipmmu_ds0: mmu@e6740000 {
21555697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
21655697cbbSMagnus Damm			reg = <0 0xe6740000 0 0x1000>;
21755697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 0>;
21855697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
21955697cbbSMagnus Damm			#iommu-cells = <1>;
22055697cbbSMagnus Damm		};
22155697cbbSMagnus Damm
22255697cbbSMagnus Damm		ipmmu_ds1: mmu@e7740000 {
22355697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
22455697cbbSMagnus Damm			reg = <0 0xe7740000 0 0x1000>;
22555697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 1>;
22655697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
22755697cbbSMagnus Damm			#iommu-cells = <1>;
22855697cbbSMagnus Damm		};
22955697cbbSMagnus Damm
23055697cbbSMagnus Damm		ipmmu_hc: mmu@e6570000 {
23155697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
23255697cbbSMagnus Damm			reg = <0 0xe6570000 0 0x1000>;
23355697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 2>;
23455697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
23555697cbbSMagnus Damm			#iommu-cells = <1>;
23655697cbbSMagnus Damm		};
23755697cbbSMagnus Damm
23855697cbbSMagnus Damm		ipmmu_mm: mmu@e67b0000 {
23955697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
24055697cbbSMagnus Damm			reg = <0 0xe67b0000 0 0x1000>;
24155697cbbSMagnus Damm			interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
24255697cbbSMagnus Damm				     <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
24355697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
24455697cbbSMagnus Damm			#iommu-cells = <1>;
24555697cbbSMagnus Damm		};
24655697cbbSMagnus Damm
24755697cbbSMagnus Damm		ipmmu_mp: mmu@ec670000 {
24855697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
24955697cbbSMagnus Damm			reg = <0 0xec670000 0 0x1000>;
25055697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 4>;
25155697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
25255697cbbSMagnus Damm			#iommu-cells = <1>;
25355697cbbSMagnus Damm		};
25455697cbbSMagnus Damm
25555697cbbSMagnus Damm		ipmmu_pv0: mmu@fd800000 {
25655697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
25755697cbbSMagnus Damm			reg = <0 0xfd800000 0 0x1000>;
25855697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 6>;
25955697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
26055697cbbSMagnus Damm			#iommu-cells = <1>;
26155697cbbSMagnus Damm		};
26255697cbbSMagnus Damm
26355697cbbSMagnus Damm		ipmmu_rt: mmu@ffc80000 {
26455697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
26555697cbbSMagnus Damm			reg = <0 0xffc80000 0 0x1000>;
26655697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 10>;
26755697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
26855697cbbSMagnus Damm			#iommu-cells = <1>;
26955697cbbSMagnus Damm		};
27055697cbbSMagnus Damm
27155697cbbSMagnus Damm		ipmmu_vc0: mmu@fe6b0000 {
27255697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
27355697cbbSMagnus Damm			reg = <0 0xfe6b0000 0 0x1000>;
27455697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 12>;
27555697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_A3VC>;
27655697cbbSMagnus Damm			#iommu-cells = <1>;
27755697cbbSMagnus Damm		};
27855697cbbSMagnus Damm
27955697cbbSMagnus Damm		ipmmu_vi0: mmu@febd0000 {
28055697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
28155697cbbSMagnus Damm			reg = <0 0xfebd0000 0 0x1000>;
28255697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 14>;
28355697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
28455697cbbSMagnus Damm			#iommu-cells = <1>;
28555697cbbSMagnus Damm		};
28655697cbbSMagnus Damm
28755697cbbSMagnus Damm		ipmmu_vp0: mmu@fe990000 {
28855697cbbSMagnus Damm			compatible = "renesas,ipmmu-r8a77990";
28955697cbbSMagnus Damm			reg = <0 0xfe990000 0 0x1000>;
29055697cbbSMagnus Damm			renesas,ipmmu-main = <&ipmmu_mm 16>;
29155697cbbSMagnus Damm			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
29255697cbbSMagnus Damm			#iommu-cells = <1>;
29355697cbbSMagnus Damm		};
29455697cbbSMagnus Damm
295913a78b5SYoshihiro Shimoda		avb: ethernet@e6800000 {
296913a78b5SYoshihiro Shimoda			compatible = "renesas,etheravb-r8a77990",
297913a78b5SYoshihiro Shimoda				     "renesas,etheravb-rcar-gen3";
2984b03df5fSGeert Uytterhoeven			reg = <0 0xe6800000 0 0x800>;
299913a78b5SYoshihiro Shimoda			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
300913a78b5SYoshihiro Shimoda				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
301913a78b5SYoshihiro Shimoda				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
302913a78b5SYoshihiro Shimoda				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
303913a78b5SYoshihiro Shimoda				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
304913a78b5SYoshihiro Shimoda				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
305913a78b5SYoshihiro Shimoda				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
306913a78b5SYoshihiro Shimoda				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
307913a78b5SYoshihiro Shimoda				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
308913a78b5SYoshihiro Shimoda				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
309913a78b5SYoshihiro Shimoda				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
310913a78b5SYoshihiro Shimoda				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
311913a78b5SYoshihiro Shimoda				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
312913a78b5SYoshihiro Shimoda				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
313913a78b5SYoshihiro Shimoda				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
314913a78b5SYoshihiro Shimoda				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
315913a78b5SYoshihiro Shimoda				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
316913a78b5SYoshihiro Shimoda				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
317913a78b5SYoshihiro Shimoda				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
318913a78b5SYoshihiro Shimoda				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
319913a78b5SYoshihiro Shimoda				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
320913a78b5SYoshihiro Shimoda				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
321913a78b5SYoshihiro Shimoda				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
322913a78b5SYoshihiro Shimoda				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
323913a78b5SYoshihiro Shimoda				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
324913a78b5SYoshihiro Shimoda			interrupt-names = "ch0", "ch1", "ch2", "ch3",
325913a78b5SYoshihiro Shimoda					  "ch4", "ch5", "ch6", "ch7",
326913a78b5SYoshihiro Shimoda					  "ch8", "ch9", "ch10", "ch11",
327913a78b5SYoshihiro Shimoda					  "ch12", "ch13", "ch14", "ch15",
328913a78b5SYoshihiro Shimoda					  "ch16", "ch17", "ch18", "ch19",
329913a78b5SYoshihiro Shimoda					  "ch20", "ch21", "ch22", "ch23",
330913a78b5SYoshihiro Shimoda					  "ch24";
331913a78b5SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 812>;
332913a78b5SYoshihiro Shimoda			power-domains = <&sysc 32>;
333913a78b5SYoshihiro Shimoda			resets = <&cpg 812>;
334913a78b5SYoshihiro Shimoda			phy-mode = "rgmii";
335913a78b5SYoshihiro Shimoda			#address-cells = <1>;
336913a78b5SYoshihiro Shimoda			#size-cells = <0>;
337913a78b5SYoshihiro Shimoda			status = "disabled";
338913a78b5SYoshihiro Shimoda		};
339913a78b5SYoshihiro Shimoda
340*18048556SYoshihiro Shimoda		pwm0: pwm@e6e30000 {
341*18048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
342*18048556SYoshihiro Shimoda			reg = <0 0xe6e30000 0 0x8>;
343*18048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
344*18048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
345*18048556SYoshihiro Shimoda			resets = <&cpg 523>;
346*18048556SYoshihiro Shimoda			#pwm-cells = <2>;
347*18048556SYoshihiro Shimoda			status = "disabled";
348*18048556SYoshihiro Shimoda		};
349*18048556SYoshihiro Shimoda
350*18048556SYoshihiro Shimoda		pwm1: pwm@e6e31000 {
351*18048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
352*18048556SYoshihiro Shimoda			reg = <0 0xe6e31000 0 0x8>;
353*18048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
354*18048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
355*18048556SYoshihiro Shimoda			resets = <&cpg 523>;
356*18048556SYoshihiro Shimoda			#pwm-cells = <2>;
357*18048556SYoshihiro Shimoda			status = "disabled";
358*18048556SYoshihiro Shimoda		};
359*18048556SYoshihiro Shimoda
360*18048556SYoshihiro Shimoda		pwm2: pwm@e6e32000 {
361*18048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
362*18048556SYoshihiro Shimoda			reg = <0 0xe6e32000 0 0x8>;
363*18048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
364*18048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
365*18048556SYoshihiro Shimoda			resets = <&cpg 523>;
366*18048556SYoshihiro Shimoda			#pwm-cells = <2>;
367*18048556SYoshihiro Shimoda			status = "disabled";
368*18048556SYoshihiro Shimoda		};
369*18048556SYoshihiro Shimoda
370*18048556SYoshihiro Shimoda		pwm3: pwm@e6e33000 {
371*18048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
372*18048556SYoshihiro Shimoda			reg = <0 0xe6e33000 0 0x8>;
373*18048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
374*18048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
375*18048556SYoshihiro Shimoda			resets = <&cpg 523>;
376*18048556SYoshihiro Shimoda			#pwm-cells = <2>;
377*18048556SYoshihiro Shimoda			status = "disabled";
378*18048556SYoshihiro Shimoda		};
379*18048556SYoshihiro Shimoda
380*18048556SYoshihiro Shimoda		pwm4: pwm@e6e34000 {
381*18048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
382*18048556SYoshihiro Shimoda			reg = <0 0xe6e34000 0 0x8>;
383*18048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
384*18048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
385*18048556SYoshihiro Shimoda			resets = <&cpg 523>;
386*18048556SYoshihiro Shimoda			#pwm-cells = <2>;
387*18048556SYoshihiro Shimoda			status = "disabled";
388*18048556SYoshihiro Shimoda		};
389*18048556SYoshihiro Shimoda
390*18048556SYoshihiro Shimoda		pwm5: pwm@e6e35000 {
391*18048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
392*18048556SYoshihiro Shimoda			reg = <0 0xe6e35000 0 0x8>;
393*18048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
394*18048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
395*18048556SYoshihiro Shimoda			resets = <&cpg 523>;
396*18048556SYoshihiro Shimoda			#pwm-cells = <2>;
397*18048556SYoshihiro Shimoda			status = "disabled";
398*18048556SYoshihiro Shimoda		};
399*18048556SYoshihiro Shimoda
400*18048556SYoshihiro Shimoda		pwm6: pwm@e6e36000 {
401*18048556SYoshihiro Shimoda			compatible = "renesas,pwm-r8a77990", "renesas,pwm-rcar";
402*18048556SYoshihiro Shimoda			reg = <0 0xe6e36000 0 0x8>;
403*18048556SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 523>;
404*18048556SYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
405*18048556SYoshihiro Shimoda			resets = <&cpg 523>;
406*18048556SYoshihiro Shimoda			#pwm-cells = <2>;
407*18048556SYoshihiro Shimoda			status = "disabled";
408*18048556SYoshihiro Shimoda		};
409*18048556SYoshihiro Shimoda
410f37a7767SYoshihiro Shimoda		scif2: serial@e6e88000 {
411f37a7767SYoshihiro Shimoda			compatible = "renesas,scif-r8a77990",
412f37a7767SYoshihiro Shimoda				     "renesas,rcar-gen3-scif", "renesas,scif";
413f37a7767SYoshihiro Shimoda			reg = <0 0xe6e88000 0 64>;
414f37a7767SYoshihiro Shimoda			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
415f37a7767SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 310>;
416f37a7767SYoshihiro Shimoda			clock-names = "fck";
417f37a7767SYoshihiro Shimoda			power-domains = <&sysc 32>;
418f37a7767SYoshihiro Shimoda			resets = <&cpg 310>;
419f37a7767SYoshihiro Shimoda			status = "disabled";
420f37a7767SYoshihiro Shimoda		};
421f37a7767SYoshihiro Shimoda
422fe1bc94aSYoshihiro Shimoda		xhci0: usb@ee000000 {
423fe1bc94aSYoshihiro Shimoda			compatible = "renesas,xhci-r8a77990",
424fe1bc94aSYoshihiro Shimoda				     "renesas,rcar-gen3-xhci";
425fe1bc94aSYoshihiro Shimoda			reg = <0 0xee000000 0 0xc00>;
426fe1bc94aSYoshihiro Shimoda			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
427fe1bc94aSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 328>;
428fe1bc94aSYoshihiro Shimoda			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
429fe1bc94aSYoshihiro Shimoda			resets = <&cpg 328>;
430fe1bc94aSYoshihiro Shimoda			status = "disabled";
431fe1bc94aSYoshihiro Shimoda		};
432fe1bc94aSYoshihiro Shimoda
4336dd72b4dSYoshihiro Shimoda		ohci0: usb@ee080000 {
4346dd72b4dSYoshihiro Shimoda			compatible = "generic-ohci";
4356dd72b4dSYoshihiro Shimoda			reg = <0 0xee080000 0 0x100>;
4366dd72b4dSYoshihiro Shimoda			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
4376dd72b4dSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 703>;
4386dd72b4dSYoshihiro Shimoda			phys = <&usb2_phy0>;
4396dd72b4dSYoshihiro Shimoda			phy-names = "usb";
4406dd72b4dSYoshihiro Shimoda			power-domains = <&sysc 32>;
4416dd72b4dSYoshihiro Shimoda			resets = <&cpg 703>;
4426dd72b4dSYoshihiro Shimoda			status = "disabled";
4436dd72b4dSYoshihiro Shimoda		};
4446dd72b4dSYoshihiro Shimoda
4456dd72b4dSYoshihiro Shimoda		ehci0: usb@ee080100 {
4466dd72b4dSYoshihiro Shimoda			compatible = "generic-ehci";
4476dd72b4dSYoshihiro Shimoda			reg = <0 0xee080100 0 0x100>;
4486dd72b4dSYoshihiro Shimoda			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
4496dd72b4dSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 703>;
4506dd72b4dSYoshihiro Shimoda			phys = <&usb2_phy0>;
4516dd72b4dSYoshihiro Shimoda			phy-names = "usb";
4526dd72b4dSYoshihiro Shimoda			companion = <&ohci0>;
4536dd72b4dSYoshihiro Shimoda			power-domains = <&sysc 32>;
4546dd72b4dSYoshihiro Shimoda			resets = <&cpg 703>;
4556dd72b4dSYoshihiro Shimoda			status = "disabled";
4566dd72b4dSYoshihiro Shimoda		};
4576dd72b4dSYoshihiro Shimoda
4586dd72b4dSYoshihiro Shimoda		usb2_phy0: usb-phy@ee080200 {
4596dd72b4dSYoshihiro Shimoda			compatible = "renesas,usb2-phy-r8a77990",
4606dd72b4dSYoshihiro Shimoda				     "renesas,rcar-gen3-usb2-phy";
4616dd72b4dSYoshihiro Shimoda			reg = <0 0xee080200 0 0x700>;
4626dd72b4dSYoshihiro Shimoda			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
4636dd72b4dSYoshihiro Shimoda			clocks = <&cpg CPG_MOD 703>;
4646dd72b4dSYoshihiro Shimoda			power-domains = <&sysc 32>;
4656dd72b4dSYoshihiro Shimoda			resets = <&cpg 703>;
4666dd72b4dSYoshihiro Shimoda			#phy-cells = <0>;
4676dd72b4dSYoshihiro Shimoda			status = "disabled";
4686dd72b4dSYoshihiro Shimoda		};
4696dd72b4dSYoshihiro Shimoda
470f37a7767SYoshihiro Shimoda		gic: interrupt-controller@f1010000 {
471f37a7767SYoshihiro Shimoda			compatible = "arm,gic-400";
472f37a7767SYoshihiro Shimoda			#interrupt-cells = <3>;
473f37a7767SYoshihiro Shimoda			#address-cells = <0>;
474f37a7767SYoshihiro Shimoda			interrupt-controller;
475f37a7767SYoshihiro Shimoda			reg = <0x0 0xf1010000 0 0x1000>,
476f37a7767SYoshihiro Shimoda			      <0x0 0xf1020000 0 0x20000>,
477f37a7767SYoshihiro Shimoda			      <0x0 0xf1040000 0 0x20000>,
478f37a7767SYoshihiro Shimoda			      <0x0 0xf1060000 0 0x20000>;
479f37a7767SYoshihiro Shimoda			interrupts = <GIC_PPI 9
4807085f5d9SGeert Uytterhoeven					(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
481f37a7767SYoshihiro Shimoda			clocks = <&cpg CPG_MOD 408>;
482f37a7767SYoshihiro Shimoda			clock-names = "clk";
483f37a7767SYoshihiro Shimoda			power-domains = <&sysc 32>;
484f37a7767SYoshihiro Shimoda			resets = <&cpg 408>;
485f37a7767SYoshihiro Shimoda		};
486f37a7767SYoshihiro Shimoda
487f37a7767SYoshihiro Shimoda		prr: chipid@fff00044 {
488f37a7767SYoshihiro Shimoda			compatible = "renesas,prr";
489f37a7767SYoshihiro Shimoda			reg = <0 0xfff00044 0 4>;
490f37a7767SYoshihiro Shimoda		};
491f37a7767SYoshihiro Shimoda	};
492f37a7767SYoshihiro Shimoda
493f37a7767SYoshihiro Shimoda	timer {
494f37a7767SYoshihiro Shimoda		compatible = "arm,armv8-timer";
4957085f5d9SGeert Uytterhoeven		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
4967085f5d9SGeert Uytterhoeven				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
4977085f5d9SGeert Uytterhoeven				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
4987085f5d9SGeert Uytterhoeven				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
499f37a7767SYoshihiro Shimoda	};
500f37a7767SYoshihiro Shimoda};
501