Skip to content

Commit 8d01b66

Browse files
committed
Merge tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC 64-bit changes from Olof Johansson: "Here's our branch of ARM64 contents for this merge window. Most of this is DT contents for new SoCs (or those who have seen new device support added). Maybe we should stop separating out the arm64 contents here to avoid the kind of internal conflicts as we got this time around, where 32- and 64-bit contents conflicted. Anyhow, on the actual contents: New SoCs: - Broadcom North Star 2 (ns2) - Marvell Berlin4CT - Mediatek MT6795 - Rockchip RK3368 In addition, there are enhancements for the following platforms: - Mediatek MT8173: cpuidle-dt updates, misc other additions - ZyncMP: A bunch of devices added to the existing DTSI - Qualcomm MSM8916 and APQ8016 updates for USB, etc. + a handful of other updates for various platforms" * tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (47 commits) ARM64: dts: vexpress: Use assigned-clock-parents for sp810 ARM64: dts: mt6795: enable basic SMP bringup for MT6795 arm64: Enable Marvell Berlin SoC family in defconfig arm64: Enable Marvell Berlin SoC family in Kconfig arm64: dts: Add dts files for Marvell Berlin4CT SoC ARM64: zynqmp: Move SPI nodes to the right location ARM64: zynqmp: Move uart and ttcs to the right location ARM64: zynqmp: Enable spi flashes on ep108 ARM64: zynqmp: Add eeprom memories on i2c bus ARM64: zynqmp: Enable sdhci on ep108 ARM64: zynqmp: Enable watchdog on ep108 ARM64: zynqmp: Add DWC3 usb support ARM64: zynqmp: Add SMMU support ARM64: zynqmp: Add CANs node for platform ARM64: zynqmp: Use zynqmp specific compatible string for gpio devicetree: xilinx: zynqmp: add sata node PCI: iproc: Fix BCMA dependency in Kconfig arm64: dts: Add Broadcom North Star 2 support arm64: Add Broadcom iProc family support PCI: iproc: Fix ARM64 dependency in Kconfig ...
2 parents 2faf962 + 341a670 commit 8d01b66

33 files changed

+3763
-258
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Broadcom North Star 2 (NS2) device tree bindings
2+
------------------------------------------------
3+
4+
Boards with NS2 shall have the following properties:
5+
6+
Required root node property:
7+
8+
NS2 SVK board
9+
compatible = "brcm,ns2-svk", "brcm,ns2";

Documentation/devicetree/bindings/arm/mediatek.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
MediaTek mt65xx & mt81xx Platforms Device Tree Bindings
1+
MediaTek mt65xx, mt67xx & mt81xx Platforms Device Tree Bindings
22

3-
Boards with a MediaTek mt65xx/mt81xx SoC shall have the following property:
3+
Boards with a MediaTek mt65xx/mt67xx/mt81xx SoC shall have the
4+
following property:
45

56
Required root node property:
67

78
compatible: Must contain one of
89
"mediatek,mt6580"
910
"mediatek,mt6589"
1011
"mediatek,mt6592"
12+
"mediatek,mt6795"
1113
"mediatek,mt8127"
1214
"mediatek,mt8135"
1315
"mediatek,mt8173"
@@ -24,6 +26,9 @@ Supported boards:
2426
- Evaluation board for MT6592:
2527
Required root node properties:
2628
- compatible = "mediatek,mt6592-evb", "mediatek,mt6592";
29+
- Evaluation board for MT6795(Helio X10):
30+
Required root node properties:
31+
- compatible = "mediatek,mt6795-evb", "mediatek,mt6795";
2732
- MTK mt8127 tablet moose EVB:
2833
Required root node properties:
2934
- compatible = "mediatek,mt8127-moose", "mediatek,mt8127";

Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Mediatek 65xx/81xx sysirq
1+
+Mediatek 65xx/67xx/81xx sysirq
22

