xref: /linux/scripts/dtc/include-prefixes/riscv/starfive/jh7110.dtsi (revision e2c07765e179d0849326d4e1bd62ef8ba3d3cfd1)
160bf0a39SEmil Renner Berthing// SPDX-License-Identifier: GPL-2.0 OR MIT
260bf0a39SEmil Renner Berthing/*
360bf0a39SEmil Renner Berthing * Copyright (C) 2022 StarFive Technology Co., Ltd.
460bf0a39SEmil Renner Berthing * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk>
560bf0a39SEmil Renner Berthing */
660bf0a39SEmil Renner Berthing
760bf0a39SEmil Renner Berthing/dts-v1/;
860bf0a39SEmil Renner Berthing#include <dt-bindings/clock/starfive,jh7110-crg.h>
93d90131fSXingyu Wu#include <dt-bindings/power/starfive,jh7110-pmu.h>
1060bf0a39SEmil Renner Berthing#include <dt-bindings/reset/starfive,jh7110-crg.h>
11f2b539afSHal Feng#include <dt-bindings/thermal/thermal.h>
1260bf0a39SEmil Renner Berthing
1360bf0a39SEmil Renner Berthing/ {
1460bf0a39SEmil Renner Berthing	compatible = "starfive,jh7110";
1560bf0a39SEmil Renner Berthing	#address-cells = <2>;
1660bf0a39SEmil Renner Berthing	#size-cells = <2>;
1760bf0a39SEmil Renner Berthing
1860bf0a39SEmil Renner Berthing	cpus {
1960bf0a39SEmil Renner Berthing		#address-cells = <1>;
2060bf0a39SEmil Renner Berthing		#size-cells = <0>;
2160bf0a39SEmil Renner Berthing
2260bf0a39SEmil Renner Berthing		S7_0: cpu@0 {
2360bf0a39SEmil Renner Berthing			compatible = "sifive,s7", "riscv";
2460bf0a39SEmil Renner Berthing			reg = <0>;
2560bf0a39SEmil Renner Berthing			device_type = "cpu";
2660bf0a39SEmil Renner Berthing			i-cache-block-size = <64>;
2760bf0a39SEmil Renner Berthing			i-cache-sets = <64>;
2860bf0a39SEmil Renner Berthing			i-cache-size = <16384>;
2960bf0a39SEmil Renner Berthing			next-level-cache = <&ccache>;
3060bf0a39SEmil Renner Berthing			riscv,isa = "rv64imac_zba_zbb";
3160bf0a39SEmil Renner Berthing			status = "disabled";
3260bf0a39SEmil Renner Berthing
3360bf0a39SEmil Renner Berthing			cpu0_intc: interrupt-controller {
3460bf0a39SEmil Renner Berthing				compatible = "riscv,cpu-intc";
3560bf0a39SEmil Renner Berthing				interrupt-controller;
3660bf0a39SEmil Renner Berthing				#interrupt-cells = <1>;
3760bf0a39SEmil Renner Berthing			};
3860bf0a39SEmil Renner Berthing		};
3960bf0a39SEmil Renner Berthing
4060bf0a39SEmil Renner Berthing		U74_1: cpu@1 {
4160bf0a39SEmil Renner Berthing			compatible = "sifive,u74-mc", "riscv";
4260bf0a39SEmil Renner Berthing			reg = <1>;
4360bf0a39SEmil Renner Berthing			d-cache-block-size = <64>;
4460bf0a39SEmil Renner Berthing			d-cache-sets = <64>;
4560bf0a39SEmil Renner Berthing			d-cache-size = <32768>;
4660bf0a39SEmil Renner Berthing			d-tlb-sets = <1>;
4760bf0a39SEmil Renner Berthing			d-tlb-size = <40>;
4860bf0a39SEmil Renner Berthing			device_type = "cpu";
4960bf0a39SEmil Renner Berthing			i-cache-block-size = <64>;
5060bf0a39SEmil Renner Berthing			i-cache-sets = <64>;
5160bf0a39SEmil Renner Berthing			i-cache-size = <32768>;
5260bf0a39SEmil Renner Berthing			i-tlb-sets = <1>;
5360bf0a39SEmil Renner Berthing			i-tlb-size = <40>;
5460bf0a39SEmil Renner Berthing			mmu-type = "riscv,sv39";
5560bf0a39SEmil Renner Berthing			next-level-cache = <&ccache>;
5660bf0a39SEmil Renner Berthing			riscv,isa = "rv64imafdc_zba_zbb";
5760bf0a39SEmil Renner Berthing			tlb-split;
58e2c510d6SMason Huo			operating-points-v2 = <&cpu_opp>;
59e2c510d6SMason Huo			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
60e2c510d6SMason Huo			clock-names = "cpu";
61f2b539afSHal Feng			#cooling-cells = <2>;
6260bf0a39SEmil Renner Berthing
6360bf0a39SEmil Renner Berthing			cpu1_intc: interrupt-controller {
6460bf0a39SEmil Renner Berthing				compatible = "riscv,cpu-intc";
6560bf0a39SEmil Renner Berthing				interrupt-controller;
6660bf0a39SEmil Renner Berthing				#interrupt-cells = <1>;
6760bf0a39SEmil Renner Berthing			};
6860bf0a39SEmil Renner Berthing		};
6960bf0a39SEmil Renner Berthing
7060bf0a39SEmil Renner Berthing		U74_2: cpu@2 {
7160bf0a39SEmil Renner Berthing			compatible = "sifive,u74-mc", "riscv";
7260bf0a39SEmil Renner Berthing			reg = <2>;
7360bf0a39SEmil Renner Berthing			d-cache-block-size = <64>;
7460bf0a39SEmil Renner Berthing			d-cache-sets = <64>;
7560bf0a39SEmil Renner Berthing			d-cache-size = <32768>;
7660bf0a39SEmil Renner Berthing			d-tlb-sets = <1>;
7760bf0a39SEmil Renner Berthing			d-tlb-size = <40>;
7860bf0a39SEmil Renner Berthing			device_type = "cpu";
7960bf0a39SEmil Renner Berthing			i-cache-block-size = <64>;
8060bf0a39SEmil Renner Berthing			i-cache-sets = <64>;
8160bf0a39SEmil Renner Berthing			i-cache-size = <32768>;
8260bf0a39SEmil Renner Berthing			i-tlb-sets = <1>;
8360bf0a39SEmil Renner Berthing			i-tlb-size = <40>;
8460bf0a39SEmil Renner Berthing			mmu-type = "riscv,sv39";
8560bf0a39SEmil Renner Berthing			next-level-cache = <&ccache>;
8660bf0a39SEmil Renner Berthing			riscv,isa = "rv64imafdc_zba_zbb";
8760bf0a39SEmil Renner Berthing			tlb-split;
88e2c510d6SMason Huo			operating-points-v2 = <&cpu_opp>;
89e2c510d6SMason Huo			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
90e2c510d6SMason Huo			clock-names = "cpu";
91f2b539afSHal Feng			#cooling-cells = <2>;
9260bf0a39SEmil Renner Berthing
9360bf0a39SEmil Renner Berthing			cpu2_intc: interrupt-controller {
9460bf0a39SEmil Renner Berthing				compatible = "riscv,cpu-intc";
9560bf0a39SEmil Renner Berthing				interrupt-controller;
9660bf0a39SEmil Renner Berthing				#interrupt-cells = <1>;
9760bf0a39SEmil Renner Berthing			};
9860bf0a39SEmil Renner Berthing		};
9960bf0a39SEmil Renner Berthing
10060bf0a39SEmil Renner Berthing		U74_3: cpu@3 {
10160bf0a39SEmil Renner Berthing			compatible = "sifive,u74-mc", "riscv";
10260bf0a39SEmil Renner Berthing			reg = <3>;
10360bf0a39SEmil Renner Berthing			d-cache-block-size = <64>;
10460bf0a39SEmil Renner Berthing			d-cache-sets = <64>;
10560bf0a39SEmil Renner Berthing			d-cache-size = <32768>;
10660bf0a39SEmil Renner Berthing			d-tlb-sets = <1>;
10760bf0a39SEmil Renner Berthing			d-tlb-size = <40>;
10860bf0a39SEmil Renner Berthing			device_type = "cpu";
10960bf0a39SEmil Renner Berthing			i-cache-block-size = <64>;
11060bf0a39SEmil Renner Berthing			i-cache-sets = <64>;
11160bf0a39SEmil Renner Berthing			i-cache-size = <32768>;
11260bf0a39SEmil Renner Berthing			i-tlb-sets = <1>;
11360bf0a39SEmil Renner Berthing			i-tlb-size = <40>;
11460bf0a39SEmil Renner Berthing			mmu-type = "riscv,sv39";
11560bf0a39SEmil Renner Berthing			next-level-cache = <&ccache>;
11660bf0a39SEmil Renner Berthing			riscv,isa = "rv64imafdc_zba_zbb";
11760bf0a39SEmil Renner Berthing			tlb-split;
118e2c510d6SMason Huo			operating-points-v2 = <&cpu_opp>;
119e2c510d6SMason Huo			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
120e2c510d6SMason Huo			clock-names = "cpu";
121f2b539afSHal Feng			#cooling-cells = <2>;
12260bf0a39SEmil Renner Berthing
12360bf0a39SEmil Renner Berthing			cpu3_intc: interrupt-controller {
12460bf0a39SEmil Renner Berthing				compatible = "riscv,cpu-intc";
12560bf0a39SEmil Renner Berthing				interrupt-controller;
12660bf0a39SEmil Renner Berthing				#interrupt-cells = <1>;
12760bf0a39SEmil Renner Berthing			};
12860bf0a39SEmil Renner Berthing		};
12960bf0a39SEmil Renner Berthing
13060bf0a39SEmil Renner Berthing		U74_4: cpu@4 {
13160bf0a39SEmil Renner Berthing			compatible = "sifive,u74-mc", "riscv";
13260bf0a39SEmil Renner Berthing			reg = <4>;
13360bf0a39SEmil Renner Berthing			d-cache-block-size = <64>;
13460bf0a39SEmil Renner Berthing			d-cache-sets = <64>;
13560bf0a39SEmil Renner Berthing			d-cache-size = <32768>;
13660bf0a39SEmil Renner Berthing			d-tlb-sets = <1>;
13760bf0a39SEmil Renner Berthing			d-tlb-size = <40>;
13860bf0a39SEmil Renner Berthing			device_type = "cpu";
13960bf0a39SEmil Renner Berthing			i-cache-block-size = <64>;
14060bf0a39SEmil Renner Berthing			i-cache-sets = <64>;
14160bf0a39SEmil Renner Berthing			i-cache-size = <32768>;
14260bf0a39SEmil Renner Berthing			i-tlb-sets = <1>;
14360bf0a39SEmil Renner Berthing			i-tlb-size = <40>;
14460bf0a39SEmil Renner Berthing			mmu-type = "riscv,sv39";
14560bf0a39SEmil Renner Berthing			next-level-cache = <&ccache>;
14660bf0a39SEmil Renner Berthing			riscv,isa = "rv64imafdc_zba_zbb";
14760bf0a39SEmil Renner Berthing			tlb-split;
148e2c510d6SMason Huo			operating-points-v2 = <&cpu_opp>;
149e2c510d6SMason Huo			clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>;
150e2c510d6SMason Huo			clock-names = "cpu";
151f2b539afSHal Feng			#cooling-cells = <2>;
15260bf0a39SEmil Renner Berthing
15360bf0a39SEmil Renner Berthing			cpu4_intc: interrupt-controller {
15460bf0a39SEmil Renner Berthing				compatible = "riscv,cpu-intc";
15560bf0a39SEmil Renner Berthing				interrupt-controller;
15660bf0a39SEmil Renner Berthing				#interrupt-cells = <1>;
15760bf0a39SEmil Renner Berthing			};
15860bf0a39SEmil Renner Berthing		};
15960bf0a39SEmil Renner Berthing
16060bf0a39SEmil Renner Berthing		cpu-map {
16160bf0a39SEmil Renner Berthing			cluster0 {
16260bf0a39SEmil Renner Berthing				core0 {
16360bf0a39SEmil Renner Berthing					cpu = <&S7_0>;
16460bf0a39SEmil Renner Berthing				};
16560bf0a39SEmil Renner Berthing
16660bf0a39SEmil Renner Berthing				core1 {
16760bf0a39SEmil Renner Berthing					cpu = <&U74_1>;
16860bf0a39SEmil Renner Berthing				};
16960bf0a39SEmil Renner Berthing
17060bf0a39SEmil Renner Berthing				core2 {
17160bf0a39SEmil Renner Berthing					cpu = <&U74_2>;
17260bf0a39SEmil Renner Berthing				};
17360bf0a39SEmil Renner Berthing
17460bf0a39SEmil Renner Berthing				core3 {
17560bf0a39SEmil Renner Berthing					cpu = <&U74_3>;
17660bf0a39SEmil Renner Berthing				};
17760bf0a39SEmil Renner Berthing
17860bf0a39SEmil Renner Berthing				core4 {
17960bf0a39SEmil Renner Berthing					cpu = <&U74_4>;
18060bf0a39SEmil Renner Berthing				};
18160bf0a39SEmil Renner Berthing			};
18260bf0a39SEmil Renner Berthing		};
18360bf0a39SEmil Renner Berthing	};
18460bf0a39SEmil Renner Berthing
185e2c510d6SMason Huo	cpu_opp: opp-table-0 {
186e2c510d6SMason Huo			compatible = "operating-points-v2";
187e2c510d6SMason Huo			opp-shared;
188e2c510d6SMason Huo			opp-375000000 {
189e2c510d6SMason Huo					opp-hz = /bits/ 64 <375000000>;
190e2c510d6SMason Huo					opp-microvolt = <800000>;
191e2c510d6SMason Huo			};
192e2c510d6SMason Huo			opp-500000000 {
193e2c510d6SMason Huo					opp-hz = /bits/ 64 <500000000>;
194e2c510d6SMason Huo					opp-microvolt = <800000>;
195e2c510d6SMason Huo			};
196e2c510d6SMason Huo			opp-750000000 {
197e2c510d6SMason Huo					opp-hz = /bits/ 64 <750000000>;
198e2c510d6SMason Huo					opp-microvolt = <800000>;
199e2c510d6SMason Huo			};
200e2c510d6SMason Huo			opp-1500000000 {
201e2c510d6SMason Huo					opp-hz = /bits/ 64 <1500000000>;
202e2c510d6SMason Huo					opp-microvolt = <1040000>;
203e2c510d6SMason Huo			};
204e2c510d6SMason Huo	};
205e2c510d6SMason Huo
206f2b539afSHal Feng	thermal-zones {
207f2b539afSHal Feng		cpu-thermal {
208f2b539afSHal Feng			polling-delay-passive = <250>;
209f2b539afSHal Feng			polling-delay = <15000>;
210f2b539afSHal Feng
211f2b539afSHal Feng			thermal-sensors = <&sfctemp>;
212f2b539afSHal Feng
213f2b539afSHal Feng			cooling-maps {
214f2b539afSHal Feng				map0 {
215f2b539afSHal Feng					trip = <&cpu_alert0>;
216f2b539afSHal Feng					cooling-device =
217f2b539afSHal Feng						<&U74_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
218f2b539afSHal Feng						<&U74_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
219f2b539afSHal Feng						<&U74_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
220f2b539afSHal Feng						<&U74_4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
221f2b539afSHal Feng				};
222f2b539afSHal Feng			};
223f2b539afSHal Feng
224f2b539afSHal Feng			trips {
225f2b539afSHal Feng				cpu_alert0: cpu_alert0 {
226f2b539afSHal Feng					/* milliCelsius */
227f2b539afSHal Feng					temperature = <85000>;
228f2b539afSHal Feng					hysteresis = <2000>;
229f2b539afSHal Feng					type = "passive";
230f2b539afSHal Feng				};
231f2b539afSHal Feng
232f2b539afSHal Feng				cpu_crit {
233f2b539afSHal Feng					/* milliCelsius */
234f2b539afSHal Feng					temperature = <100000>;
235f2b539afSHal Feng					hysteresis = <2000>;
236f2b539afSHal Feng					type = "critical";
237f2b539afSHal Feng				};
238f2b539afSHal Feng			};
239f2b539afSHal Feng		};
240f2b539afSHal Feng	};
241f2b539afSHal Feng
24243f09605SXingyu Wu	dvp_clk: dvp-clock {
24343f09605SXingyu Wu		compatible = "fixed-clock";
24443f09605SXingyu Wu		clock-output-names = "dvp_clk";
24543f09605SXingyu Wu		#clock-cells = <0>;
24643f09605SXingyu Wu	};
24760bf0a39SEmil Renner Berthing	gmac0_rgmii_rxin: gmac0-rgmii-rxin-clock {
24860bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
24960bf0a39SEmil Renner Berthing		clock-output-names = "gmac0_rgmii_rxin";
25060bf0a39SEmil Renner Berthing		#clock-cells = <0>;
25160bf0a39SEmil Renner Berthing	};
25260bf0a39SEmil Renner Berthing
25360bf0a39SEmil Renner Berthing	gmac0_rmii_refin: gmac0-rmii-refin-clock {
25460bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
25560bf0a39SEmil Renner Berthing		clock-output-names = "gmac0_rmii_refin";
25660bf0a39SEmil Renner Berthing		#clock-cells = <0>;
25760bf0a39SEmil Renner Berthing	};
25860bf0a39SEmil Renner Berthing
25960bf0a39SEmil Renner Berthing	gmac1_rgmii_rxin: gmac1-rgmii-rxin-clock {
26060bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
26160bf0a39SEmil Renner Berthing		clock-output-names = "gmac1_rgmii_rxin";
26260bf0a39SEmil Renner Berthing		#clock-cells = <0>;
26360bf0a39SEmil Renner Berthing	};
26460bf0a39SEmil Renner Berthing
26560bf0a39SEmil Renner Berthing	gmac1_rmii_refin: gmac1-rmii-refin-clock {
26660bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
26760bf0a39SEmil Renner Berthing		clock-output-names = "gmac1_rmii_refin";
26860bf0a39SEmil Renner Berthing		#clock-cells = <0>;
26960bf0a39SEmil Renner Berthing	};
27060bf0a39SEmil Renner Berthing
27143f09605SXingyu Wu	hdmitx0_pixelclk: hdmitx0-pixel-clock {
27243f09605SXingyu Wu		compatible = "fixed-clock";
27343f09605SXingyu Wu		clock-output-names = "hdmitx0_pixelclk";
27443f09605SXingyu Wu		#clock-cells = <0>;
27543f09605SXingyu Wu	};
27643f09605SXingyu Wu
27760bf0a39SEmil Renner Berthing	i2srx_bclk_ext: i2srx-bclk-ext-clock {
27860bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
27960bf0a39SEmil Renner Berthing		clock-output-names = "i2srx_bclk_ext";
28060bf0a39SEmil Renner Berthing		#clock-cells = <0>;
28160bf0a39SEmil Renner Berthing	};
28260bf0a39SEmil Renner Berthing
28360bf0a39SEmil Renner Berthing	i2srx_lrck_ext: i2srx-lrck-ext-clock {
28460bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
28560bf0a39SEmil Renner Berthing		clock-output-names = "i2srx_lrck_ext";
28660bf0a39SEmil Renner Berthing		#clock-cells = <0>;
28760bf0a39SEmil Renner Berthing	};
28860bf0a39SEmil Renner Berthing
28960bf0a39SEmil Renner Berthing	i2stx_bclk_ext: i2stx-bclk-ext-clock {
29060bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
29160bf0a39SEmil Renner Berthing		clock-output-names = "i2stx_bclk_ext";
29260bf0a39SEmil Renner Berthing		#clock-cells = <0>;
29360bf0a39SEmil Renner Berthing	};
29460bf0a39SEmil Renner Berthing
29560bf0a39SEmil Renner Berthing	i2stx_lrck_ext: i2stx-lrck-ext-clock {
29660bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
29760bf0a39SEmil Renner Berthing		clock-output-names = "i2stx_lrck_ext";
29860bf0a39SEmil Renner Berthing		#clock-cells = <0>;
29960bf0a39SEmil Renner Berthing	};
30060bf0a39SEmil Renner Berthing
30160bf0a39SEmil Renner Berthing	mclk_ext: mclk-ext-clock {
30260bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
30360bf0a39SEmil Renner Berthing		clock-output-names = "mclk_ext";
30460bf0a39SEmil Renner Berthing		#clock-cells = <0>;
30560bf0a39SEmil Renner Berthing	};
30660bf0a39SEmil Renner Berthing
30760bf0a39SEmil Renner Berthing	osc: oscillator {
30860bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
30960bf0a39SEmil Renner Berthing		clock-output-names = "osc";
31060bf0a39SEmil Renner Berthing		#clock-cells = <0>;
31160bf0a39SEmil Renner Berthing	};
31260bf0a39SEmil Renner Berthing
31360bf0a39SEmil Renner Berthing	rtc_osc: rtc-oscillator {
31460bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
31560bf0a39SEmil Renner Berthing		clock-output-names = "rtc_osc";
31660bf0a39SEmil Renner Berthing		#clock-cells = <0>;
31760bf0a39SEmil Renner Berthing	};
31860bf0a39SEmil Renner Berthing
3191ff166c9SSamin Guo	stmmac_axi_setup: stmmac-axi-config {
3201ff166c9SSamin Guo		snps,lpi_en;
3211ff166c9SSamin Guo		snps,wr_osr_lmt = <4>;
3221ff166c9SSamin Guo		snps,rd_osr_lmt = <4>;
3231ff166c9SSamin Guo		snps,blen = <256 128 64 32 0 0 0>;
3241ff166c9SSamin Guo	};
3251ff166c9SSamin Guo
32660bf0a39SEmil Renner Berthing	tdm_ext: tdm-ext-clock {
32760bf0a39SEmil Renner Berthing		compatible = "fixed-clock";
32860bf0a39SEmil Renner Berthing		clock-output-names = "tdm_ext";
32960bf0a39SEmil Renner Berthing		#clock-cells = <0>;
33060bf0a39SEmil Renner Berthing	};
33160bf0a39SEmil Renner Berthing
33260bf0a39SEmil Renner Berthing	soc {
33360bf0a39SEmil Renner Berthing		compatible = "simple-bus";
33460bf0a39SEmil Renner Berthing		interrupt-parent = <&plic>;
33560bf0a39SEmil Renner Berthing		#address-cells = <2>;
33660bf0a39SEmil Renner Berthing		#size-cells = <2>;
33760bf0a39SEmil Renner Berthing		ranges;
33860bf0a39SEmil Renner Berthing
33960bf0a39SEmil Renner Berthing		clint: timer@2000000 {
34060bf0a39SEmil Renner Berthing			compatible = "starfive,jh7110-clint", "sifive,clint0";
34160bf0a39SEmil Renner Berthing			reg = <0x0 0x2000000 0x0 0x10000>;
34260bf0a39SEmil Renner Berthing			interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>,
34360bf0a39SEmil Renner Berthing					      <&cpu1_intc 3>, <&cpu1_intc 7>,
34460bf0a39SEmil Renner Berthing					      <&cpu2_intc 3>, <&cpu2_intc 7>,
34560bf0a39SEmil Renner Berthing					      <&cpu3_intc 3>, <&cpu3_intc 7>,
34660bf0a39SEmil Renner Berthing					      <&cpu4_intc 3>, <&cpu4_intc 7>;
34760bf0a39SEmil Renner Berthing		};
34860bf0a39SEmil Renner Berthing
34960bf0a39SEmil Renner Berthing		ccache: cache-controller@2010000 {
35060bf0a39SEmil Renner Berthing			compatible = "starfive,jh7110-ccache", "sifive,ccache0", "cache";
35160bf0a39SEmil Renner Berthing			reg = <0x0 0x2010000 0x0 0x4000>;
35260bf0a39SEmil Renner Berthing			interrupts = <1>, <3>, <4>, <2>;
35360bf0a39SEmil Renner Berthing			cache-block-size = <64>;
35460bf0a39SEmil Renner Berthing			cache-level = <2>;
35560bf0a39SEmil Renner Berthing			cache-sets = <2048>;
35660bf0a39SEmil Renner Berthing			cache-size = <2097152>;
35760bf0a39SEmil Renner Berthing			cache-unified;
35860bf0a39SEmil Renner Berthing		};
35960bf0a39SEmil Renner Berthing
36060bf0a39SEmil Renner Berthing		plic: interrupt-controller@c000000 {
36160bf0a39SEmil Renner Berthing			compatible = "starfive,jh7110-plic", "sifive,plic-1.0.0";
36260bf0a39SEmil Renner Berthing			reg = <0x0 0xc000000 0x0 0x4000000>;
36360bf0a39SEmil Renner Berthing			interrupts-extended = <&cpu0_intc 11>,
36460bf0a39SEmil Renner Berthing					      <&cpu1_intc 11>, <&cpu1_intc 9>,
36560bf0a39SEmil Renner Berthing					      <&cpu2_intc 11>, <&cpu2_intc 9>,
36660bf0a39SEmil Renner Berthing					      <&cpu3_intc 11>, <&cpu3_intc 9>,
36760bf0a39SEmil Renner Berthing					      <&cpu4_intc 11>, <&cpu4_intc 9>;
36860bf0a39SEmil Renner Berthing			interrupt-controller;
36960bf0a39SEmil Renner Berthing			#interrupt-cells = <1>;
37060bf0a39SEmil Renner Berthing			#address-cells = <0>;
37160bf0a39SEmil Renner Berthing			riscv,ndev = <136>;
37260bf0a39SEmil Renner Berthing		};
37360bf0a39SEmil Renner Berthing
37460bf0a39SEmil Renner Berthing		uart0: serial@10000000 {
37560bf0a39SEmil Renner Berthing			compatible = "snps,dw-apb-uart";
37660bf0a39SEmil Renner Berthing			reg = <0x0 0x10000000 0x0 0x10000>;
37760bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_UART0_CORE>,
37860bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_UART0_APB>;
37960bf0a39SEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
38060bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_UART0_APB>;
38160bf0a39SEmil Renner Berthing			interrupts = <32>;
38260bf0a39SEmil Renner Berthing			reg-io-width = <4>;
38360bf0a39SEmil Renner Berthing			reg-shift = <2>;
38460bf0a39SEmil Renner Berthing			status = "disabled";
38560bf0a39SEmil Renner Berthing		};
38660bf0a39SEmil Renner Berthing
38760bf0a39SEmil Renner Berthing		uart1: serial@10010000 {
38860bf0a39SEmil Renner Berthing			compatible = "snps,dw-apb-uart";
38960bf0a39SEmil Renner Berthing			reg = <0x0 0x10010000 0x0 0x10000>;
39060bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_UART1_CORE>,
39160bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_UART1_APB>;
39260bf0a39SEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
39360bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_UART1_APB>;
39460bf0a39SEmil Renner Berthing			interrupts = <33>;
39560bf0a39SEmil Renner Berthing			reg-io-width = <4>;
39660bf0a39SEmil Renner Berthing			reg-shift = <2>;
39760bf0a39SEmil Renner Berthing			status = "disabled";
39860bf0a39SEmil Renner Berthing		};
39960bf0a39SEmil Renner Berthing
40060bf0a39SEmil Renner Berthing		uart2: serial@10020000 {
40160bf0a39SEmil Renner Berthing			compatible = "snps,dw-apb-uart";
40260bf0a39SEmil Renner Berthing			reg = <0x0 0x10020000 0x0 0x10000>;
40360bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_UART2_CORE>,
40460bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_UART2_APB>;
40560bf0a39SEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
40660bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_UART2_APB>;
40760bf0a39SEmil Renner Berthing			interrupts = <34>;
40860bf0a39SEmil Renner Berthing			reg-io-width = <4>;
40960bf0a39SEmil Renner Berthing			reg-shift = <2>;
41060bf0a39SEmil Renner Berthing			status = "disabled";
41160bf0a39SEmil Renner Berthing		};
41260bf0a39SEmil Renner Berthing
41360bf0a39SEmil Renner Berthing		i2c0: i2c@10030000 {
41460bf0a39SEmil Renner Berthing			compatible = "snps,designware-i2c";
41560bf0a39SEmil Renner Berthing			reg = <0x0 0x10030000 0x0 0x10000>;
41660bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_I2C0_APB>;
41760bf0a39SEmil Renner Berthing			clock-names = "ref";
41860bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_I2C0_APB>;
41960bf0a39SEmil Renner Berthing			interrupts = <35>;
42060bf0a39SEmil Renner Berthing			#address-cells = <1>;
42160bf0a39SEmil Renner Berthing			#size-cells = <0>;
42260bf0a39SEmil Renner Berthing			status = "disabled";
42360bf0a39SEmil Renner Berthing		};
42460bf0a39SEmil Renner Berthing
42560bf0a39SEmil Renner Berthing		i2c1: i2c@10040000 {
42660bf0a39SEmil Renner Berthing			compatible = "snps,designware-i2c";
42760bf0a39SEmil Renner Berthing			reg = <0x0 0x10040000 0x0 0x10000>;
42860bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_I2C1_APB>;
42960bf0a39SEmil Renner Berthing			clock-names = "ref";
43060bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_I2C1_APB>;
43160bf0a39SEmil Renner Berthing			interrupts = <36>;
43260bf0a39SEmil Renner Berthing			#address-cells = <1>;
43360bf0a39SEmil Renner Berthing			#size-cells = <0>;
43460bf0a39SEmil Renner Berthing			status = "disabled";
43560bf0a39SEmil Renner Berthing		};
43660bf0a39SEmil Renner Berthing
43760bf0a39SEmil Renner Berthing		i2c2: i2c@10050000 {
43860bf0a39SEmil Renner Berthing			compatible = "snps,designware-i2c";
43960bf0a39SEmil Renner Berthing			reg = <0x0 0x10050000 0x0 0x10000>;
44060bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_I2C2_APB>;
44160bf0a39SEmil Renner Berthing			clock-names = "ref";
44260bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_I2C2_APB>;
44360bf0a39SEmil Renner Berthing			interrupts = <37>;
44460bf0a39SEmil Renner Berthing			#address-cells = <1>;
44560bf0a39SEmil Renner Berthing			#size-cells = <0>;
44660bf0a39SEmil Renner Berthing			status = "disabled";
44760bf0a39SEmil Renner Berthing		};
44860bf0a39SEmil Renner Berthing
44974fb20c8SWilliam Qiu		spi0: spi@10060000 {
45074fb20c8SWilliam Qiu			compatible = "arm,pl022", "arm,primecell";
45174fb20c8SWilliam Qiu			reg = <0x0 0x10060000 0x0 0x10000>;
45274fb20c8SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SPI0_APB>,
45374fb20c8SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SPI0_APB>;
45474fb20c8SWilliam Qiu			clock-names = "sspclk", "apb_pclk";
45574fb20c8SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SPI0_APB>;
45674fb20c8SWilliam Qiu			interrupts = <38>;
45774fb20c8SWilliam Qiu			arm,primecell-periphid = <0x00041022>;
45874fb20c8SWilliam Qiu			num-cs = <1>;
45974fb20c8SWilliam Qiu			#address-cells = <1>;
46074fb20c8SWilliam Qiu			#size-cells = <0>;
46174fb20c8SWilliam Qiu			status = "disabled";
46274fb20c8SWilliam Qiu		};
46374fb20c8SWilliam Qiu
46474fb20c8SWilliam Qiu		spi1: spi@10070000 {
46574fb20c8SWilliam Qiu			compatible = "arm,pl022", "arm,primecell";
46674fb20c8SWilliam Qiu			reg = <0x0 0x10070000 0x0 0x10000>;
46774fb20c8SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SPI1_APB>,
46874fb20c8SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SPI1_APB>;
46974fb20c8SWilliam Qiu			clock-names = "sspclk", "apb_pclk";
47074fb20c8SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SPI1_APB>;
47174fb20c8SWilliam Qiu			interrupts = <39>;
47274fb20c8SWilliam Qiu			arm,primecell-periphid = <0x00041022>;
47374fb20c8SWilliam Qiu			num-cs = <1>;
47474fb20c8SWilliam Qiu			#address-cells = <1>;
47574fb20c8SWilliam Qiu			#size-cells = <0>;
47674fb20c8SWilliam Qiu			status = "disabled";
47774fb20c8SWilliam Qiu		};
47874fb20c8SWilliam Qiu
47974fb20c8SWilliam Qiu		spi2: spi@10080000 {
48074fb20c8SWilliam Qiu			compatible = "arm,pl022", "arm,primecell";
48174fb20c8SWilliam Qiu			reg = <0x0 0x10080000 0x0 0x10000>;
48274fb20c8SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SPI2_APB>,
48374fb20c8SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SPI2_APB>;
48474fb20c8SWilliam Qiu			clock-names = "sspclk", "apb_pclk";
48574fb20c8SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SPI2_APB>;
48674fb20c8SWilliam Qiu			interrupts = <40>;
48774fb20c8SWilliam Qiu			arm,primecell-periphid = <0x00041022>;
48874fb20c8SWilliam Qiu			num-cs = <1>;
48974fb20c8SWilliam Qiu			#address-cells = <1>;
49074fb20c8SWilliam Qiu			#size-cells = <0>;
49174fb20c8SWilliam Qiu			status = "disabled";
49274fb20c8SWilliam Qiu		};
49374fb20c8SWilliam Qiu
494e7c304c0SWalker Chen		tdm: tdm@10090000 {
495e7c304c0SWalker Chen			compatible = "starfive,jh7110-tdm";
496e7c304c0SWalker Chen			reg = <0x0 0x10090000 0x0 0x1000>;
497e7c304c0SWalker Chen			clocks = <&syscrg JH7110_SYSCLK_TDM_AHB>,
498e7c304c0SWalker Chen				 <&syscrg JH7110_SYSCLK_TDM_APB>,
499e7c304c0SWalker Chen				 <&syscrg JH7110_SYSCLK_TDM_INTERNAL>,
500e7c304c0SWalker Chen				 <&syscrg JH7110_SYSCLK_TDM_TDM>,
501e7c304c0SWalker Chen				 <&syscrg JH7110_SYSCLK_MCLK_INNER>,
502e7c304c0SWalker Chen				 <&tdm_ext>;
503e7c304c0SWalker Chen			clock-names = "tdm_ahb", "tdm_apb",
504e7c304c0SWalker Chen				      "tdm_internal", "tdm",
505e7c304c0SWalker Chen				      "mclk_inner", "tdm_ext";
506e7c304c0SWalker Chen			resets = <&syscrg JH7110_SYSRST_TDM_AHB>,
507e7c304c0SWalker Chen				 <&syscrg JH7110_SYSRST_TDM_APB>,
508e7c304c0SWalker Chen				 <&syscrg JH7110_SYSRST_TDM_CORE>;
509e7c304c0SWalker Chen			dmas = <&dma 20>, <&dma 21>;
510e7c304c0SWalker Chen			dma-names = "rx","tx";
511e7c304c0SWalker Chen			#sound-dai-cells = <0>;
512e7c304c0SWalker Chen			status = "disabled";
513e7c304c0SWalker Chen		};
514e7c304c0SWalker Chen
515e126aa3aSMinda Chen		usb0: usb@10100000 {
516e126aa3aSMinda Chen			compatible = "starfive,jh7110-usb";
517e126aa3aSMinda Chen			ranges = <0x0 0x0 0x10100000 0x100000>;
518e126aa3aSMinda Chen			#address-cells = <1>;
519e126aa3aSMinda Chen			#size-cells = <1>;
520e126aa3aSMinda Chen			starfive,stg-syscon = <&stg_syscon 0x4>;
521e126aa3aSMinda Chen			clocks = <&stgcrg JH7110_STGCLK_USB0_LPM>,
522e126aa3aSMinda Chen				 <&stgcrg JH7110_STGCLK_USB0_STB>,
523e126aa3aSMinda Chen				 <&stgcrg JH7110_STGCLK_USB0_APB>,
524e126aa3aSMinda Chen				 <&stgcrg JH7110_STGCLK_USB0_AXI>,
525e126aa3aSMinda Chen				 <&stgcrg JH7110_STGCLK_USB0_UTMI_APB>;
526e126aa3aSMinda Chen			clock-names = "lpm", "stb", "apb", "axi", "utmi_apb";
527e126aa3aSMinda Chen			resets = <&stgcrg JH7110_STGRST_USB0_PWRUP>,
528e126aa3aSMinda Chen				 <&stgcrg JH7110_STGRST_USB0_APB>,
529e126aa3aSMinda Chen				 <&stgcrg JH7110_STGRST_USB0_AXI>,
530e126aa3aSMinda Chen				 <&stgcrg JH7110_STGRST_USB0_UTMI_APB>;
531e126aa3aSMinda Chen			reset-names = "pwrup", "apb", "axi", "utmi_apb";
532e126aa3aSMinda Chen			status = "disabled";
533e126aa3aSMinda Chen
534e126aa3aSMinda Chen			usb_cdns3: usb@0 {
535e126aa3aSMinda Chen				compatible = "cdns,usb3";
536e126aa3aSMinda Chen				reg = <0x0 0x10000>,
537e126aa3aSMinda Chen				      <0x10000 0x10000>,
538e126aa3aSMinda Chen				      <0x20000 0x10000>;
539e126aa3aSMinda Chen				reg-names = "otg", "xhci", "dev";
540e126aa3aSMinda Chen				interrupts = <100>, <108>, <110>;
541e126aa3aSMinda Chen				interrupt-names = "host", "peripheral", "otg";
542e126aa3aSMinda Chen				phys = <&usbphy0>;
543e126aa3aSMinda Chen				phy-names = "cdns3,usb2-phy";
544e126aa3aSMinda Chen			};
545e126aa3aSMinda Chen		};
546e126aa3aSMinda Chen
547c2a10081SMinda Chen		usbphy0: phy@10200000 {
548c2a10081SMinda Chen			compatible = "starfive,jh7110-usb-phy";
549c2a10081SMinda Chen			reg = <0x0 0x10200000 0x0 0x10000>;
550c2a10081SMinda Chen			clocks = <&syscrg JH7110_SYSCLK_USB_125M>,
551c2a10081SMinda Chen				 <&stgcrg JH7110_STGCLK_USB0_APP_125>;
552c2a10081SMinda Chen			clock-names = "125m", "app_125m";
553c2a10081SMinda Chen			#phy-cells = <0>;
554c2a10081SMinda Chen		};
555c2a10081SMinda Chen
556c2a10081SMinda Chen		pciephy0: phy@10210000 {
557c2a10081SMinda Chen			compatible = "starfive,jh7110-pcie-phy";
558c2a10081SMinda Chen			reg = <0x0 0x10210000 0x0 0x10000>;
559c2a10081SMinda Chen			#phy-cells = <0>;
560c2a10081SMinda Chen		};
561c2a10081SMinda Chen
562c2a10081SMinda Chen		pciephy1: phy@10220000 {
563c2a10081SMinda Chen			compatible = "starfive,jh7110-pcie-phy";
564c2a10081SMinda Chen			reg = <0x0 0x10220000 0x0 0x10000>;
565c2a10081SMinda Chen			#phy-cells = <0>;
566c2a10081SMinda Chen		};
567c2a10081SMinda Chen
5683d90131fSXingyu Wu		stgcrg: clock-controller@10230000 {
5693d90131fSXingyu Wu			compatible = "starfive,jh7110-stgcrg";
5703d90131fSXingyu Wu			reg = <0x0 0x10230000 0x0 0x10000>;
5713d90131fSXingyu Wu			clocks = <&osc>,
5723d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_HIFI4_CORE>,
5733d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_STG_AXIAHB>,
5743d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_USB_125M>,
5753d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_CPU_BUS>,
5763d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_HIFI4_AXI>,
5773d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_NOCSTG_BUS>,
5783d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_APB_BUS>;
5793d90131fSXingyu Wu			clock-names = "osc", "hifi4_core",
5803d90131fSXingyu Wu				      "stg_axiahb", "usb_125m",
5813d90131fSXingyu Wu				      "cpu_bus", "hifi4_axi",
5823d90131fSXingyu Wu				      "nocstg_bus", "apb_bus";
5833d90131fSXingyu Wu			#clock-cells = <1>;
5843d90131fSXingyu Wu			#reset-cells = <1>;
5853d90131fSXingyu Wu		};
5863d90131fSXingyu Wu
5873fcbcfc4SWilliam Qiu		stg_syscon: syscon@10240000 {
5883fcbcfc4SWilliam Qiu			compatible = "starfive,jh7110-stg-syscon", "syscon";
5893fcbcfc4SWilliam Qiu			reg = <0x0 0x10240000 0x0 0x1000>;
5903fcbcfc4SWilliam Qiu		};
5913fcbcfc4SWilliam Qiu
59260bf0a39SEmil Renner Berthing		uart3: serial@12000000 {
59360bf0a39SEmil Renner Berthing			compatible = "snps,dw-apb-uart";
59460bf0a39SEmil Renner Berthing			reg = <0x0 0x12000000 0x0 0x10000>;
59560bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_UART3_CORE>,
59660bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_UART3_APB>;
59760bf0a39SEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
59860bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_UART3_APB>;
59960bf0a39SEmil Renner Berthing			interrupts = <45>;
60060bf0a39SEmil Renner Berthing			reg-io-width = <4>;
60160bf0a39SEmil Renner Berthing			reg-shift = <2>;
60260bf0a39SEmil Renner Berthing			status = "disabled";
60360bf0a39SEmil Renner Berthing		};
60460bf0a39SEmil Renner Berthing
60560bf0a39SEmil Renner Berthing		uart4: serial@12010000 {
60660bf0a39SEmil Renner Berthing			compatible = "snps,dw-apb-uart";
60760bf0a39SEmil Renner Berthing			reg = <0x0 0x12010000 0x0 0x10000>;
60860bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_UART4_CORE>,
60960bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_UART4_APB>;
61060bf0a39SEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
61160bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_UART4_APB>;
61260bf0a39SEmil Renner Berthing			interrupts = <46>;
61360bf0a39SEmil Renner Berthing			reg-io-width = <4>;
61460bf0a39SEmil Renner Berthing			reg-shift = <2>;
61560bf0a39SEmil Renner Berthing			status = "disabled";
61660bf0a39SEmil Renner Berthing		};
61760bf0a39SEmil Renner Berthing
61860bf0a39SEmil Renner Berthing		uart5: serial@12020000 {
61960bf0a39SEmil Renner Berthing			compatible = "snps,dw-apb-uart";
62060bf0a39SEmil Renner Berthing			reg = <0x0 0x12020000 0x0 0x10000>;
62160bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_UART5_CORE>,
62260bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_UART5_APB>;
62360bf0a39SEmil Renner Berthing			clock-names = "baudclk", "apb_pclk";
62460bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_UART5_APB>;
62560bf0a39SEmil Renner Berthing			interrupts = <47>;
62660bf0a39SEmil Renner Berthing			reg-io-width = <4>;
62760bf0a39SEmil Renner Berthing			reg-shift = <2>;
62860bf0a39SEmil Renner Berthing			status = "disabled";
62960bf0a39SEmil Renner Berthing		};
63060bf0a39SEmil Renner Berthing
63160bf0a39SEmil Renner Berthing		i2c3: i2c@12030000 {
63260bf0a39SEmil Renner Berthing			compatible = "snps,designware-i2c";
63360bf0a39SEmil Renner Berthing			reg = <0x0 0x12030000 0x0 0x10000>;
63460bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_I2C3_APB>;
63560bf0a39SEmil Renner Berthing			clock-names = "ref";
63660bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_I2C3_APB>;
63760bf0a39SEmil Renner Berthing			interrupts = <48>;
63860bf0a39SEmil Renner Berthing			#address-cells = <1>;
63960bf0a39SEmil Renner Berthing			#size-cells = <0>;
64060bf0a39SEmil Renner Berthing			status = "disabled";
64160bf0a39SEmil Renner Berthing		};
64260bf0a39SEmil Renner Berthing
64360bf0a39SEmil Renner Berthing		i2c4: i2c@12040000 {
64460bf0a39SEmil Renner Berthing			compatible = "snps,designware-i2c";
64560bf0a39SEmil Renner Berthing			reg = <0x0 0x12040000 0x0 0x10000>;
64660bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_I2C4_APB>;
64760bf0a39SEmil Renner Berthing			clock-names = "ref";
64860bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_I2C4_APB>;
64960bf0a39SEmil Renner Berthing			interrupts = <49>;
65060bf0a39SEmil Renner Berthing			#address-cells = <1>;
65160bf0a39SEmil Renner Berthing			#size-cells = <0>;
65260bf0a39SEmil Renner Berthing			status = "disabled";
65360bf0a39SEmil Renner Berthing		};
65460bf0a39SEmil Renner Berthing
65560bf0a39SEmil Renner Berthing		i2c5: i2c@12050000 {
65660bf0a39SEmil Renner Berthing			compatible = "snps,designware-i2c";
65760bf0a39SEmil Renner Berthing			reg = <0x0 0x12050000 0x0 0x10000>;
65860bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_I2C5_APB>;
65960bf0a39SEmil Renner Berthing			clock-names = "ref";
66060bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_I2C5_APB>;
66160bf0a39SEmil Renner Berthing			interrupts = <50>;
66260bf0a39SEmil Renner Berthing			#address-cells = <1>;
66360bf0a39SEmil Renner Berthing			#size-cells = <0>;
66460bf0a39SEmil Renner Berthing			status = "disabled";
66560bf0a39SEmil Renner Berthing		};
66660bf0a39SEmil Renner Berthing
66760bf0a39SEmil Renner Berthing		i2c6: i2c@12060000 {
66860bf0a39SEmil Renner Berthing			compatible = "snps,designware-i2c";
66960bf0a39SEmil Renner Berthing			reg = <0x0 0x12060000 0x0 0x10000>;
67060bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_I2C6_APB>;
67160bf0a39SEmil Renner Berthing			clock-names = "ref";
67260bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_I2C6_APB>;
67360bf0a39SEmil Renner Berthing			interrupts = <51>;
67460bf0a39SEmil Renner Berthing			#address-cells = <1>;
67560bf0a39SEmil Renner Berthing			#size-cells = <0>;
67660bf0a39SEmil Renner Berthing			status = "disabled";
67760bf0a39SEmil Renner Berthing		};
67860bf0a39SEmil Renner Berthing
6798384087aSWilliam Qiu		qspi: spi@13010000 {
6808384087aSWilliam Qiu			compatible = "starfive,jh7110-qspi", "cdns,qspi-nor";
6818384087aSWilliam Qiu			reg = <0x0 0x13010000 0x0 0x10000>,
6828384087aSWilliam Qiu			      <0x0 0x21000000 0x0 0x400000>;
6838384087aSWilliam Qiu			interrupts = <25>;
6848384087aSWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_QSPI_REF>,
6858384087aSWilliam Qiu				 <&syscrg JH7110_SYSCLK_QSPI_AHB>,
6868384087aSWilliam Qiu				 <&syscrg JH7110_SYSCLK_QSPI_APB>;
6878384087aSWilliam Qiu			clock-names = "ref", "ahb", "apb";
6888384087aSWilliam Qiu			resets = <&syscrg JH7110_SYSRST_QSPI_APB>,
6898384087aSWilliam Qiu				 <&syscrg JH7110_SYSRST_QSPI_AHB>,
6908384087aSWilliam Qiu				 <&syscrg JH7110_SYSRST_QSPI_REF>;
6918384087aSWilliam Qiu			reset-names = "qspi", "qspi-ocp", "rstc_ref";
6928384087aSWilliam Qiu			cdns,fifo-depth = <256>;
6938384087aSWilliam Qiu			cdns,fifo-width = <4>;
6948384087aSWilliam Qiu			cdns,trigger-address = <0x0>;
6958384087aSWilliam Qiu			status = "disabled";
6968384087aSWilliam Qiu		};
6978384087aSWilliam Qiu
69874fb20c8SWilliam Qiu		spi3: spi@12070000 {
69974fb20c8SWilliam Qiu			compatible = "arm,pl022", "arm,primecell";
70074fb20c8SWilliam Qiu			reg = <0x0 0x12070000 0x0 0x10000>;
70174fb20c8SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SPI3_APB>,
70274fb20c8SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SPI3_APB>;
70374fb20c8SWilliam Qiu			clock-names = "sspclk", "apb_pclk";
70474fb20c8SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SPI3_APB>;
70574fb20c8SWilliam Qiu			interrupts = <52>;
70674fb20c8SWilliam Qiu			arm,primecell-periphid = <0x00041022>;
70774fb20c8SWilliam Qiu			num-cs = <1>;
70874fb20c8SWilliam Qiu			#address-cells = <1>;
70974fb20c8SWilliam Qiu			#size-cells = <0>;
71074fb20c8SWilliam Qiu			status = "disabled";
71174fb20c8SWilliam Qiu		};
71274fb20c8SWilliam Qiu
71374fb20c8SWilliam Qiu		spi4: spi@12080000 {
71474fb20c8SWilliam Qiu			compatible = "arm,pl022", "arm,primecell";
71574fb20c8SWilliam Qiu			reg = <0x0 0x12080000 0x0 0x10000>;
71674fb20c8SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SPI4_APB>,
71774fb20c8SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SPI4_APB>;
71874fb20c8SWilliam Qiu			clock-names = "sspclk", "apb_pclk";
71974fb20c8SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SPI4_APB>;
72074fb20c8SWilliam Qiu			interrupts = <53>;
72174fb20c8SWilliam Qiu			arm,primecell-periphid = <0x00041022>;
72274fb20c8SWilliam Qiu			num-cs = <1>;
72374fb20c8SWilliam Qiu			#address-cells = <1>;
72474fb20c8SWilliam Qiu			#size-cells = <0>;
72574fb20c8SWilliam Qiu			status = "disabled";
72674fb20c8SWilliam Qiu		};
72774fb20c8SWilliam Qiu
72874fb20c8SWilliam Qiu		spi5: spi@12090000 {
72974fb20c8SWilliam Qiu			compatible = "arm,pl022", "arm,primecell";
73074fb20c8SWilliam Qiu			reg = <0x0 0x12090000 0x0 0x10000>;
73174fb20c8SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SPI5_APB>,
73274fb20c8SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SPI5_APB>;
73374fb20c8SWilliam Qiu			clock-names = "sspclk", "apb_pclk";
73474fb20c8SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SPI5_APB>;
73574fb20c8SWilliam Qiu			interrupts = <54>;
73674fb20c8SWilliam Qiu			arm,primecell-periphid = <0x00041022>;
73774fb20c8SWilliam Qiu			num-cs = <1>;
73874fb20c8SWilliam Qiu			#address-cells = <1>;
73974fb20c8SWilliam Qiu			#size-cells = <0>;
74074fb20c8SWilliam Qiu			status = "disabled";
74174fb20c8SWilliam Qiu		};
74274fb20c8SWilliam Qiu
74374fb20c8SWilliam Qiu		spi6: spi@120a0000 {
74474fb20c8SWilliam Qiu			compatible = "arm,pl022", "arm,primecell";
74574fb20c8SWilliam Qiu			reg = <0x0 0x120A0000 0x0 0x10000>;
74674fb20c8SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SPI6_APB>,
74774fb20c8SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SPI6_APB>;
74874fb20c8SWilliam Qiu			clock-names = "sspclk", "apb_pclk";
74974fb20c8SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SPI6_APB>;
75074fb20c8SWilliam Qiu			interrupts = <55>;
75174fb20c8SWilliam Qiu			arm,primecell-periphid = <0x00041022>;
75274fb20c8SWilliam Qiu			num-cs = <1>;
75374fb20c8SWilliam Qiu			#address-cells = <1>;
75474fb20c8SWilliam Qiu			#size-cells = <0>;
75574fb20c8SWilliam Qiu			status = "disabled";
75674fb20c8SWilliam Qiu		};
75774fb20c8SWilliam Qiu
758f2b539afSHal Feng		sfctemp: temperature-sensor@120e0000 {
759f2b539afSHal Feng			compatible = "starfive,jh7110-temp";
760f2b539afSHal Feng			reg = <0x0 0x120e0000 0x0 0x10000>;
761f2b539afSHal Feng			clocks = <&syscrg JH7110_SYSCLK_TEMP_CORE>,
762f2b539afSHal Feng				 <&syscrg JH7110_SYSCLK_TEMP_APB>;
763f2b539afSHal Feng			clock-names = "sense", "bus";
764f2b539afSHal Feng			resets = <&syscrg JH7110_SYSRST_TEMP_CORE>,
765f2b539afSHal Feng				 <&syscrg JH7110_SYSRST_TEMP_APB>;
766f2b539afSHal Feng			reset-names = "sense", "bus";
767f2b539afSHal Feng			#thermal-sensor-cells = <0>;
768f2b539afSHal Feng		};
769f2b539afSHal Feng
77060bf0a39SEmil Renner Berthing		syscrg: clock-controller@13020000 {
77160bf0a39SEmil Renner Berthing			compatible = "starfive,jh7110-syscrg";
77260bf0a39SEmil Renner Berthing			reg = <0x0 0x13020000 0x0 0x10000>;
77360bf0a39SEmil Renner Berthing			clocks = <&osc>, <&gmac1_rmii_refin>,
77460bf0a39SEmil Renner Berthing				 <&gmac1_rgmii_rxin>,
77560bf0a39SEmil Renner Berthing				 <&i2stx_bclk_ext>, <&i2stx_lrck_ext>,
77660bf0a39SEmil Renner Berthing				 <&i2srx_bclk_ext>, <&i2srx_lrck_ext>,
7773e6670a2SXingyu Wu				 <&tdm_ext>, <&mclk_ext>,
7783e6670a2SXingyu Wu				 <&pllclk JH7110_PLLCLK_PLL0_OUT>,
7793e6670a2SXingyu Wu				 <&pllclk JH7110_PLLCLK_PLL1_OUT>,
7803e6670a2SXingyu Wu				 <&pllclk JH7110_PLLCLK_PLL2_OUT>;
78160bf0a39SEmil Renner Berthing			clock-names = "osc", "gmac1_rmii_refin",
78260bf0a39SEmil Renner Berthing				      "gmac1_rgmii_rxin",
78360bf0a39SEmil Renner Berthing				      "i2stx_bclk_ext", "i2stx_lrck_ext",
78460bf0a39SEmil Renner Berthing				      "i2srx_bclk_ext", "i2srx_lrck_ext",
7853e6670a2SXingyu Wu				      "tdm_ext", "mclk_ext",
7863e6670a2SXingyu Wu				      "pll0_out", "pll1_out", "pll2_out";
78760bf0a39SEmil Renner Berthing			#clock-cells = <1>;
78860bf0a39SEmil Renner Berthing			#reset-cells = <1>;
78960bf0a39SEmil Renner Berthing		};
79060bf0a39SEmil Renner Berthing
7913fcbcfc4SWilliam Qiu		sys_syscon: syscon@13030000 {
7923fcbcfc4SWilliam Qiu			compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd";
7933fcbcfc4SWilliam Qiu			reg = <0x0 0x13030000 0x0 0x1000>;
7943fcbcfc4SWilliam Qiu
7953fcbcfc4SWilliam Qiu			pllclk: clock-controller {
7963fcbcfc4SWilliam Qiu				compatible = "starfive,jh7110-pll";
7973fcbcfc4SWilliam Qiu				clocks = <&osc>;
7983fcbcfc4SWilliam Qiu				#clock-cells = <1>;
7993fcbcfc4SWilliam Qiu			};
8003fcbcfc4SWilliam Qiu		};
8013fcbcfc4SWilliam Qiu
80260bf0a39SEmil Renner Berthing		sysgpio: pinctrl@13040000 {
80360bf0a39SEmil Renner Berthing			compatible = "starfive,jh7110-sys-pinctrl";
80460bf0a39SEmil Renner Berthing			reg = <0x0 0x13040000 0x0 0x10000>;
80560bf0a39SEmil Renner Berthing			clocks = <&syscrg JH7110_SYSCLK_IOMUX_APB>;
80660bf0a39SEmil Renner Berthing			resets = <&syscrg JH7110_SYSRST_IOMUX_APB>;
80760bf0a39SEmil Renner Berthing			interrupts = <86>;
80860bf0a39SEmil Renner Berthing			interrupt-controller;
80960bf0a39SEmil Renner Berthing			#interrupt-cells = <2>;
81060bf0a39SEmil Renner Berthing			gpio-controller;
81160bf0a39SEmil Renner Berthing			#gpio-cells = <2>;
81260bf0a39SEmil Renner Berthing		};
81360bf0a39SEmil Renner Berthing
8146361b7deSXingyu Wu		watchdog@13070000 {
8156361b7deSXingyu Wu			compatible = "starfive,jh7110-wdt";
8166361b7deSXingyu Wu			reg = <0x0 0x13070000 0x0 0x10000>;
8176361b7deSXingyu Wu			clocks = <&syscrg JH7110_SYSCLK_WDT_APB>,
8186361b7deSXingyu Wu				 <&syscrg JH7110_SYSCLK_WDT_CORE>;
8196361b7deSXingyu Wu			clock-names = "apb", "core";
8206361b7deSXingyu Wu			resets = <&syscrg JH7110_SYSRST_WDT_APB>,
8216361b7deSXingyu Wu				 <&syscrg JH7110_SYSRST_WDT_CORE>;
8226361b7deSXingyu Wu		};
8236361b7deSXingyu Wu
824*e2c07765SJia Jie Ho		crypto: crypto@16000000 {
825*e2c07765SJia Jie Ho			compatible = "starfive,jh7110-crypto";
826*e2c07765SJia Jie Ho			reg = <0x0 0x16000000 0x0 0x4000>;
827*e2c07765SJia Jie Ho			clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>,
828*e2c07765SJia Jie Ho				 <&stgcrg JH7110_STGCLK_SEC_MISC_AHB>;
829*e2c07765SJia Jie Ho			clock-names = "hclk", "ahb";
830*e2c07765SJia Jie Ho			interrupts = <28>;
831*e2c07765SJia Jie Ho			resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
832*e2c07765SJia Jie Ho			dmas = <&sdma 1 2>, <&sdma 0 2>;
833*e2c07765SJia Jie Ho			dma-names = "tx", "rx";
834*e2c07765SJia Jie Ho		};
835*e2c07765SJia Jie Ho
836*e2c07765SJia Jie Ho		sdma: dma-controller@16008000 {
837*e2c07765SJia Jie Ho			compatible = "arm,pl080", "arm,primecell";
838*e2c07765SJia Jie Ho			arm,primecell-periphid = <0x00041080>;
839*e2c07765SJia Jie Ho			reg = <0x0 0x16008000 0x0 0x4000>;
840*e2c07765SJia Jie Ho			interrupts = <29>;
841*e2c07765SJia Jie Ho			clocks = <&stgcrg JH7110_STGCLK_SEC_AHB>;
842*e2c07765SJia Jie Ho			clock-names = "apb_pclk";
843*e2c07765SJia Jie Ho			resets = <&stgcrg JH7110_STGRST_SEC_AHB>;
844*e2c07765SJia Jie Ho			lli-bus-interface-ahb1;
845*e2c07765SJia Jie Ho			mem-bus-interface-ahb1;
846*e2c07765SJia Jie Ho			memcpy-burst-size = <256>;
847*e2c07765SJia Jie Ho			memcpy-bus-width = <32>;
848*e2c07765SJia Jie Ho			#dma-cells = <2>;
849*e2c07765SJia Jie Ho		};
850*e2c07765SJia Jie Ho
851b127dbf9SWilliam Qiu		mmc0: mmc@16010000 {
852b127dbf9SWilliam Qiu			compatible = "starfive,jh7110-mmc";
853b127dbf9SWilliam Qiu			reg = <0x0 0x16010000 0x0 0x10000>;
854b127dbf9SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SDIO0_AHB>,
855b127dbf9SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>;
856b127dbf9SWilliam Qiu			clock-names = "biu","ciu";
857b127dbf9SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SDIO0_AHB>;
858b127dbf9SWilliam Qiu			reset-names = "reset";
859b127dbf9SWilliam Qiu			interrupts = <74>;
860b127dbf9SWilliam Qiu			fifo-depth = <32>;
861b127dbf9SWilliam Qiu			fifo-watermark-aligned;
862b127dbf9SWilliam Qiu			data-addr = <0>;
863b127dbf9SWilliam Qiu			starfive,sysreg = <&sys_syscon 0x14 0x1a 0x7c000000>;
864b127dbf9SWilliam Qiu			status = "disabled";
865b127dbf9SWilliam Qiu		};
866b127dbf9SWilliam Qiu
867b127dbf9SWilliam Qiu		mmc1: mmc@16020000 {
868b127dbf9SWilliam Qiu			compatible = "starfive,jh7110-mmc";
869b127dbf9SWilliam Qiu			reg = <0x0 0x16020000 0x0 0x10000>;
870b127dbf9SWilliam Qiu			clocks = <&syscrg JH7110_SYSCLK_SDIO1_AHB>,
871b127dbf9SWilliam Qiu				 <&syscrg JH7110_SYSCLK_SDIO1_SDCARD>;
872b127dbf9SWilliam Qiu			clock-names = "biu","ciu";
873b127dbf9SWilliam Qiu			resets = <&syscrg JH7110_SYSRST_SDIO1_AHB>;
874b127dbf9SWilliam Qiu			reset-names = "reset";
875b127dbf9SWilliam Qiu			interrupts = <75>;
876b127dbf9SWilliam Qiu			fifo-depth = <32>;
877b127dbf9SWilliam Qiu			fifo-watermark-aligned;
878b127dbf9SWilliam Qiu			data-addr = <0>;
879b127dbf9SWilliam Qiu			starfive,sysreg = <&sys_syscon 0x9c 0x1 0x3e>;
880b127dbf9SWilliam Qiu			status = "disabled";
881b127dbf9SWilliam Qiu		};
882b127dbf9SWilliam Qiu
8831ff166c9SSamin Guo		gmac0: ethernet@16030000 {
8841ff166c9SSamin Guo			compatible = "starfive,jh7110-dwmac", "snps,dwmac-5.20";
8851ff166c9SSamin Guo			reg = <0x0 0x16030000 0x0 0x10000>;
8861ff166c9SSamin Guo			clocks = <&aoncrg JH7110_AONCLK_GMAC0_AXI>,
8871ff166c9SSamin Guo				 <&aoncrg JH7110_AONCLK_GMAC0_AHB>,
8881ff166c9SSamin Guo				 <&syscrg JH7110_SYSCLK_GMAC0_PTP>,
8891ff166c9SSamin Guo				 <&aoncrg JH7110_AONCLK_GMAC0_TX_INV>,
8901ff166c9SSamin Guo				 <&syscrg JH7110_SYSCLK_GMAC0_GTXC>;
8911ff166c9SSamin Guo			clock-names = "stmmaceth", "pclk", "ptp_ref",
8921ff166c9SSamin Guo				      "tx", "gtx";
8931ff166c9SSamin Guo			resets = <&aoncrg JH7110_AONRST_GMAC0_AXI>,
8941ff166c9SSamin Guo				 <&aoncrg JH7110_AONRST_GMAC0_AHB>;
8951ff166c9SSamin Guo			reset-names = "stmmaceth", "ahb";
8961ff166c9SSamin Guo			interrupts = <7>, <6>, <5>;
8971ff166c9SSamin Guo			interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
8981ff166c9SSamin Guo			rx-fifo-depth = <2048>;
8991ff166c9SSamin Guo			tx-fifo-depth = <2048>;
9001ff166c9SSamin Guo			snps,multicast-filter-bins = <64>;
9011ff166c9SSamin Guo			snps,perfect-filter-entries = <8>;
9021ff166c9SSamin Guo			snps,fixed-burst;
9031ff166c9SSamin Guo			snps,no-pbl-x8;
9041ff166c9SSamin Guo			snps,force_thresh_dma_mode;
9051ff166c9SSamin Guo			snps,axi-config = <&stmmac_axi_setup>;
9061ff166c9SSamin Guo			snps,tso;
9071ff166c9SSamin Guo			snps,en-tx-lpi-clockgating;
9081ff166c9SSamin Guo			snps,txpbl = <16>;
9091ff166c9SSamin Guo			snps,rxpbl = <16>;
9101ff166c9SSamin Guo			starfive,syscon = <&aon_syscon 0xc 0x12>;
9111ff166c9SSamin Guo			status = "disabled";
9121ff166c9SSamin Guo		};
9131ff166c9SSamin Guo
9141ff166c9SSamin Guo		gmac1: ethernet@16040000 {
9151ff166c9SSamin Guo			compatible = "starfive,jh7110-dwmac", "snps,dwmac-5.20";
9161ff166c9SSamin Guo			reg = <0x0 0x16040000 0x0 0x10000>;
9171ff166c9SSamin Guo			clocks = <&syscrg JH7110_SYSCLK_GMAC1_AXI>,
9181ff166c9SSamin Guo				 <&syscrg JH7110_SYSCLK_GMAC1_AHB>,
9191ff166c9SSamin Guo				 <&syscrg JH7110_SYSCLK_GMAC1_PTP>,
9201ff166c9SSamin Guo				 <&syscrg JH7110_SYSCLK_GMAC1_TX_INV>,
9211ff166c9SSamin Guo				 <&syscrg JH7110_SYSCLK_GMAC1_GTXC>;
9221ff166c9SSamin Guo			clock-names = "stmmaceth", "pclk", "ptp_ref",
9231ff166c9SSamin Guo				      "tx", "gtx";
9241ff166c9SSamin Guo			resets = <&syscrg JH7110_SYSRST_GMAC1_AXI>,
9251ff166c9SSamin Guo				 <&syscrg JH7110_SYSRST_GMAC1_AHB>;
9261ff166c9SSamin Guo			reset-names = "stmmaceth", "ahb";
9271ff166c9SSamin Guo			interrupts = <78>, <77>, <76>;
9281ff166c9SSamin Guo			interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
9291ff166c9SSamin Guo			rx-fifo-depth = <2048>;
9301ff166c9SSamin Guo			tx-fifo-depth = <2048>;
9311ff166c9SSamin Guo			snps,multicast-filter-bins = <64>;
9321ff166c9SSamin Guo			snps,perfect-filter-entries = <8>;
9331ff166c9SSamin Guo			snps,fixed-burst;
9341ff166c9SSamin Guo			snps,no-pbl-x8;
9351ff166c9SSamin Guo			snps,force_thresh_dma_mode;
9361ff166c9SSamin Guo			snps,axi-config = <&stmmac_axi_setup>;
9371ff166c9SSamin Guo			snps,tso;
9381ff166c9SSamin Guo			snps,en-tx-lpi-clockgating;
9391ff166c9SSamin Guo			snps,txpbl = <16>;
9401ff166c9SSamin Guo			snps,rxpbl = <16>;
9411ff166c9SSamin Guo			starfive,syscon = <&sys_syscon 0x90 0x2>;
9421ff166c9SSamin Guo			status = "disabled";
9431ff166c9SSamin Guo		};
9441ff166c9SSamin Guo
945ac73c097SWalker Chen		dma: dma-controller@16050000 {
946ac73c097SWalker Chen			compatible = "starfive,jh7110-axi-dma";
947ac73c097SWalker Chen			reg = <0x0 0x16050000 0x0 0x10000>;
948ac73c097SWalker Chen			clocks = <&stgcrg JH7110_STGCLK_DMA1P_AXI>,
949ac73c097SWalker Chen				 <&stgcrg JH7110_STGCLK_DMA1P_AHB>;
950ac73c097SWalker Chen			clock-names = "core-clk", "cfgr-clk";
951ac73c097SWalker Chen			resets = <&stgcrg JH7110_STGRST_DMA1P_AXI>,
952ac73c097SWalker Chen				 <&stgcrg JH7110_STGRST_DMA1P_AHB>;
953ac73c097SWalker Chen			interrupts = <73>;
954ac73c097SWalker Chen			#dma-cells = <1>;
955ac73c097SWalker Chen			dma-channels = <4>;
956ac73c097SWalker Chen			snps,dma-masters = <1>;
957ac73c097SWalker Chen			snps,data-width = <3>;
958ac73c097SWalker Chen			snps,block-size = <65536 65536 65536 65536>;
959ac73c097SWalker Chen			snps,priority = <0 1 2 3>;
960ac73c097SWalker Chen			snps,axi-max-burst-len = <16>;
961ac73c097SWalker Chen		};
962ac73c097SWalker Chen
96360bf0a39SEmil Renner Berthing		aoncrg: clock-controller@17000000 {
96460bf0a39SEmil Renner Berthing			compatible = "starfive,jh7110-aoncrg";
96560bf0a39SEmil Renner Berthing			reg = <0x0 0x17000000 0x0 0x10000>;
96660bf0a39SEmil Renner Berthing			clocks = <&osc>, <&gmac0_rmii_refin>,
96760bf0a39SEmil Renner Berthing				 <&gmac0_rgmii_rxin>,
96860bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_STG_AXIAHB>,
96960bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_APB_BUS>,
97060bf0a39SEmil Renner Berthing				 <&syscrg JH7110_SYSCLK_GMAC0_GTXCLK>,
97160bf0a39SEmil Renner Berthing				 <&rtc_osc>;
97260bf0a39SEmil Renner Berthing			clock-names = "osc", "gmac0_rmii_refin",
97360bf0a39SEmil Renner Berthing				      "gmac0_rgmii_rxin", "stg_axiahb",
97460bf0a39SEmil Renner Berthing				      "apb_bus", "gmac0_gtxclk",
97560bf0a39SEmil Renner Berthing				      "rtc_osc";
97660bf0a39SEmil Renner Berthing			#clock-cells = <1>;
97760bf0a39SEmil Renner Berthing			#reset-cells = <1>;
97860bf0a39SEmil Renner Berthing		};
97960bf0a39SEmil Renner Berthing
9803fcbcfc4SWilliam Qiu		aon_syscon: syscon@17010000 {
9813fcbcfc4SWilliam Qiu			compatible = "starfive,jh7110-aon-syscon", "syscon";
9823fcbcfc4SWilliam Qiu			reg = <0x0 0x17010000 0x0 0x1000>;
9833fcbcfc4SWilliam Qiu			#power-domain-cells = <1>;
9843fcbcfc4SWilliam Qiu		};
9853fcbcfc4SWilliam Qiu
98660bf0a39SEmil Renner Berthing		aongpio: pinctrl@17020000 {
98760bf0a39SEmil Renner Berthing			compatible = "starfive,jh7110-aon-pinctrl";
98860bf0a39SEmil Renner Berthing			reg = <0x0 0x17020000 0x0 0x10000>;
98960bf0a39SEmil Renner Berthing			resets = <&aoncrg JH7110_AONRST_IOMUX>;
99060bf0a39SEmil Renner Berthing			interrupts = <85>;
99160bf0a39SEmil Renner Berthing			interrupt-controller;
99260bf0a39SEmil Renner Berthing			#interrupt-cells = <2>;
99360bf0a39SEmil Renner Berthing			gpio-controller;
99460bf0a39SEmil Renner Berthing			#gpio-cells = <2>;
99560bf0a39SEmil Renner Berthing		};
9966a887bccSWalker Chen
9976a887bccSWalker Chen		pwrc: power-controller@17030000 {
9986a887bccSWalker Chen			compatible = "starfive,jh7110-pmu";
9996a887bccSWalker Chen			reg = <0x0 0x17030000 0x0 0x10000>;
10006a887bccSWalker Chen			interrupts = <111>;
10016a887bccSWalker Chen			#power-domain-cells = <1>;
10026a887bccSWalker Chen		};
10033d90131fSXingyu Wu
10043d90131fSXingyu Wu		ispcrg: clock-controller@19810000 {
10053d90131fSXingyu Wu			compatible = "starfive,jh7110-ispcrg";
10063d90131fSXingyu Wu			reg = <0x0 0x19810000 0x0 0x10000>;
10073d90131fSXingyu Wu			clocks = <&syscrg JH7110_SYSCLK_ISP_TOP_CORE>,
10083d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_ISP_TOP_AXI>,
10093d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_NOC_BUS_ISP_AXI>,
10103d90131fSXingyu Wu				 <&dvp_clk>;
10113d90131fSXingyu Wu			clock-names = "isp_top_core", "isp_top_axi",
10123d90131fSXingyu Wu				      "noc_bus_isp_axi", "dvp_clk";
10133d90131fSXingyu Wu			resets = <&syscrg JH7110_SYSRST_ISP_TOP>,
10143d90131fSXingyu Wu				 <&syscrg JH7110_SYSRST_ISP_TOP_AXI>,
10153d90131fSXingyu Wu				 <&syscrg JH7110_SYSRST_NOC_BUS_ISP_AXI>;
10163d90131fSXingyu Wu			#clock-cells = <1>;
10173d90131fSXingyu Wu			#reset-cells = <1>;
10183d90131fSXingyu Wu			power-domains = <&pwrc JH7110_PD_ISP>;
10193d90131fSXingyu Wu		};
10203d90131fSXingyu Wu
10213d90131fSXingyu Wu		voutcrg: clock-controller@295c0000 {
10223d90131fSXingyu Wu			compatible = "starfive,jh7110-voutcrg";
10233d90131fSXingyu Wu			reg = <0x0 0x295c0000 0x0 0x10000>;
10243d90131fSXingyu Wu			clocks = <&syscrg JH7110_SYSCLK_VOUT_SRC>,
10253d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_VOUT_TOP_AHB>,
10263d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_VOUT_TOP_AXI>,
10273d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_VOUT_TOP_HDMITX0_MCLK>,
10283d90131fSXingyu Wu				 <&syscrg JH7110_SYSCLK_I2STX0_BCLK>,
10293d90131fSXingyu Wu				 <&hdmitx0_pixelclk>;
10303d90131fSXingyu Wu			clock-names = "vout_src", "vout_top_ahb",
10313d90131fSXingyu Wu				      "vout_top_axi", "vout_top_hdmitx0_mclk",
10323d90131fSXingyu Wu				      "i2stx0_bclk", "hdmitx0_pixelclk";
10333d90131fSXingyu Wu			resets = <&syscrg JH7110_SYSRST_VOUT_TOP_SRC>;
10343d90131fSXingyu Wu			#clock-cells = <1>;
10353d90131fSXingyu Wu			#reset-cells = <1>;
10363d90131fSXingyu Wu			power-domains = <&pwrc JH7110_PD_VOUT>;
10373d90131fSXingyu Wu		};
103860bf0a39SEmil Renner Berthing	};
103960bf0a39SEmil Renner Berthing};
1040