Skip to content

Commit a439f8f

Browse files
committed
Merge tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM 64-bit DT updates from Arnd Bergmann: "The 64-bit DT changes are surprisingly small this time, we only add two SoC platforms: the ZTE ZX296718 Set-top-box SoC and the SocioNext UniPhier LD11 TV SoC, each with their reference boards. There are three new machines added for existing SoC platforms: - The Marvell Armada 8040 development board is an impressive quad-core Cortex-A72 machine with three 10gbit ethernet interfaces - Qualcomms DragonBoard 820c single-board computer is their current high-end phone platform in the 96boards form factor - Rockchip: Tronsmart Orion r86 set-top-box is a popular mid-range Android box based on the 8-core rk3368 SoC" * tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (91 commits) arm64: dts: berlin4ct: Add L2 cache topology arm64: dts: berlin4ct: enable all wdt nodes unconditionally arm64: dts: berlin4ct: switch to Cortex-A53 specific pmu nodes arm64: dts: Add ZTE ZX296718 SoC dts and Makefile arm64: dts: apm: Add DT node for APM X-Gene 2 CPU clocks arm64: dts: apm: Add X-Gene SoC hwmon to device tree arm64: dts: apm: Fix interrupt polarity for X-Gene PCIe legacy interrupts arm64: dts: apm: Add APM X-Gene v2 SoC PMU DTS entries arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries arm64: dts: marvell: enable MSI for PCIe on Armada 7K/8K arm64: dts: ls2080a: Add 'dma-coherent' for ls2080a PCI nodes arm64: dts: rockchip: add Type-C phy for RK3399 arm64: dts: rockchip: enable the gmac for rk3399 evb board arm64: dts: rockchip: add the gmac needed node for rk3399 arm64: dts: rockchip: support the pmu node for rk3399 arm64: dts: rockchip: change all interrupts cells to 4 on rk3399 SoCs arm64: dts: rockchip: add the tcpc for rk3399 power domain arm64: dts: rockchip: add efuse0 device node for rk3399 arm64: dts: rockchip: configure PCIe support for rk3399-evb arm64: dts: rockchip: add the PCIe controller support for RK3399 ...
2 parents 00e729c + c1fd279 commit a439f8f

57 files changed

Lines changed: 4239 additions & 371 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt‎

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -175,38 +175,55 @@ Example:
175175
};
176176

177177
-----------------------------------------------------------------------
178-
Hisilicon HiP05 PCIe-SAS system controller
178+
Hisilicon HiP05/HiP06 PCIe-SAS sub system controller
179179

180180
Required properties:
181181
- compatible : "hisilicon,pcie-sas-subctrl", "syscon";
182182
- reg : Register address and size
183183

184-
The HiP05 PCIe-SAS system controller is shared by PCIe and SAS controllers in
185-
HiP05 Soc to implement some basic configurations.
184+
The PCIe-SAS sub system controller is shared by PCIe and SAS controllers in
185+
HiP05 or HiP06 Soc to implement some basic configurations.
186186

