Skip to content

Commit cc4f9c2

Browse files
committed
Merge tag '64bit-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC 64-bit changes and additions from Olof Johansson: "The 64-bit set of updates this release cycle adds support for three new platforms: - Samsunc Exynos 7 - Freescale LS2085a - Mediatek MT8173 For all these, the changes mostly consititude additions of DT contents, but also some Kconfig entries to allow dependency/selection of drivers per-platform, etc" * tag '64bit-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: arm64: Kconfig: clean up two no-op Kconfig options from CONFIG_ARCH_TEGRA* arm64: Fix sort of platform Kconfig entries arm64: Add support for FSL's LS2085A SoC in Kconfig and defconfig arm64: Add DTS support for FSL's LS2085A SoC arm64: mediatek: Add MT8173 SoC Kconfig and defconfig arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile Document: DT: Add bindings for mediatek MT8173 SoC Platform arm64: Add Tegra132 support arm64: Enable ARMv8 based exynos7 SoC support arm64: dts: Add nodes for mmc, i2c, rtc, watchdog, adc on exynos7 arm64: dts: Add PMU DT node for exynos7 SoC arm64: dts: Add initial pinctrl support to exynos7 arm64: dts: Add initial device tree support for exynos7
2 parents 03a40e2 + 0d2fdcd commit cc4f9c2

File tree

17 files changed

+1720
-1
lines changed

17 files changed

+1720
-1
lines changed

Documentation/devicetree/bindings/arm/mediatek.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ compatible: Must contain one of
99
"mediatek,mt6592"
1010
"mediatek,mt8127"
1111
"mediatek,mt8135"
12+
"mediatek,mt8173"
1213

1314

1415
Supported boards:
@@ -25,3 +26,6 @@ Supported boards:
2526
- MTK mt8135 tablet EVB:
2627
Required root node properties:
2728
- compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135";
29+
- MTK mt8173 tablet EVB:
30+
Required root node properties:
31+
- compatible = "mediatek,mt8173-evb", "mediatek,mt8173";

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ interrupt.
55

66
Required properties:
77
- compatible: should be one of:
8+
"mediatek,mt8173-sysirq"
89
"mediatek,mt8135-sysirq"
910
"mediatek,mt8127-sysirq"
1011
"mediatek,mt6592-sysirq"

Documentation/devicetree/bindings/arm/samsung/pmu.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Properties:
1010
- "samsung,exynos5260-pmu" - for Exynos5260 SoC.
1111
- "samsung,exynos5410-pmu" - for Exynos5410 SoC,
1212
- "samsung,exynos5420-pmu" - for Exynos5420 SoC.
13+
- "samsung,exynos7-pmu" - for Exynos7 SoC.
1314
second value must be always "syscon".
1415

1516
- reg : offset and length of the register set.

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ Required properties:
44
- compatible should contain:
55
* "mediatek,mt8135-uart" for MT8135 compatible UARTS
66
* "mediatek,mt8127-uart" for MT8127 compatible UARTS
7+
* "mediatek,mt8173-uart" for MT8173 compatible UARTS
78
* "mediatek,mt6589-uart" for MT6589 compatible UARTS
89
* "mediatek,mt6582-uart" for MT6582 compatible UARTS
9-
* "mediatek,mt6577-uart" for all compatible UARTS (MT6589, MT6582, MT6577)
10+
* "mediatek,mt6577-uart" for all compatible UARTS (MT8173, MT6589, MT6582,
11+
MT6577)
1012

1113
- reg: The base address of the UART register bank.
1214

arch/arm64/Kconfig

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,65 @@ source "kernel/Kconfig.freezer"
149149

150150
menu "Platform selection"
151151

152+
config ARCH_EXYNOS
153+
bool
154+
help
155+
This enables support for Samsung Exynos SoC family
156+
157+
config ARCH_EXYNOS7
158+
bool "ARMv8 based Samsung Exynos7"
159+
select ARCH_EXYNOS
160+
select COMMON_CLK_SAMSUNG
161+
select HAVE_S3C2410_WATCHDOG if WATCHDOG
162+
select HAVE_S3C_RTC if RTC_CLASS
163+
select PINCTRL
164+
select PINCTRL_EXYNOS
165+
166+
help
167+
This enables support for Samsung Exynos7 SoC family
168+
169+
config ARCH_FSL_LS2085A
170+
bool "Freescale LS2085A SOC"
171+
help
172+
This enables support for Freescale LS2085A SOC.
173+
174+
config ARCH_MEDIATEK
175+
bool "Mediatek MT65xx & MT81xx ARMv8 SoC"
176+
select ARM_GIC
177+
help
178+
Support for Mediatek MT65xx & MT81xx ARMv8 SoCs
179+
152180
config ARCH_SEATTLE
153181
bool "AMD Seattle SoC Family"
154182
help
155183
This enables support for AMD Seattle SOC Family
156184