33
Mediatek SOCs sysirq support controllable irq inverter for each GIC SPI
44
interrupt.
@@ -8,6 +8,7 @@ Required properties:
88
"mediatek,mt8173-sysirq"
99
"mediatek,mt8135-sysirq"
1010
"mediatek,mt8127-sysirq"
11+
"mediatek,mt6795-sysirq"
1112
"mediatek,mt6592-sysirq"
1213
"mediatek,mt6589-sysirq"
1314
"mediatek,mt6582-sysirq"

Documentation/devicetree/bindings/serial/mtk-uart.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ Required properties:
55
* "mediatek,mt8135-uart" for MT8135 compatible UARTS
66
* "mediatek,mt8127-uart" for MT8127 compatible UARTS
77
* "mediatek,mt8173-uart" for MT8173 compatible UARTS
8+
* "mediatek,mt6795-uart" for MT6795 compatible UARTS
89
* "mediatek,mt6589-uart" for MT6589 compatible UARTS
910
* "mediatek,mt6582-uart" for MT6582 compatible UARTS
1011
* "mediatek,mt6580-uart" for MT6580 compatible UARTS
11-
* "mediatek,mt6577-uart" for all compatible UARTS (MT8173, MT6589, MT6582,
12-
MT6580, MT6577)
12+
* "mediatek,mt6577-uart" for all compatible UARTS (MT8173, MT6795,
13+
MT6589, MT6582, MT6580, MT6577)
1314

1415
- reg: The base address of the UART register bank.
1516

arch/arm64/Kconfig

Lines changed: 1 addition & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -160,110 +160,7 @@ source "init/Kconfig"
160160

161161
source "kernel/Kconfig.freezer"
162162

163-
menu "Platform selection"
164-
165-
config ARCH_EXYNOS
166-
bool
167-
help
168-
This enables support for Samsung Exynos SoC family
169-
170-
config ARCH_EXYNOS7
171-
bool "ARMv8 based Samsung Exynos7"
172-
select ARCH_EXYNOS
173-
select COMMON_CLK_SAMSUNG
174-
select HAVE_S3C2410_WATCHDOG if WATCHDOG
175-
select HAVE_S3C_RTC if RTC_CLASS
176-
select PINCTRL
177-
select PINCTRL_EXYNOS
178-
179-
help
180-
This enables support for Samsung Exynos7 SoC family
181-
182-
config ARCH_FSL_LS2085A
183-
bool "Freescale LS2085A SOC"
184-
help
185-
This enables support for Freescale LS2085A SOC.
186-
187-
config ARCH_HISI
188-
bool "Hisilicon SoC Family"
189-
help
190-
This enables support for Hisilicon ARMv8 SoC family
191-
192-
config ARCH_MEDIATEK
193-
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
194-
select ARM_GIC
195-
select PINCTRL
196-
help
197-
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
198-
199-
config ARCH_QCOM
200-
bool "Qualcomm Platforms"
201-
select PINCTRL
202-
help
203-
This enables support for the ARMv8 based Qualcomm chipsets.
204-
205-
config ARCH_SEATTLE
206-
bool "AMD Seattle SoC Family"
207-
help
208-
This enables support for AMD Seattle SOC Family
209-
210-
config ARCH_TEGRA
211-
bool "NVIDIA Tegra SoC Family"
212-
select ARCH_HAS_RESET_CONTROLLER
213-
select ARCH_REQUIRE_GPIOLIB
214-
select CLKDEV_LOOKUP
215-
select CLKSRC_MMIO
216-
select CLKSRC_OF
217-
select GENERIC_CLOCKEVENTS
218-
select HAVE_CLK
219-
select PINCTRL
220-
select RESET_CONTROLLER
221-
help
222-
This enables support for the NVIDIA Tegra SoC family.
223-
224-
config ARCH_TEGRA_132_SOC
225-
bool "NVIDIA Tegra132 SoC"
226-
depends on ARCH_TEGRA
227-
select PINCTRL_TEGRA124
228-
select USB_ULPI if USB_PHY
229-
select USB_ULPI_VIEWPORT if USB_PHY
230-
help
231-
Enable support for NVIDIA Tegra132 SoC, based on the Denver
232-
ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC,
233-
but contains an NVIDIA Denver CPU complex in place of
234-
Tegra124's "4+1" Cortex-A15 CPU complex.
235-
236-
config ARCH_SPRD
237-
bool "Spreadtrum SoC platform"
238-
help
239-
Support for Spreadtrum ARM based SoCs
240-
241-
config ARCH_THUNDER
242-
bool "Cavium Inc. Thunder SoC Family"
243-
help
244-
This enables support for Cavium's Thunder Family of SoCs.
245-
246-
config ARCH_VEXPRESS
247-
bool "ARMv8 software model (Versatile Express)"
248-
select ARCH_REQUIRE_GPIOLIB
249-
select COMMON_CLK_VERSATILE
250-
select POWER_RESET_VEXPRESS
251-
select VEXPRESS_CONFIG
252-
help
253-
This enables support for the ARMv8 software model (Versatile
254-
Express).
255-
256-
config ARCH_XGENE
257-
bool "AppliedMicro X-Gene SOC Family"
258-
help
259-
This enables support for AppliedMicro X-Gene SOC Family
260-
261-
config ARCH_ZYNQMP
262-
bool "Xilinx ZynqMP Family"
263-
help
264-
This enables support for Xilinx ZynqMP Family
265-
266-
endmenu
163+
source "arch/arm64/Kconfig.platforms"
267164