187187
Example:
188-
/* for HiP05 PCIe-SAS system */
189-
pcie_sas: system_controller@0xb0000000 {
188+
/* for HiP05 PCIe-SAS sub system */
189+
pcie_sas: system_controller@b0000000 {
190190
compatible = "hisilicon,pcie-sas-subctrl", "syscon";
191191
reg = <0xb0000000 0x10000>;
192192
};
193193

194-
Hisilicon HiP05 PERISUB system controller
194+
Hisilicon HiP05/HiP06 PERI sub system controller
195195

196196
Required properties:
197-
- compatible : "hisilicon,hip05-perisubc", "syscon";
197+
- compatible : "hisilicon,peri-subctrl", "syscon";
198198
- reg : Register address and size
199199

200-
The HiP05 PERISUB system controller is shared by peripheral controllers in
201-
HiP05 Soc to implement some basic configurations. The peripheral
200+
The PERI sub system controller is shared by peripheral controllers in
201+
HiP05 or HiP06 Soc to implement some basic configurations. The peripheral
202202
controllers include mdio, ddr, iic, uart, timer and so on.
203203

204204
Example:
205-
/* for HiP05 perisub-ctrl-c system */
205+
/* for HiP05 sub peri system */
206206
peri_c_subctrl: syscon@80000000 {
207-
compatible = "hisilicon,hip05-perisubc", "syscon";
207+
compatible = "hisilicon,peri-subctrl", "syscon";
208208
reg = <0x0 0x80000000 0x0 0x10000>;
209209
};
210+
211+
Hisilicon HiP05/HiP06 DSA sub system controller
212+
213+
Required properties:
214+
- compatible : "hisilicon,dsa-subctrl", "syscon";
215+
- reg : Register address and size
216+
217+
The DSA sub system controller is shared by peripheral controllers in
218+
HiP05 or HiP06 Soc to implement some basic configurations.
219+
220+
Example:
221+
/* for HiP05 dsa sub system */
222+
pcie_sas: system_controller@a0000000 {
223+
compatible = "hisilicon,dsa-subctrl", "syscon";
224+
reg = <0xa0000000 0x10000>;
225+
};
226+
210227
-----------------------------------------------------------------------
211228
Hisilicon CPU controller
212229

‎Documentation/devicetree/bindings/arm/rockchip.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,7 @@ Rockchip platforms device tree bindings
121121
- Rockchip RK3399 evb:
122122
Required root node properties:
123123
- compatible = "rockchip,rk3399-evb", "rockchip,rk3399";
124+
125+
- Tronsmart Orion R68 Meta
126+
Required root node properties:
127+
- compatible = "tronsmart,orion-r68-meta", "rockchip,rk3368";

‎Documentation/devicetree/bindings/arm/zte.txt‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,27 @@ Low power management required properties:
1313

1414
Bus matrix required properties:
1515
- compatible = "zte,zx-bus-matrix"
16+
17+
18+
---------------------------------------
19+
- ZX296718 SoC:
20+
Required root node properties:
21+
- compatible = "zte,zx296718"
22+
23+
ZX296718 EVB board:
24+
- "zte,zx296718-evb"
25+
26+
System management required properties:
27+
- compatible = "zte,zx296718-aon-sysctrl"
28+
- compatible = "zte,zx296718-sysctrl"
29+
30+
Example:
31+
aon_sysctrl: aon-sysctrl@116000 {
32+
compatible = "zte,zx296718-aon-sysctrl", "syscon";
33+
reg = <0x116000 0x1000>;
34+
};
35+
36+
sysctrl: sysctrl@1463000 {
37+
compatible = "zte,zx296718-sysctrl", "syscon";
38+
reg = <0x1463000 0x1000>;
39+
};

‎arch/arm64/Kconfig.platforms‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ config ARCH_TEGRA
172172
select GENERIC_CLOCKEVENTS
173173
select GPIOLIB
174174
select PINCTRL
175+
select PM
176+
select PM_GENERIC_DOMAINS
175177
select RESET_CONTROLLER
176178
help
177179
This enables support for the NVIDIA Tegra SoC family.

‎arch/arm64/boot/dts/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ dts-dirs += socionext
1919
dts-dirs += sprd
2020
dts-dirs += xilinx
2121
dts-dirs += lg
22+
dts-dirs += zte
2223

2324
subdir-y := $(dts-dirs)
2425

‎arch/arm64/boot/dts/apm/apm-shadowcat.dtsi‎

Lines changed: 127 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
enable-method = "spin-table";
2727
cpu-release-addr = <0x1 0x0000fff8>;
2828
next-level-cache = <&xgene_L2_0>;
29+
#clock-cells = <1>;
30+
clocks = <&pmd0clk 0>;
2931
};
3032
cpu@001 {
3133
device_type = "cpu";
@@ -34,6 +36,8 @@
3436
enable-method = "spin-table";
3537
cpu-release-addr = <0x1 0x0000fff8>;
3638
next-level-cache = <&xgene_L2_0>;
39+
#clock-cells = <1>;
40+
clocks = <&pmd0clk 0>;
3741
};
3842
cpu@100 {
3943
device_type = "cpu";
@@ -42,6 +46,8 @@
4246
enable-method = "spin-table";
4347
cpu-release-addr = <0x1 0x0000fff8>;
4448
next-level-cache = <&xgene_L2_1>;
49+
#clock-cells = <1>;
50+
clocks = <&pmd1clk 0>;
4551
};
4652
cpu@101 {
4753
device_type = "cpu";
@@ -50,6 +56,8 @@
5056
enable-method = "spin-table";
5157
cpu-release-addr = <0x1 0x0000fff8>;
5258
next-level-cache = <&xgene_L2_1>;
59+
#clock-cells = <1>;
60+
clocks = <&pmd1clk 0>;
5361
};
5462
cpu@200 {
5563
device_type = "cpu";
@@ -58,6 +66,8 @@
5866
enable-method = "spin-table";
5967
cpu-release-addr = <0x1 0x0000fff8>;
6068
next-level-cache = <&xgene_L2_2>;
69+
#clock-cells = <1>;
70+
clocks = <&pmd2clk 0>;
6171
};
6272
cpu@201 {
6373
device_type = "cpu";
@@ -66,6 +76,8 @@
6676
enable-method = "spin-table";
6777
cpu-release-addr = <0x1 0x0000fff8>;
6878
next-level-cache = <&xgene_L2_2>;
79+
#clock-cells = <1>;
80+
clocks = <&pmd2clk 0>;
6981
};
7082
cpu@300 {
7183
device_type = "cpu";
@@ -74,6 +86,8 @@
7486
enable-method = "spin-table";
7587
cpu-release-addr = <0x1 0x0000fff8>;
7688
next-level-cache = <&xgene_L2_3>;
89+
#clock-cells = <1>;
90+
clocks = <&pmd3clk 0>;
7791
};
7892
cpu@301 {
7993
device_type = "cpu";
@@ -82,6 +96,8 @@
8296
enable-method = "spin-table";
8397
cpu-release-addr = <0x1 0x0000fff8>;
8498
next-level-cache = <&xgene_L2_3>;
99+
#clock-cells = <1>;
100+
clocks = <&pmd3clk 0>;
85101
};
86102
xgene_L2_0: l2-cache-0 {
87103
compatible = "cache";
@@ -223,6 +239,46 @@
223239
clock-output-names = "refclk";
224240
};
225241

