xref: /openbmc/linux/arch/arm64/boot/dts/sprd/ums512.dtsi (revision 87832e937c808a7ebc41254b408362e3255c87c9)
12b488183SChunyan Zhang// SPDX-License-Identifier: (GPL-2.0 OR MIT)
22b488183SChunyan Zhang/*
32b488183SChunyan Zhang * Unisoc UMS512 SoC DTS file
42b488183SChunyan Zhang *
52b488183SChunyan Zhang * Copyright (C) 2021, Unisoc Inc.
62b488183SChunyan Zhang */
72b488183SChunyan Zhang
82b488183SChunyan Zhang#include <dt-bindings/clock/sprd,ums512-clk.h>
92b488183SChunyan Zhang#include <dt-bindings/interrupt-controller/arm-gic.h>
102b488183SChunyan Zhang
112b488183SChunyan Zhang/ {
122b488183SChunyan Zhang	interrupt-parent = <&gic>;
132b488183SChunyan Zhang	#address-cells = <2>;
142b488183SChunyan Zhang	#size-cells = <2>;
152b488183SChunyan Zhang
162b488183SChunyan Zhang	cpus {
172b488183SChunyan Zhang		#address-cells = <2>;
182b488183SChunyan Zhang		#size-cells = <0>;
192b488183SChunyan Zhang
202b488183SChunyan Zhang		cpu-map {
212b488183SChunyan Zhang			cluster0 {
222b488183SChunyan Zhang				core0 {
232b488183SChunyan Zhang					cpu = <&CPU0>;
242b488183SChunyan Zhang				};
252b488183SChunyan Zhang				core1 {
262b488183SChunyan Zhang					cpu = <&CPU1>;
272b488183SChunyan Zhang				};
282b488183SChunyan Zhang				core2 {
292b488183SChunyan Zhang					cpu = <&CPU2>;
302b488183SChunyan Zhang				};
312b488183SChunyan Zhang				core3 {
322b488183SChunyan Zhang					cpu = <&CPU3>;
332b488183SChunyan Zhang				};
342b488183SChunyan Zhang				core4 {
352b488183SChunyan Zhang					cpu = <&CPU4>;
362b488183SChunyan Zhang				};
372b488183SChunyan Zhang				core5 {
382b488183SChunyan Zhang					cpu = <&CPU5>;
392b488183SChunyan Zhang				};
402b488183SChunyan Zhang				core6 {
412b488183SChunyan Zhang					cpu = <&CPU6>;
422b488183SChunyan Zhang				};
432b488183SChunyan Zhang				core7 {
442b488183SChunyan Zhang					cpu = <&CPU7>;
452b488183SChunyan Zhang				};
462b488183SChunyan Zhang			};
472b488183SChunyan Zhang		};
482b488183SChunyan Zhang
492b488183SChunyan Zhang		CPU0: cpu@0 {
502b488183SChunyan Zhang			device_type = "cpu";
512b488183SChunyan Zhang			compatible = "arm,cortex-a55";
522b488183SChunyan Zhang			reg = <0x0 0x0>;
532b488183SChunyan Zhang			enable-method = "psci";
542b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
552b488183SChunyan Zhang		};
562b488183SChunyan Zhang
572b488183SChunyan Zhang		CPU1: cpu@100 {
582b488183SChunyan Zhang			device_type = "cpu";
592b488183SChunyan Zhang			compatible = "arm,cortex-a55";
602b488183SChunyan Zhang			reg = <0x0 0x100>;
612b488183SChunyan Zhang			enable-method = "psci";
622b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
632b488183SChunyan Zhang		};
642b488183SChunyan Zhang
652b488183SChunyan Zhang		CPU2: cpu@200 {
662b488183SChunyan Zhang			device_type = "cpu";
672b488183SChunyan Zhang			compatible = "arm,cortex-a55";
682b488183SChunyan Zhang			reg = <0x0 0x200>;
692b488183SChunyan Zhang			enable-method = "psci";
702b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
712b488183SChunyan Zhang		};
722b488183SChunyan Zhang
732b488183SChunyan Zhang		CPU3: cpu@300 {
742b488183SChunyan Zhang			device_type = "cpu";
752b488183SChunyan Zhang			compatible = "arm,cortex-a55";
762b488183SChunyan Zhang			reg = <0x0 0x300>;
772b488183SChunyan Zhang			enable-method = "psci";
782b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
792b488183SChunyan Zhang		};
802b488183SChunyan Zhang
812b488183SChunyan Zhang		CPU4: cpu@400 {
822b488183SChunyan Zhang			device_type = "cpu";
832b488183SChunyan Zhang			compatible = "arm,cortex-a55";
842b488183SChunyan Zhang			reg = <0x0 0x400>;
852b488183SChunyan Zhang			enable-method = "psci";
862b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
872b488183SChunyan Zhang		};
882b488183SChunyan Zhang
892b488183SChunyan Zhang		CPU5: cpu@500 {
902b488183SChunyan Zhang			device_type = "cpu";
912b488183SChunyan Zhang			compatible = "arm,cortex-a55";
922b488183SChunyan Zhang			reg = <0x0 0x500>;
932b488183SChunyan Zhang			enable-method = "psci";
942b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
952b488183SChunyan Zhang		};
962b488183SChunyan Zhang
972b488183SChunyan Zhang		CPU6: cpu@600 {
982b488183SChunyan Zhang			device_type = "cpu";
9968c2defaSCixi Geng			compatible = "arm,cortex-a75";
1002b488183SChunyan Zhang			reg = <0x0 0x600>;
1012b488183SChunyan Zhang			enable-method = "psci";
1022b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
1032b488183SChunyan Zhang		};
1042b488183SChunyan Zhang
1052b488183SChunyan Zhang		CPU7: cpu@700 {
1062b488183SChunyan Zhang			device_type = "cpu";
10768c2defaSCixi Geng			compatible = "arm,cortex-a75";
1082b488183SChunyan Zhang			reg = <0x0 0x700>;
1092b488183SChunyan Zhang			enable-method = "psci";
1102b488183SChunyan Zhang			cpu-idle-states = <&CORE_PD>;
1112b488183SChunyan Zhang		};
1122b488183SChunyan Zhang	};
1132b488183SChunyan Zhang
1142b488183SChunyan Zhang	idle-states {
1152b488183SChunyan Zhang		entry-method = "psci";
116*e54c52eeSChunyan Zhang		CORE_PD: cpu-pd {
1172b488183SChunyan Zhang			compatible = "arm,idle-state";
1182b488183SChunyan Zhang			entry-latency-us = <4000>;
1192b488183SChunyan Zhang			exit-latency-us = <4000>;
1202b488183SChunyan Zhang			min-residency-us = <10000>;
1212b488183SChunyan Zhang			local-timer-stop;
1222b488183SChunyan Zhang			arm,psci-suspend-param = <0x00010000>;
1232b488183SChunyan Zhang		};
1242b488183SChunyan Zhang	};
1252b488183SChunyan Zhang
1262b488183SChunyan Zhang	psci {
1272b488183SChunyan Zhang		compatible = "arm,psci-0.2";
1282b488183SChunyan Zhang		method = "smc";
1292b488183SChunyan Zhang	};
1302b488183SChunyan Zhang
1312b488183SChunyan Zhang	timer {
1322b488183SChunyan Zhang		compatible = "arm,armv8-timer";
1332b488183SChunyan Zhang		interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>, /* Physical Secure PPI */
1342b488183SChunyan Zhang			     <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>, /* Physical Non-Secure PPI */
1352b488183SChunyan Zhang			     <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>, /* Virtual PPI */
1362b488183SChunyan Zhang			     <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>; /* Hipervisor PPI */
1372b488183SChunyan Zhang	};
1382b488183SChunyan Zhang
1392b488183SChunyan Zhang	pmu {
1402b488183SChunyan Zhang		compatible = "arm,armv8-pmuv3";
1412b488183SChunyan Zhang		interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1422b488183SChunyan Zhang			     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1432b488183SChunyan Zhang			     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1442b488183SChunyan Zhang			     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1452b488183SChunyan Zhang			     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1462b488183SChunyan Zhang			     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1472b488183SChunyan Zhang			     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1482b488183SChunyan Zhang			     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
1492b488183SChunyan Zhang	};
1502b488183SChunyan Zhang
1512b488183SChunyan Zhang	soc: soc {
1522b488183SChunyan Zhang		compatible = "simple-bus";
1532b488183SChunyan Zhang		#address-cells = <2>;
1542b488183SChunyan Zhang		#size-cells = <2>;
1552b488183SChunyan Zhang		ranges;
1562b488183SChunyan Zhang
1572b488183SChunyan Zhang		gic: interrupt-controller@12000000 {
1582b488183SChunyan Zhang			compatible = "arm,gic-v3";
1592b488183SChunyan Zhang			reg = <0x0 0x12000000 0 0x20000>,	/* GICD */
1602b488183SChunyan Zhang			      <0x0 0x12040000 0 0x100000>;	/* GICR */
1612b488183SChunyan Zhang			#interrupt-cells = <3>;
1622b488183SChunyan Zhang			#address-cells = <2>;
1632b488183SChunyan Zhang			#size-cells = <2>;
1642b488183SChunyan Zhang			ranges;
1652b488183SChunyan Zhang			redistributor-stride = <0x0 0x20000>;	/* 128KB stride */
1662b488183SChunyan Zhang			#redistributor-regions = <1>;
1672b488183SChunyan Zhang			interrupt-controller;
1682b488183SChunyan Zhang			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
1692b488183SChunyan Zhang		};
1702b488183SChunyan Zhang
1712b488183SChunyan Zhang		ap_ahb_regs: syscon@20100000 {
1722b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
1732b488183SChunyan Zhang				     "simple-mfd";
1742b488183SChunyan Zhang			reg = <0 0x20100000 0 0x4000>;
1752b488183SChunyan Zhang			#address-cells = <1>;
1762b488183SChunyan Zhang			#size-cells = <1>;
1772b488183SChunyan Zhang			ranges = <0 0 0x20100000 0x4000>;
1782b488183SChunyan Zhang
1792b488183SChunyan Zhang			apahb_gate: clock-controller@0 {
1802b488183SChunyan Zhang				compatible = "sprd,ums512-apahb-gate";
1812b488183SChunyan Zhang				reg = <0x0 0x3000>;
1822b488183SChunyan Zhang				clocks = <&ext_26m>;
1832b488183SChunyan Zhang				clock-names = "ext-26m";
1842b488183SChunyan Zhang				#clock-cells = <1>;
1852b488183SChunyan Zhang			};
1862b488183SChunyan Zhang		};
1872b488183SChunyan Zhang
1882b488183SChunyan Zhang		pub_apb_regs: syscon@31050000 {
1892b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
1902b488183SChunyan Zhang				     "simple-mfd";
1912b488183SChunyan Zhang			reg = <0 0x31050000 0 0x9000>;
1922b488183SChunyan Zhang		};
1932b488183SChunyan Zhang
1942b488183SChunyan Zhang		top_dvfs_apb_regs: syscon@322a0000 {
1952b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
1962b488183SChunyan Zhang				     "simple-mfd";
1972b488183SChunyan Zhang			reg = <0 0x322a0000 0 0x8000>;
1982b488183SChunyan Zhang		};
1992b488183SChunyan Zhang
2002b488183SChunyan Zhang		ap_intc0_regs: syscon@32310000 {
2012b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2022b488183SChunyan Zhang				     "simple-mfd";
2032b488183SChunyan Zhang			reg = <0 0x32310000 0 0x1000>;
2042b488183SChunyan Zhang		};
2052b488183SChunyan Zhang
2062b488183SChunyan Zhang		ap_intc1_regs: syscon@32320000 {
2072b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2082b488183SChunyan Zhang				     "simple-mfd";
2092b488183SChunyan Zhang			reg = <0 0x32320000 0 0x1000>;
2102b488183SChunyan Zhang		};
2112b488183SChunyan Zhang
2122b488183SChunyan Zhang		ap_intc2_regs: syscon@32330000 {
2132b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2142b488183SChunyan Zhang				     "simple-mfd";
2152b488183SChunyan Zhang			reg = <0 0x32330000 0 0x1000>;
2162b488183SChunyan Zhang		};
2172b488183SChunyan Zhang
2182b488183SChunyan Zhang		ap_intc3_regs: syscon@32340000 {
2192b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2202b488183SChunyan Zhang				     "simple-mfd";
2212b488183SChunyan Zhang			reg = <0 0x32340000 0 0x1000>;
2222b488183SChunyan Zhang		};
2232b488183SChunyan Zhang
2242b488183SChunyan Zhang		ap_intc4_regs: syscon@32350000 {
2252b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2262b488183SChunyan Zhang				     "simple-mfd";
2272b488183SChunyan Zhang			reg = <0 0x32350000 0 0x1000>;
2282b488183SChunyan Zhang		};
2292b488183SChunyan Zhang
2302b488183SChunyan Zhang		ap_intc5_regs: syscon@32360000 {
2312b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2322b488183SChunyan Zhang				     "simple-mfd";
2332b488183SChunyan Zhang			reg = <0 0x32360000 0 0x1000>;
2342b488183SChunyan Zhang		};
2352b488183SChunyan Zhang
2362b488183SChunyan Zhang		anlg_phy_g0_regs: syscon@32390000 {
2372b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2382b488183SChunyan Zhang				     "simple-mfd";
2392b488183SChunyan Zhang			reg = <0 0x32390000 0 0x3000>;
2402b488183SChunyan Zhang			#address-cells = <1>;
2412b488183SChunyan Zhang			#size-cells = <1>;
2422b488183SChunyan Zhang			ranges = <0 0 0x32390000 0x3000>;
2432b488183SChunyan Zhang
2442b488183SChunyan Zhang			dpll0: clock-controller@0 {
2452b488183SChunyan Zhang				compatible = "sprd,ums512-g0-pll";
2462b488183SChunyan Zhang				reg = <0x0 0x100>;
2472b488183SChunyan Zhang				#clock-cells = <1>;
2482b488183SChunyan Zhang			};
2492b488183SChunyan Zhang		};
2502b488183SChunyan Zhang
2512b488183SChunyan Zhang		anlg_phy_g2_regs: syscon@323b0000 {
2522b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2532b488183SChunyan Zhang				     "simple-mfd";
2542b488183SChunyan Zhang			reg = <0 0x323b0000 0 0x3000>;
2552b488183SChunyan Zhang			#address-cells = <1>;
2562b488183SChunyan Zhang			#size-cells = <1>;
2572b488183SChunyan Zhang			ranges = <0 0 0x323b0000 0x3000>;
2582b488183SChunyan Zhang
2592b488183SChunyan Zhang			mpll1: clock-controller@0 {
2602b488183SChunyan Zhang				compatible = "sprd,ums512-g2-pll";
2612b488183SChunyan Zhang				reg = <0x0 0x100>;
2622b488183SChunyan Zhang				#clock-cells = <1>;
2632b488183SChunyan Zhang			};
2642b488183SChunyan Zhang		};
2652b488183SChunyan Zhang
2662b488183SChunyan Zhang		anlg_phy_g3_regs: syscon@323c0000 {
2672b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2682b488183SChunyan Zhang				     "simple-mfd";
2692b488183SChunyan Zhang			reg = <0 0x323c0000 0 0x3000>;
2702b488183SChunyan Zhang			#address-cells = <1>;
2712b488183SChunyan Zhang			#size-cells = <1>;
2722b488183SChunyan Zhang			ranges = <0 0 0x323c0000 0x3000>;
2732b488183SChunyan Zhang
2742b488183SChunyan Zhang			pll1: clock-controller@0 {
2752b488183SChunyan Zhang				compatible = "sprd,ums512-g3-pll";
2762b488183SChunyan Zhang				reg = <0x0 0x3000>;
2772b488183SChunyan Zhang				clocks = <&ext_26m>;
2782b488183SChunyan Zhang				clock-names = "ext-26m";
2792b488183SChunyan Zhang				#clock-cells = <1>;
2802b488183SChunyan Zhang			};
2812b488183SChunyan Zhang		};
2822b488183SChunyan Zhang
2832b488183SChunyan Zhang		anlg_phy_gc_regs: syscon@323e0000 {
2842b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
2852b488183SChunyan Zhang				     "simple-mfd";
2862b488183SChunyan Zhang			reg = <0 0x323e0000 0 0x3000>;
2872b488183SChunyan Zhang			#address-cells = <1>;
2882b488183SChunyan Zhang			#size-cells = <1>;
2892b488183SChunyan Zhang			ranges = <0 0 0x323e0000 0x3000>;
2902b488183SChunyan Zhang
2912b488183SChunyan Zhang			pll2: clock-controller@0 {
2922b488183SChunyan Zhang				compatible = "sprd,ums512-gc-pll";
2932b488183SChunyan Zhang				reg = <0x0 0x100>;
2948c700bedSChunyan Zhang				clocks = <&ext_26m>;
2952b488183SChunyan Zhang				clock-names = "ext-26m";
2962b488183SChunyan Zhang				#clock-cells = <1>;
2972b488183SChunyan Zhang			};
2982b488183SChunyan Zhang		};
2992b488183SChunyan Zhang
3002b488183SChunyan Zhang		anlg_phy_g10_regs: syscon@323f0000 {
3012b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3022b488183SChunyan Zhang				     "simple-mfd";
3032b488183SChunyan Zhang			reg = <0 0x323f0000 0 0x3000>;
3042b488183SChunyan Zhang		};
3052b488183SChunyan Zhang
3062b488183SChunyan Zhang		aon_apb_regs: syscon@327d0000 {
3072b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3082b488183SChunyan Zhang				     "simple-mfd";
3092b488183SChunyan Zhang			reg = <0 0x327d0000 0 0x3000>;
3102b488183SChunyan Zhang			#address-cells = <1>;
3112b488183SChunyan Zhang			#size-cells = <1>;
3122b488183SChunyan Zhang			ranges = <0 0 0x327d0000 0x3000>;
3132b488183SChunyan Zhang
3142b488183SChunyan Zhang			aonapb_gate: clock-controller@0 {
3152b488183SChunyan Zhang				compatible = "sprd,ums512-aon-gate";
3162b488183SChunyan Zhang				reg = <0x0 0x3000>;
3172b488183SChunyan Zhang				clocks = <&ext_26m>;
3182b488183SChunyan Zhang				clock-names = "ext-26m";
3192b488183SChunyan Zhang				#clock-cells = <1>;
3202b488183SChunyan Zhang			};
3212b488183SChunyan Zhang		};
3222b488183SChunyan Zhang
3232b488183SChunyan Zhang		pmu_apb_regs: syscon@327e0000 {
3242b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3252b488183SChunyan Zhang				     "simple-mfd";
3262b488183SChunyan Zhang			reg = <0 0x327e0000 0 0x3000>;
3272b488183SChunyan Zhang			#address-cells = <1>;
3282b488183SChunyan Zhang			#size-cells = <1>;
3292b488183SChunyan Zhang			ranges = <0 0 0x327e0000 0x3000>;
3302b488183SChunyan Zhang
3312b488183SChunyan Zhang			pmu_gate: clock-controller@0 {
3322b488183SChunyan Zhang				compatible = "sprd,ums512-pmu-gate";
3332b488183SChunyan Zhang				reg = <0x0 0x3000>;
3342b488183SChunyan Zhang				clocks = <&ext_26m>;
3352b488183SChunyan Zhang				clock-names = "ext-26m";
3362b488183SChunyan Zhang				#clock-cells = <1>;
3372b488183SChunyan Zhang			};
3382b488183SChunyan Zhang		};
3392b488183SChunyan Zhang
3402b488183SChunyan Zhang		audcp_apb_regs: syscon@3350d000 {
3412b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3422b488183SChunyan Zhang				     "simple-mfd";
3432b488183SChunyan Zhang			reg = <0 0x3350d000 0 0x1000>;
3442b488183SChunyan Zhang			#address-cells = <1>;
3452b488183SChunyan Zhang			#size-cells = <1>;
3462b488183SChunyan Zhang			ranges = <0 0 0x3350d000 0x1000>;
3472b488183SChunyan Zhang
3482b488183SChunyan Zhang			audcpapb_gate: clock-controller@0 {
3492b488183SChunyan Zhang				compatible = "sprd,ums512-audcpapb-gate";
3502b488183SChunyan Zhang				reg = <0x0 0x300>;
3512b488183SChunyan Zhang				#clock-cells = <1>;
3522b488183SChunyan Zhang			};
3532b488183SChunyan Zhang		};
3542b488183SChunyan Zhang
3552b488183SChunyan Zhang		audcp_ahb_regs: syscon@335e0000 {
3562b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3572b488183SChunyan Zhang				     "simple-mfd";
3582b488183SChunyan Zhang			reg = <0 0x335e0000 0 0x1000>;
3592b488183SChunyan Zhang			#address-cells = <1>;
3602b488183SChunyan Zhang			#size-cells = <1>;
3612b488183SChunyan Zhang			ranges = <0 0 0x335e0000 0x1000>;
3622b488183SChunyan Zhang
3632b488183SChunyan Zhang			audcpahb_gate: clock-controller@0 {
3642b488183SChunyan Zhang				compatible = "sprd,ums512-audcpahb-gate";
3652b488183SChunyan Zhang				reg = <0x0 0x300>;
3662b488183SChunyan Zhang				#clock-cells = <1>;
3672b488183SChunyan Zhang			};
3682b488183SChunyan Zhang		};
3692b488183SChunyan Zhang
3702b488183SChunyan Zhang		gpu_apb_regs: syscon@60100000 {
3712b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3722b488183SChunyan Zhang				     "simple-mfd";
3732b488183SChunyan Zhang			reg = <0 0x60100000 0 0x3000>;
3742b488183SChunyan Zhang			#address-cells = <1>;
3752b488183SChunyan Zhang			#size-cells = <1>;
3762b488183SChunyan Zhang			ranges = <0 0 0x60100000 0x3000>;
3772b488183SChunyan Zhang
3782b488183SChunyan Zhang			gpu_clk: clock-controller@0 {
3792b488183SChunyan Zhang				compatible = "sprd,ums512-gpu-clk";
3802b488183SChunyan Zhang				clocks = <&ext_26m>;
3812b488183SChunyan Zhang				clock-names = "ext-26m";
3822b488183SChunyan Zhang				reg = <0x0 0x100>;
3832b488183SChunyan Zhang				#clock-cells = <1>;
3842b488183SChunyan Zhang			};
3852b488183SChunyan Zhang		};
3862b488183SChunyan Zhang
3872b488183SChunyan Zhang		gpu_dvfs_apb_regs: syscon@60110000 {
3882b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3892b488183SChunyan Zhang				     "simple-mfd";
3902b488183SChunyan Zhang			reg = <0 0x60110000 0 0x3000>;
3912b488183SChunyan Zhang		};
3922b488183SChunyan Zhang
3932b488183SChunyan Zhang		mm_ahb_regs: syscon@62200000 {
3942b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
3952b488183SChunyan Zhang				     "simple-mfd";
3962b488183SChunyan Zhang			reg = <0 0x62200000 0 0x3000>;
3972b488183SChunyan Zhang			#address-cells = <1>;
3982b488183SChunyan Zhang			#size-cells = <1>;
3992b488183SChunyan Zhang			ranges = <0 0 0x62200000 0x3000>;
4002b488183SChunyan Zhang
4012b488183SChunyan Zhang			mm_gate: clock-controller@0 {
4022b488183SChunyan Zhang				compatible = "sprd,ums512-mm-gate-clk";
4032b488183SChunyan Zhang				reg = <0x0 0x3000>;
4042b488183SChunyan Zhang				#clock-cells = <1>;
4052b488183SChunyan Zhang			};
4062b488183SChunyan Zhang		};
4072b488183SChunyan Zhang
4082b488183SChunyan Zhang		ap_apb_regs: syscon@71000000 {
4092b488183SChunyan Zhang			compatible = "sprd,ums512-glbregs", "syscon",
4102b488183SChunyan Zhang				     "simple-mfd";
4112b488183SChunyan Zhang			reg = <0 0x71000000 0 0x3000>;
4122b488183SChunyan Zhang			#address-cells = <1>;
4132b488183SChunyan Zhang			#size-cells = <1>;
4142b488183SChunyan Zhang			ranges = <0 0 0x71000000 0x3000>;
4152b488183SChunyan Zhang
4162b488183SChunyan Zhang			apapb_gate: clock-controller@0 {
4172b488183SChunyan Zhang				compatible = "sprd,ums512-apapb-gate";
4182b488183SChunyan Zhang				reg = <0x0 0x3000>;
4192b488183SChunyan Zhang				#clock-cells = <1>;
4202b488183SChunyan Zhang			};
4212b488183SChunyan Zhang		};
4222b488183SChunyan Zhang
4232b488183SChunyan Zhang		ap_clk: clock-controller@20200000 {
4242b488183SChunyan Zhang			compatible = "sprd,ums512-ap-clk";
4252b488183SChunyan Zhang			reg = <0 0x20200000 0 0x1000>;
4262b488183SChunyan Zhang			clocks = <&ext_26m>;
4272b488183SChunyan Zhang			clock-names = "ext-26m";
4282b488183SChunyan Zhang			#clock-cells = <1>;
4292b488183SChunyan Zhang		};
4302b488183SChunyan Zhang
4312b488183SChunyan Zhang		aon_clk: clock-controller@32080000 {
4322b488183SChunyan Zhang			compatible = "sprd,ums512-aonapb-clk";
4332b488183SChunyan Zhang			reg = <0 0x32080000 0 0x1000>;
4342b488183SChunyan Zhang			clocks = <&ext_26m>, <&ext_32k>,
4352b488183SChunyan Zhang				 <&ext_4m>, <&rco_100m>;
4362b488183SChunyan Zhang			clock-names = "ext-26m", "ext-32k",
4372b488183SChunyan Zhang				      "ext-4m", "rco-100m";
4382b488183SChunyan Zhang			#clock-cells = <1>;
4392b488183SChunyan Zhang		};
4402b488183SChunyan Zhang
4412b488183SChunyan Zhang		mm_clk: clock-controller@62100000 {
4422b488183SChunyan Zhang			compatible = "sprd,ums512-mm-clk";
4432b488183SChunyan Zhang			reg = <0 0x62100000 0 0x1000>;
4442b488183SChunyan Zhang			clocks = <&ext_26m>;
4452b488183SChunyan Zhang			clock-names = "ext-26m";
4462b488183SChunyan Zhang			#clock-cells = <1>;
4472b488183SChunyan Zhang		};
4482b488183SChunyan Zhang
4492b488183SChunyan Zhang		/* SoC Funnel */
4502b488183SChunyan Zhang		funnel@3c002000 {
4512b488183SChunyan Zhang			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
4522b488183SChunyan Zhang			reg = <0 0x3c002000 0 0x1000>;
4532b488183SChunyan Zhang			clocks = <&ext_26m>;
4542b488183SChunyan Zhang			clock-names = "apb_pclk";
4552b488183SChunyan Zhang
4562b488183SChunyan Zhang			out-ports {
4572b488183SChunyan Zhang				port {
4582b488183SChunyan Zhang					funnel_soc_out_port: endpoint {
4592b488183SChunyan Zhang						remote-endpoint = <&etb_in>;
4602b488183SChunyan Zhang					};
4612b488183SChunyan Zhang				};
4622b488183SChunyan Zhang			};
4632b488183SChunyan Zhang
4642b488183SChunyan Zhang			in-ports {
4652b488183SChunyan Zhang				#address-cells = <1>;
4662b488183SChunyan Zhang				#size-cells = <0>;
4672b488183SChunyan Zhang
4682b488183SChunyan Zhang				port@1 {
4692b488183SChunyan Zhang					reg = <1>;
4702b488183SChunyan Zhang					funnel_soc_in_port: endpoint {
4712b488183SChunyan Zhang						remote-endpoint =
4722b488183SChunyan Zhang						<&funnel_corinth_out_port>;
4732b488183SChunyan Zhang					};
4742b488183SChunyan Zhang				};
4752b488183SChunyan Zhang			};
4762b488183SChunyan Zhang		};
4772b488183SChunyan Zhang
4782b488183SChunyan Zhang		/* SoC ETF */
4792b488183SChunyan Zhang		soc_etb: etb@3c003000 {
4802b488183SChunyan Zhang			compatible = "arm,coresight-tmc", "arm,primecell";
4812b488183SChunyan Zhang			reg = <0 0x3c003000 0 0x1000>;
4822b488183SChunyan Zhang			clocks = <&ext_26m>;
4832b488183SChunyan Zhang			clock-names = "apb_pclk";
4842b488183SChunyan Zhang
4852b488183SChunyan Zhang			in-ports {
4862b488183SChunyan Zhang				port {
4872b488183SChunyan Zhang					etb_in: endpoint {
4882b488183SChunyan Zhang						remote-endpoint =
4892b488183SChunyan Zhang						<&funnel_soc_out_port>;
4902b488183SChunyan Zhang					};
4912b488183SChunyan Zhang				};
4922b488183SChunyan Zhang			};
4932b488183SChunyan Zhang		};
4942b488183SChunyan Zhang
4952b488183SChunyan Zhang		/* AP-CPU Funnel for core3/4/5/7 */
4962b488183SChunyan Zhang		funnel@3e001000 {
4972b488183SChunyan Zhang			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
4982b488183SChunyan Zhang			reg = <0 0x3e001000 0 0x1000>;
4992b488183SChunyan Zhang			clocks = <&ext_26m>;
5002b488183SChunyan Zhang			clock-names = "apb_pclk";
5012b488183SChunyan Zhang
5022b488183SChunyan Zhang			out-ports {
5032b488183SChunyan Zhang				port {
5042b488183SChunyan Zhang					funnel_corinth_lit_out_port: endpoint {
5052b488183SChunyan Zhang						remote-endpoint =
5062b488183SChunyan Zhang						<&corinth_etf_lit_in>;
5072b488183SChunyan Zhang					};
5082b488183SChunyan Zhang				};
5092b488183SChunyan Zhang			};
5102b488183SChunyan Zhang
5112b488183SChunyan Zhang			in-ports {
5122b488183SChunyan Zhang				#address-cells = <1>;
5132b488183SChunyan Zhang				#size-cells = <0>;
5142b488183SChunyan Zhang
5152b488183SChunyan Zhang				port@0 {
5162b488183SChunyan Zhang					reg = <0>;
5172b488183SChunyan Zhang					funnel_core_in_port3: endpoint {
5182b488183SChunyan Zhang						remote-endpoint = <&etm3_out>;
5192b488183SChunyan Zhang					};
5202b488183SChunyan Zhang				};
5212b488183SChunyan Zhang
5222b488183SChunyan Zhang				port@1 {
5232b488183SChunyan Zhang					reg = <1>;
5242b488183SChunyan Zhang					funnel_core_in_port4: endpoint {
5252b488183SChunyan Zhang						remote-endpoint = <&etm4_out>;
5262b488183SChunyan Zhang					};
5272b488183SChunyan Zhang				};
5282b488183SChunyan Zhang
5292b488183SChunyan Zhang				port@2 {
5302b488183SChunyan Zhang					reg = <2>;
5312b488183SChunyan Zhang					funnel_core_in_port5: endpoint {
5322b488183SChunyan Zhang						remote-endpoint = <&etm5_out>;
5332b488183SChunyan Zhang					};
5342b488183SChunyan Zhang				};
5352b488183SChunyan Zhang
5362b488183SChunyan Zhang				port@3 {
5372b488183SChunyan Zhang					reg = <3>;
5382b488183SChunyan Zhang					funnel_core_in_port7: endpoint {
5392b488183SChunyan Zhang						remote-endpoint = <&etm7_out>;
5402b488183SChunyan Zhang					};
5412b488183SChunyan Zhang				};
5422b488183SChunyan Zhang			};
5432b488183SChunyan Zhang		};
5442b488183SChunyan Zhang
5452b488183SChunyan Zhang		/* AP-CPU ETF for little cores */
5462b488183SChunyan Zhang		etf@3e002000 {
5472b488183SChunyan Zhang			compatible = "arm,coresight-tmc", "arm,primecell";
5482b488183SChunyan Zhang			reg = <0 0x3e002000 0 0x1000>;
5492b488183SChunyan Zhang			clocks = <&ext_26m>;
5502b488183SChunyan Zhang			clock-names = "apb_pclk";
5512b488183SChunyan Zhang
5522b488183SChunyan Zhang			out-ports {
5532b488183SChunyan Zhang				port {
5542b488183SChunyan Zhang					corinth_etf_lit_out: endpoint {
5552b488183SChunyan Zhang						remote-endpoint =
5562b488183SChunyan Zhang						<&funnel_corinth_from_lit_in_port>;
5572b488183SChunyan Zhang					};
5582b488183SChunyan Zhang				};
5592b488183SChunyan Zhang			};
5602b488183SChunyan Zhang
5612b488183SChunyan Zhang			in-ports {
5622b488183SChunyan Zhang				port {
5632b488183SChunyan Zhang					corinth_etf_lit_in: endpoint {
5642b488183SChunyan Zhang						remote-endpoint =
5652b488183SChunyan Zhang						<&funnel_corinth_lit_out_port>;
5662b488183SChunyan Zhang					};
5672b488183SChunyan Zhang				};
5682b488183SChunyan Zhang			};
5692b488183SChunyan Zhang		};
5702b488183SChunyan Zhang
5712b488183SChunyan Zhang		/* AP-CPU ETF for big cores */
5722b488183SChunyan Zhang		etf@3e003000 {
5732b488183SChunyan Zhang			compatible = "arm,coresight-tmc", "arm,primecell";
5742b488183SChunyan Zhang			reg = <0 0x3e003000 0 0x1000>;
5752b488183SChunyan Zhang			clocks = <&ext_26m>;
5762b488183SChunyan Zhang			clock-names = "apb_pclk";
5772b488183SChunyan Zhang
5782b488183SChunyan Zhang			out-ports {
5792b488183SChunyan Zhang				port {
5802b488183SChunyan Zhang					corinth_etf_big_out: endpoint {
5812b488183SChunyan Zhang						remote-endpoint =
5822b488183SChunyan Zhang						<&funnel_corinth_from_big_in_port>;
5832b488183SChunyan Zhang					};
5842b488183SChunyan Zhang				};
5852b488183SChunyan Zhang			};
5862b488183SChunyan Zhang
5872b488183SChunyan Zhang			in-ports {
5882b488183SChunyan Zhang				port {
5892b488183SChunyan Zhang					corinth_etf_big_in: endpoint {
5902b488183SChunyan Zhang						remote-endpoint =
5912b488183SChunyan Zhang						<&funnel_corinth_big_out_port>;
5922b488183SChunyan Zhang					};
5932b488183SChunyan Zhang				};
5942b488183SChunyan Zhang			};
5952b488183SChunyan Zhang		};
5962b488183SChunyan Zhang
5972b488183SChunyan Zhang		/* Funnel to SoC */
5982b488183SChunyan Zhang		funnel@3e004000 {
5992b488183SChunyan Zhang			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
6002b488183SChunyan Zhang			reg = <0 0x3e004000 0 0x1000>;
6012b488183SChunyan Zhang			clocks = <&ext_26m>;
6022b488183SChunyan Zhang			clock-names = "apb_pclk";
6032b488183SChunyan Zhang
6042b488183SChunyan Zhang			out-ports {
6052b488183SChunyan Zhang				port {
6062b488183SChunyan Zhang					funnel_corinth_out_port: endpoint {
6072b488183SChunyan Zhang						remote-endpoint =
6082b488183SChunyan Zhang						<&funnel_soc_in_port>;
6092b488183SChunyan Zhang					};
6102b488183SChunyan Zhang				};
6112b488183SChunyan Zhang			};
6122b488183SChunyan Zhang
6132b488183SChunyan Zhang			in-ports {
6142b488183SChunyan Zhang				#address-cells = <1>;
6152b488183SChunyan Zhang				#size-cells = <0>;
6162b488183SChunyan Zhang
6172b488183SChunyan Zhang				port@0 {
6182b488183SChunyan Zhang					reg = <0>;
6192b488183SChunyan Zhang					funnel_corinth_from_lit_in_port: endpoint {
6202b488183SChunyan Zhang						remote-endpoint = <&corinth_etf_lit_out>;
6212b488183SChunyan Zhang					};
6222b488183SChunyan Zhang				};
6232b488183SChunyan Zhang
6242b488183SChunyan Zhang				port@1 {
6252b488183SChunyan Zhang					reg = <1>;
6262b488183SChunyan Zhang					funnel_corinth_from_big_in_port: endpoint {
6272b488183SChunyan Zhang						remote-endpoint = <&corinth_etf_big_out>;
6282b488183SChunyan Zhang					};
6292b488183SChunyan Zhang				};
6302b488183SChunyan Zhang			};
6312b488183SChunyan Zhang		};
6322b488183SChunyan Zhang
6332b488183SChunyan Zhang		/* AP-CPU Funnel for core0/1/2/6 */
6342b488183SChunyan Zhang		funnel@3e005000 {
6352b488183SChunyan Zhang			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
6362b488183SChunyan Zhang			reg = <0 0x3e005000 0 0x1000>;
6372b488183SChunyan Zhang			clocks = <&ext_26m>;
6382b488183SChunyan Zhang			clock-names = "apb_pclk";
6392b488183SChunyan Zhang
6402b488183SChunyan Zhang			out-ports {
6412b488183SChunyan Zhang				port {
6422b488183SChunyan Zhang					funnel_corinth_big_out_port: endpoint {
6432b488183SChunyan Zhang						remote-endpoint = <&corinth_etf_big_in>;
6442b488183SChunyan Zhang					};
6452b488183SChunyan Zhang				};
6462b488183SChunyan Zhang			};
6472b488183SChunyan Zhang
6482b488183SChunyan Zhang			in-ports {
6492b488183SChunyan Zhang				#address-cells = <1>;
6502b488183SChunyan Zhang				#size-cells = <0>;
6512b488183SChunyan Zhang
6522b488183SChunyan Zhang				port@0 {
6532b488183SChunyan Zhang					reg = <0>;
6542b488183SChunyan Zhang					funnel_core_in_port0: endpoint {
6552b488183SChunyan Zhang						remote-endpoint = <&etm0_out>;
6562b488183SChunyan Zhang					};
6572b488183SChunyan Zhang				};
6582b488183SChunyan Zhang
6592b488183SChunyan Zhang				port@1 {
6602b488183SChunyan Zhang					reg = <1>;
6612b488183SChunyan Zhang					funnel_core_in_port1: endpoint {
6622b488183SChunyan Zhang						remote-endpoint = <&etm1_out>;
6632b488183SChunyan Zhang					};
6642b488183SChunyan Zhang				};
6652b488183SChunyan Zhang
6662b488183SChunyan Zhang				port@2 {
6672b488183SChunyan Zhang					reg = <2>;
6682b488183SChunyan Zhang					funnel_core_in_port2: endpoint {
6692b488183SChunyan Zhang						remote-endpoint = <&etm2_out>;
6702b488183SChunyan Zhang					};
6712b488183SChunyan Zhang				};
6722b488183SChunyan Zhang
6732b488183SChunyan Zhang				port@3 {
6742b488183SChunyan Zhang					reg = <3>;
6752b488183SChunyan Zhang					funnel_core_in_port6: endpoint {
6762b488183SChunyan Zhang						remote-endpoint = <&etm6_out>;
6772b488183SChunyan Zhang					};
6782b488183SChunyan Zhang				};
6792b488183SChunyan Zhang			};
6802b488183SChunyan Zhang		};
6812b488183SChunyan Zhang
6822b488183SChunyan Zhang		etm0: etm@3f040000 {
6832b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
6842b488183SChunyan Zhang			reg = <0 0x3f040000 0 0x1000>;
6852b488183SChunyan Zhang			cpu = <&CPU0>;
6862b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
6872b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
6882b488183SChunyan Zhang
6892b488183SChunyan Zhang			out-ports {
6902b488183SChunyan Zhang				port {
6912b488183SChunyan Zhang					etm0_out: endpoint {
6922b488183SChunyan Zhang						remote-endpoint =
6932b488183SChunyan Zhang						<&funnel_core_in_port0>;
6942b488183SChunyan Zhang					};
6952b488183SChunyan Zhang				};
6962b488183SChunyan Zhang			};
6972b488183SChunyan Zhang		};
6982b488183SChunyan Zhang
6992b488183SChunyan Zhang		etm1: etm@3f140000 {
7002b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
7012b488183SChunyan Zhang			reg = <0 0x3f140000 0 0x1000>;
7022b488183SChunyan Zhang			cpu = <&CPU1>;
7032b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
7042b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
7052b488183SChunyan Zhang
7062b488183SChunyan Zhang			out-ports {
7072b488183SChunyan Zhang				port {
7082b488183SChunyan Zhang					etm1_out: endpoint {
7092b488183SChunyan Zhang						remote-endpoint =
7102b488183SChunyan Zhang						<&funnel_core_in_port1>;
7112b488183SChunyan Zhang					};
7122b488183SChunyan Zhang				};
7132b488183SChunyan Zhang			};
7142b488183SChunyan Zhang		};
7152b488183SChunyan Zhang
7162b488183SChunyan Zhang		etm2: etm@3f240000 {
7172b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
7182b488183SChunyan Zhang			reg = <0 0x3f240000 0 0x1000>;
7192b488183SChunyan Zhang			cpu = <&CPU2>;
7202b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
7212b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
7222b488183SChunyan Zhang
7232b488183SChunyan Zhang			out-ports {
7242b488183SChunyan Zhang				port {
7252b488183SChunyan Zhang					etm2_out: endpoint {
7262b488183SChunyan Zhang						remote-endpoint =
7272b488183SChunyan Zhang						<&funnel_core_in_port2>;
7282b488183SChunyan Zhang					};
7292b488183SChunyan Zhang				};
7302b488183SChunyan Zhang			};
7312b488183SChunyan Zhang		};
7322b488183SChunyan Zhang
7332b488183SChunyan Zhang		etm3: etm@3f340000 {
7342b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
7352b488183SChunyan Zhang			reg = <0 0x3f340000 0 0x1000>;
7362b488183SChunyan Zhang			cpu = <&CPU3>;
7372b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
7382b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
7392b488183SChunyan Zhang
7402b488183SChunyan Zhang			out-ports {
7412b488183SChunyan Zhang				port {
7422b488183SChunyan Zhang					etm3_out: endpoint {
7432b488183SChunyan Zhang						remote-endpoint =
7442b488183SChunyan Zhang						<&funnel_core_in_port3>;
7452b488183SChunyan Zhang					};
7462b488183SChunyan Zhang				};
7472b488183SChunyan Zhang			};
7482b488183SChunyan Zhang		};
7492b488183SChunyan Zhang
7502b488183SChunyan Zhang		etm4: etm@3f440000 {
7512b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
7522b488183SChunyan Zhang			reg = <0 0x3f440000 0 0x1000>;
7532b488183SChunyan Zhang			cpu = <&CPU4>;
7542b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
7552b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
7562b488183SChunyan Zhang
7572b488183SChunyan Zhang			out-ports {
7582b488183SChunyan Zhang				port {
7592b488183SChunyan Zhang					etm4_out: endpoint {
7602b488183SChunyan Zhang						remote-endpoint =
7612b488183SChunyan Zhang						<&funnel_core_in_port4>;
7622b488183SChunyan Zhang					};
7632b488183SChunyan Zhang				};
7642b488183SChunyan Zhang			};
7652b488183SChunyan Zhang		};
7662b488183SChunyan Zhang
7672b488183SChunyan Zhang		etm5: etm@3f540000 {
7682b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
7692b488183SChunyan Zhang			reg = <0 0x3f540000 0 0x1000>;
7702b488183SChunyan Zhang			cpu = <&CPU5>;
7712b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
7722b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
7732b488183SChunyan Zhang
7742b488183SChunyan Zhang			out-ports {
7752b488183SChunyan Zhang				port {
7762b488183SChunyan Zhang					etm5_out: endpoint {
7772b488183SChunyan Zhang						remote-endpoint =
7782b488183SChunyan Zhang						<&funnel_core_in_port5>;
7792b488183SChunyan Zhang					};
7802b488183SChunyan Zhang				};
7812b488183SChunyan Zhang			};
7822b488183SChunyan Zhang		};
7832b488183SChunyan Zhang
7842b488183SChunyan Zhang		etm6: etm@3f640000 {
7852b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
7862b488183SChunyan Zhang			reg = <0 0x3f640000 0 0x1000>;
7872b488183SChunyan Zhang			cpu = <&CPU6>;
7882b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
7892b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
7902b488183SChunyan Zhang
7912b488183SChunyan Zhang			out-ports {
7922b488183SChunyan Zhang				port {
7932b488183SChunyan Zhang					etm6_out: endpoint {
7942b488183SChunyan Zhang						remote-endpoint =
7952b488183SChunyan Zhang						<&funnel_core_in_port6>;
7962b488183SChunyan Zhang					};
7972b488183SChunyan Zhang				};
7982b488183SChunyan Zhang			};
7992b488183SChunyan Zhang		};
8002b488183SChunyan Zhang
8012b488183SChunyan Zhang		etm7: etm@3f740000 {
8022b488183SChunyan Zhang			compatible = "arm,coresight-etm4x", "arm,primecell";
8032b488183SChunyan Zhang			reg = <0 0x3f740000 0 0x1000>;
8042b488183SChunyan Zhang			cpu = <&CPU7>;
8052b488183SChunyan Zhang			clocks = <&ext_26m>, <&aon_clk CLK_CSSYS>, <&pll2 CLK_TWPLL_512M>;
8062b488183SChunyan Zhang			clock-names = "apb_pclk", "clk_cs", "cs_src";
8072b488183SChunyan Zhang
8082b488183SChunyan Zhang			out-ports {
8092b488183SChunyan Zhang				port {
8102b488183SChunyan Zhang					etm7_out: endpoint {
8112b488183SChunyan Zhang						remote-endpoint =
8122b488183SChunyan Zhang						<&funnel_core_in_port7>;
8132b488183SChunyan Zhang					};
8142b488183SChunyan Zhang				};
8152b488183SChunyan Zhang			};
8162b488183SChunyan Zhang		};
8172b488183SChunyan Zhang
8182b488183SChunyan Zhang		apb@70000000 {
8192b488183SChunyan Zhang			compatible = "simple-bus";
8202b488183SChunyan Zhang			#address-cells = <1>;
8212b488183SChunyan Zhang			#size-cells = <1>;
8222b488183SChunyan Zhang			ranges = <0 0x0 0x70000000 0x10000000>;
8232b488183SChunyan Zhang
8242b488183SChunyan Zhang			uart0: serial@0 {
8252b488183SChunyan Zhang				compatible = "sprd,ums512-uart",
8262b488183SChunyan Zhang					     "sprd,sc9836-uart";
8272b488183SChunyan Zhang				reg = <0x0 0x100>;
8282b488183SChunyan Zhang				interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
8292b488183SChunyan Zhang				clocks = <&ext_26m>;
8302b488183SChunyan Zhang				status = "disabled";
8312b488183SChunyan Zhang			};
8322b488183SChunyan Zhang
8332b488183SChunyan Zhang			uart1: serial@100000 {
8342b488183SChunyan Zhang				compatible = "sprd,ums512-uart",
8352b488183SChunyan Zhang					     "sprd,sc9836-uart";
8362b488183SChunyan Zhang				reg = <0x100000 0x100>;
8372b488183SChunyan Zhang				interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
8382b488183SChunyan Zhang				clocks = <&ext_26m>;
8392b488183SChunyan Zhang				status = "disabled";
8402b488183SChunyan Zhang			};
8412b488183SChunyan Zhang
8422b488183SChunyan Zhang			sdio0: mmc@1100000 {
8432b488183SChunyan Zhang				compatible = "sprd,sdhci-r11";
8442b488183SChunyan Zhang				reg = <0x1100000 0x1000>;
8452b488183SChunyan Zhang				interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
8462b488183SChunyan Zhang				clock-names = "sdio", "enable";
8472b488183SChunyan Zhang				clocks = <&ap_clk CLK_SDIO0_2X>,
8482b488183SChunyan Zhang					 <&apapb_gate CLK_SDIO0_EB>;
8492b488183SChunyan Zhang				assigned-clocks = <&ap_clk CLK_SDIO0_2X>;
8502b488183SChunyan Zhang				assigned-clock-parents = <&pll1 CLK_RPLL>;
8512b488183SChunyan Zhang				status = "disabled";
8522b488183SChunyan Zhang			};
8532b488183SChunyan Zhang
8542b488183SChunyan Zhang			sdio3: mmc@1400000 {
8552b488183SChunyan Zhang				compatible = "sprd,sdhci-r11";
8562b488183SChunyan Zhang				reg = <0x1400000 0x1000>;
8572b488183SChunyan Zhang				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
8582b488183SChunyan Zhang				clock-names = "sdio", "enable";
8592b488183SChunyan Zhang				clocks = <&ap_clk CLK_EMMC_2X>,
8602b488183SChunyan Zhang					 <&apapb_gate CLK_EMMC_EB>;
8612b488183SChunyan Zhang				assigned-clocks = <&ap_clk CLK_EMMC_2X>;
8622b488183SChunyan Zhang				assigned-clock-parents = <&pll1 CLK_RPLL>;
8632b488183SChunyan Zhang				status = "disabled";
8642b488183SChunyan Zhang			};
8652b488183SChunyan Zhang		};
8662b488183SChunyan Zhang
8672b488183SChunyan Zhang		aon: bus@32000000 {
8682b488183SChunyan Zhang			compatible = "simple-bus";
8692b488183SChunyan Zhang			#address-cells = <1>;
8702b488183SChunyan Zhang			#size-cells = <1>;
8712b488183SChunyan Zhang			ranges = <0 0x0 0x32000000 0x1000000>;
8722b488183SChunyan Zhang
8732b488183SChunyan Zhang			adi_bus: spi@100000 {
8742b488183SChunyan Zhang				compatible = "sprd,ums512-adi";
8752b488183SChunyan Zhang				reg = <0x100000 0x100000>;
8762b488183SChunyan Zhang				#address-cells = <1>;
8772b488183SChunyan Zhang				#size-cells = <0>;
8782b488183SChunyan Zhang				sprd,hw-channels = <2 0x18cc>, <3 0x18cc>, <13 0x1854>, <15 0x1874>,
8792b488183SChunyan Zhang					<17 0x1844>,<19 0x1844>, <21 0x1864>, <30 0x1820>,
8802b488183SChunyan Zhang					<35 0x19b8>, <39 0x19ac>;
8812b488183SChunyan Zhang			};
8822b488183SChunyan Zhang		};
8832b488183SChunyan Zhang	};
8842b488183SChunyan Zhang
8852b488183SChunyan Zhang	ext_26m: clk-26m {
8862b488183SChunyan Zhang		compatible = "fixed-clock";
8872b488183SChunyan Zhang		#clock-cells = <0>;
8882b488183SChunyan Zhang		clock-frequency = <26000000>;
8892b488183SChunyan Zhang		clock-output-names = "ext-26m";
8902b488183SChunyan Zhang	};
8912b488183SChunyan Zhang
8922b488183SChunyan Zhang	ext_32k: clk-32k {
8932b488183SChunyan Zhang		compatible = "fixed-clock";
8942b488183SChunyan Zhang		#clock-cells = <0>;
8952b488183SChunyan Zhang		clock-frequency = <32768>;
8962b488183SChunyan Zhang		clock-output-names = "ext-32k";
8972b488183SChunyan Zhang	};
8982b488183SChunyan Zhang
8992b488183SChunyan Zhang	ext_4m: clk-4m {
9002b488183SChunyan Zhang		compatible = "fixed-clock";
9012b488183SChunyan Zhang		#clock-cells = <0>;
9022b488183SChunyan Zhang		clock-frequency = <4000000>;
9032b488183SChunyan Zhang		clock-output-names = "ext-4m";
9042b488183SChunyan Zhang	};
9052b488183SChunyan Zhang
9062b488183SChunyan Zhang	rco_100m: clk-100m {
9072b488183SChunyan Zhang		compatible = "fixed-clock";
9082b488183SChunyan Zhang		#clock-cells = <0>;
9092b488183SChunyan Zhang		clock-frequency = <100000000>;
9102b488183SChunyan Zhang		clock-output-names = "rco-100m";
9112b488183SChunyan Zhang	};
9122b488183SChunyan Zhang};
913