268165
menu "Bus support"
269166

arch/arm64/Kconfig.platforms

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
menu "Platform selection"
2+
3+
config ARCH_BCM_IPROC
4+
bool "Broadcom iProc SoC Family"
5+
help
6+
This enables support for Broadcom iProc based SoCs
7+
8+
config ARCH_BERLIN
9+
bool "Marvell Berlin SoC Family"
10+
select DW_APB_ICTL
11+
help
12+
This enables support for Marvell Berlin SoC Family
13+
14+
config ARCH_EXYNOS
15+
bool
16+
help
17+
This enables support for Samsung Exynos SoC family
18+
19+
config ARCH_EXYNOS7
20+
bool "ARMv8 based Samsung Exynos7"
21+
select ARCH_EXYNOS
22+
select COMMON_CLK_SAMSUNG
23+
select HAVE_S3C2410_WATCHDOG if WATCHDOG
24+
select HAVE_S3C_RTC if RTC_CLASS
25+
select PINCTRL
26+
select PINCTRL_EXYNOS
27+
28+
help
29+
This enables support for Samsung Exynos7 SoC family
30+
31+
config ARCH_FSL_LS2085A
32+
bool "Freescale LS2085A SOC"
33+
help
34+
This enables support for Freescale LS2085A SOC.
35+
36+
config ARCH_HISI
37+
bool "Hisilicon SoC Family"
38+
help
39+
This enables support for Hisilicon ARMv8 SoC family
40+
41+
config ARCH_MEDIATEK
42+
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
43+
select ARM_GIC
44+
select PINCTRL
45+
help
46+
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
47+
48+
config ARCH_QCOM
49+
bool "Qualcomm Platforms"
50+
select PINCTRL
51+
help
52+
This enables support for the ARMv8 based Qualcomm chipsets.
53+
54+
config ARCH_ROCKCHIP
55+
bool "Rockchip Platforms"
56+
select ARCH_HAS_RESET_CONTROLLER
57+
select ARCH_REQUIRE_GPIOLIB
58+
select PINCTRL
59+
select PINCTRL_ROCKCHIP
60+
help
61+
This enables support for the ARMv8 based Rockchip chipsets,
62+
like the RK3368.
63+
64+
config ARCH_SEATTLE
65+
bool "AMD Seattle SoC Family"
66+
help
67+
This enables support for AMD Seattle SOC Family
68+
69+
config ARCH_TEGRA
70+
bool "NVIDIA Tegra SoC Family"
71+
select ARCH_HAS_RESET_CONTROLLER
72+
select ARCH_REQUIRE_GPIOLIB
73+
select CLKDEV_LOOKUP
74+
select CLKSRC_MMIO
75+
select CLKSRC_OF
76+
select GENERIC_CLOCKEVENTS
77+
select HAVE_CLK
78+
select PINCTRL
79+
select RESET_CONTROLLER
80+
help
81+
This enables support for the NVIDIA Tegra SoC family.
82+
83+
config ARCH_TEGRA_132_SOC
84+
bool "NVIDIA Tegra132 SoC"
85+
depends on ARCH_TEGRA
86+
select PINCTRL_TEGRA124
87+
select USB_ULPI if USB_PHY
88+
select USB_ULPI_VIEWPORT if USB_PHY
89+
help
90+
Enable support for NVIDIA Tegra132 SoC, based on the Denver
91+
ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC,
92+
but contains an NVIDIA Denver CPU complex in place of
93+
Tegra124's "4+1" Cortex-A15 CPU complex.
94+
95+
config ARCH_SPRD
96+
bool "Spreadtrum SoC platform"
97+
help
98+
Support for Spreadtrum ARM based SoCs
99+
100+
config ARCH_THUNDER
101+
bool "Cavium Inc. Thunder SoC Family"
102+
help
103+
This enables support for Cavium's Thunder Family of SoCs.
104+
105+
config ARCH_VEXPRESS
106+
bool "ARMv8 software model (Versatile Express)"
107+
select ARCH_REQUIRE_GPIOLIB
108+
select COMMON_CLK_VERSATILE
109+
select POWER_RESET_VEXPRESS
110+
select VEXPRESS_CONFIG
111+
help
112+
This enables support for the ARMv8 software model (Versatile
113+
Express).
114+
115+
config ARCH_XGENE
116+
bool "AppliedMicro X-Gene SOC Family"
117+
help
118+
This enables support for AppliedMicro X-Gene SOC Family
119+
120+
config ARCH_ZYNQMP
121+
bool "Xilinx ZynqMP Family"
122+
help
123+
This enables support for Xilinx ZynqMP Family
124+
125+
endmenu