242+
pmdpll: pmdpll@170000f0 {
243+
compatible = "apm,xgene-pcppll-v2-clock";
244+
#clock-cells = <1>;
245+
clocks = <&refclk 0>;
246+
reg = <0x0 0x170000f0 0x0 0x10>;
247+
clock-output-names = "pmdpll";
248+
};
249+
250+
pmd0clk: pmd0clk@7e200200 {
251+
compatible = "apm,xgene-pmd-clock";
252+
#clock-cells = <1>;
253+
clocks = <&pmdpll 0>;
254+
reg = <0x0 0x7e200200 0x0 0x10>;
255+
clock-output-names = "pmd0clk";
256+
};
257+
258+
pmd1clk: pmd1clk@7e200210 {
259+
compatible = "apm,xgene-pmd-clock";
260+
#clock-cells = <1>;
261+
clocks = <&pmdpll 0>;
262+
reg = <0x0 0x7e200210 0x0 0x10>;
263+
clock-output-names = "pmd1clk";
264+
};
265+
266+
pmd2clk: pmd2clk@7e200220 {
267+
compatible = "apm,xgene-pmd-clock";
268+
#clock-cells = <1>;
269+
clocks = <&pmdpll 0>;
270+
reg = <0x0 0x7e200220 0x0 0x10>;
271+
clock-output-names = "pmd2clk";
272+
};
273+
274+
pmd3clk: pmd3clk@7e200230 {
275+
compatible = "apm,xgene-pmd-clock";
276+
#clock-cells = <1>;
277+
clocks = <&pmdpll 0>;
278+
reg = <0x0 0x7e200230 0x0 0x10>;
279+
clock-output-names = "pmd3clk";
280+
};
281+
226282
socpll: socpll@17000120 {
227283
compatible = "apm,xgene-socpll-v2-clock";
228284
#clock-cells = <1>;
@@ -453,6 +509,64 @@
453509
};
454510
};
455511

