xref: /freebsd/sys/contrib/device-tree/src/riscv/sophgo/cv18xx.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
18d13bc63SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT)
28d13bc63SEmmanuel Vadot/*
38d13bc63SEmmanuel Vadot * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
48d13bc63SEmmanuel Vadot * Copyright (C) 2023 Inochi Amaoto <inochiama@outlook.com>
58d13bc63SEmmanuel Vadot */
68d13bc63SEmmanuel Vadot
77d0873ebSEmmanuel Vadot#include <dt-bindings/clock/sophgo,cv1800.h>
87d0873ebSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
98d13bc63SEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
108d13bc63SEmmanuel Vadot
118d13bc63SEmmanuel Vadot/ {
128d13bc63SEmmanuel Vadot	#address-cells = <1>;
138d13bc63SEmmanuel Vadot	#size-cells = <1>;
148d13bc63SEmmanuel Vadot
158d13bc63SEmmanuel Vadot	cpus: cpus {
168d13bc63SEmmanuel Vadot		#address-cells = <1>;
178d13bc63SEmmanuel Vadot		#size-cells = <0>;
188d13bc63SEmmanuel Vadot		timebase-frequency = <25000000>;
198d13bc63SEmmanuel Vadot
208d13bc63SEmmanuel Vadot		cpu0: cpu@0 {
218d13bc63SEmmanuel Vadot			compatible = "thead,c906", "riscv";
228d13bc63SEmmanuel Vadot			device_type = "cpu";
238d13bc63SEmmanuel Vadot			reg = <0>;
248d13bc63SEmmanuel Vadot			d-cache-block-size = <64>;
258d13bc63SEmmanuel Vadot			d-cache-sets = <512>;
268d13bc63SEmmanuel Vadot			d-cache-size = <65536>;
278d13bc63SEmmanuel Vadot			i-cache-block-size = <64>;
288d13bc63SEmmanuel Vadot			i-cache-sets = <128>;
298d13bc63SEmmanuel Vadot			i-cache-size = <32768>;
308d13bc63SEmmanuel Vadot			mmu-type = "riscv,sv39";
318d13bc63SEmmanuel Vadot			riscv,isa = "rv64imafdc";
328d13bc63SEmmanuel Vadot			riscv,isa-base = "rv64i";
338d13bc63SEmmanuel Vadot			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
348d13bc63SEmmanuel Vadot					       "zifencei", "zihpm";
358d13bc63SEmmanuel Vadot
368d13bc63SEmmanuel Vadot			cpu0_intc: interrupt-controller {
378d13bc63SEmmanuel Vadot				compatible = "riscv,cpu-intc";
388d13bc63SEmmanuel Vadot				interrupt-controller;
398d13bc63SEmmanuel Vadot				#interrupt-cells = <1>;
408d13bc63SEmmanuel Vadot			};
418d13bc63SEmmanuel Vadot		};
428d13bc63SEmmanuel Vadot	};
438d13bc63SEmmanuel Vadot
448d13bc63SEmmanuel Vadot	osc: oscillator {
458d13bc63SEmmanuel Vadot		compatible = "fixed-clock";
468d13bc63SEmmanuel Vadot		clock-output-names = "osc_25m";
478d13bc63SEmmanuel Vadot		#clock-cells = <0>;
488d13bc63SEmmanuel Vadot	};
498d13bc63SEmmanuel Vadot
508d13bc63SEmmanuel Vadot	soc {
518d13bc63SEmmanuel Vadot		compatible = "simple-bus";
528d13bc63SEmmanuel Vadot		interrupt-parent = <&plic>;
538d13bc63SEmmanuel Vadot		#address-cells = <1>;
548d13bc63SEmmanuel Vadot		#size-cells = <1>;
558d13bc63SEmmanuel Vadot		dma-noncoherent;
568d13bc63SEmmanuel Vadot		ranges;
578d13bc63SEmmanuel Vadot
587d0873ebSEmmanuel Vadot		clk: clock-controller@3002000 {
597d0873ebSEmmanuel Vadot			reg = <0x03002000 0x1000>;
607d0873ebSEmmanuel Vadot			clocks = <&osc>;
617d0873ebSEmmanuel Vadot			#clock-cells = <1>;
627d0873ebSEmmanuel Vadot		};
637d0873ebSEmmanuel Vadot
648d13bc63SEmmanuel Vadot		gpio0: gpio@3020000 {
658d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
668d13bc63SEmmanuel Vadot			reg = <0x3020000 0x1000>;
678d13bc63SEmmanuel Vadot			#address-cells = <1>;
688d13bc63SEmmanuel Vadot			#size-cells = <0>;
698d13bc63SEmmanuel Vadot
708d13bc63SEmmanuel Vadot			porta: gpio-controller@0 {
718d13bc63SEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
728d13bc63SEmmanuel Vadot				gpio-controller;
738d13bc63SEmmanuel Vadot				#gpio-cells = <2>;
748d13bc63SEmmanuel Vadot				ngpios = <32>;
758d13bc63SEmmanuel Vadot				reg = <0>;
768d13bc63SEmmanuel Vadot				interrupt-controller;
778d13bc63SEmmanuel Vadot				#interrupt-cells = <2>;
788d13bc63SEmmanuel Vadot				interrupts = <60 IRQ_TYPE_LEVEL_HIGH>;
798d13bc63SEmmanuel Vadot			};
808d13bc63SEmmanuel Vadot		};
818d13bc63SEmmanuel Vadot
828d13bc63SEmmanuel Vadot		gpio1: gpio@3021000 {
838d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
848d13bc63SEmmanuel Vadot			reg = <0x3021000 0x1000>;
858d13bc63SEmmanuel Vadot			#address-cells = <1>;
868d13bc63SEmmanuel Vadot			#size-cells = <0>;
878d13bc63SEmmanuel Vadot
888d13bc63SEmmanuel Vadot			portb: gpio-controller@0 {
898d13bc63SEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
908d13bc63SEmmanuel Vadot				gpio-controller;
918d13bc63SEmmanuel Vadot				#gpio-cells = <2>;
928d13bc63SEmmanuel Vadot				ngpios = <32>;
938d13bc63SEmmanuel Vadot				reg = <0>;
948d13bc63SEmmanuel Vadot				interrupt-controller;
958d13bc63SEmmanuel Vadot				#interrupt-cells = <2>;
968d13bc63SEmmanuel Vadot				interrupts = <61 IRQ_TYPE_LEVEL_HIGH>;
978d13bc63SEmmanuel Vadot			};
988d13bc63SEmmanuel Vadot		};
998d13bc63SEmmanuel Vadot
1008d13bc63SEmmanuel Vadot		gpio2: gpio@3022000 {
1018d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
1028d13bc63SEmmanuel Vadot			reg = <0x3022000 0x1000>;
1038d13bc63SEmmanuel Vadot			#address-cells = <1>;
1048d13bc63SEmmanuel Vadot			#size-cells = <0>;
1058d13bc63SEmmanuel Vadot
1068d13bc63SEmmanuel Vadot			portc: gpio-controller@0 {
1078d13bc63SEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
1088d13bc63SEmmanuel Vadot				gpio-controller;
1098d13bc63SEmmanuel Vadot				#gpio-cells = <2>;
1108d13bc63SEmmanuel Vadot				ngpios = <32>;
1118d13bc63SEmmanuel Vadot				reg = <0>;
1128d13bc63SEmmanuel Vadot				interrupt-controller;
1138d13bc63SEmmanuel Vadot				#interrupt-cells = <2>;
1148d13bc63SEmmanuel Vadot				interrupts = <62 IRQ_TYPE_LEVEL_HIGH>;
1158d13bc63SEmmanuel Vadot			};
1168d13bc63SEmmanuel Vadot		};
1178d13bc63SEmmanuel Vadot
1188d13bc63SEmmanuel Vadot		gpio3: gpio@3023000 {
1198d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-gpio";
1208d13bc63SEmmanuel Vadot			reg = <0x3023000 0x1000>;
1218d13bc63SEmmanuel Vadot			#address-cells = <1>;
1228d13bc63SEmmanuel Vadot			#size-cells = <0>;
1238d13bc63SEmmanuel Vadot
1248d13bc63SEmmanuel Vadot			portd: gpio-controller@0 {
1258d13bc63SEmmanuel Vadot				compatible = "snps,dw-apb-gpio-port";
1268d13bc63SEmmanuel Vadot				gpio-controller;
1278d13bc63SEmmanuel Vadot				#gpio-cells = <2>;
1288d13bc63SEmmanuel Vadot				ngpios = <32>;
1298d13bc63SEmmanuel Vadot				reg = <0>;
1308d13bc63SEmmanuel Vadot				interrupt-controller;
1318d13bc63SEmmanuel Vadot				#interrupt-cells = <2>;
1328d13bc63SEmmanuel Vadot				interrupts = <63 IRQ_TYPE_LEVEL_HIGH>;
1338d13bc63SEmmanuel Vadot			};
1348d13bc63SEmmanuel Vadot		};
1358d13bc63SEmmanuel Vadot
1367d0873ebSEmmanuel Vadot		i2c0: i2c@4000000 {
1377d0873ebSEmmanuel Vadot			compatible = "snps,designware-i2c";
1387d0873ebSEmmanuel Vadot			reg = <0x04000000 0x10000>;
1397d0873ebSEmmanuel Vadot			#address-cells = <1>;
1407d0873ebSEmmanuel Vadot			#size-cells = <0>;
1417d0873ebSEmmanuel Vadot			clocks = <&clk CLK_I2C>, <&clk CLK_APB_I2C0>;
1427d0873ebSEmmanuel Vadot			clock-names = "ref", "pclk";
1437d0873ebSEmmanuel Vadot			interrupts = <49 IRQ_TYPE_LEVEL_HIGH>;
1447d0873ebSEmmanuel Vadot			status = "disabled";
1457d0873ebSEmmanuel Vadot		};
1467d0873ebSEmmanuel Vadot
1477d0873ebSEmmanuel Vadot		i2c1: i2c@4010000 {
1487d0873ebSEmmanuel Vadot			compatible = "snps,designware-i2c";
1497d0873ebSEmmanuel Vadot			reg = <0x04010000 0x10000>;
1507d0873ebSEmmanuel Vadot			#address-cells = <1>;
1517d0873ebSEmmanuel Vadot			#size-cells = <0>;
1527d0873ebSEmmanuel Vadot			clocks = <&clk CLK_I2C>, <&clk CLK_APB_I2C1>;
1537d0873ebSEmmanuel Vadot			clock-names = "ref", "pclk";
1547d0873ebSEmmanuel Vadot			interrupts = <50 IRQ_TYPE_LEVEL_HIGH>;
1557d0873ebSEmmanuel Vadot			status = "disabled";
1567d0873ebSEmmanuel Vadot		};
1577d0873ebSEmmanuel Vadot
1587d0873ebSEmmanuel Vadot		i2c2: i2c@4020000 {
1597d0873ebSEmmanuel Vadot			compatible = "snps,designware-i2c";
1607d0873ebSEmmanuel Vadot			reg = <0x04020000 0x10000>;
1617d0873ebSEmmanuel Vadot			#address-cells = <1>;
1627d0873ebSEmmanuel Vadot			#size-cells = <0>;
1637d0873ebSEmmanuel Vadot			clocks = <&clk CLK_I2C>, <&clk CLK_APB_I2C2>;
1647d0873ebSEmmanuel Vadot			clock-names = "ref", "pclk";
1657d0873ebSEmmanuel Vadot			interrupts = <51 IRQ_TYPE_LEVEL_HIGH>;
1667d0873ebSEmmanuel Vadot			status = "disabled";
1677d0873ebSEmmanuel Vadot		};
1687d0873ebSEmmanuel Vadot
1697d0873ebSEmmanuel Vadot		i2c3: i2c@4030000 {
1707d0873ebSEmmanuel Vadot			compatible = "snps,designware-i2c";
1717d0873ebSEmmanuel Vadot			reg = <0x04030000 0x10000>;
1727d0873ebSEmmanuel Vadot			#address-cells = <1>;
1737d0873ebSEmmanuel Vadot			#size-cells = <0>;
1747d0873ebSEmmanuel Vadot			clocks = <&clk CLK_I2C>, <&clk CLK_APB_I2C3>;
1757d0873ebSEmmanuel Vadot			clock-names = "ref", "pclk";
1767d0873ebSEmmanuel Vadot			interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
1777d0873ebSEmmanuel Vadot			status = "disabled";
1787d0873ebSEmmanuel Vadot		};
1797d0873ebSEmmanuel Vadot
1807d0873ebSEmmanuel Vadot		i2c4: i2c@4040000 {
1817d0873ebSEmmanuel Vadot			compatible = "snps,designware-i2c";
1827d0873ebSEmmanuel Vadot			reg = <0x04040000 0x10000>;
1837d0873ebSEmmanuel Vadot			#address-cells = <1>;
1847d0873ebSEmmanuel Vadot			#size-cells = <0>;
1857d0873ebSEmmanuel Vadot			clocks = <&clk CLK_I2C>, <&clk CLK_APB_I2C4>;
1867d0873ebSEmmanuel Vadot			clock-names = "ref", "pclk";
1877d0873ebSEmmanuel Vadot			interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
1887d0873ebSEmmanuel Vadot			status = "disabled";
1897d0873ebSEmmanuel Vadot		};
1907d0873ebSEmmanuel Vadot
1918d13bc63SEmmanuel Vadot		uart0: serial@4140000 {
1928d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-uart";
1938d13bc63SEmmanuel Vadot			reg = <0x04140000 0x100>;
1948d13bc63SEmmanuel Vadot			interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
1957d0873ebSEmmanuel Vadot			clocks = <&clk CLK_UART0>, <&clk CLK_APB_UART0>;
1967d0873ebSEmmanuel Vadot			clock-names = "baudclk", "apb_pclk";
1978d13bc63SEmmanuel Vadot			reg-shift = <2>;
1988d13bc63SEmmanuel Vadot			reg-io-width = <4>;
1998d13bc63SEmmanuel Vadot			status = "disabled";
2008d13bc63SEmmanuel Vadot		};
2018d13bc63SEmmanuel Vadot
2028d13bc63SEmmanuel Vadot		uart1: serial@4150000 {
2038d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-uart";
2048d13bc63SEmmanuel Vadot			reg = <0x04150000 0x100>;
2058d13bc63SEmmanuel Vadot			interrupts = <45 IRQ_TYPE_LEVEL_HIGH>;
2067d0873ebSEmmanuel Vadot			clocks = <&clk CLK_UART1>, <&clk CLK_APB_UART1>;
2077d0873ebSEmmanuel Vadot			clock-names = "baudclk", "apb_pclk";
2088d13bc63SEmmanuel Vadot			reg-shift = <2>;
2098d13bc63SEmmanuel Vadot			reg-io-width = <4>;
2108d13bc63SEmmanuel Vadot			status = "disabled";
2118d13bc63SEmmanuel Vadot		};
2128d13bc63SEmmanuel Vadot
2138d13bc63SEmmanuel Vadot		uart2: serial@4160000 {
2148d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-uart";
2158d13bc63SEmmanuel Vadot			reg = <0x04160000 0x100>;
2168d13bc63SEmmanuel Vadot			interrupts = <46 IRQ_TYPE_LEVEL_HIGH>;
2177d0873ebSEmmanuel Vadot			clocks = <&clk CLK_UART2>, <&clk CLK_APB_UART2>;
2187d0873ebSEmmanuel Vadot			clock-names = "baudclk", "apb_pclk";
2198d13bc63SEmmanuel Vadot			reg-shift = <2>;
2208d13bc63SEmmanuel Vadot			reg-io-width = <4>;
2218d13bc63SEmmanuel Vadot			status = "disabled";
2228d13bc63SEmmanuel Vadot		};
2238d13bc63SEmmanuel Vadot
2248d13bc63SEmmanuel Vadot		uart3: serial@4170000 {
2258d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-uart";
2268d13bc63SEmmanuel Vadot			reg = <0x04170000 0x100>;
2278d13bc63SEmmanuel Vadot			interrupts = <47 IRQ_TYPE_LEVEL_HIGH>;
2287d0873ebSEmmanuel Vadot			clocks = <&clk CLK_UART3>, <&clk CLK_APB_UART3>;
2297d0873ebSEmmanuel Vadot			clock-names = "baudclk", "apb_pclk";
2308d13bc63SEmmanuel Vadot			reg-shift = <2>;
2318d13bc63SEmmanuel Vadot			reg-io-width = <4>;
2328d13bc63SEmmanuel Vadot			status = "disabled";
2338d13bc63SEmmanuel Vadot		};
2348d13bc63SEmmanuel Vadot
2357d0873ebSEmmanuel Vadot		spi0: spi@4180000 {
2367d0873ebSEmmanuel Vadot			compatible = "snps,dw-apb-ssi";
2377d0873ebSEmmanuel Vadot			reg = <0x04180000 0x10000>;
2387d0873ebSEmmanuel Vadot			#address-cells = <1>;
2397d0873ebSEmmanuel Vadot			#size-cells = <0>;
2407d0873ebSEmmanuel Vadot			clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI0>;
2417d0873ebSEmmanuel Vadot			clock-names = "ssi_clk", "pclk";
2427d0873ebSEmmanuel Vadot			interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
2437d0873ebSEmmanuel Vadot			status = "disabled";
2447d0873ebSEmmanuel Vadot		};
2457d0873ebSEmmanuel Vadot
2467d0873ebSEmmanuel Vadot		spi1: spi@4190000 {
2477d0873ebSEmmanuel Vadot			compatible = "snps,dw-apb-ssi";
2487d0873ebSEmmanuel Vadot			reg = <0x04190000 0x10000>;
2497d0873ebSEmmanuel Vadot			#address-cells = <1>;
2507d0873ebSEmmanuel Vadot			#size-cells = <0>;
2517d0873ebSEmmanuel Vadot			clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI1>;
2527d0873ebSEmmanuel Vadot			clock-names = "ssi_clk", "pclk";
2537d0873ebSEmmanuel Vadot			interrupts = <55 IRQ_TYPE_LEVEL_HIGH>;
2547d0873ebSEmmanuel Vadot			status = "disabled";
2557d0873ebSEmmanuel Vadot		};
2567d0873ebSEmmanuel Vadot
2577d0873ebSEmmanuel Vadot		spi2: spi@41a0000 {
2587d0873ebSEmmanuel Vadot			compatible = "snps,dw-apb-ssi";
2597d0873ebSEmmanuel Vadot			reg = <0x041a0000 0x10000>;
2607d0873ebSEmmanuel Vadot			#address-cells = <1>;
2617d0873ebSEmmanuel Vadot			#size-cells = <0>;
2627d0873ebSEmmanuel Vadot			clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI2>;
2637d0873ebSEmmanuel Vadot			clock-names = "ssi_clk", "pclk";
2647d0873ebSEmmanuel Vadot			interrupts = <56 IRQ_TYPE_LEVEL_HIGH>;
2657d0873ebSEmmanuel Vadot			status = "disabled";
2667d0873ebSEmmanuel Vadot		};
2677d0873ebSEmmanuel Vadot
2687d0873ebSEmmanuel Vadot		spi3: spi@41b0000 {
2697d0873ebSEmmanuel Vadot			compatible = "snps,dw-apb-ssi";
2707d0873ebSEmmanuel Vadot			reg = <0x041b0000 0x10000>;
2717d0873ebSEmmanuel Vadot			#address-cells = <1>;
2727d0873ebSEmmanuel Vadot			#size-cells = <0>;
2737d0873ebSEmmanuel Vadot			clocks = <&clk CLK_SPI>, <&clk CLK_APB_SPI3>;
2747d0873ebSEmmanuel Vadot			clock-names = "ssi_clk", "pclk";
2757d0873ebSEmmanuel Vadot			interrupts = <57 IRQ_TYPE_LEVEL_HIGH>;
2767d0873ebSEmmanuel Vadot			status = "disabled";
2777d0873ebSEmmanuel Vadot		};
2787d0873ebSEmmanuel Vadot
2798d13bc63SEmmanuel Vadot		uart4: serial@41c0000 {
2808d13bc63SEmmanuel Vadot			compatible = "snps,dw-apb-uart";
2818d13bc63SEmmanuel Vadot			reg = <0x041c0000 0x100>;
2828d13bc63SEmmanuel Vadot			interrupts = <48 IRQ_TYPE_LEVEL_HIGH>;
2837d0873ebSEmmanuel Vadot			clocks = <&clk CLK_UART4>, <&clk CLK_APB_UART4>;
2847d0873ebSEmmanuel Vadot			clock-names = "baudclk", "apb_pclk";
2858d13bc63SEmmanuel Vadot			reg-shift = <2>;
2868d13bc63SEmmanuel Vadot			reg-io-width = <4>;
2878d13bc63SEmmanuel Vadot			status = "disabled";
2888d13bc63SEmmanuel Vadot		};
2898d13bc63SEmmanuel Vadot
2907d0873ebSEmmanuel Vadot		sdhci0: mmc@4310000 {
2917d0873ebSEmmanuel Vadot			compatible = "sophgo,cv1800b-dwcmshc";
2927d0873ebSEmmanuel Vadot			reg = <0x4310000 0x1000>;
2937d0873ebSEmmanuel Vadot			interrupts = <36 IRQ_TYPE_LEVEL_HIGH>;
2947d0873ebSEmmanuel Vadot			clocks = <&clk CLK_AXI4_SD0>,
2957d0873ebSEmmanuel Vadot				 <&clk CLK_SD0>;
2967d0873ebSEmmanuel Vadot			clock-names = "core", "bus";
2977d0873ebSEmmanuel Vadot			status = "disabled";
2987d0873ebSEmmanuel Vadot		};
2997d0873ebSEmmanuel Vadot
300*b2d2a78aSEmmanuel Vadot		dmac: dma-controller@4330000 {
301*b2d2a78aSEmmanuel Vadot			compatible = "snps,axi-dma-1.01a";
302*b2d2a78aSEmmanuel Vadot			reg = <0x04330000 0x1000>;
303*b2d2a78aSEmmanuel Vadot			interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
304*b2d2a78aSEmmanuel Vadot			clocks = <&clk CLK_SDMA_AXI>, <&clk CLK_SDMA_AXI>;
305*b2d2a78aSEmmanuel Vadot			clock-names = "core-clk", "cfgr-clk";
306*b2d2a78aSEmmanuel Vadot			#dma-cells = <1>;
307*b2d2a78aSEmmanuel Vadot			dma-channels = <8>;
308*b2d2a78aSEmmanuel Vadot			snps,block-size = <1024 1024 1024 1024
309*b2d2a78aSEmmanuel Vadot					   1024 1024 1024 1024>;
310*b2d2a78aSEmmanuel Vadot			snps,priority = <0 1 2 3 4 5 6 7>;
311*b2d2a78aSEmmanuel Vadot			snps,dma-masters = <2>;
312*b2d2a78aSEmmanuel Vadot			snps,data-width = <4>;
313*b2d2a78aSEmmanuel Vadot			status = "disabled";
314*b2d2a78aSEmmanuel Vadot		};
315*b2d2a78aSEmmanuel Vadot
3168d13bc63SEmmanuel Vadot		plic: interrupt-controller@70000000 {
3178d13bc63SEmmanuel Vadot			reg = <0x70000000 0x4000000>;
3188d13bc63SEmmanuel Vadot			interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>;
3198d13bc63SEmmanuel Vadot			interrupt-controller;
3208d13bc63SEmmanuel Vadot			#address-cells = <0>;
3218d13bc63SEmmanuel Vadot			#interrupt-cells = <2>;
3228d13bc63SEmmanuel Vadot			riscv,ndev = <101>;
3238d13bc63SEmmanuel Vadot		};
3248d13bc63SEmmanuel Vadot
3258d13bc63SEmmanuel Vadot		clint: timer@74000000 {
3268d13bc63SEmmanuel Vadot			reg = <0x74000000 0x10000>;
3278d13bc63SEmmanuel Vadot			interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>;
3288d13bc63SEmmanuel Vadot		};
3298d13bc63SEmmanuel Vadot	};
3308d13bc63SEmmanuel Vadot};
331