185+
config ARCH_TEGRA
186+
bool "NVIDIA Tegra SoC Family"
187+
select ARCH_HAS_RESET_CONTROLLER
188+
select ARCH_REQUIRE_GPIOLIB
189+
select CLKDEV_LOOKUP
190+
select CLKSRC_MMIO
191+
select CLKSRC_OF
192+
select GENERIC_CLOCKEVENTS
193+
select HAVE_CLK
194+
select PINCTRL
195+
select RESET_CONTROLLER
196+
help
197+
This enables support for the NVIDIA Tegra SoC family.
198+
199+
config ARCH_TEGRA_132_SOC
200+
bool "NVIDIA Tegra132 SoC"
201+
depends on ARCH_TEGRA
202+
select PINCTRL_TEGRA124
203+
select USB_ULPI if USB_PHY
204+
select USB_ULPI_VIEWPORT if USB_PHY
205+
help
206+
Enable support for NVIDIA Tegra132 SoC, based on the Denver
207+
ARMv8 CPU. The Tegra132 SoC is similar to the Tegra124 SoC,
208+
but contains an NVIDIA Denver CPU complex in place of
209+
Tegra124's "4+1" Cortex-A15 CPU complex.
210+
157211
config ARCH_THUNDER
158212
bool "Cavium Inc. Thunder SoC Family"
159213
help

arch/arm64/boot/dts/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@ dts-dirs += amd
22
dts-dirs += apm
33
dts-dirs += arm
44
dts-dirs += cavium
5+
dts-dirs += exynos
6+
dts-dirs += freescale
7+
dts-dirs += mediatek
58

69
subdir-y := $(dts-dirs)

arch/arm64/boot/dts/exynos/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dtb-$(CONFIG_ARCH_EXYNOS7) += exynos7-espresso.dtb
2+
3+
always := $(dtb-y)
4+
subdir-y := $(dts-dirs)
5+
clean-files := *.dtb
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
/*
2+
* SAMSUNG Exynos7 Espresso board device tree source
3+
*
4+
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
5+
* http://www.samsung.com
6+
*
7+
* This program is free software; you can redistribute it and/or modify
8+
* it under the terms of the GNU General Public License version 2 as
9+
* published by the Free Software Foundation.
10+
*/
11+
12+
/dts-v1/;
13+
#include "exynos7.dtsi"
14+
15+
/ {
16+
model = "Samsung Exynos7 Espresso board based on EXYNOS7";
17+
compatible = "samsung,exynos7-espresso", "samsung,exynos7";
18+
19+
aliases {
20+
serial0 = &serial_2;
21+
mshc0 = &mmc_0;
22+
mshc2 = &mmc_2;
23+
};
24+
25+
chosen {
26+
linux,stdout-path = &serial_2;
27+
};
28+
29+
memory@40000000 {
30+
device_type = "memory";
31+
reg = <0x0 0x40000000 0x0 0xC0000000>;
32+
};
33+
};
34+
35+
&fin_pll {
36+
clock-frequency = <24000000>;
37+
};
38+
39+
&serial_2 {
40+
status = "okay";
41+
};
42+
43+
&rtc {
44+
status = "okay";
45+
};
46+
47+
&watchdog {
48+
status = "okay";
49+
};
50+
51+
&adc {
52+
status = "okay";
53+
};
54+
55+
&mmc_0 {
56+
status = "okay";
57+
num-slots = <1>;
58+
broken-cd;
59+
cap-mmc-highspeed;
60+
non-removable;
61+
card-detect-delay = <200>;
62+
clock-frequency = <800000000>;
63+
samsung,dw-mshc-ciu-div = <3>;
64+
samsung,dw-mshc-sdr-timing = <0 4>;
65+
samsung,dw-mshc-ddr-timing = <0 2>;
66+
pinctrl-names = "default";
67+
pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_qrdy &sd0_bus1 &sd0_bus4 &sd0_bus8>;
68+
bus-width = <8>;
69+
};
70+
71+
&mmc_2 {
72+
status = "okay";
73+
num-slots = <1>;
74+
cap-sd-highspeed;
75+
card-detect-delay = <200>;
76+
clock-frequency = <400000000>;
77+
samsung,dw-mshc-ciu-div = <3>;
78+
samsung,dw-mshc-sdr-timing = <2 3>;
79+
samsung,dw-mshc-ddr-timing = <1 2>;
80+
pinctrl-names = "default";
81+
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
82+
bus-width = <4>;
83+
disable-wp;
84+
};

0 commit comments

Comments
 (0)