xref: /linux/scripts/dtc/include-prefixes/riscv/starfive/jh7100.dtsi (revision 36ec807b627b4c0a0a382f0ae48eac7187d14b2b)
1ec85362fSEmil Renner Berthing// SPDX-License-Identifier: GPL-2.0 OR MIT
2ec85362fSEmil Renner Berthing/*
3ec85362fSEmil Renner Berthing * Copyright (C) 2021 StarFive Technology Co., Ltd.
4ec85362fSEmil Renner Berthing * Copyright (C) 2021 Emil Renner Berthing <kernel@esmil.dk>
5ec85362fSEmil Renner Berthing */
6ec85362fSEmil Renner Berthing
7ec85362fSEmil Renner Berthing/dts-v1/;
8ec85362fSEmil Renner Berthing#include <dt-bindings/clock/starfive-jh7100.h>
9ec85362fSEmil Renner Berthing#include <dt-bindings/reset/starfive-jh7100.h>
10ec85362fSEmil Renner Berthing
11ec85362fSEmil Renner Berthing/ {
12ec85362fSEmil Renner Berthing	compatible = "starfive,jh7100";
13ec85362fSEmil Renner Berthing	#address-cells = <2>;
14ec85362fSEmil Renner Berthing	#size-cells = <2>;
15ec85362fSEmil Renner Berthing
16*5e7922abSJisheng Zhang	cpus: cpus {
17ec85362fSEmil Renner Berthing		#address-cells = <1>;
18ec85362fSEmil Renner Berthing		#size-cells = <0>;
19ec85362fSEmil Renner Berthing
20ef09fa67SJonas Hahnfeld		U74_0: cpu@0 {
21ec85362fSEmil Renner Berthing			compatible = "sifive,u74-mc", "riscv";
22ec85362fSEmil Renner Berthing			reg = <0>;
23ec85362fSEmil Renner Berthing			d-cache-block-size = <64>;
24ec85362fSEmil Renner Berthing			d-cache-sets = <64>;
25ec85362fSEmil Renner Berthing			d-cache-size = <32768>;
26ec85362fSEmil Renner Berthing			d-tlb-sets = <1>;
27ec85362fSEmil Renner Berthing			d-tlb-size = <32>;
28ec85362fSEmil Renner Berthing			device_type = "cpu";
29ec85362fSEmil Renner Berthing			i-cache-block-size = <64>;
30ec85362fSEmil Renner Berthing			i-cache-sets = <64>;
31ec85362fSEmil Renner Berthing			i-cache-size = <32768>;
32ec85362fSEmil Renner Berthing			i-tlb-sets = <1>;
33ec85362fSEmil Renner Berthing			i-tlb-size = <32>;
34ec85362fSEmil Renner Berthing			mmu-type = "riscv,sv39";
35d4b95c44SEmil Renner Berthing			next-level-cache = <&ccache>;
36ec85362fSEmil Renner Berthing			riscv,isa = "rv64imafdc";
3781b5948cSConor Dooley			riscv,isa-base = "rv64i";
3881b5948cSConor Dooley			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
3981b5948cSConor Dooley					       "zifencei", "zihpm";
40ec85362fSEmil Renner Berthing			tlb-split;
41ec85362fSEmil Renner Berthing
42ec85362fSEmil Renner Berthing			cpu0_intc: interrupt-controller {
43ec85362fSEmil Renner Berthing				compatible = "riscv,cpu-intc";
44ec85362fSEmil Renner Berthing				interrupt-controller;
45ec85362fSEmil Renner Berthing				#interrupt-cells = <1>;
46ec85362fSEmil Renner Berthing			};
47ec85362fSEmil Renner Berthing		};
48ec85362fSEmil Renner Berthing
49ef09fa67SJonas Hahnfeld		U74_1: cpu@1 {
50ec85362fSEmil Renner Berthing			compatible = "sifive,u74-mc", "riscv";
51ec85362fSEmil Renner Berthing			reg = <1>;
52ec85362fSEmil Renner Berthing			d-cache-block-size = <64>;
53ec85362fSEmil Renner Berthing			d-cache-sets = <64>;
54ec85362fSEmil Renner Berthing			d-cache-size = <32768>;
55ec85362fSEmil Renner Berthing			d-tlb-sets = <1>;
56ec85362fSEmil Renner Berthing			d-tlb-size = <32>;
57ec85362fSEmil Renner Berthing			device_type = "cpu";
58ec85362fSEmil Renner Berthing			i-cache-block-size = <64>;
59ec85362fSEmil Renner Berthing			i-cache-sets = <64>;
60ec85362fSEmil Renner Berthing			i-cache-size = <32768>;
61ec85362fSEmil Renner Berthing			i-tlb-sets = <1>;
62ec85362fSEmil Renner Berthing			i-tlb-size = <32>;
63ec85362fSEmil Renner Berthing			mmu-type = "riscv,sv39";
64d4b95c44SEmil Renner Berthing			next-level-cache = <&ccache>;
65ec85362fSEmil Renner Berthing			riscv,isa = "rv64imafdc";
6681b5948cSConor Dooley			riscv,isa-base = "rv64i";
6781b5948cSConor Dooley			riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
6881b5948cSConor Dooley					       "zifencei", "zihpm";
69ec85362fSEmil Renner Berthing			tlb-split;
70ec85362fSEmil Renner Berthing
71ec85362fSEmil Renner Berthing			cpu1_intc: interrupt-controller {
72ec85362fSEmil Renner Berthing				compatible = "riscv,cpu-intc";
73ec85362fSEmil Renner Berthing				interrupt-controller;
74ec85362fSEmil Renner Berthing				#interrupt-cells = <1>;
75ec85362fSEmil Renner Berthing			};
76ec85362fSEmil Renner Berthing		};
77ef09fa67SJonas Hahnfeld
78ef09fa67SJonas Hahnfeld		cpu-map {
79ef09fa67SJonas Hahnfeld			cluster0 {
80ef09fa67SJonas Hahnfeld				core0 {
81ef09fa67SJonas Hahnfeld					cpu = <&U74_0>;
82ef09fa67SJonas Hahnfeld				};
83ef09fa67SJonas Hahnfeld
84ef09fa67SJonas Hahnfeld				core1 {
85ef09fa67SJonas Hahnfeld					cpu = <&U74_1>;
86ef09fa67SJonas Hahnfeld				};
87ef09fa67SJonas Hahnfeld			};
88ef09fa67SJonas Hahnfeld		};
89ec85362fSEmil Renner Berthing	};
90ec85362fSEmil Renner Berthing
9165e4a0f3SHal Feng	thermal-zones {
9265e4a0f3SHal Feng		cpu-thermal {
9365e4a0f3SHal Feng			polling-delay-passive = <250>;
9465e4a0f3SHal Feng			polling-delay = <15000>;
9565e4a0f3SHal Feng
9665e4a0f3SHal Feng			thermal-sensors = <&sfctemp>;
9765e4a0f3SHal Feng
9865e4a0f3SHal Feng			trips {
99f0360647SKrzysztof Kozlowski				cpu-alert0 {
10065e4a0f3SHal Feng					/* milliCelsius */
10165e4a0f3SHal Feng					temperature = <75000>;
10265e4a0f3SHal Feng					hysteresis = <2000>;
10365e4a0f3SHal Feng					type = "passive";
10465e4a0f3SHal Feng				};
10565e4a0f3SHal Feng
106f0360647SKrzysztof Kozlowski				cpu-crit {
10765e4a0f3SHal Feng					/* milliCelsius */
10865e4a0f3SHal Feng					temperature = <90000>;
10965e4a0f3SHal Feng					hysteresis = <2000>;
11065e4a0f3SHal Feng					type = "critical";
11165e4a0f3SHal Feng				};
11265e4a0f3SHal Feng			};
11365e4a0f3SHal Feng		};
11465e4a0f3SHal Feng	};
11565e4a0f3SHal Feng
116f0360647SKrzysztof Kozlowski	osc_sys: osc-sys {
117ec85362fSEmil Renner Berthing		compatible = "fixed-clock";
118ec85362fSEmil Renner Berthing		#clock-cells = <0>;
1197921e231SKrzysztof Kozlowski		clock-output-names = "osc_sys";
120ec85362fSEmil Renner Berthing		/* This value must be overridden by the board */
121ec85362fSEmil Renner Berthing		clock-frequency = <0>;
122ec85362fSEmil Renner Berthing	};
123ec85362fSEmil Renner Berthing
124f0360647SKrzysztof Kozlowski	osc_aud: osc-aud {
125ec85362fSEmil Renner Berthing		compatible = "fixed-clock";
126ec85362fSEmil Renner Berthing		#clock-cells = <0>;
1277921e231SKrzysztof Kozlowski		clock-output-names = "osc_aud";
128ec85362fSEmil Renner Berthing		/* This value must be overridden by the board */
129ec85362fSEmil Renner Berthing		clock-frequency = <0>;
130ec85362fSEmil Renner Berthing	};
131ec85362fSEmil Renner Berthing
132f0360647SKrzysztof Kozlowski	gmac_rmii_ref: gmac-rmii-ref {
133ec85362fSEmil Renner Berthing		compatible = "fixed-clock";
134ec85362fSEmil Renner Berthing		#clock-cells = <0>;
1357921e231SKrzysztof Kozlowski		clock-output-names = "gmac_rmii_ref";
136ec85362fSEmil Renner Berthing		/* Should be overridden by the board when needed */
137ec85362fSEmil Renner Berthing		clock-frequency = <0>;
138ec85362fSEmil Renner Berthing	};
139ec85362fSEmil Renner Berthing
140f0360647SKrzysztof Kozlowski	gmac_gr_mii_rxclk: gmac-gr-mii-rxclk {
141ec85362fSEmil Renner Berthing		compatible = "fixed-clock";
142ec85362fSEmil Renner Berthing		#clock-cells = <0>;
1437921e231SKrzysztof Kozlowski		clock-output-names = "gmac_gr_mii_rxclk";
144ec85362fSEmil Renner Berthing		/* Should be overridden by the board when needed */
145ec85362fSEmil Renner Berthing		clock-frequency = <0>;
146ec85362fSEmil Renner Berthing	};
147ec85362fSEmil Renner Berthing
148ec85362fSEmil Renner Berthing	soc {
149ec85362fSEmil Renner Berthing		compatible = "simple-bus";
150ec85362fSEmil Renner Berthing		interrupt-parent = <&plic>;
151ec85362fSEmil Renner Berthing		#address-cells = <2>;
152ec85362fSEmil Renner Berthing		#size-cells = <2>;
153ba007497SEmil Renner Berthing		dma-noncoherent;
154ec85362fSEmil Renner Berthing		ranges;
155ec85362fSEmil Renner Berthing
156ec85362fSEmil Renner Berthing		clint: clint@2000000 {
157ec85362fSEmil Renner Berthing			compatible = "starfive,jh7100-clint", "sifive,clint0";
158ec85362fSEmil Renner Berthing			reg = <0x0 0x2000000 0x0 0x10000>;
159dd3c1b36SGeert Uytterhoeven			interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
160dd3c1b36SGeert Uytterhoeven					      <&cpu1_intc 3>, <&cpu1_intc 7>;
161ec85362fSEmil Renner Berthing		};
162ec85362fSEmil Renner Berthing
163d4b95c44SEmil Renner Berthing		ccache: cache-controller@2010000 {
164d4b95c44SEmil Renner Berthing			compatible = "starfive,jh7100-ccache", "sifive,ccache0", "cache";
165d4b95c44SEmil Renner Berthing			reg = <0x0 0x2010000 0x0 0x1000>;
166d4b95c44SEmil Renner Berthing			interrupts = <128>, <130>, <131>, <129>;
167d4b95c44SEmil Renner Berthing			cache-block-size = <64>;
168d4b95c44SEmil Renner Berthing			cache-level = <2>;
169d4b95c44SEmil Renner Berthing			cache-sets = <2048>;
170d4b95c44SEmil Renner Berthing			cache-size = <2097152>;
171d4b95c44SEmil Renner Berthing			cache-unified;
172d4b95c44SEmil Renner Berthing		};
173d4b95c44SEmil Renner Berthing
174ec85362fSEmil Renner Berthing		plic: interrupt-controller@c000000 {
175ec85362fSEmil Renner Berthing			compatible = "starfive,jh7100-plic", "sifive,plic-1.0.0";
176ec85362fSEmil Renner Berthing			reg = <0x0 0xc000000 0x0 0x4000000>;
177dd3c1b36SGeert Uytterhoeven			interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>,
178dd3c1b36SGeert Uytterhoeven					      <&cpu1_intc 11>, <&cpu1_intc 9>;
179ec85362fSEmil Renner Berthing			interrupt-controller;
180ec85362fSEmil Renner Berthing			#address-cells = <0>;
181ec85362fSEmil Renner Berthing			#interrupt-cells = <1>;
182a208acf0SMark Kettenis			riscv,ndev = <133>;
183ec85362fSEmil Renner Berthing		};
184ec85362fSEmil Renner Berthing
185a29bb656SEmil Renner Berthing		sdio0: mmc@10000000 {
186a29bb656SEmil Renner Berthing			compatible = "snps,dw-mshc";
187a29bb656SEmil Renner Berthing			reg = <0x0 0x10000000 0x0 0x10000>;
188a29bb656SEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_SDIO0_AHB>,
189a29bb656SEmil Renner Berthing				 <&clkgen JH7100_CLK_SDIO0_CCLKINT_INV>;
190a29bb656SEmil Renner Berthing			clock-names = "biu", "ciu";
191a29bb656SEmil Renner Berthing			interrupts = <4>;
192a29bb656SEmil Renner Berthing			data-addr = <0>;
193a29bb656SEmil Renner Berthing			fifo-depth = <32>;
194a29bb656SEmil Renner Berthing			fifo-watermark-aligned;
195a29bb656SEmil Renner Berthing			status = "disabled";
196a29bb656SEmil Renner Berthing		};
197a29bb656SEmil Renner Berthing
198a29bb656SEmil Renner Berthing		sdio1: mmc@10010000 {
199a29bb656SEmil Renner Berthing			compatible = "snps,dw-mshc";
200a29bb656SEmil Renner Berthing			reg = <0x0 0x10010000 0x0 0x10000>;
201a29bb656SEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_SDIO1_AHB>,
202a29bb656SEmil Renner Berthing				 <&clkgen JH7100_CLK_SDIO1_CCLKINT_INV>;
203a29bb656SEmil Renner Berthing			clock-names = "biu", "ciu";
204a29bb656SEmil Renner Berthing			interrupts = <5>;
205a29bb656SEmil Renner Berthing			data-addr = <0>;
206a29bb656SEmil Renner Berthing			fifo-depth = <32>;
207a29bb656SEmil Renner Berthing			fifo-watermark-aligned;
208a29bb656SEmil Renner Berthing			status = "disabled";
209a29bb656SEmil Renner Berthing		};
210a29bb656SEmil Renner Berthing
2115ca37ca2SCristian Ciocaltea		gmac: ethernet@10020000 {
2125ca37ca2SCristian Ciocaltea			compatible = "starfive,jh7100-dwmac", "snps,dwmac";
2135ca37ca2SCristian Ciocaltea			reg = <0x0 0x10020000 0x0 0x10000>;
2145ca37ca2SCristian Ciocaltea			clocks = <&clkgen JH7100_CLK_GMAC_ROOT_DIV>,
2155ca37ca2SCristian Ciocaltea				 <&clkgen JH7100_CLK_GMAC_AHB>,
2165ca37ca2SCristian Ciocaltea				 <&clkgen JH7100_CLK_GMAC_PTP_REF>,
2175ca37ca2SCristian Ciocaltea				 <&clkgen JH7100_CLK_GMAC_TX_INV>,
2185ca37ca2SCristian Ciocaltea				 <&clkgen JH7100_CLK_GMAC_GTX>;
2195ca37ca2SCristian Ciocaltea			clock-names = "stmmaceth", "pclk", "ptp_ref", "tx", "gtx";
2205ca37ca2SCristian Ciocaltea			resets = <&rstgen JH7100_RSTN_GMAC_AHB>;
2215ca37ca2SCristian Ciocaltea			reset-names = "ahb";
2225ca37ca2SCristian Ciocaltea			interrupts = <6>, <7>;
2235ca37ca2SCristian Ciocaltea			interrupt-names = "macirq", "eth_wake_irq";
2245ca37ca2SCristian Ciocaltea			max-frame-size = <9000>;
2255ca37ca2SCristian Ciocaltea			snps,multicast-filter-bins = <32>;
2265ca37ca2SCristian Ciocaltea			snps,perfect-filter-entries = <128>;
2275ca37ca2SCristian Ciocaltea			starfive,syscon = <&sysmain 0x70 0>;
2285ca37ca2SCristian Ciocaltea			rx-fifo-depth = <32768>;
2295ca37ca2SCristian Ciocaltea			tx-fifo-depth = <16384>;
2305ca37ca2SCristian Ciocaltea			snps,axi-config = <&stmmac_axi_setup>;
2315ca37ca2SCristian Ciocaltea			snps,fixed-burst;
2325ca37ca2SCristian Ciocaltea			snps,force_thresh_dma_mode;
2335ca37ca2SCristian Ciocaltea			status = "disabled";
2345ca37ca2SCristian Ciocaltea
2355ca37ca2SCristian Ciocaltea			stmmac_axi_setup: stmmac-axi-config {
2365ca37ca2SCristian Ciocaltea				snps,wr_osr_lmt = <16>;
2375ca37ca2SCristian Ciocaltea				snps,rd_osr_lmt = <16>;
2385ca37ca2SCristian Ciocaltea				snps,blen = <256 128 64 32 0 0 0>;
2395ca37ca2SCristian Ciocaltea			};
2405ca37ca2SCristian Ciocaltea		};
2415ca37ca2SCristian Ciocaltea
242ec85362fSEmil Renner Berthing		clkgen: clock-controller@11800000 {
243ec85362fSEmil Renner Berthing			compatible = "starfive,jh7100-clkgen";
244ec85362fSEmil Renner Berthing			reg = <0x0 0x11800000 0x0 0x10000>;
245ec85362fSEmil Renner Berthing			clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>;
246ec85362fSEmil Renner Berthing			clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk";
247ec85362fSEmil Renner Berthing			#clock-cells = <1>;
248ec85362fSEmil Renner Berthing		};
249ec85362fSEmil Renner Berthing
250ec85362fSEmil Renner Berthing		rstgen: reset-controller@11840000 {
251ec85362fSEmil Renner Berthing			compatible = "starfive,jh7100-reset";
252ec85362fSEmil Renner Berthing			reg = <0x0 0x11840000 0x0 0x10000>;
253ec85362fSEmil Renner Berthing			#reset-cells = <1>;
254ec85362fSEmil Renner Berthing		};
255ec85362fSEmil Renner Berthing
2565ca37ca2SCristian Ciocaltea		sysmain: syscon@11850000 {
2575ca37ca2SCristian Ciocaltea			compatible = "starfive,jh7100-sysmain", "syscon";
2585ca37ca2SCristian Ciocaltea			reg = <0x0 0x11850000 0x0 0x10000>;
2595ca37ca2SCristian Ciocaltea		};
2605ca37ca2SCristian Ciocaltea
261ec85362fSEmil Renner Berthing		i2c0: i2c@118b0000 {
262ec85362fSEmil Renner Berthing			compatible = "snps,designware-i2c";
263ec85362fSEmil Renner Berthing			reg = <0x0 0x118b0000 0x0 0x10000>;
264ec85362fSEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_I2C0_CORE>,
265ec85362fSEmil Renner Berthing				 <&clkgen JH7100_CLK_I2C0_APB>;
266ec85362fSEmil Renner Berthing			clock-names = "ref", "pclk";
267ec85362fSEmil Renner Berthing			resets = <&rstgen JH7100_RSTN_I2C0_APB>;
268ec85362fSEmil Renner Berthing			interrupts = <96>;
269ec85362fSEmil Renner Berthing			#address-cells = <1>;
270ec85362fSEmil Renner Berthing			#size-cells = <0>;
271ec85362fSEmil Renner Berthing			status = "disabled";
272ec85362fSEmil Renner Berthing		};
273ec85362fSEmil Renner Berthing
274ec85362fSEmil Renner Berthing		i2c1: i2c@118c0000 {
275ec85362fSEmil Renner Berthing			compatible = "snps,designware-i2c";
276ec85362fSEmil Renner Berthing			reg = <0x0 0x118c0000 0x0 0x10000>;
277ec85362fSEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_I2C1_CORE>,
278ec85362fSEmil Renner Berthing				 <&clkgen JH7100_CLK_I2C1_APB>;
279ec85362fSEmil Renner Berthing			clock-names = "ref", "pclk";
280ec85362fSEmil Renner Berthing			resets = <&rstgen JH7100_RSTN_I2C1_APB>;
281ec85362fSEmil Renner Berthing			interrupts = <97>;
282ec85362fSEmil Renner Berthing			#address-cells = <1>;
283ec85362fSEmil Renner Berthing			#size-cells = <0>;
284ec85362fSEmil Renner Berthing			status = "disabled";
285ec85362fSEmil Renner Berthing		};
286ec85362fSEmil Renner Berthing
287ec85362fSEmil Renner Berthing		gpio: pinctrl@11910000 {
288ec85362fSEmil Renner Berthing			compatible = "starfive,jh7100-pinctrl";
289ec85362fSEmil Renner Berthing			reg = <0x0 0x11910000 0x0 0x10000>,
290ec85362fSEmil Renner Berthing			      <0x0 0x11858000 0x0 0x1000>;
291ec85362fSEmil Renner Berthing			reg-names = "gpio", "padctl";
292ec85362fSEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_GPIO_APB>;
293ec85362fSEmil Renner Berthing			resets = <&rstgen JH7100_RSTN_GPIO_APB>;
294ec85362fSEmil Renner Berthing			interrupts = <32>;
295ec85362fSEmil Renner Berthing			gpio-controller;
296ec85362fSEmil Renner Berthing			#gpio-cells = <2>;
297ec85362fSEmil Renner Berthing			interrupt-controller;
298ec85362fSEmil Renner Berthing			#interrupt-cells = <2>;
299ec85362fSEmil Renner Berthing		};
300ec85362fSEmil Renner Berthing
301ec85362fSEmil Renner Berthing		uart2: serial@12430000 {
302ec85362fSEmil Renner Berthing			compatible = "starfive,jh7100-uart", "snps,dw-apb-uart";
303ec85362fSEmil Renner Berthing			reg = <0x0 0x12430000 0x0 0x10000>;
304ec85362fSEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_UART2_CORE>,
305ec85362fSEmil Renner Berthing				 <&clkgen JH7100_CLK_UART2_APB>;
306ec85362fSEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
307ec85362fSEmil Renner Berthing			resets = <&rstgen JH7100_RSTN_UART2_APB>;
308ec85362fSEmil Renner Berthing			interrupts = <72>;
309ec85362fSEmil Renner Berthing			reg-io-width = <4>;
310ec85362fSEmil Renner Berthing			reg-shift = <2>;
311ec85362fSEmil Renner Berthing			status = "disabled";
312ec85362fSEmil Renner Berthing		};
313ec85362fSEmil Renner Berthing
314ec85362fSEmil Renner Berthing		uart3: serial@12440000 {
315ec85362fSEmil Renner Berthing			compatible = "starfive,jh7100-uart", "snps,dw-apb-uart";
316ec85362fSEmil Renner Berthing			reg = <0x0 0x12440000 0x0 0x10000>;
317ec85362fSEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_UART3_CORE>,
318ec85362fSEmil Renner Berthing				 <&clkgen JH7100_CLK_UART3_APB>;
319ec85362fSEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
320ec85362fSEmil Renner Berthing			resets = <&rstgen JH7100_RSTN_UART3_APB>;
321ec85362fSEmil Renner Berthing			interrupts = <73>;
322ec85362fSEmil Renner Berthing			reg-io-width = <4>;
323ec85362fSEmil Renner Berthing			reg-shift = <2>;
324ec85362fSEmil Renner Berthing			status = "disabled";
325ec85362fSEmil Renner Berthing		};
326ec85362fSEmil Renner Berthing
327ec85362fSEmil Renner Berthing		i2c2: i2c@12450000 {
328ec85362fSEmil Renner Berthing			compatible = "snps,designware-i2c";
329ec85362fSEmil Renner Berthing			reg = <0x0 0x12450000 0x0 0x10000>;
330ec85362fSEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_I2C2_CORE>,
331ec85362fSEmil Renner Berthing				 <&clkgen JH7100_CLK_I2C2_APB>;
332ec85362fSEmil Renner Berthing			clock-names = "ref", "pclk";
333ec85362fSEmil Renner Berthing			resets = <&rstgen JH7100_RSTN_I2C2_APB>;
334ec85362fSEmil Renner Berthing			interrupts = <74>;
335ec85362fSEmil Renner Berthing			#address-cells = <1>;
336ec85362fSEmil Renner Berthing			#size-cells = <0>;
337ec85362fSEmil Renner Berthing			status = "disabled";
338ec85362fSEmil Renner Berthing		};
339ec85362fSEmil Renner Berthing
340ec85362fSEmil Renner Berthing		i2c3: i2c@12460000 {
341ec85362fSEmil Renner Berthing			compatible = "snps,designware-i2c";
342ec85362fSEmil Renner Berthing			reg = <0x0 0x12460000 0x0 0x10000>;
343ec85362fSEmil Renner Berthing			clocks = <&clkgen JH7100_CLK_I2C3_CORE>,
344ec85362fSEmil Renner Berthing				 <&clkgen JH7100_CLK_I2C3_APB>;
345ec85362fSEmil Renner Berthing			clock-names = "ref", "pclk";
346ec85362fSEmil Renner Berthing			resets = <&rstgen JH7100_RSTN_I2C3_APB>;
347ec85362fSEmil Renner Berthing			interrupts = <75>;
348ec85362fSEmil Renner Berthing			#address-cells = <1>;
349ec85362fSEmil Renner Berthing			#size-cells = <0>;
350ec85362fSEmil Renner Berthing			status = "disabled";
351ec85362fSEmil Renner Berthing		};
352435ac3fbSXingyu Wu
353435ac3fbSXingyu Wu		watchdog@12480000 {
354435ac3fbSXingyu Wu			compatible = "starfive,jh7100-wdt";
355435ac3fbSXingyu Wu			reg = <0x0 0x12480000 0x0 0x10000>;
356435ac3fbSXingyu Wu			clocks = <&clkgen JH7100_CLK_WDTIMER_APB>,
357435ac3fbSXingyu Wu				 <&clkgen JH7100_CLK_WDT_CORE>;
358435ac3fbSXingyu Wu			clock-names = "apb", "core";
359435ac3fbSXingyu Wu			resets = <&rstgen JH7100_RSTN_WDTIMER_APB>,
360435ac3fbSXingyu Wu				 <&rstgen JH7100_RSTN_WDT>;
361435ac3fbSXingyu Wu		};
36265e4a0f3SHal Feng
3635e598b99SWilliam Qiu		pwm: pwm@12490000 {
3645e598b99SWilliam Qiu			compatible = "starfive,jh7100-pwm", "opencores,pwm-v1";
3655e598b99SWilliam Qiu			reg = <0x0 0x12490000 0x0 0x10000>;
3665e598b99SWilliam Qiu			clocks = <&clkgen JH7100_CLK_PWM_APB>;
3675e598b99SWilliam Qiu			resets = <&rstgen JH7100_RSTN_PWM_APB>;
3685e598b99SWilliam Qiu			#pwm-cells = <3>;
3695e598b99SWilliam Qiu			status = "disabled";
3705e598b99SWilliam Qiu		};
3715e598b99SWilliam Qiu
37265e4a0f3SHal Feng		sfctemp: temperature-sensor@124a0000 {
37365e4a0f3SHal Feng			compatible = "starfive,jh7100-temp";
37465e4a0f3SHal Feng			reg = <0x0 0x124a0000 0x0 0x10000>;
37565e4a0f3SHal Feng			clocks = <&clkgen JH7100_CLK_TEMP_SENSE>,
37665e4a0f3SHal Feng				 <&clkgen JH7100_CLK_TEMP_APB>;
37765e4a0f3SHal Feng			clock-names = "sense", "bus";
37865e4a0f3SHal Feng			resets = <&rstgen JH7100_RSTN_TEMP_SENSE>,
37965e4a0f3SHal Feng				 <&rstgen JH7100_RSTN_TEMP_APB>;
38065e4a0f3SHal Feng			reset-names = "sense", "bus";
38165e4a0f3SHal Feng			#thermal-sensor-cells = <0>;
38265e4a0f3SHal Feng		};
383ec85362fSEmil Renner Berthing	};
384ec85362fSEmil Renner Berthing};
385