arch/arm64/boot/dts/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
dts-dirs += amd
22
dts-dirs += apm
33
dts-dirs += arm
4+
dts-dirs += broadcom
45
dts-dirs += cavium
56
dts-dirs += exynos
67
dts-dirs += freescale
78
dts-dirs += hisilicon
9+
dts-dirs += marvell
810
dts-dirs += mediatek
911
dts-dirs += qcom
12+
dts-dirs += rockchip
1013
dts-dirs += sprd
1114
dts-dirs += xilinx
1215

arch/arm64/boot/dts/arm/juno-motherboard.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@
136136
clock-names = "refclk", "timclk", "apb_pclk";
137137
#clock-cells = <1>;
138138
clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
139+
assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_sysctl 3>, <&v2m_sysctl 3>;
140+
assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;
139141
};
140142

141143
apbregs@010000 {

arch/arm64/boot/dts/arm/rtsm_ve-motherboard.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
clock-names = "refclk", "timclk", "apb_pclk";
7575
#clock-cells = <1>;
7676
clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
77+
assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_sysctl 3>, <&v2m_sysctl 3>;
78+
assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;
7779
};
7880

7981
aaci@040000 {

arch/arm64/boot/dts/broadcom/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dtb-$(CONFIG_ARCH_BCM_IPROC) += ns2-svk.dtb
2+
3+
always := $(dtb-y)
4+
subdir-y := $(dts-dirs)
5+
clean-files := *.dtb

0 commit comments

Comments
 (0)