xref: /linux/arch/arm64/boot/dts/renesas/r8a774a1.dtsi (revision 663386c3e1aa2771e237acd4b412b17ece19af01)
190493b09SBiju Das// SPDX-License-Identifier: GPL-2.0
290493b09SBiju Das/*
390493b09SBiju Das * Device Tree Source for the r8a774a1 SoC
490493b09SBiju Das *
590493b09SBiju Das * Copyright (C) 2018 Renesas Electronics Corp.
690493b09SBiju Das */
790493b09SBiju Das
890493b09SBiju Das#include <dt-bindings/interrupt-controller/irq.h>
990493b09SBiju Das#include <dt-bindings/interrupt-controller/arm-gic.h>
1090493b09SBiju Das#include <dt-bindings/clock/renesas-cpg-mssr.h>
1190493b09SBiju Das
1290493b09SBiju Das/ {
1390493b09SBiju Das	compatible = "renesas,r8a774a1";
1490493b09SBiju Das	#address-cells = <2>;
1590493b09SBiju Das	#size-cells = <2>;
1690493b09SBiju Das
1790493b09SBiju Das	/*
1890493b09SBiju Das	 * The external audio clocks are configured as 0 Hz fixed frequency
1990493b09SBiju Das	 * clocks by default.
2090493b09SBiju Das	 * Boards that provide audio clocks should override them.
2190493b09SBiju Das	 */
2290493b09SBiju Das	audio_clk_a: audio_clk_a {
2390493b09SBiju Das		compatible = "fixed-clock";
2490493b09SBiju Das		#clock-cells = <0>;
2590493b09SBiju Das		clock-frequency = <0>;
2690493b09SBiju Das	};
2790493b09SBiju Das
2890493b09SBiju Das	audio_clk_b: audio_clk_b {
2990493b09SBiju Das		compatible = "fixed-clock";
3090493b09SBiju Das		#clock-cells = <0>;
3190493b09SBiju Das		clock-frequency = <0>;
3290493b09SBiju Das	};
3390493b09SBiju Das
3490493b09SBiju Das	audio_clk_c: audio_clk_c {
3590493b09SBiju Das		compatible = "fixed-clock";
3690493b09SBiju Das		#clock-cells = <0>;
3790493b09SBiju Das		clock-frequency = <0>;
3890493b09SBiju Das	};
3990493b09SBiju Das
4090493b09SBiju Das	/* External CAN clock - to be overridden by boards that provide it */
4190493b09SBiju Das	can_clk: can {
4290493b09SBiju Das		compatible = "fixed-clock";
4390493b09SBiju Das		#clock-cells = <0>;
4490493b09SBiju Das		clock-frequency = <0>;
4590493b09SBiju Das	};
4690493b09SBiju Das
4790493b09SBiju Das	cpus {
4890493b09SBiju Das		#address-cells = <1>;
4990493b09SBiju Das		#size-cells = <0>;
5090493b09SBiju Das
5190493b09SBiju Das		a57_0: cpu@0 {
5290493b09SBiju Das			compatible = "arm,cortex-a57", "arm,armv8";
5390493b09SBiju Das			reg = <0x0>;
5490493b09SBiju Das			device_type = "cpu";
5590493b09SBiju Das			power-domains = <&sysc 0>;
5690493b09SBiju Das			next-level-cache = <&L2_CA57>;
5790493b09SBiju Das			enable-method = "psci";
5890493b09SBiju Das			clocks =<&cpg CPG_CORE 0>;
5990493b09SBiju Das		};
6090493b09SBiju Das
6190493b09SBiju Das		a57_1: cpu@1 {
6290493b09SBiju Das			compatible = "arm,cortex-a57", "arm,armv8";
6390493b09SBiju Das			reg = <0x1>;
6490493b09SBiju Das			device_type = "cpu";
6590493b09SBiju Das			power-domains = <&sysc 1>;
6690493b09SBiju Das			next-level-cache = <&L2_CA57>;
6790493b09SBiju Das			enable-method = "psci";
6890493b09SBiju Das			clocks =<&cpg CPG_CORE 0>;
6990493b09SBiju Das		};
7090493b09SBiju Das
7190493b09SBiju Das		L2_CA57: cache-controller-0 {
7290493b09SBiju Das			compatible = "cache";
7390493b09SBiju Das			power-domains = <&sysc 12>;
7490493b09SBiju Das			cache-unified;
7590493b09SBiju Das			cache-level = <2>;
7690493b09SBiju Das		};
7790493b09SBiju Das	};
7890493b09SBiju Das
7990493b09SBiju Das	extal_clk: extal {
8090493b09SBiju Das		compatible = "fixed-clock";
8190493b09SBiju Das		#clock-cells = <0>;
8290493b09SBiju Das		/* This value must be overridden by the board */
8390493b09SBiju Das		clock-frequency = <0>;
8490493b09SBiju Das	};
8590493b09SBiju Das
8690493b09SBiju Das	extalr_clk: extalr {
8790493b09SBiju Das		compatible = "fixed-clock";
8890493b09SBiju Das		#clock-cells = <0>;
8990493b09SBiju Das		/* This value must be overridden by the board */
9090493b09SBiju Das		clock-frequency = <0>;
9190493b09SBiju Das	};
9290493b09SBiju Das
9390493b09SBiju Das	/* External PCIe clock - can be overridden by the board */
9490493b09SBiju Das	pcie_bus_clk: pcie_bus {
9590493b09SBiju Das		compatible = "fixed-clock";
9690493b09SBiju Das		#clock-cells = <0>;
9790493b09SBiju Das		clock-frequency = <0>;
9890493b09SBiju Das	};
9990493b09SBiju Das
10090493b09SBiju Das	pmu_a57 {
10190493b09SBiju Das		compatible = "arm,cortex-a57-pmu";
10290493b09SBiju Das		interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
10390493b09SBiju Das				      <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
10490493b09SBiju Das		interrupt-affinity = <&a57_0>, <&a57_1>;
10590493b09SBiju Das	};
10690493b09SBiju Das
10790493b09SBiju Das	psci {
10890493b09SBiju Das		compatible = "arm,psci-1.0", "arm,psci-0.2";
10990493b09SBiju Das		method = "smc";
11090493b09SBiju Das	};
11190493b09SBiju Das
11290493b09SBiju Das	/* External SCIF clock - to be overridden by boards that provide it */
11390493b09SBiju Das	scif_clk: scif {
11490493b09SBiju Das		compatible = "fixed-clock";
11590493b09SBiju Das		#clock-cells = <0>;
11690493b09SBiju Das		clock-frequency = <0>;
11790493b09SBiju Das	};
11890493b09SBiju Das
11990493b09SBiju Das	soc {
12090493b09SBiju Das		compatible = "simple-bus";
12190493b09SBiju Das		interrupt-parent = <&gic>;
12290493b09SBiju Das		#address-cells = <2>;
12390493b09SBiju Das		#size-cells = <2>;
12490493b09SBiju Das		ranges;
12590493b09SBiju Das
126426f0b95SBiju Das		rwdt: watchdog@e6020000 {
127426f0b95SBiju Das			compatible = "renesas,r8a774a1-wdt",
128426f0b95SBiju Das				     "renesas,rcar-gen3-wdt";
129426f0b95SBiju Das			reg = <0 0xe6020000 0 0x0c>;
130426f0b95SBiju Das			clocks = <&cpg CPG_MOD 402>;
131426f0b95SBiju Das			power-domains = <&sysc 32>;
132426f0b95SBiju Das			resets = <&cpg 402>;
133426f0b95SBiju Das			status = "disabled";
134426f0b95SBiju Das		};
135426f0b95SBiju Das
13653ae5809SFabrizio Castro		gpio0: gpio@e6050000 {
13753ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
13853ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
13953ae5809SFabrizio Castro			reg = <0 0xe6050000 0 0x50>;
14053ae5809SFabrizio Castro			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
14153ae5809SFabrizio Castro			#gpio-cells = <2>;
14253ae5809SFabrizio Castro			gpio-controller;
14353ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 0 16>;
14453ae5809SFabrizio Castro			#interrupt-cells = <2>;
14553ae5809SFabrizio Castro			interrupt-controller;
14653ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 912>;
14753ae5809SFabrizio Castro			power-domains = <&sysc 32>;
14853ae5809SFabrizio Castro			resets = <&cpg 912>;
14953ae5809SFabrizio Castro		};
15053ae5809SFabrizio Castro
15153ae5809SFabrizio Castro		gpio1: gpio@e6051000 {
15253ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
15353ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
15453ae5809SFabrizio Castro			reg = <0 0xe6051000 0 0x50>;
15553ae5809SFabrizio Castro			interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
15653ae5809SFabrizio Castro			#gpio-cells = <2>;
15753ae5809SFabrizio Castro			gpio-controller;
15853ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 32 29>;
15953ae5809SFabrizio Castro			#interrupt-cells = <2>;
16053ae5809SFabrizio Castro			interrupt-controller;
16153ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 911>;
16253ae5809SFabrizio Castro			power-domains = <&sysc 32>;
16353ae5809SFabrizio Castro			resets = <&cpg 911>;
16453ae5809SFabrizio Castro		};
16553ae5809SFabrizio Castro
16653ae5809SFabrizio Castro		gpio2: gpio@e6052000 {
16753ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
16853ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
16953ae5809SFabrizio Castro			reg = <0 0xe6052000 0 0x50>;
17053ae5809SFabrizio Castro			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
17153ae5809SFabrizio Castro			#gpio-cells = <2>;
17253ae5809SFabrizio Castro			gpio-controller;
17353ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 64 15>;
17453ae5809SFabrizio Castro			#interrupt-cells = <2>;
17553ae5809SFabrizio Castro			interrupt-controller;
17653ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 910>;
17753ae5809SFabrizio Castro			power-domains = <&sysc 32>;
17853ae5809SFabrizio Castro			resets = <&cpg 910>;
17953ae5809SFabrizio Castro		};
18053ae5809SFabrizio Castro
18153ae5809SFabrizio Castro		gpio3: gpio@e6053000 {
18253ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
18353ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
18453ae5809SFabrizio Castro			reg = <0 0xe6053000 0 0x50>;
18553ae5809SFabrizio Castro			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
18653ae5809SFabrizio Castro			#gpio-cells = <2>;
18753ae5809SFabrizio Castro			gpio-controller;
18853ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 96 16>;
18953ae5809SFabrizio Castro			#interrupt-cells = <2>;
19053ae5809SFabrizio Castro			interrupt-controller;
19153ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 909>;
19253ae5809SFabrizio Castro			power-domains = <&sysc 32>;
19353ae5809SFabrizio Castro			resets = <&cpg 909>;
19453ae5809SFabrizio Castro		};
19553ae5809SFabrizio Castro
19653ae5809SFabrizio Castro		gpio4: gpio@e6054000 {
19753ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
19853ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
19953ae5809SFabrizio Castro			reg = <0 0xe6054000 0 0x50>;
20053ae5809SFabrizio Castro			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
20153ae5809SFabrizio Castro			#gpio-cells = <2>;
20253ae5809SFabrizio Castro			gpio-controller;
20353ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 128 18>;
20453ae5809SFabrizio Castro			#interrupt-cells = <2>;
20553ae5809SFabrizio Castro			interrupt-controller;
20653ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 908>;
20753ae5809SFabrizio Castro			power-domains = <&sysc 32>;
20853ae5809SFabrizio Castro			resets = <&cpg 908>;
20953ae5809SFabrizio Castro		};
21053ae5809SFabrizio Castro
21153ae5809SFabrizio Castro		gpio5: gpio@e6055000 {
21253ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
21353ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
21453ae5809SFabrizio Castro			reg = <0 0xe6055000 0 0x50>;
21553ae5809SFabrizio Castro			interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
21653ae5809SFabrizio Castro			#gpio-cells = <2>;
21753ae5809SFabrizio Castro			gpio-controller;
21853ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 160 26>;
21953ae5809SFabrizio Castro			#interrupt-cells = <2>;
22053ae5809SFabrizio Castro			interrupt-controller;
22153ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 907>;
22253ae5809SFabrizio Castro			power-domains = <&sysc 32>;
22353ae5809SFabrizio Castro			resets = <&cpg 907>;
22453ae5809SFabrizio Castro		};
22553ae5809SFabrizio Castro
22653ae5809SFabrizio Castro		gpio6: gpio@e6055400 {
22753ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
22853ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
22953ae5809SFabrizio Castro			reg = <0 0xe6055400 0 0x50>;
23053ae5809SFabrizio Castro			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
23153ae5809SFabrizio Castro			#gpio-cells = <2>;
23253ae5809SFabrizio Castro			gpio-controller;
23353ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 192 32>;
23453ae5809SFabrizio Castro			#interrupt-cells = <2>;
23553ae5809SFabrizio Castro			interrupt-controller;
23653ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 906>;
23753ae5809SFabrizio Castro			power-domains = <&sysc 32>;
23853ae5809SFabrizio Castro			resets = <&cpg 906>;
23953ae5809SFabrizio Castro		};
24053ae5809SFabrizio Castro
24153ae5809SFabrizio Castro		gpio7: gpio@e6055800 {
24253ae5809SFabrizio Castro			compatible = "renesas,gpio-r8a774a1",
24353ae5809SFabrizio Castro				     "renesas,rcar-gen3-gpio";
24453ae5809SFabrizio Castro			reg = <0 0xe6055800 0 0x50>;
24553ae5809SFabrizio Castro			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
24653ae5809SFabrizio Castro			#gpio-cells = <2>;
24753ae5809SFabrizio Castro			gpio-controller;
24853ae5809SFabrizio Castro			gpio-ranges = <&pfc 0 224 4>;
24953ae5809SFabrizio Castro			#interrupt-cells = <2>;
25053ae5809SFabrizio Castro			interrupt-controller;
25153ae5809SFabrizio Castro			clocks = <&cpg CPG_MOD 905>;
25253ae5809SFabrizio Castro			power-domains = <&sysc 32>;
25353ae5809SFabrizio Castro			resets = <&cpg 905>;
25453ae5809SFabrizio Castro		};
25553ae5809SFabrizio Castro
2563698dbd0SFabrizio Castro		pfc: pin-controller@e6060000 {
2573698dbd0SFabrizio Castro			compatible = "renesas,pfc-r8a774a1";
2583698dbd0SFabrizio Castro			reg = <0 0xe6060000 0 0x50c>;
2593698dbd0SFabrizio Castro		};
2603698dbd0SFabrizio Castro
26190493b09SBiju Das		cpg: clock-controller@e6150000 {
26290493b09SBiju Das			compatible = "renesas,r8a774a1-cpg-mssr";
26390493b09SBiju Das			reg = <0 0xe6150000 0 0x0bb0>;
26490493b09SBiju Das			clocks = <&extal_clk>, <&extalr_clk>;
26590493b09SBiju Das			clock-names = "extal", "extalr";
26690493b09SBiju Das			#clock-cells = <2>;
26790493b09SBiju Das			#power-domain-cells = <0>;
26890493b09SBiju Das			#reset-cells = <1>;
26990493b09SBiju Das		};
27090493b09SBiju Das
27190493b09SBiju Das		rst: reset-controller@e6160000 {
27290493b09SBiju Das			compatible = "renesas,r8a774a1-rst";
27390493b09SBiju Das			reg = <0 0xe6160000 0 0x018c>;
27490493b09SBiju Das		};
27590493b09SBiju Das
27690493b09SBiju Das		sysc: system-controller@e6180000 {
27790493b09SBiju Das			compatible = "renesas,r8a774a1-sysc";
27890493b09SBiju Das			reg = <0 0xe6180000 0 0x0400>;
27990493b09SBiju Das			#power-domain-cells = <1>;
28090493b09SBiju Das		};
28190493b09SBiju Das
282a21c572cSBiju Das		intc_ex: interrupt-controller@e61c0000 {
283a21c572cSBiju Das			compatible = "renesas,intc-ex-r8a774a1", "renesas,irqc";
284a21c572cSBiju Das			#interrupt-cells = <2>;
285a21c572cSBiju Das			interrupt-controller;
286a21c572cSBiju Das			reg = <0 0xe61c0000 0 0x200>;
287a21c572cSBiju Das			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
288a21c572cSBiju Das				      GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
289a21c572cSBiju Das				      GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
290a21c572cSBiju Das				      GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
291a21c572cSBiju Das				      GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
292a21c572cSBiju Das				      GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
293a21c572cSBiju Das			clocks = <&cpg CPG_MOD 407>;
294a21c572cSBiju Das			power-domains = <&sysc 32>;
295a21c572cSBiju Das			resets = <&cpg 407>;
296a21c572cSBiju Das		};
297a21c572cSBiju Das
2983a3933a4SFabrizio Castro		hscif0: serial@e6540000 {
2993a3933a4SFabrizio Castro			compatible = "renesas,hscif-r8a774a1",
3003a3933a4SFabrizio Castro				     "renesas,rcar-gen3-hscif",
3013a3933a4SFabrizio Castro				     "renesas,hscif";
3023a3933a4SFabrizio Castro			reg = <0 0xe6540000 0 0x60>;
3033a3933a4SFabrizio Castro			interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
3043a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 520>,
3053a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
3063a3933a4SFabrizio Castro				 <&scif_clk>;
3073a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
3083a3933a4SFabrizio Castro			dmas = <&dmac1 0x31>, <&dmac1 0x30>,
3093a3933a4SFabrizio Castro			       <&dmac2 0x31>, <&dmac2 0x30>;
3103a3933a4SFabrizio Castro			dma-names = "tx", "rx", "tx", "rx";
3113a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
3123a3933a4SFabrizio Castro			resets = <&cpg 520>;
3133a3933a4SFabrizio Castro			status = "disabled";
3143a3933a4SFabrizio Castro		};
3153a3933a4SFabrizio Castro
3163a3933a4SFabrizio Castro		hscif1: serial@e6550000 {
3173a3933a4SFabrizio Castro			compatible = "renesas,hscif-r8a774a1",
3183a3933a4SFabrizio Castro				     "renesas,rcar-gen3-hscif",
3193a3933a4SFabrizio Castro				     "renesas,hscif";
3203a3933a4SFabrizio Castro			reg = <0 0xe6550000 0 0x60>;
3213a3933a4SFabrizio Castro			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
3223a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 519>,
3233a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
3243a3933a4SFabrizio Castro				 <&scif_clk>;
3253a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
3263a3933a4SFabrizio Castro			dmas = <&dmac1 0x33>, <&dmac1 0x32>,
3273a3933a4SFabrizio Castro			       <&dmac2 0x33>, <&dmac2 0x32>;
3283a3933a4SFabrizio Castro			dma-names = "tx", "rx", "tx", "rx";
3293a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
3303a3933a4SFabrizio Castro			resets = <&cpg 519>;
3313a3933a4SFabrizio Castro			status = "disabled";
3323a3933a4SFabrizio Castro		};
3333a3933a4SFabrizio Castro
3343a3933a4SFabrizio Castro		hscif2: serial@e6560000 {
3353a3933a4SFabrizio Castro			compatible = "renesas,hscif-r8a774a1",
3363a3933a4SFabrizio Castro				     "renesas,rcar-gen3-hscif",
3373a3933a4SFabrizio Castro				     "renesas,hscif";
3383a3933a4SFabrizio Castro			reg = <0 0xe6560000 0 0x60>;
3393a3933a4SFabrizio Castro			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
3403a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 518>,
3413a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
3423a3933a4SFabrizio Castro				 <&scif_clk>;
3433a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
3443a3933a4SFabrizio Castro			dmas = <&dmac1 0x35>, <&dmac1 0x34>,
3453a3933a4SFabrizio Castro			       <&dmac2 0x35>, <&dmac2 0x34>;
3463a3933a4SFabrizio Castro			dma-names = "tx", "rx", "tx", "rx";
3473a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
3483a3933a4SFabrizio Castro			resets = <&cpg 518>;
3493a3933a4SFabrizio Castro			status = "disabled";
3503a3933a4SFabrizio Castro		};
3513a3933a4SFabrizio Castro
3523a3933a4SFabrizio Castro		hscif3: serial@e66a0000 {
3533a3933a4SFabrizio Castro			compatible = "renesas,hscif-r8a774a1",
3543a3933a4SFabrizio Castro				     "renesas,rcar-gen3-hscif",
3553a3933a4SFabrizio Castro				     "renesas,hscif";
3563a3933a4SFabrizio Castro			reg = <0 0xe66a0000 0 0x60>;
3573a3933a4SFabrizio Castro			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
3583a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 517>,
3593a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
3603a3933a4SFabrizio Castro				 <&scif_clk>;
3613a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
3623a3933a4SFabrizio Castro			dmas = <&dmac0 0x37>, <&dmac0 0x36>;
3633a3933a4SFabrizio Castro			dma-names = "tx", "rx";
3643a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
3653a3933a4SFabrizio Castro			resets = <&cpg 517>;
3663a3933a4SFabrizio Castro			status = "disabled";
3673a3933a4SFabrizio Castro		};
3683a3933a4SFabrizio Castro
3693a3933a4SFabrizio Castro		hscif4: serial@e66b0000 {
3703a3933a4SFabrizio Castro			compatible = "renesas,hscif-r8a774a1",
3713a3933a4SFabrizio Castro				     "renesas,rcar-gen3-hscif",
3723a3933a4SFabrizio Castro				     "renesas,hscif";
3733a3933a4SFabrizio Castro			reg = <0 0xe66b0000 0 0x60>;
3743a3933a4SFabrizio Castro			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
3753a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 516>,
3763a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
3773a3933a4SFabrizio Castro				 <&scif_clk>;
3783a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
3793a3933a4SFabrizio Castro			dmas = <&dmac0 0x39>, <&dmac0 0x38>;
3803a3933a4SFabrizio Castro			dma-names = "tx", "rx";
3813a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
3823a3933a4SFabrizio Castro			resets = <&cpg 516>;
3833a3933a4SFabrizio Castro			status = "disabled";
3843a3933a4SFabrizio Castro		};
3853a3933a4SFabrizio Castro
38637a61e4dSBiju Das		dmac0: dma-controller@e6700000 {
38737a61e4dSBiju Das			compatible = "renesas,dmac-r8a774a1",
38837a61e4dSBiju Das				     "renesas,rcar-dmac";
38937a61e4dSBiju Das			reg = <0 0xe6700000 0 0x10000>;
39037a61e4dSBiju Das			interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH
39137a61e4dSBiju Das				      GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH
39237a61e4dSBiju Das				      GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH
39337a61e4dSBiju Das				      GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH
39437a61e4dSBiju Das				      GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH
39537a61e4dSBiju Das				      GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH
39637a61e4dSBiju Das				      GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH
39737a61e4dSBiju Das				      GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH
39837a61e4dSBiju Das				      GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH
39937a61e4dSBiju Das				      GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH
40037a61e4dSBiju Das				      GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH
40137a61e4dSBiju Das				      GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH
40237a61e4dSBiju Das				      GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH
40337a61e4dSBiju Das				      GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH
40437a61e4dSBiju Das				      GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH
40537a61e4dSBiju Das				      GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH
40637a61e4dSBiju Das				      GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
40737a61e4dSBiju Das			interrupt-names = "error",
40837a61e4dSBiju Das					"ch0", "ch1", "ch2", "ch3",
40937a61e4dSBiju Das					"ch4", "ch5", "ch6", "ch7",
41037a61e4dSBiju Das					"ch8", "ch9", "ch10", "ch11",
41137a61e4dSBiju Das					"ch12", "ch13", "ch14", "ch15";
41237a61e4dSBiju Das			clocks = <&cpg CPG_MOD 219>;
41337a61e4dSBiju Das			clock-names = "fck";
41437a61e4dSBiju Das			power-domains = <&sysc 32>;
41537a61e4dSBiju Das			resets = <&cpg 219>;
41637a61e4dSBiju Das			#dma-cells = <1>;
41737a61e4dSBiju Das			dma-channels = <16>;
41837a61e4dSBiju Das		};
41937a61e4dSBiju Das
42037a61e4dSBiju Das		dmac1: dma-controller@e7300000 {
42137a61e4dSBiju Das			compatible = "renesas,dmac-r8a774a1",
42237a61e4dSBiju Das				     "renesas,rcar-dmac";
42337a61e4dSBiju Das			reg = <0 0xe7300000 0 0x10000>;
42437a61e4dSBiju Das			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH
42537a61e4dSBiju Das				      GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH
42637a61e4dSBiju Das				      GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH
42737a61e4dSBiju Das				      GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH
42837a61e4dSBiju Das				      GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH
42937a61e4dSBiju Das				      GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH
43037a61e4dSBiju Das				      GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH
43137a61e4dSBiju Das				      GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH
43237a61e4dSBiju Das				      GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH
43337a61e4dSBiju Das				      GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH
43437a61e4dSBiju Das				      GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH
43537a61e4dSBiju Das				      GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH
43637a61e4dSBiju Das				      GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH
43737a61e4dSBiju Das				      GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH
43837a61e4dSBiju Das				      GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH
43937a61e4dSBiju Das				      GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH
44037a61e4dSBiju Das				      GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>;
44137a61e4dSBiju Das			interrupt-names = "error",
44237a61e4dSBiju Das					"ch0", "ch1", "ch2", "ch3",
44337a61e4dSBiju Das					"ch4", "ch5", "ch6", "ch7",
44437a61e4dSBiju Das					"ch8", "ch9", "ch10", "ch11",
44537a61e4dSBiju Das					"ch12", "ch13", "ch14", "ch15";
44637a61e4dSBiju Das			clocks = <&cpg CPG_MOD 218>;
44737a61e4dSBiju Das			clock-names = "fck";
44837a61e4dSBiju Das			power-domains = <&sysc 32>;
44937a61e4dSBiju Das			resets = <&cpg 218>;
45037a61e4dSBiju Das			#dma-cells = <1>;
45137a61e4dSBiju Das			dma-channels = <16>;
45237a61e4dSBiju Das		};
45337a61e4dSBiju Das
45437a61e4dSBiju Das		dmac2: dma-controller@e7310000 {
45537a61e4dSBiju Das			compatible = "renesas,dmac-r8a774a1",
45637a61e4dSBiju Das				     "renesas,rcar-dmac";
45737a61e4dSBiju Das			reg = <0 0xe7310000 0 0x10000>;
45837a61e4dSBiju Das			interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH
45937a61e4dSBiju Das				      GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH
46037a61e4dSBiju Das				      GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH
46137a61e4dSBiju Das				      GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH
46237a61e4dSBiju Das				      GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH
46337a61e4dSBiju Das				      GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH
46437a61e4dSBiju Das				      GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH
46537a61e4dSBiju Das				      GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH
46637a61e4dSBiju Das				      GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH
46737a61e4dSBiju Das				      GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH
46837a61e4dSBiju Das				      GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH
46937a61e4dSBiju Das				      GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH
47037a61e4dSBiju Das				      GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH
47137a61e4dSBiju Das				      GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH
47237a61e4dSBiju Das				      GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH
47337a61e4dSBiju Das				      GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH
47437a61e4dSBiju Das				      GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>;
47537a61e4dSBiju Das			interrupt-names = "error",
47637a61e4dSBiju Das					"ch0", "ch1", "ch2", "ch3",
47737a61e4dSBiju Das					"ch4", "ch5", "ch6", "ch7",
47837a61e4dSBiju Das					"ch8", "ch9", "ch10", "ch11",
47937a61e4dSBiju Das					"ch12", "ch13", "ch14", "ch15";
48037a61e4dSBiju Das			clocks = <&cpg CPG_MOD 217>;
48137a61e4dSBiju Das			clock-names = "fck";
48237a61e4dSBiju Das			power-domains = <&sysc 32>;
48337a61e4dSBiju Das			resets = <&cpg 217>;
48437a61e4dSBiju Das			#dma-cells = <1>;
48537a61e4dSBiju Das			dma-channels = <16>;
48637a61e4dSBiju Das		};
48737a61e4dSBiju Das
48871bddde2SFabrizio Castro		avb: ethernet@e6800000 {
48971bddde2SFabrizio Castro			compatible = "renesas,etheravb-r8a774a1",
49071bddde2SFabrizio Castro				     "renesas,etheravb-rcar-gen3";
49171bddde2SFabrizio Castro			reg = <0 0xe6800000 0 0x800>;
49271bddde2SFabrizio Castro			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
49371bddde2SFabrizio Castro				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
49471bddde2SFabrizio Castro				     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
49571bddde2SFabrizio Castro				     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
49671bddde2SFabrizio Castro				     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
49771bddde2SFabrizio Castro				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
49871bddde2SFabrizio Castro				     <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>,
49971bddde2SFabrizio Castro				     <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>,
50071bddde2SFabrizio Castro				     <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
50171bddde2SFabrizio Castro				     <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>,
50271bddde2SFabrizio Castro				     <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>,
50371bddde2SFabrizio Castro				     <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>,
50471bddde2SFabrizio Castro				     <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
50571bddde2SFabrizio Castro				     <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
50671bddde2SFabrizio Castro				     <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
50771bddde2SFabrizio Castro				     <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
50871bddde2SFabrizio Castro				     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
50971bddde2SFabrizio Castro				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
51071bddde2SFabrizio Castro				     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>,
51171bddde2SFabrizio Castro				     <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
51271bddde2SFabrizio Castro				     <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
51371bddde2SFabrizio Castro				     <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
51471bddde2SFabrizio Castro				     <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>,
51571bddde2SFabrizio Castro				     <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>,
51671bddde2SFabrizio Castro				     <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
51771bddde2SFabrizio Castro			interrupt-names = "ch0", "ch1", "ch2", "ch3",
51871bddde2SFabrizio Castro					  "ch4", "ch5", "ch6", "ch7",
51971bddde2SFabrizio Castro					  "ch8", "ch9", "ch10", "ch11",
52071bddde2SFabrizio Castro					  "ch12", "ch13", "ch14", "ch15",
52171bddde2SFabrizio Castro					  "ch16", "ch17", "ch18", "ch19",
52271bddde2SFabrizio Castro					  "ch20", "ch21", "ch22", "ch23",
52371bddde2SFabrizio Castro					  "ch24";
52471bddde2SFabrizio Castro			clocks = <&cpg CPG_MOD 812>;
52571bddde2SFabrizio Castro			power-domains = <&sysc 32>;
52671bddde2SFabrizio Castro			resets = <&cpg 812>;
52771bddde2SFabrizio Castro			phy-mode = "rgmii";
52871bddde2SFabrizio Castro			#address-cells = <1>;
52971bddde2SFabrizio Castro			#size-cells = <0>;
53071bddde2SFabrizio Castro			status = "disabled";
53171bddde2SFabrizio Castro		};
53271bddde2SFabrizio Castro
5333a3933a4SFabrizio Castro		scif0: serial@e6e60000 {
5343a3933a4SFabrizio Castro			compatible = "renesas,scif-r8a774a1",
5353a3933a4SFabrizio Castro				     "renesas,rcar-gen3-scif", "renesas,scif";
5363a3933a4SFabrizio Castro			reg = <0 0xe6e60000 0 0x40>;
5373a3933a4SFabrizio Castro			interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
5383a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 207>,
5393a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
5403a3933a4SFabrizio Castro				 <&scif_clk>;
5413a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
5423a3933a4SFabrizio Castro			dmas = <&dmac1 0x51>, <&dmac1 0x50>,
5433a3933a4SFabrizio Castro			       <&dmac2 0x51>, <&dmac2 0x50>;
5443a3933a4SFabrizio Castro			dma-names = "tx", "rx", "tx", "rx";
5453a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
5463a3933a4SFabrizio Castro			resets = <&cpg 207>;
5473a3933a4SFabrizio Castro			status = "disabled";
5483a3933a4SFabrizio Castro		};
5493a3933a4SFabrizio Castro
5503a3933a4SFabrizio Castro		scif1: serial@e6e68000 {
5513a3933a4SFabrizio Castro			compatible = "renesas,scif-r8a774a1",
5523a3933a4SFabrizio Castro				     "renesas,rcar-gen3-scif", "renesas,scif";
5533a3933a4SFabrizio Castro			reg = <0 0xe6e68000 0 0x40>;
5543a3933a4SFabrizio Castro			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
5553a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 206>,
5563a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
5573a3933a4SFabrizio Castro				 <&scif_clk>;
5583a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
5593a3933a4SFabrizio Castro			dmas = <&dmac1 0x53>, <&dmac1 0x52>,
5603a3933a4SFabrizio Castro			       <&dmac2 0x53>, <&dmac2 0x52>;
5613a3933a4SFabrizio Castro			dma-names = "tx", "rx", "tx", "rx";
5623a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
5633a3933a4SFabrizio Castro			resets = <&cpg 206>;
5643a3933a4SFabrizio Castro			status = "disabled";
5653a3933a4SFabrizio Castro		};
5663a3933a4SFabrizio Castro
5673a3933a4SFabrizio Castro		scif2: serial@e6e88000 {
5683a3933a4SFabrizio Castro			compatible = "renesas,scif-r8a774a1",
5693a3933a4SFabrizio Castro				     "renesas,rcar-gen3-scif", "renesas,scif";
5703a3933a4SFabrizio Castro			reg = <0 0xe6e88000 0 0x40>;
5713a3933a4SFabrizio Castro			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
5723a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 310>,
5733a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
5743a3933a4SFabrizio Castro				 <&scif_clk>;
5753a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
5763a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
5773a3933a4SFabrizio Castro			resets = <&cpg 310>;
5783a3933a4SFabrizio Castro			status = "disabled";
5793a3933a4SFabrizio Castro		};
5803a3933a4SFabrizio Castro
5813a3933a4SFabrizio Castro		scif3: serial@e6c50000 {
5823a3933a4SFabrizio Castro			compatible = "renesas,scif-r8a774a1",
5833a3933a4SFabrizio Castro				     "renesas,rcar-gen3-scif", "renesas,scif";
5843a3933a4SFabrizio Castro			reg = <0 0xe6c50000 0 0x40>;
5853a3933a4SFabrizio Castro			interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
5863a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 204>,
5873a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
5883a3933a4SFabrizio Castro				 <&scif_clk>;
5893a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
5903a3933a4SFabrizio Castro			dmas = <&dmac0 0x57>, <&dmac0 0x56>;
5913a3933a4SFabrizio Castro			dma-names = "tx", "rx";
5923a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
5933a3933a4SFabrizio Castro			resets = <&cpg 204>;
5943a3933a4SFabrizio Castro			status = "disabled";
5953a3933a4SFabrizio Castro		};
5963a3933a4SFabrizio Castro
5973a3933a4SFabrizio Castro		scif4: serial@e6c40000 {
5983a3933a4SFabrizio Castro			compatible = "renesas,scif-r8a774a1",
5993a3933a4SFabrizio Castro				     "renesas,rcar-gen3-scif", "renesas,scif";
6003a3933a4SFabrizio Castro			reg = <0 0xe6c40000 0 0x40>;
6013a3933a4SFabrizio Castro			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
6023a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 203>,
6033a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
6043a3933a4SFabrizio Castro				 <&scif_clk>;
6053a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
6063a3933a4SFabrizio Castro			dmas = <&dmac0 0x59>, <&dmac0 0x58>;
6073a3933a4SFabrizio Castro			dma-names = "tx", "rx";
6083a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
6093a3933a4SFabrizio Castro			resets = <&cpg 203>;
6103a3933a4SFabrizio Castro			status = "disabled";
6113a3933a4SFabrizio Castro		};
6123a3933a4SFabrizio Castro
6133a3933a4SFabrizio Castro		scif5: serial@e6f30000 {
6143a3933a4SFabrizio Castro			compatible = "renesas,scif-r8a774a1",
6153a3933a4SFabrizio Castro				     "renesas,rcar-gen3-scif", "renesas,scif";
6163a3933a4SFabrizio Castro			reg = <0 0xe6f30000 0 0x40>;
6173a3933a4SFabrizio Castro			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
6183a3933a4SFabrizio Castro			clocks = <&cpg CPG_MOD 202>,
6193a3933a4SFabrizio Castro				 <&cpg CPG_CORE 19>,
6203a3933a4SFabrizio Castro				 <&scif_clk>;
6213a3933a4SFabrizio Castro			clock-names = "fck", "brg_int", "scif_clk";
6223a3933a4SFabrizio Castro			dmas = <&dmac1 0x5b>, <&dmac1 0x5a>,
6233a3933a4SFabrizio Castro			       <&dmac2 0x5b>, <&dmac2 0x5a>;
6243a3933a4SFabrizio Castro			dma-names = "tx", "rx", "tx", "rx";
6253a3933a4SFabrizio Castro			power-domains = <&sysc 32>;
6263a3933a4SFabrizio Castro			resets = <&cpg 202>;
6273a3933a4SFabrizio Castro			status = "disabled";
6283a3933a4SFabrizio Castro		};
6293a3933a4SFabrizio Castro
630*663386c3SFabrizio Castro		sdhi0: sd@ee100000 {
631*663386c3SFabrizio Castro			compatible = "renesas,sdhi-r8a774a1",
632*663386c3SFabrizio Castro				     "renesas,rcar-gen3-sdhi";
633*663386c3SFabrizio Castro			reg = <0 0xee100000 0 0x2000>;
634*663386c3SFabrizio Castro			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
635*663386c3SFabrizio Castro			clocks = <&cpg CPG_MOD 314>;
636*663386c3SFabrizio Castro			max-frequency = <200000000>;
637*663386c3SFabrizio Castro			power-domains = <&sysc 32>;
638*663386c3SFabrizio Castro			resets = <&cpg 314>;
639*663386c3SFabrizio Castro			status = "disabled";
640*663386c3SFabrizio Castro		};
641*663386c3SFabrizio Castro
642*663386c3SFabrizio Castro		sdhi1: sd@ee120000 {
643*663386c3SFabrizio Castro			compatible = "renesas,sdhi-r8a774a1",
644*663386c3SFabrizio Castro				     "renesas,rcar-gen3-sdhi";
645*663386c3SFabrizio Castro			reg = <0 0xee120000 0 0x2000>;
646*663386c3SFabrizio Castro			interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
647*663386c3SFabrizio Castro			clocks = <&cpg CPG_MOD 313>;
648*663386c3SFabrizio Castro			max-frequency = <200000000>;
649*663386c3SFabrizio Castro			power-domains = <&sysc 32>;
650*663386c3SFabrizio Castro			resets = <&cpg 313>;
651*663386c3SFabrizio Castro			status = "disabled";
652*663386c3SFabrizio Castro		};
653*663386c3SFabrizio Castro
654*663386c3SFabrizio Castro		sdhi2: sd@ee140000 {
655*663386c3SFabrizio Castro			compatible = "renesas,sdhi-r8a774a1",
656*663386c3SFabrizio Castro				     "renesas,rcar-gen3-sdhi";
657*663386c3SFabrizio Castro			reg = <0 0xee140000 0 0x2000>;
658*663386c3SFabrizio Castro			interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
659*663386c3SFabrizio Castro			clocks = <&cpg CPG_MOD 312>;
660*663386c3SFabrizio Castro			max-frequency = <200000000>;
661*663386c3SFabrizio Castro			power-domains = <&sysc 32>;
662*663386c3SFabrizio Castro			resets = <&cpg 312>;
663*663386c3SFabrizio Castro			status = "disabled";
664*663386c3SFabrizio Castro		};
665*663386c3SFabrizio Castro
666*663386c3SFabrizio Castro		sdhi3: sd@ee160000 {
667*663386c3SFabrizio Castro			compatible = "renesas,sdhi-r8a774a1",
668*663386c3SFabrizio Castro				     "renesas,rcar-gen3-sdhi";
669*663386c3SFabrizio Castro			reg = <0 0xee160000 0 0x2000>;
670*663386c3SFabrizio Castro			interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
671*663386c3SFabrizio Castro			clocks = <&cpg CPG_MOD 311>;
672*663386c3SFabrizio Castro			max-frequency = <200000000>;
673*663386c3SFabrizio Castro			power-domains = <&sysc 32>;
674*663386c3SFabrizio Castro			resets = <&cpg 311>;
675*663386c3SFabrizio Castro			status = "disabled";
676*663386c3SFabrizio Castro		};
677*663386c3SFabrizio Castro
67890493b09SBiju Das		gic: interrupt-controller@f1010000 {
67990493b09SBiju Das			compatible = "arm,gic-400";
68090493b09SBiju Das			#interrupt-cells = <3>;
68190493b09SBiju Das			#address-cells = <0>;
68290493b09SBiju Das			interrupt-controller;
68390493b09SBiju Das			reg = <0x0 0xf1010000 0 0x1000>,
68490493b09SBiju Das			      <0x0 0xf1020000 0 0x20000>,
68590493b09SBiju Das			      <0x0 0xf1040000 0 0x20000>,
68690493b09SBiju Das			      <0x0 0xf1060000 0 0x20000>;
68790493b09SBiju Das			interrupts = <GIC_PPI 9
68890493b09SBiju Das					(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
68990493b09SBiju Das			clocks = <&cpg CPG_MOD 408>;
69090493b09SBiju Das			clock-names = "clk";
69190493b09SBiju Das			power-domains = <&sysc 32>;
69290493b09SBiju Das			resets = <&cpg 408>;
69390493b09SBiju Das		};
69490493b09SBiju Das
69590493b09SBiju Das		prr: chipid@fff00044 {
69690493b09SBiju Das			compatible = "renesas,prr";
69790493b09SBiju Das			reg = <0 0xfff00044 0 4>;
69890493b09SBiju Das		};
69990493b09SBiju Das	};
70090493b09SBiju Das
70190493b09SBiju Das	timer {
70290493b09SBiju Das		compatible = "arm,armv8-timer";
70390493b09SBiju Das		interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
70490493b09SBiju Das				      <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
70590493b09SBiju Das				      <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
70690493b09SBiju Das				      <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
70790493b09SBiju Das	};
70890493b09SBiju Das
70990493b09SBiju Das	/* External USB clocks - can be overridden by the board */
71090493b09SBiju Das	usb3s0_clk: usb3s0 {
71190493b09SBiju Das		compatible = "fixed-clock";
71290493b09SBiju Das		#clock-cells = <0>;
71390493b09SBiju Das		clock-frequency = <0>;
71490493b09SBiju Das	};
71590493b09SBiju Das
71690493b09SBiju Das	usb_extal_clk: usb_extal {
71790493b09SBiju Das		compatible = "fixed-clock";
71890493b09SBiju Das		#clock-cells = <0>;
71990493b09SBiju Das		clock-frequency = <0>;
72090493b09SBiju Das	};
72190493b09SBiju Das};
722