512+
pmu: pmu@78810000 {
513+
compatible = "apm,xgene-pmu-v2";
514+
#address-cells = <2>;
515+
#size-cells = <2>;
516+
ranges;
517+
regmap-csw = <&csw>;
518+
regmap-mcba = <&mcba>;
519+
regmap-mcbb = <&mcbb>;
520+
reg = <0x0 0x78810000 0x0 0x1000>;
521+
interrupts = <0x0 0x22 0x4>;
522+
523+
pmul3c@7e610000 {
524+
compatible = "apm,xgene-pmu-l3c";
525+
reg = <0x0 0x7e610000 0x0 0x1000>;
526+
};
527+
528+
pmuiob@7e940000 {
529+
compatible = "apm,xgene-pmu-iob";
530+
reg = <0x0 0x7e940000 0x0 0x1000>;
531+
};
532+
533+
pmucmcb@7e710000 {
534+
compatible = "apm,xgene-pmu-mcb";
535+
reg = <0x0 0x7e710000 0x0 0x1000>;
536+
enable-bit-index = <0>;
537+
};
538+
539+
pmucmcb@7e730000 {
540+
compatible = "apm,xgene-pmu-mcb";
541+
reg = <0x0 0x7e730000 0x0 0x1000>;
542+
enable-bit-index = <1>;
543+
};
544+
545+
pmucmc@7e810000 {
546+
compatible = "apm,xgene-pmu-mc";
547+
reg = <0x0 0x7e810000 0x0 0x1000>;
548+
enable-bit-index = <0>;
549+
};
550+
551+
pmucmc@7e850000 {
552+
compatible = "apm,xgene-pmu-mc";
553+
reg = <0x0 0x7e850000 0x0 0x1000>;
554+
enable-bit-index = <1>;
555+
};
556+
557+
pmucmc@7e890000 {
558+
compatible = "apm,xgene-pmu-mc";
559+
reg = <0x0 0x7e890000 0x0 0x1000>;
560+
enable-bit-index = <2>;
561+
};
562+
563+
pmucmc@7e8d0000 {
564+
compatible = "apm,xgene-pmu-mc";
565+
reg = <0x0 0x7e8d0000 0x0 0x1000>;
566+
enable-bit-index = <3>;
567+
};
568+
};
569+
456570
mailbox: mailbox@10540000 {
457571
compatible = "apm,xgene-slimpro-mbox";
458572
reg = <0x0 0x10540000 0x0 0x8000>;
@@ -472,6 +586,11 @@
472586
mboxes = <&mailbox 0>;
473587
};
474588

589+
hwmonslimpro {
590+
compatible = "apm,xgene-slimpro-hwmon";
591+
mboxes = <&mailbox 7>;
592+
};
593+
475594
serial0: serial@10600000 {
476595
device_type = "serial";
477596
compatible = "ns16550";
@@ -508,10 +627,10 @@
508627
dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
509628
0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
510629
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
511-
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x1
512-
0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x1
513-
0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x1
514-
0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x1>;
630+
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x10 0x4
631+
0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x11 0x4
632+
0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x12 0x4
633+
0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x13 0x4>;
515634
dma-coherent;
516635
clocks = <&pcie0clk 0>;
517636
msi-parent = <&v2m0>;
@@ -533,10 +652,10 @@
533652
dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
534653
0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
535654
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
536-
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x1
537-
0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x1
538-
0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x1
539-
0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x1>;
655+
interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x16 0x4
656+
0x0 0x0 0x0 0x2 &gic 0x0 0x0 0x0 0x17 0x4
657+
0x0 0x0 0x0 0x3 &gic 0x0 0x0 0x0 0x18 0x4
658+
0x0 0x0 0x0 0x4 &gic 0x0 0x0 0x0 0x19 0x4>;
540659
dma-coherent;
541660
clocks = <&pcie1clk 0>;
542661
msi-parent = <&v2m0>;

0 commit comments

Comments
 (0)