diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 12:47:46 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 12:47:46 -0500 |
| commit | cc4f9c2a91b7be7b3590bb1cbe8148873556aa3f (patch) | |
| tree | 742062aabfe32c660261d16b9b3330d599f02c4f | |
| parent | 03a40e29941cf7b12d9eef92cd1a56e04affbc06 (diff) | |
| parent | 0d2fdcd76504535bd1721ba9e8d4d03bcbb10afd (diff) | |
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
| -rw-r--r-- | Documentation/devicetree/bindings/arm/mediatek.txt | 4 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt | 1 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/arm/samsung/pmu.txt | 1 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/serial/mtk-uart.txt | 4 | ||||
| -rw-r--r-- | arch/arm64/Kconfig | 54 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/Makefile | 3 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/exynos/Makefile | 5 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 84 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | 588 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/exynos/exynos7.dtsi | 530 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/freescale/Makefile | 5 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts | 65 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 163 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/mediatek/Makefile | 5 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 38 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8173.dtsi | 168 | ||||
| -rw-r--r-- | arch/arm64/configs/defconfig | 3 |
17 files changed, 1720 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt index 3be40139cfbb..dd7550a29db6 100644 --- a/Documentation/devicetree/bindings/arm/mediatek.txt +++ b/Documentation/devicetree/bindings/arm/mediatek.txt | |||
| @@ -9,6 +9,7 @@ compatible: Must contain one of | |||
| 9 | "mediatek,mt6592" | 9 | "mediatek,mt6592" |
| 10 | "mediatek,mt8127" | 10 | "mediatek,mt8127" |
| 11 | "mediatek,mt8135" | 11 | "mediatek,mt8135" |
| 12 | "mediatek,mt8173" | ||
| 12 | 13 | ||
| 13 | 14 | ||
| 14 | Supported boards: | 15 | Supported boards: |
| @@ -25,3 +26,6 @@ Supported boards: | |||
| 25 | - MTK mt8135 tablet EVB: | 26 | - MTK mt8135 tablet EVB: |
| 26 | Required root node properties: | 27 | Required root node properties: |
| 27 | - compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135"; | 28 | - compatible = "mediatek,mt8135-evbp1", "mediatek,mt8135"; |
| 29 | - MTK mt8173 tablet EVB: | ||
| 30 | Required root node properties: | ||
| 31 | - compatible = "mediatek,mt8173-evb", "mediatek,mt8173"; | ||
diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt index 4cd6f7ba45c6..4f5a5352ccd8 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt | |||
| @@ -5,6 +5,7 @@ interrupt. | |||
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties: |
| 7 | - compatible: should be one of: | 7 | - compatible: should be one of: |
| 8 | "mediatek,mt8173-sysirq" | ||
| 8 | "mediatek,mt8135-sysirq" | 9 | "mediatek,mt8135-sysirq" |
| 9 | "mediatek,mt8127-sysirq" | 10 | "mediatek,mt8127-sysirq" |
| 10 | "mediatek,mt6592-sysirq" | 11 | "mediatek,mt6592-sysirq" |
diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index 1e1979b229ff..67b211381f2b 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt | |||
| @@ -10,6 +10,7 @@ Properties: | |||
| 10 | - "samsung,exynos5260-pmu" - for Exynos5260 SoC. | 10 | - "samsung,exynos5260-pmu" - for Exynos5260 SoC. |
| 11 | - "samsung,exynos5410-pmu" - for Exynos5410 SoC, | 11 | - "samsung,exynos5410-pmu" - for Exynos5410 SoC, |
| 12 | - "samsung,exynos5420-pmu" - for Exynos5420 SoC. | 12 | - "samsung,exynos5420-pmu" - for Exynos5420 SoC. |
| 13 | - "samsung,exynos7-pmu" - for Exynos7 SoC. | ||
| 13 | second value must be always "syscon". | 14 | second value must be always "syscon". |
| 14 | 15 | ||
| 15 | - reg : offset and length of the register set. | 16 | - reg : offset and length of the register set. |
diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt index 0eebbfea91a4..44152261e5c5 100644 --- a/Documentation/devicetree/bindings/serial/mtk-uart.txt +++ b/Documentation/devicetree/bindings/serial/mtk-uart.txt | |||
| @@ -4,9 +4,11 @@ Required properties: | |||
| 4 | - compatible should contain: | 4 | - compatible should contain: |
| 5 | * "mediatek,mt8135-uart" for MT8135 compatible UARTS | 5 | * "mediatek,mt8135-uart" for MT8135 compatible UARTS |
| 6 | * "mediatek,mt8127-uart" for MT8127 compatible UARTS | 6 | * "mediatek,mt8127-uart" for MT8127 compatible UARTS |
| 7 | * "mediatek,mt8173-uart" for MT8173 compatible UARTS | ||
| 7 | * "mediatek,mt6589-uart" for MT6589 compatible UARTS | 8 | * "mediatek,mt6589-uart" for MT6589 compatible UARTS |
| 8 | * "mediatek,mt6582-uart" for MT6582 compatible UARTS | 9 | * "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) | ||
| 10 | 12 | ||
| 11 | - reg: The base address of the UART register bank. | 13 | - reg: The base address of the UART register bank. |
| 12 | 14 | ||
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 676454a65af8..1b8e97331ffb 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
| @@ -149,11 +149,65 @@ source "kernel/Kconfig.freezer" | |||
| 149 | 149 | ||
| 150 | menu "Platform selection" | 150 | menu "Platform selection" |
| 151 | 151 | ||
| 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 | |||
| 152 | config ARCH_SEATTLE | 180 | config ARCH_SEATTLE |
| 153 | bool "AMD Seattle SoC Family" | 181 | bool "AMD Seattle SoC Family" |
| 154 | help | 182 | help |
| 155 | This enables support for AMD Seattle SOC Family | 183 | This enables support for AMD Seattle SOC Family |
| 156 | 184 | ||
| 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 | |||
| 157 | config ARCH_THUNDER | 211 | config ARCH_THUNDER |
| 158 | bool "Cavium Inc. Thunder SoC Family" | 212 | bool "Cavium Inc. Thunder SoC Family" |
| 159 | help | 213 | help |
diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index c62b0f4d9ef6..e0350caf049e 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile | |||
| @@ -2,5 +2,8 @@ dts-dirs += amd | |||
| 2 | dts-dirs += apm | 2 | dts-dirs += apm |
| 3 | dts-dirs += arm | 3 | dts-dirs += arm |
| 4 | dts-dirs += cavium | 4 | dts-dirs += cavium |
| 5 | dts-dirs += exynos | ||
| 6 | dts-dirs += freescale | ||
| 7 | dts-dirs += mediatek | ||
| 5 | 8 | ||
| 6 | subdir-y := $(dts-dirs) | 9 | subdir-y := $(dts-dirs) |
diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile new file mode 100644 index 000000000000..20310e5b6d6f --- /dev/null +++ b/arch/arm64/boot/dts/exynos/Makefile | |||
| @@ -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 | ||
diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts new file mode 100644 index 000000000000..5424cc450f72 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts | |||
| @@ -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 | }; | ||
diff --git a/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi new file mode 100644 index 000000000000..2eef4a279131 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos7-pinctrl.dtsi | |||
| @@ -0,0 +1,588 @@ | |||
| 1 | /* | ||
| 2 | * Samsung's Exynos7 SoC pin-mux and pin-config device tree source | ||
| 3 | * | ||
| 4 | * Copyright (c) 2014 Samsung Electronics Co., Ltd. | ||
| 5 | * http://www.samsung.com | ||
| 6 | * | ||
| 7 | * Samsung's Exynos7 SoC pin-mux and pin-config options are listed as | ||
| 8 | * device tree nodes in this file. | ||
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | ||
| 14 | |||
| 15 | &pinctrl_alive { | ||
| 16 | gpa0: gpa0 { | ||
| 17 | gpio-controller; | ||
| 18 | #gpio-cells = <2>; | ||
| 19 | |||
| 20 | interrupt-controller; | ||
| 21 | interrupt-parent = <&gic>; | ||
| 22 | #interrupt-cells = <2>; | ||
| 23 | interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>, | ||
| 24 | <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>; | ||
| 25 | }; | ||
| 26 | |||
| 27 | gpa1: gpa1 { | ||
| 28 | gpio-controller; | ||
| 29 | #gpio-cells = <2>; | ||
| 30 | |||
| 31 | interrupt-controller; | ||
| 32 | interrupt-parent = <&gic>; | ||
| 33 | #interrupt-cells = <2>; | ||
| 34 | interrupts = <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>, | ||
| 35 | <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>; | ||
| 36 | }; | ||
| 37 | |||
| 38 | gpa2: gpa2 { | ||
| 39 | gpio-controller; | ||
| 40 | #gpio-cells = <2>; | ||
| 41 | |||
| 42 | interrupt-controller; | ||
| 43 | #interrupt-cells = <2>; | ||
| 44 | }; | ||
| 45 | |||
| 46 | gpa3: gpa3 { | ||
| 47 | gpio-controller; | ||
| 48 | #gpio-cells = <2>; | ||
| 49 | |||
| 50 | interrupt-controller; | ||
| 51 | #interrupt-cells = <2>; | ||
| 52 | }; | ||
| 53 | }; | ||
| 54 | |||
| 55 | &pinctrl_bus0 { | ||
| 56 | gpb0: gpb0 { | ||
| 57 | gpio-controller; | ||
| 58 | #gpio-cells = <2>; | ||
| 59 | |||
| 60 | interrupt-controller; | ||
| 61 | #interrupt-cells = <2>; | ||
| 62 | }; | ||
| 63 | |||
| 64 | gpc0: gpc0 { | ||
| 65 | gpio-controller; | ||
| 66 | #gpio-cells = <2>; | ||
| 67 | |||
| 68 | interrupt-controller; | ||
| 69 | #interrupt-cells = <2>; | ||
| 70 | }; | ||
| 71 | |||
| 72 | gpc1: gpc1 { | ||
| 73 | gpio-controller; | ||
| 74 | #gpio-cells = <2>; | ||
| 75 | |||
| 76 | interrupt-controller; | ||
| 77 | #interrupt-cells = <2>; | ||
| 78 | }; | ||
| 79 | |||
| 80 | gpc2: gpc2 { | ||
| 81 | gpio-controller; | ||
| 82 | #gpio-cells = <2>; | ||
| 83 | |||
| 84 | interrupt-controller; | ||
| 85 | #interrupt-cells = <2>; | ||
| 86 | }; | ||
| 87 | |||
| 88 | gpc3: gpc3 { | ||
| 89 | gpio-controller; | ||
| 90 | #gpio-cells = <2>; | ||
| 91 | |||
| 92 | interrupt-controller; | ||
| 93 | #interrupt-cells = <2>; | ||
| 94 | }; | ||
| 95 | |||
| 96 | gpd0: gpd0 { | ||
| 97 | gpio-controller; | ||
| 98 | #gpio-cells = <2>; | ||
| 99 | |||
| 100 | interrupt-controller; | ||
| 101 | #interrupt-cells = <2>; | ||
| 102 | }; | ||
| 103 | |||
| 104 | gpd1: gpd1 { | ||
| 105 | gpio-controller; | ||
| 106 | #gpio-cells = <2>; | ||
| 107 | |||
| 108 | interrupt-controller; | ||
| 109 | #interrupt-cells = <2>; | ||
| 110 | }; | ||
| 111 | |||
| 112 | gpd2: gpd2 { | ||
| 113 | gpio-controller; | ||
| 114 | #gpio-cells = <2>; | ||
| 115 | |||
| 116 | interrupt-controller; | ||
| 117 | #interrupt-cells = <2>; | ||
| 118 | }; | ||
| 119 | |||
| 120 | gpd4: gpd4 { | ||
| 121 | gpio-controller; | ||
| 122 | #gpio-cells = <2>; | ||
| 123 | |||
| 124 | interrupt-controller; | ||
| 125 | #interrupt-cells = <2>; | ||
| 126 | }; | ||
| 127 | |||
| 128 | gpd5: gpd5 { | ||
| 129 | gpio-controller; | ||
| 130 | #gpio-cells = <2>; | ||
| 131 | |||
| 132 | interrupt-controller; | ||
| 133 | #interrupt-cells = <2>; | ||
| 134 | }; | ||
| 135 | |||
| 136 | gpd6: gpd6 { | ||
| 137 | gpio-controller; | ||
| 138 | #gpio-cells = <2>; | ||
| 139 | |||
| 140 | interrupt-controller; | ||
| 141 | #interrupt-cells = <2>; | ||
| 142 | }; | ||
| 143 | |||
| 144 | gpd7: gpd7 { | ||
| 145 | gpio-controller; | ||
| 146 | #gpio-cells = <2>; | ||
| 147 | |||
| 148 | interrupt-controller; | ||
| 149 | #interrupt-cells = <2>; | ||
| 150 | }; | ||
| 151 | |||
| 152 | gpd8: gpd8 { | ||
| 153 | gpio-controller; | ||
| 154 | #gpio-cells = <2>; | ||
| 155 | |||
| 156 | interrupt-controller; | ||
| 157 | #interrupt-cells = <2>; | ||
| 158 | }; | ||
| 159 | |||
| 160 | gpg0: gpg0 { | ||
| 161 | gpio-controller; | ||
| 162 | #gpio-cells = <2>; | ||
| 163 | |||
| 164 | interrupt-controller; | ||
| 165 | #interrupt-cells = <2>; | ||
| 166 | }; | ||
| 167 | |||
| 168 | gpg3: gpg3 { | ||
| 169 | gpio-controller; | ||
| 170 | #gpio-cells = <2>; | ||
| 171 | |||
| 172 | interrupt-controller; | ||
| 173 | #interrupt-cells = <2>; | ||
| 174 | }; | ||
| 175 | |||
| 176 | hs_i2c10_bus: hs-i2c10-bus { | ||
| 177 | samsung,pins = "gpb0-1", "gpb0-0"; | ||
| 178 | samsung,pin-function = <2>; | ||
| 179 | samsung,pin-pud = <3>; | ||
| 180 | samsung,pin-drv = <0>; | ||
| 181 | }; | ||
| 182 | |||
| 183 | hs_i2c11_bus: hs-i2c11-bus { | ||
| 184 | samsung,pins = "gpb0-3", "gpb0-2"; | ||
| 185 | samsung,pin-function = <2>; | ||
| 186 | samsung,pin-pud = <3>; | ||
| 187 | samsung,pin-drv = <0>; | ||
| 188 | }; | ||
| 189 | |||
| 190 | hs_i2c2_bus: hs-i2c2-bus { | ||
| 191 | samsung,pins = "gpd0-3", "gpd0-2"; | ||
| 192 | samsung,pin-function = <3>; | ||
| 193 | samsung,pin-pud = <3>; | ||
| 194 | samsung,pin-drv = <0>; | ||
| 195 | }; | ||
| 196 | |||
| 197 | uart0_data: uart0-data { | ||
| 198 | samsung,pins = "gpd0-0", "gpd0-1"; | ||
| 199 | samsung,pin-function = <2>; | ||
| 200 | samsung,pin-pud = <0>; | ||
| 201 | samsung,pin-drv = <0>; | ||
| 202 | }; | ||
| 203 | |||
| 204 | uart0_fctl: uart0-fctl { | ||
| 205 | samsung,pins = "gpd0-2", "gpd0-3"; | ||
| 206 | samsung,pin-function = <2>; | ||
| 207 | samsung,pin-pud = <0>; | ||
| 208 | samsung,pin-drv = <0>; | ||
| 209 | }; | ||
| 210 | |||
| 211 | uart2_data: uart2-data { | ||
| 212 | samsung,pins = "gpd1-4", "gpd1-5"; | ||
| 213 | samsung,pin-function = <2>; | ||
| 214 | samsung,pin-pud = <0>; | ||
| 215 | samsung,pin-drv = <0>; | ||
| 216 | }; | ||
| 217 | |||
| 218 | hs_i2c3_bus: hs-i2c3-bus { | ||
| 219 | samsung,pins = "gpd1-3", "gpd1-2"; | ||
| 220 | samsung,pin-function = <3>; | ||
| 221 | samsung,pin-pud = <3>; | ||
| 222 | samsung,pin-drv = <0>; | ||
| 223 | }; | ||
| 224 | |||
| 225 | uart1_data: uart1-data { | ||
| 226 | samsung,pins = "gpd1-0", "gpd1-1"; | ||
| 227 | samsung,pin-function = <2>; | ||
| 228 | samsung,pin-pud = <0>; | ||
| 229 | samsung,pin-drv = <0>; | ||
| 230 | }; | ||
| 231 | |||
| 232 | uart1_fctl: uart1-fctl { | ||
| 233 | samsung,pins = "gpd1-2", "gpd1-3"; | ||
| 234 | samsung,pin-function = <2>; | ||
| 235 | samsung,pin-pud = <0>; | ||
| 236 | samsung,pin-drv = <0>; | ||
| 237 | }; | ||
| 238 | |||
| 239 | hs_i2c0_bus: hs-i2c0-bus { | ||
| 240 | samsung,pins = "gpd2-1", "gpd2-0"; | ||
| 241 | samsung,pin-function = <2>; | ||
| 242 | samsung,pin-pud = <3>; | ||
| 243 | samsung,pin-drv = <0>; | ||
| 244 | }; | ||
| 245 | |||
| 246 | hs_i2c1_bus: hs-i2c1-bus { | ||
| 247 | samsung,pins = "gpd2-3", "gpd2-2"; | ||
| 248 | samsung,pin-function = <2>; | ||
| 249 | samsung,pin-pud = <3>; | ||
| 250 | samsung,pin-drv = <0>; | ||
| 251 | }; | ||
| 252 | |||
| 253 | hs_i2c9_bus: hs-i2c9-bus { | ||
| 254 | samsung,pins = "gpd2-7", "gpd2-6"; | ||
| 255 | samsung,pin-function = <3>; | ||
| 256 | samsung,pin-pud = <3>; | ||
| 257 | samsung,pin-drv = <0>; | ||
| 258 | }; | ||
| 259 | |||
| 260 | pwm0_out: pwm0-out { | ||
| 261 | samsung,pins = "gpd2-4"; | ||
| 262 | samsung,pin-function = <2>; | ||
| 263 | samsung,pin-pud = <0>; | ||
| 264 | samsung,pin-drv = <0>; | ||
| 265 | }; | ||
| 266 | |||
| 267 | pwm1_out: pwm1-out { | ||
| 268 | samsung,pins = "gpd2-5"; | ||
| 269 | samsung,pin-function = <2>; | ||
| 270 | samsung,pin-pud = <0>; | ||
| 271 | samsung,pin-drv = <0>; | ||
| 272 | }; | ||
| 273 | |||
| 274 | pwm2_out: pwm2-out { | ||
| 275 | samsung,pins = "gpd2-6"; | ||
| 276 | samsung,pin-function = <2>; | ||
| 277 | samsung,pin-pud = <0>; | ||
| 278 | samsung,pin-drv = <0>; | ||
| 279 | }; | ||
| 280 | |||
| 281 | pwm3_out: pwm3-out { | ||
| 282 | samsung,pins = "gpd2-7"; | ||
| 283 | samsung,pin-function = <2>; | ||
| 284 | samsung,pin-pud = <0>; | ||
| 285 | samsung,pin-drv = <0>; | ||
| 286 | }; | ||
| 287 | |||
| 288 | hs_i2c8_bus: hs-i2c8-bus { | ||
| 289 | samsung,pins = "gpd5-3", "gpd5-2"; | ||
| 290 | samsung,pin-function = <3>; | ||
| 291 | samsung,pin-pud = <3>; | ||
| 292 | samsung,pin-drv = <0>; | ||
| 293 | }; | ||
| 294 | |||
| 295 | uart3_data: uart3-data { | ||
| 296 | samsung,pins = "gpd5-0", "gpd5-1"; | ||
| 297 | samsung,pin-function = <3>; | ||
| 298 | samsung,pin-pud = <0>; | ||
| 299 | samsung,pin-drv = <0>; | ||
| 300 | }; | ||
| 301 | |||
| 302 | spi2_bus: spi2-bus { | ||
| 303 | samsung,pins = "gpd5-0", "gpd5-1", "gpd5-2", "gpd5-3"; | ||
| 304 | samsung,pin-function = <2>; | ||
| 305 | samsung,pin-pud = <3>; | ||
| 306 | samsung,pin-drv = <0>; | ||
| 307 | }; | ||
| 308 | |||
| 309 | spi1_bus: spi1-bus { | ||
| 310 | samsung,pins = "gpd6-2", "gpd6-3", "gpd6-4", "gpd6-5"; | ||
| 311 | samsung,pin-function = <2>; | ||
| 312 | samsung,pin-pud = <3>; | ||
| 313 | samsung,pin-drv = <0>; | ||
| 314 | }; | ||
| 315 | |||
| 316 | spi0_bus: spi0-bus { | ||
| 317 | samsung,pins = "gpd8-0", "gpd8-1", "gpd6-0", "gpd6-1"; | ||
| 318 | samsung,pin-function = <2>; | ||
| 319 | samsung,pin-pud = <3>; | ||
| 320 | samsung,pin-drv = <0>; | ||
| 321 | }; | ||
| 322 | |||
| 323 | hs_i2c4_bus: hs-i2c4-bus { | ||
| 324 | samsung,pins = "gpg3-1", "gpg3-0"; | ||
| 325 | samsung,pin-function = <2>; | ||
| 326 | samsung,pin-pud = <3>; | ||
| 327 | samsung,pin-drv = <0>; | ||
| 328 | }; | ||
| 329 | |||
| 330 | hs_i2c5_bus: hs-i2c5-bus { | ||
| 331 | samsung,pins = "gpg3-3", "gpg3-2"; | ||
| 332 | samsung,pin-function = <2>; | ||
| 333 | samsung,pin-pud = <3>; | ||
| 334 | samsung,pin-drv = <0>; | ||
| 335 | }; | ||
| 336 | }; | ||
| 337 | |||
| 338 | &pinctrl_nfc { | ||
| 339 | gpj0: gpj0 { | ||
| 340 | gpio-controller; | ||
| 341 | #gpio-cells = <2>; | ||
| 342 | |||
| 343 | interrupt-controller; | ||
| 344 | #interrupt-cells = <2>; | ||
| 345 | }; | ||
| 346 | |||
| 347 | hs_i2c6_bus: hs-i2c6-bus { | ||
| 348 | samsung,pins = "gpj0-1", "gpj0-0"; | ||
| 349 | samsung,pin-function = <2>; | ||
| 350 | samsung,pin-pud = <3>; | ||
| 351 | samsung,pin-drv = <0>; | ||
| 352 | }; | ||
| 353 | }; | ||
| 354 | |||
| 355 | &pinctrl_touch { | ||
| 356 | gpj1: gpj1 { | ||
| 357 | gpio-controller; | ||
| 358 | #gpio-cells = <2>; | ||
| 359 | |||
| 360 | interrupt-controller; | ||
| 361 | #interrupt-cells = <2>; | ||
| 362 | }; | ||
| 363 | |||
| 364 | hs_i2c7_bus: hs-i2c7-bus { | ||
| 365 | samsung,pins = "gpj1-1", "gpj1-0"; | ||
| 366 | samsung,pin-function = <2>; | ||
| 367 | samsung,pin-pud = <3>; | ||
| 368 | samsung,pin-drv = <0>; | ||
| 369 | }; | ||
| 370 | }; | ||
| 371 | |||
| 372 | &pinctrl_ff { | ||
| 373 | gpg4: gpg4 { | ||
| 374 | gpio-controller; | ||
| 375 | #gpio-cells = <2>; | ||
| 376 | |||
| 377 | interrupt-controller; | ||
| 378 | #interrupt-cells = <2>; | ||
| 379 | }; | ||
| 380 | |||
| 381 | spi3_bus: spi3-bus { | ||
| 382 | samsung,pins = "gpg4-0", "gpg4-1", "gpg4-2", "gpg4-3"; | ||
| 383 | samsung,pin-function = <2>; | ||
| 384 | samsung,pin-pud = <3>; | ||
| 385 | samsung,pin-drv = <0>; | ||
| 386 | }; | ||
| 387 | }; | ||
| 388 | |||
| 389 | &pinctrl_ese { | ||
| 390 | gpv7: gpv7 { | ||
| 391 | gpio-controller; | ||
| 392 | #gpio-cells = <2>; | ||
| 393 | |||
| 394 | interrupt-controller; | ||
| 395 | #interrupt-cells = <2>; | ||
| 396 | }; | ||
| 397 | |||
| 398 | spi4_bus: spi4-bus { | ||
| 399 | samsung,pins = "gpv7-0", "gpv7-1", "gpv7-2", "gpv7-3"; | ||
| 400 | samsung,pin-function = <2>; | ||
| 401 | samsung,pin-pud = <3>; | ||
| 402 | samsung,pin-drv = <0>; | ||
| 403 | }; | ||
| 404 | }; | ||
| 405 | |||
| 406 | &pinctrl_fsys0 { | ||
| 407 | gpr4: gpr4 { | ||
| 408 | gpio-controller; | ||
| 409 | #gpio-cells = <2>; | ||
| 410 | |||
| 411 | interrupt-controller; | ||
| 412 | #interrupt-cells = <2>; | ||
| 413 | }; | ||
| 414 | |||
| 415 | sd2_clk: sd2-clk { | ||
| 416 | samsung,pins = "gpr4-0"; | ||
| 417 | samsung,pin-function = <2>; | ||
| 418 | samsung,pin-pud = <0>; | ||
| 419 | samsung,pin-drv = <3>; | ||
| 420 | }; | ||
| 421 | |||
| 422 | sd2_cmd: sd2-cmd { | ||
| 423 | samsung,pins = "gpr4-1"; | ||
| 424 | samsung,pin-function = <2>; | ||
| 425 | samsung,pin-pud = <0>; | ||
| 426 | samsung,pin-drv = <3>; | ||
| 427 | }; | ||
| 428 | |||
| 429 | sd2_cd: sd2-cd { | ||
| 430 | samsung,pins = "gpr4-2"; | ||
| 431 | samsung,pin-function = <2>; | ||
| 432 | samsung,pin-pud = <3>; | ||
| 433 | samsung,pin-drv = <3>; | ||
| 434 | }; | ||
| 435 | |||
| 436 | sd2_bus1: sd2-bus-width1 { | ||
| 437 | samsung,pins = "gpr4-3"; | ||
| 438 | samsung,pin-function = <2>; | ||
| 439 | samsung,pin-pud = <3>; | ||
| 440 | samsung,pin-drv = <3>; | ||
| 441 | }; | ||
| 442 | |||
| 443 | sd2_bus4: sd2-bus-width4 { | ||
| 444 | samsung,pins = "gpr4-4", "gpr4-5", "gpr4-6"; | ||
| 445 | samsung,pin-function = <2>; | ||
| 446 | samsung,pin-pud = <3>; | ||
| 447 | samsung,pin-drv = <3>; | ||
| 448 | }; | ||
| 449 | }; | ||
| 450 | |||
| 451 | &pinctrl_fsys1 { | ||
| 452 | gpr0: gpr0 { | ||
| 453 | gpio-controller; | ||
| 454 | #gpio-cells = <2>; | ||
| 455 | |||
| 456 | interrupt-controller; | ||
| 457 | #interrupt-cells = <2>; | ||
| 458 | }; | ||
| 459 | |||
| 460 | gpr1: gpr1 { | ||
| 461 | gpio-controller; | ||
| 462 | #gpio-cells = <2>; | ||
| 463 | |||
| 464 | interrupt-controller; | ||
| 465 | #interrupt-cells = <2>; | ||
| 466 | }; | ||
| 467 | |||
| 468 | gpr2: gpr2 { | ||
| 469 | gpio-controller; | ||
| 470 | #gpio-cells = <2>; | ||
| 471 | |||
| 472 | interrupt-controller; | ||
| 473 | #interrupt-cells = <2>; | ||
| 474 | }; | ||
| 475 | |||
| 476 | gpr3: gpr3 { | ||
| 477 | gpio-controller; | ||
| 478 | #gpio-cells = <2>; | ||
| 479 | |||
| 480 | interrupt-controller; | ||
| 481 | #interrupt-cells = <2>; | ||
| 482 | }; | ||
| 483 | |||
| 484 | sd0_clk: sd0-clk { | ||
| 485 | samsung,pins = "gpr0-0"; | ||
| 486 | samsung,pin-function = <2>; | ||
| 487 | samsung,pin-pud = <0>; | ||
| 488 | samsung,pin-drv = <3>; | ||
| 489 | }; | ||
| 490 | |||
| 491 | sd0_cmd: sd0-cmd { | ||
| 492 | samsung,pins = "gpr0-1"; | ||
| 493 | samsung,pin-function = <2>; | ||
| 494 | samsung,pin-pud = <3>; | ||
| 495 | samsung,pin-drv = <3>; | ||
| 496 | }; | ||
| 497 | |||
| 498 | sd0_ds: sd0-ds { | ||
| 499 | samsung,pins = "gpr0-2"; | ||
| 500 | samsung,pin-function = <2>; | ||
| 501 | samsung,pin-pud = <1>; | ||
| 502 | samsung,pin-drv = <3>; | ||
| 503 | }; | ||
| 504 | |||
| 505 | sd0_qrdy: sd0-qrdy { | ||
| 506 | samsung,pins = "gpr0-3"; | ||
| 507 | samsung,pin-function = <2>; | ||
| 508 | samsung,pin-pud = <1>; | ||
| 509 | samsung,pin-drv = <3>; | ||
| 510 | }; | ||
| 511 | |||
| 512 | sd0_bus1: sd0-bus-width1 { | ||
| 513 | samsung,pins = "gpr1-0"; | ||
| 514 | samsung,pin-function = <2>; | ||
| 515 | samsung,pin-pud = <3>; | ||
| 516 | samsung,pin-drv = <3>; | ||
| 517 | }; | ||
| 518 | |||
| 519 | sd0_bus4: sd0-bus-width4 { | ||
| 520 | samsung,pins = "gpr1-1", "gpr1-2", "gpr1-3"; | ||
| 521 | samsung,pin-function = <2>; | ||
| 522 | samsung,pin-pud = <3>; | ||
| 523 | samsung,pin-drv = <3>; | ||
| 524 | }; | ||
| 525 | |||
| 526 | sd0_bus8: sd0-bus-width8 { | ||
| 527 | samsung,pins = "gpr1-4", "gpr1-5", "gpr1-6", "gpr1-7"; | ||
| 528 | samsung,pin-function = <2>; | ||
| 529 | samsung,pin-pud = <3>; | ||
| 530 | samsung,pin-drv = <3>; | ||
| 531 | }; | ||
| 532 | |||
| 533 | sd1_clk: sd1-clk { | ||
| 534 | samsung,pins = "gpr2-0"; | ||
| 535 | samsung,pin-function = <2>; | ||
| 536 | samsung,pin-pud = <0>; | ||
| 537 | samsung,pin-drv = <2>; | ||
| 538 | }; | ||
| 539 | |||
| 540 | sd1_cmd: sd1-cmd { | ||
| 541 | samsung,pins = "gpr2-1"; | ||
| 542 | samsung,pin-function = <2>; | ||
| 543 | samsung,pin-pud = <0>; | ||
| 544 | samsung,pin-drv = <2>; | ||
| 545 | }; | ||
| 546 | |||
| 547 | sd1_ds: sd1-ds { | ||
| 548 | samsung,pins = "gpr2-2"; | ||
| 549 | samsung,pin-function = <2>; | ||
| 550 | samsung,pin-pud = <1>; | ||
| 551 | samsung,pin-drv = <6>; | ||
| 552 | }; | ||
| 553 | |||
| 554 | sd1_qrdy: sd1-qrdy { | ||
| 555 | samsung,pins = "gpr2-3"; | ||
| 556 | samsung,pin-function = <2>; | ||
| 557 | samsung,pin-pud = <1>; | ||
| 558 | samsung,pin-drv = <6>; | ||
| 559 | }; | ||
| 560 | |||
| 561 | sd1_int: sd1-int { | ||
| 562 | samsung,pins = "gpr2-4"; | ||
| 563 | samsung,pin-function = <2>; | ||
| 564 | samsung,pin-pud = <1>; | ||
| 565 | samsung,pin-drv = <6>; | ||
| 566 | }; | ||
| 567 | |||
| 568 | sd1_bus1: sd1-bus-width1 { | ||
| 569 | samsung,pins = "gpr3-0"; | ||
| 570 | samsung,pin-function = <2>; | ||
| 571 | samsung,pin-pud = <3>; | ||
| 572 | samsung,pin-drv = <2>; | ||
| 573 | }; | ||
| 574 | |||
| 575 | sd1_bus4: sd1-bus-width4 { | ||
| 576 | samsung,pins = "gpr3-1", "gpr3-2", "gpr3-3"; | ||
| 577 | samsung,pin-function = <2>; | ||
| 578 | samsung,pin-pud = <3>; | ||
| 579 | samsung,pin-drv = <2>; | ||
| 580 | }; | ||
| 581 | |||
| 582 | sd1_bus8: sd1-bus-width8 { | ||
| 583 | samsung,pins = "gpr3-4", "gpr3-5", "gpr3-6", "gpr3-7"; | ||
| 584 | samsung,pin-function = <2>; | ||
| 585 | samsung,pin-pud = <3>; | ||
| 586 | samsung,pin-drv = <2>; | ||
| 587 | }; | ||
| 588 | }; | ||
diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi new file mode 100644 index 000000000000..d7a37c3a6b52 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi | |||
| @@ -0,0 +1,530 @@ | |||
| 1 | /* | ||
| 2 | * SAMSUNG EXYNOS7 SoC 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 | #include <dt-bindings/clock/exynos7-clk.h> | ||
| 13 | |||
| 14 | / { | ||
| 15 | compatible = "samsung,exynos7"; | ||
| 16 | interrupt-parent = <&gic>; | ||
| 17 | #address-cells = <2>; | ||
| 18 | #size-cells = <2>; | ||
| 19 | |||
| 20 | aliases { | ||
| 21 | pinctrl0 = &pinctrl_alive; | ||
| 22 | pinctrl1 = &pinctrl_bus0; | ||
| 23 | pinctrl2 = &pinctrl_nfc; | ||
| 24 | pinctrl3 = &pinctrl_touch; | ||
| 25 | pinctrl4 = &pinctrl_ff; | ||
| 26 | pinctrl5 = &pinctrl_ese; | ||
| 27 | pinctrl6 = &pinctrl_fsys0; | ||
| 28 | pinctrl7 = &pinctrl_fsys1; | ||
| 29 | }; | ||
| 30 | |||
| 31 | cpus { | ||
| 32 | #address-cells = <1>; | ||
| 33 | #size-cells = <0>; | ||
| 34 | |||
| 35 | cpu@0 { | ||
| 36 | device_type = "cpu"; | ||
| 37 | compatible = "arm,cortex-a57", "arm,armv8"; | ||
| 38 | reg = <0x0>; | ||
| 39 | enable-method = "psci"; | ||
| 40 | }; | ||
| 41 | |||
| 42 | cpu@1 { | ||
| 43 | device_type = "cpu"; | ||
| 44 | compatible = "arm,cortex-a57", "arm,armv8"; | ||
| 45 | reg = <0x1>; | ||
| 46 | enable-method = "psci"; | ||
| 47 | }; | ||
| 48 | |||
| 49 | cpu@2 { | ||
| 50 | device_type = "cpu"; | ||
| 51 | compatible = "arm,cortex-a57", "arm,armv8"; | ||
| 52 | reg = <0x2>; | ||
| 53 | enable-method = "psci"; | ||
| 54 | }; | ||
| 55 | |||
| 56 | cpu@3 { | ||
| 57 | device_type = "cpu"; | ||
| 58 | compatible = "arm,cortex-a57", "arm,armv8"; | ||
| 59 | reg = <0x3>; | ||
| 60 | enable-method = "psci"; | ||
| 61 | }; | ||
| 62 | }; | ||
| 63 | |||
| 64 | psci { | ||
| 65 | compatible = "arm,psci-0.2"; | ||
| 66 | method = "smc"; | ||
| 67 | }; | ||
| 68 | |||
| 69 | soc: soc { | ||
| 70 | compatible = "simple-bus"; | ||
| 71 | #address-cells = <1>; | ||
| 72 | #size-cells = <1>; | ||
| 73 | ranges = <0 0 0 0x18000000>; | ||
| 74 | |||
| 75 | chipid@10000000 { | ||
| 76 | compatible = "samsung,exynos4210-chipid"; | ||
| 77 | reg = <0x10000000 0x100>; | ||
| 78 | }; | ||
| 79 | |||
| 80 | fin_pll: xxti { | ||
| 81 | compatible = "fixed-clock"; | ||
| 82 | clock-output-names = "fin_pll"; | ||
| 83 | #clock-cells = <0>; | ||
| 84 | }; | ||
| 85 | |||
| 86 | gic: interrupt-controller@11001000 { | ||
| 87 | compatible = "arm,gic-400"; | ||
| 88 | #interrupt-cells = <3>; | ||
| 89 | #address-cells = <0>; | ||
| 90 | interrupt-controller; | ||
| 91 | reg = <0x11001000 0x1000>, | ||
| 92 | <0x11002000 0x1000>, | ||
| 93 | <0x11004000 0x2000>, | ||
| 94 | <0x11006000 0x2000>; | ||
| 95 | }; | ||
| 96 | |||
| 97 | clock_topc: clock-controller@10570000 { | ||
| 98 | compatible = "samsung,exynos7-clock-topc"; | ||
| 99 | reg = <0x10570000 0x10000>; | ||
| 100 | #clock-cells = <1>; | ||
| 101 | }; | ||
| 102 | |||
| 103 | clock_top0: clock-controller@105d0000 { | ||
| 104 | compatible = "samsung,exynos7-clock-top0"; | ||
| 105 | reg = <0x105d0000 0xb000>; | ||
| 106 | #clock-cells = <1>; | ||
| 107 | clocks = <&fin_pll>, <&clock_topc DOUT_SCLK_BUS0_PLL>, | ||
| 108 | <&clock_topc DOUT_SCLK_BUS1_PLL>, | ||
| 109 | <&clock_topc DOUT_SCLK_CC_PLL>, | ||
| 110 | <&clock_topc DOUT_SCLK_MFC_PLL>; | ||
| 111 | clock-names = "fin_pll", "dout_sclk_bus0_pll", | ||
| 112 | "dout_sclk_bus1_pll", "dout_sclk_cc_pll", | ||
| 113 | "dout_sclk_mfc_pll"; | ||
| 114 | }; | ||
| 115 | |||
| 116 | clock_top1: clock-controller@105e0000 { | ||
| 117 | compatible = "samsung,exynos7-clock-top1"; | ||
| 118 | reg = <0x105e0000 0xb000>; | ||
| 119 | #clock-cells = <1>; | ||
| 120 | clocks = <&fin_pll>, <&clock_topc DOUT_SCLK_BUS0_PLL>, | ||
| 121 | <&clock_topc DOUT_SCLK_BUS1_PLL>, | ||
| 122 | <&clock_topc DOUT_SCLK_CC_PLL>, | ||
| 123 | <&clock_topc DOUT_SCLK_MFC_PLL>; | ||
| 124 | clock-names = "fin_pll", "dout_sclk_bus0_pll", | ||
| 125 | "dout_sclk_bus1_pll", "dout_sclk_cc_pll", | ||
| 126 | "dout_sclk_mfc_pll"; | ||
| 127 | }; | ||
| 128 | |||
| 129 | clock_ccore: clock-controller@105b0000 { | ||
| 130 | compatible = "samsung,exynos7-clock-ccore"; | ||
| 131 | reg = <0x105b0000 0xd00>; | ||
| 132 | #clock-cells = <1>; | ||
| 133 | clocks = <&fin_pll>, <&clock_topc DOUT_ACLK_CCORE_133>; | ||
| 134 | clock-names = "fin_pll", "dout_aclk_ccore_133"; | ||
| 135 | }; | ||
| 136 | |||
| 137 | clock_peric0: clock-controller@13610000 { | ||
| 138 | compatible = "samsung,exynos7-clock-peric0"; | ||
| 139 | reg = <0x13610000 0xd00>; | ||
| 140 | #clock-cells = <1>; | ||
| 141 | clocks = <&fin_pll>, <&clock_top0 DOUT_ACLK_PERIC0>, | ||
| 142 | <&clock_top0 CLK_SCLK_UART0>; | ||
| 143 | clock-names = "fin_pll", "dout_aclk_peric0_66", | ||
| 144 | "sclk_uart0"; | ||
| 145 | }; | ||
| 146 | |||
| 147 | clock_peric1: clock-controller@14c80000 { | ||
| 148 | compatible = "samsung,exynos7-clock-peric1"; | ||
| 149 | reg = <0x14c80000 0xd00>; | ||
| 150 | #clock-cells = <1>; | ||
| 151 | clocks = <&fin_pll>, <&clock_top0 DOUT_ACLK_PERIC1>, | ||
| 152 | <&clock_top0 CLK_SCLK_UART1>, | ||
| 153 | <&clock_top0 CLK_SCLK_UART2>, | ||
| 154 | <&clock_top0 CLK_SCLK_UART3>; | ||
| 155 | clock-names = "fin_pll", "dout_aclk_peric1_66", | ||
| 156 | "sclk_uart1", "sclk_uart2", "sclk_uart3"; | ||
| 157 | }; | ||
| 158 | |||
| 159 | clock_peris: clock-controller@10040000 { | ||
| 160 | compatible = "samsung,exynos7-clock-peris"; | ||
| 161 | reg = <0x10040000 0xd00>; | ||
| 162 | #clock-cells = <1>; | ||
| 163 | clocks = <&fin_pll>, <&clock_topc DOUT_ACLK_PERIS>; | ||
| 164 | clock-names = "fin_pll", "dout_aclk_peris_66"; | ||
| 165 | }; | ||
| 166 | |||
| 167 | clock_fsys0: clock-controller@10e90000 { | ||
| 168 | compatible = "samsung,exynos7-clock-fsys0"; | ||
| 169 | reg = <0x10e90000 0xd00>; | ||
| 170 | #clock-cells = <1>; | ||
| 171 | clocks = <&fin_pll>, <&clock_top1 DOUT_ACLK_FSYS0_200>, | ||
| 172 | <&clock_top1 DOUT_SCLK_MMC2>; | ||
| 173 | clock-names = "fin_pll", "dout_aclk_fsys0_200", | ||
| 174 | "dout_sclk_mmc2"; | ||
| 175 | }; | ||
| 176 | |||
| 177 | clock_fsys1: clock-controller@156e0000 { | ||
| 178 | compatible = "samsung,exynos7-clock-fsys1"; | ||
| 179 | reg = <0x156e0000 0xd00>; | ||
| 180 | #clock-cells = <1>; | ||
| 181 | clocks = <&fin_pll>, <&clock_top1 DOUT_ACLK_FSYS1_200>, | ||
| 182 | <&clock_top1 DOUT_SCLK_MMC0>, | ||
| 183 | <&clock_top1 DOUT_SCLK_MMC1>; | ||
| 184 | clock-names = "fin_pll", "dout_aclk_fsys1_200", | ||
| 185 | "dout_sclk_mmc0", "dout_sclk_mmc1"; | ||
| 186 | }; | ||
| 187 | |||
| 188 | serial_0: serial@13630000 { | ||
| 189 | compatible = "samsung,exynos4210-uart"; | ||
| 190 | reg = <0x13630000 0x100>; | ||
| 191 | interrupts = <0 440 0>; | ||
| 192 | clocks = <&clock_peric0 PCLK_UART0>, | ||
| 193 | <&clock_peric0 SCLK_UART0>; | ||
| 194 | clock-names = "uart", "clk_uart_baud0"; | ||
| 195 | status = "disabled"; | ||
| 196 | }; | ||
| 197 | |||
| 198 | serial_1: serial@14c20000 { | ||
| 199 | compatible = "samsung,exynos4210-uart"; | ||
| 200 | reg = <0x14c20000 0x100>; | ||
| 201 | interrupts = <0 456 0>; | ||
| 202 | clocks = <&clock_peric1 PCLK_UART1>, | ||
| 203 | <&clock_peric1 SCLK_UART1>; | ||
| 204 | clock-names = "uart", "clk_uart_baud0"; | ||
| 205 | status = "disabled"; | ||
| 206 | }; | ||
| 207 | |||
| 208 | serial_2: serial@14c30000 { | ||
| 209 | compatible = "samsung,exynos4210-uart"; | ||
| 210 | reg = <0x14c30000 0x100>; | ||
| 211 | interrupts = <0 457 0>; | ||
| 212 | clocks = <&clock_peric1 PCLK_UART2>, | ||
| 213 | <&clock_peric1 SCLK_UART2>; | ||
| 214 | clock-names = "uart", "clk_uart_baud0"; | ||
| 215 | status = "disabled"; | ||
| 216 | }; | ||
| 217 | |||
| 218 | serial_3: serial@14c40000 { | ||
| 219 | compatible = "samsung,exynos4210-uart"; | ||
| 220 | reg = <0x14c40000 0x100>; | ||
| 221 | interrupts = <0 458 0>; | ||
| 222 | clocks = <&clock_peric1 PCLK_UART3>, | ||
| 223 | <&clock_peric1 SCLK_UART3>; | ||
| 224 | clock-names = "uart", "clk_uart_baud0"; | ||
| 225 | status = "disabled"; | ||
| 226 | }; | ||
| 227 | |||
| 228 | pinctrl_alive: pinctrl@10580000 { | ||
| 229 | compatible = "samsung,exynos7-pinctrl"; | ||
| 230 | reg = <0x10580000 0x1000>; | ||
| 231 | |||
| 232 | wakeup-interrupt-controller { | ||
| 233 | compatible = "samsung,exynos7-wakeup-eint"; | ||
| 234 | interrupt-parent = <&gic>; | ||
| 235 | interrupts = <0 16 0>; | ||
| 236 | }; | ||
| 237 | }; | ||
| 238 | |||
| 239 | pinctrl_bus0: pinctrl@13470000 { | ||
| 240 | compatible = "samsung,exynos7-pinctrl"; | ||
| 241 | reg = <0x13470000 0x1000>; | ||
| 242 | interrupts = <0 383 0>; | ||
| 243 | }; | ||
| 244 | |||
| 245 | pinctrl_nfc: pinctrl@14cd0000 { | ||
| 246 | compatible = "samsung,exynos7-pinctrl"; | ||
| 247 | reg = <0x14cd0000 0x1000>; | ||
| 248 | interrupts = <0 473 0>; | ||
| 249 | }; | ||
| 250 | |||
| 251 | pinctrl_touch: pinctrl@14ce0000 { | ||
| 252 | compatible = "samsung,exynos7-pinctrl"; | ||
| 253 | reg = <0x14ce0000 0x1000>; | ||
| 254 | interrupts = <0 474 0>; | ||
| 255 | }; | ||
| 256 | |||
| 257 | pinctrl_ff: pinctrl@14c90000 { | ||
| 258 | compatible = "samsung,exynos7-pinctrl"; | ||
| 259 | reg = <0x14c90000 0x1000>; | ||
| 260 | interrupts = <0 475 0>; | ||
| 261 | }; | ||
| 262 | |||
| 263 | pinctrl_ese: pinctrl@14ca0000 { | ||
| 264 | compatible = "samsung,exynos7-pinctrl"; | ||
| 265 | reg = <0x14ca0000 0x1000>; | ||
| 266 | interrupts = <0 476 0>; | ||
| 267 | }; | ||
| 268 | |||
| 269 | pinctrl_fsys0: pinctrl@10e60000 { | ||
| 270 | compatible = "samsung,exynos7-pinctrl"; | ||
| 271 | reg = <0x10e60000 0x1000>; | ||
| 272 | interrupts = <0 221 0>; | ||
| 273 | }; | ||
| 274 | |||
| 275 | pinctrl_fsys1: pinctrl@15690000 { | ||
| 276 | compatible = "samsung,exynos7-pinctrl"; | ||
| 277 | reg = <0x15690000 0x1000>; | ||
| 278 | interrupts = <0 203 0>; | ||
| 279 | }; | ||
| 280 | |||
| 281 | hsi2c_0: hsi2c@13640000 { | ||
| 282 | compatible = "samsung,exynos7-hsi2c"; | ||
| 283 | reg = <0x13640000 0x1000>; | ||
| 284 | interrupts = <0 441 0>; | ||
| 285 | #address-cells = <1>; | ||
| 286 | #size-cells = <0>; | ||
| 287 | pinctrl-names = "default"; | ||
| 288 | pinctrl-0 = <&hs_i2c0_bus>; | ||
| 289 | clocks = <&clock_peric0 PCLK_HSI2C0>; | ||
| 290 | clock-names = "hsi2c"; | ||
| 291 | status = "disabled"; | ||
| 292 | }; | ||
| 293 | |||
| 294 | hsi2c_1: hsi2c@13650000 { | ||
| 295 | compatible = "samsung,exynos7-hsi2c"; | ||
| 296 | reg = <0x13650000 0x1000>; | ||
| 297 | interrupts = <0 442 0>; | ||
| 298 | #address-cells = <1>; | ||
| 299 | #size-cells = <0>; | ||
| 300 | pinctrl-names = "default"; | ||
| 301 | pinctrl-0 = <&hs_i2c1_bus>; | ||
| 302 | clocks = <&clock_peric0 PCLK_HSI2C1>; | ||
| 303 | clock-names = "hsi2c"; | ||
| 304 | status = "disabled"; | ||
| 305 | }; | ||
| 306 | |||
| 307 | hsi2c_2: hsi2c@14e60000 { | ||
| 308 | compatible = "samsung,exynos7-hsi2c"; | ||
| 309 | reg = <0x14e60000 0x1000>; | ||
| 310 | interrupts = <0 459 0>; | ||
| 311 | #address-cells = <1>; | ||
| 312 | #size-cells = <0>; | ||
| 313 | pinctrl-names = "default"; | ||
| 314 | pinctrl-0 = <&hs_i2c2_bus>; | ||
| 315 | clocks = <&clock_peric1 PCLK_HSI2C2>; | ||
| 316 | clock-names = "hsi2c"; | ||
| 317 | status = "disabled"; | ||
| 318 | }; | ||
| 319 | |||
| 320 | hsi2c_3: hsi2c@14e70000 { | ||
| 321 | compatible = "samsung,exynos7-hsi2c"; | ||
| 322 | reg = <0x14e70000 0x1000>; | ||
| 323 | interrupts = <0 460 0>; | ||
| 324 | #address-cells = <1>; | ||
| 325 | #size-cells = <0>; | ||
| 326 | pinctrl-names = "default"; | ||
| 327 | pinctrl-0 = <&hs_i2c3_bus>; | ||
| 328 | clocks = <&clock_peric1 PCLK_HSI2C3>; | ||
| 329 | clock-names = "hsi2c"; | ||
| 330 | status = "disabled"; | ||
| 331 | }; | ||
| 332 | |||
| 333 | hsi2c_4: hsi2c@13660000 { | ||
| 334 | compatible = "samsung,exynos7-hsi2c"; | ||
| 335 | reg = <0x13660000 0x1000>; | ||
| 336 | interrupts = <0 443 0>; | ||
| 337 | #address-cells = <1>; | ||
| 338 | #size-cells = <0>; | ||
| 339 | pinctrl-names = "default"; | ||
| 340 | pinctrl-0 = <&hs_i2c4_bus>; | ||
| 341 | clocks = <&clock_peric0 PCLK_HSI2C4>; | ||
| 342 | clock-names = "hsi2c"; | ||
| 343 | status = "disabled"; | ||
| 344 | }; | ||
| 345 | |||
| 346 | hsi2c_5: hsi2c@13670000 { | ||
| 347 | compatible = "samsung,exynos7-hsi2c"; | ||
| 348 | reg = <0x13670000 0x1000>; | ||
| 349 | interrupts = <0 444 0>; | ||
| 350 | #address-cells = <1>; | ||
| 351 | #size-cells = <0>; | ||
| 352 | pinctrl-names = "default"; | ||
| 353 | pinctrl-0 = <&hs_i2c5_bus>; | ||
| 354 | clocks = <&clock_peric0 PCLK_HSI2C5>; | ||
| 355 | clock-names = "hsi2c"; | ||
| 356 | status = "disabled"; | ||
| 357 | }; | ||
| 358 | |||
| 359 | hsi2c_6: hsi2c@14e00000 { | ||
| 360 | compatible = "samsung,exynos7-hsi2c"; | ||
| 361 | reg = <0x14e00000 0x1000>; | ||
| 362 | interrupts = <0 461 0>; | ||
| 363 | #address-cells = <1>; | ||
| 364 | #size-cells = <0>; | ||
| 365 | pinctrl-names = "default"; | ||
| 366 | pinctrl-0 = <&hs_i2c6_bus>; | ||
| 367 | clocks = <&clock_peric1 PCLK_HSI2C6>; | ||
| 368 | clock-names = "hsi2c"; | ||
| 369 | status = "disabled"; | ||
| 370 | }; | ||
| 371 | |||
| 372 | hsi2c_7: hsi2c@13e10000 { | ||
| 373 | compatible = "samsung,exynos7-hsi2c"; | ||
| 374 | reg = <0x13e10000 0x1000>; | ||
| 375 | interrupts = <0 462 0>; | ||
| 376 | #address-cells = <1>; | ||
| 377 | #size-cells = <0>; | ||
| 378 | pinctrl-names = "default"; | ||
| 379 | pinctrl-0 = <&hs_i2c7_bus>; | ||
| 380 | clocks = <&clock_peric1 PCLK_HSI2C7>; | ||
| 381 | clock-names = "hsi2c"; | ||
| 382 | status = "disabled"; | ||
| 383 | }; | ||
| 384 | |||
| 385 | hsi2c_8: hsi2c@14e20000 { | ||
| 386 | compatible = "samsung,exynos7-hsi2c"; | ||
| 387 | reg = <0x14e20000 0x1000>; | ||
| 388 | interrupts = <0 463 0>; | ||
| 389 | #address-cells = <1>; | ||
| 390 | #size-cells = <0>; | ||
| 391 | pinctrl-names = "default"; | ||
| 392 | pinctrl-0 = <&hs_i2c8_bus>; | ||
| 393 | clocks = <&clock_peric1 PCLK_HSI2C8>; | ||
| 394 | clock-names = "hsi2c"; | ||
| 395 | status = "disabled"; | ||
| 396 | }; | ||
| 397 | |||
| 398 | hsi2c_9: hsi2c@13680000 { | ||
| 399 | compatible = "samsung,exynos7-hsi2c"; | ||
| 400 | reg = <0x13680000 0x1000>; | ||
| 401 | interrupts = <0 445 0>; | ||
| 402 | #address-cells = <1>; | ||
| 403 | #size-cells = <0>; | ||
| 404 | pinctrl-names = "default"; | ||
| 405 | pinctrl-0 = <&hs_i2c9_bus>; | ||
| 406 | clocks = <&clock_peric0 PCLK_HSI2C9>; | ||
| 407 | clock-names = "hsi2c"; | ||
| 408 | status = "disabled"; | ||
| 409 | }; | ||
| 410 | |||
| 411 | hsi2c_10: hsi2c@13690000 { | ||
| 412 | compatible = "samsung,exynos7-hsi2c"; | ||
| 413 | reg = <0x13690000 0x1000>; | ||
| 414 | interrupts = <0 446 0>; | ||
| 415 | #address-cells = <1>; | ||
| 416 | #size-cells = <0>; | ||
| 417 | pinctrl-names = "default"; | ||
| 418 | pinctrl-0 = <&hs_i2c10_bus>; | ||
| 419 | clocks = <&clock_peric0 PCLK_HSI2C10>; | ||
| 420 | clock-names = "hsi2c"; | ||
| 421 | status = "disabled"; | ||
| 422 | }; | ||
| 423 | |||
| 424 | hsi2c_11: hsi2c@136a0000 { | ||
| 425 | compatible = "samsung,exynos7-hsi2c"; | ||
| 426 | reg = <0x136a0000 0x1000>; | ||
| 427 | interrupts = <0 447 0>; | ||
| 428 | #address-cells = <1>; | ||
| 429 | #size-cells = <0>; | ||
| 430 | pinctrl-names = "default"; | ||
| 431 | pinctrl-0 = <&hs_i2c11_bus>; | ||
| 432 | clocks = <&clock_peric0 PCLK_HSI2C11>; | ||
| 433 | clock-names = "hsi2c"; | ||
| 434 | status = "disabled"; | ||
| 435 | }; | ||
| 436 | |||
| 437 | timer { | ||
| 438 | compatible = "arm,armv8-timer"; | ||
| 439 | interrupts = <1 13 0xff01>, | ||
| 440 | <1 14 0xff01>, | ||
| 441 | <1 11 0xff01>, | ||
| 442 | <1 10 0xff01>; | ||
| 443 | }; | ||
| 444 | |||
| 445 | pmu_system_controller: system-controller@105c0000 { | ||
| 446 | compatible = "samsung,exynos7-pmu", "syscon"; | ||
| 447 | reg = <0x105c0000 0x5000>; | ||
| 448 | }; | ||
| 449 | |||
| 450 | rtc: rtc@10590000 { | ||
| 451 | compatible = "samsung,s3c6410-rtc"; | ||
| 452 | reg = <0x10590000 0x100>; | ||
| 453 | interrupts = <0 355 0>, <0 356 0>; | ||
| 454 | clocks = <&clock_ccore PCLK_RTC>; | ||
| 455 | clock-names = "rtc"; | ||
| 456 | status = "disabled"; | ||
| 457 | }; | ||
| 458 | |||
| 459 | watchdog: watchdog@101d0000 { | ||
| 460 | compatible = "samsung,exynos7-wdt"; | ||
| 461 | reg = <0x101d0000 0x100>; | ||
| 462 | interrupts = <0 110 0>; | ||
| 463 | clocks = <&clock_peris PCLK_WDT>; | ||
| 464 | clock-names = "watchdog"; | ||
| 465 | samsung,syscon-phandle = <&pmu_system_controller>; | ||
| 466 | status = "disabled"; | ||
| 467 | }; | ||
| 468 | |||
| 469 | mmc_0: mmc@15740000 { | ||
| 470 | compatible = "samsung,exynos7-dw-mshc-smu"; | ||
| 471 | interrupts = <0 201 0>; | ||
| 472 | #address-cells = <1>; | ||
| 473 | #size-cells = <0>; | ||
| 474 | reg = <0x15740000 0x2000>; | ||
| 475 | clocks = <&clock_fsys1 ACLK_MMC0>, | ||
| 476 | <&clock_top1 CLK_SCLK_MMC0>; | ||
| 477 | clock-names = "biu", "ciu"; | ||
| 478 | fifo-depth = <0x40>; | ||
| 479 | status = "disabled"; | ||
| 480 | }; | ||
| 481 | |||
| 482 | mmc_1: mmc@15750000 { | ||
| 483 | compatible = "samsung,exynos7-dw-mshc"; | ||
| 484 | interrupts = <0 202 0>; | ||
| 485 | #address-cells = <1>; | ||
| 486 | #size-cells = <0>; | ||
| 487 | reg = <0x15750000 0x2000>; | ||
| 488 | clocks = <&clock_fsys1 ACLK_MMC1>, | ||
| 489 | <&clock_top1 CLK_SCLK_MMC1>; | ||
| 490 | clock-names = "biu", "ciu"; | ||
| 491 | fifo-depth = <0x40>; | ||
| 492 | status = "disabled"; | ||
| 493 | }; | ||
| 494 | |||
| 495 | mmc_2: mmc@15560000 { | ||
| 496 | compatible = "samsung,exynos7-dw-mshc-smu"; | ||
| 497 | interrupts = <0 216 0>; | ||
| 498 | #address-cells = <1>; | ||
| 499 | #size-cells = <0>; | ||
| 500 | reg = <0x15560000 0x2000>; | ||
| 501 | clocks = <&clock_fsys0 ACLK_MMC2>, | ||
| 502 | <&clock_top1 CLK_SCLK_MMC2>; | ||
| 503 | clock-names = "biu", "ciu"; | ||
| 504 | fifo-depth = <0x40>; | ||
| 505 | status = "disabled"; | ||
| 506 | }; | ||
| 507 | |||
| 508 | adc: adc@13620000 { | ||
| 509 | compatible = "samsung,exynos7-adc"; | ||
| 510 | reg = <0x13620000 0x100>; | ||
| 511 | interrupts = <0 448 0>; | ||
| 512 | clocks = <&clock_peric0 PCLK_ADCIF>; | ||
| 513 | clock-names = "adc"; | ||
| 514 | #io-channel-cells = <1>; | ||
| 515 | io-channel-ranges; | ||
| 516 | status = "disabled"; | ||
| 517 | }; | ||
| 518 | |||
| 519 | pwm: pwm@136c0000 { | ||
| 520 | compatible = "samsung,exynos4210-pwm"; | ||
| 521 | reg = <0x136c0000 0x100>; | ||
| 522 | samsung,pwm-outputs = <0>, <1>, <2>, <3>; | ||
| 523 | #pwm-cells = <3>; | ||
| 524 | clocks = <&clock_peric0 PCLK_PWM>; | ||
| 525 | clock-names = "timers"; | ||
| 526 | }; | ||
| 527 | }; | ||
| 528 | }; | ||
| 529 | |||
| 530 | #include "exynos7-pinctrl.dtsi" | ||
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile new file mode 100644 index 000000000000..4f2de3e789ee --- /dev/null +++ b/arch/arm64/boot/dts/freescale/Makefile | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | dtb-$(CONFIG_ARCH_FSL_LS2085A) += fsl-ls2085a-simu.dtb | ||
| 2 | |||
| 3 | always := $(dtb-y) | ||
| 4 | subdir-y := $(dts-dirs) | ||
| 5 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts b/arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts new file mode 100644 index 000000000000..82e2a6fccc64 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | /* | ||
| 2 | * Device Tree file for Freescale LS2085a software Simulator model | ||
| 3 | * | ||
| 4 | * Copyright (C) 2014, Freescale Semiconductor | ||
| 5 | * | ||
| 6 | * Bhupesh Sharma <bhupesh.sharma@freescale.com> | ||
| 7 | * | ||
| 8 | * This file is dual-licensed: you can use it either under the terms | ||
| 9 | * of the GPL or the X11 license, at your option. Note that this dual | ||
| 10 | * licensing only applies to this file, and not this project as a | ||
| 11 | * whole. | ||
| 12 | * | ||
| 13 | * a) This library is free software; you can redistribute it and/or | ||
| 14 | * modify it under the terms of the GNU General Public License as | ||
| 15 | * published by the Free Software Foundation; either version 2 of the | ||
| 16 | * License, or (at your option) any later version. | ||
| 17 | * | ||
| 18 | * This library is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | * | ||
| 23 | * You should have received a copy of the GNU General Public | ||
| 24 | * License along with this library; if not, write to the Free | ||
| 25 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 26 | * MA 02110-1301 USA | ||
| 27 | * | ||
| 28 | * Or, alternatively, | ||
| 29 | * | ||
| 30 | * b) Permission is hereby granted, free of charge, to any person | ||
| 31 | * obtaining a copy of this software and associated documentation | ||
| 32 | * files (the "Software"), to deal in the Software without | ||
| 33 | * restriction, including without limitation the rights to use, | ||
| 34 | * copy, modify, merge, publish, distribute, sublicense, and/or | ||
| 35 | * sell copies of the Software, and to permit persons to whom the | ||
| 36 | * Software is furnished to do so, subject to the following | ||
| 37 | * conditions: | ||
| 38 | * | ||
| 39 | * The above copyright notice and this permission notice shall be | ||
| 40 | * included in all copies or substantial portions of the Software. | ||
| 41 | * | ||
| 42 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 43 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| 44 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 45 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| 46 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| 47 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 48 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| 49 | * OTHER DEALINGS IN THE SOFTWARE. | ||
| 50 | */ | ||
| 51 | |||
| 52 | /dts-v1/; | ||
| 53 | |||
| 54 | /include/ "fsl-ls2085a.dtsi" | ||
| 55 | |||
| 56 | / { | ||
| 57 | model = "Freescale Layerscape 2085a software Simulator model"; | ||
| 58 | compatible = "fsl,ls2085a-simu", "fsl,ls2085a"; | ||
| 59 | |||
| 60 | ethernet@2210000 { | ||
| 61 | compatible = "smsc,lan91c111"; | ||
| 62 | reg = <0x0 0x2210000 0x0 0x100>; | ||
| 63 | interrupts = <0 58 0x1>; | ||
| 64 | }; | ||
| 65 | }; | ||
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi new file mode 100644 index 000000000000..e281ceb338c3 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | |||
| @@ -0,0 +1,163 @@ | |||
| 1 | /* | ||
| 2 | * Device Tree Include file for Freescale Layerscape-2085A family SoC. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2014, Freescale Semiconductor | ||
| 5 | * | ||
| 6 | * Bhupesh Sharma <bhupesh.sharma@freescale.com> | ||
| 7 | * | ||
| 8 | * This file is dual-licensed: you can use it either under the terms | ||
| 9 | * of the GPLv2 or the X11 license, at your option. Note that this dual | ||
| 10 | * licensing only applies to this file, and not this project as a | ||
| 11 | * whole. | ||
| 12 | * | ||
| 13 | * a) This library is free software; you can redistribute it and/or | ||
| 14 | * modify it under the terms of the GNU General Public License as | ||
| 15 | * published by the Free Software Foundation; either version 2 of the | ||
| 16 | * License, or (at your option) any later version. | ||
| 17 | * | ||
| 18 | * This library is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | * | ||
| 23 | * You should have received a copy of the GNU General Public | ||
| 24 | * License along with this library; if not, write to the Free | ||
| 25 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
| 26 | * MA 02110-1301 USA | ||
| 27 | * | ||
| 28 | * Or, alternatively, | ||
| 29 | * | ||
| 30 | * b) Permission is hereby granted, free of charge, to any person | ||
| 31 | * obtaining a copy of this software and associated documentation | ||
| 32 | * files (the "Software"), to deal in the Software without | ||
| 33 | * restriction, including without limitation the rights to use, | ||
| 34 | * copy, modify, merge, publish, distribute, sublicense, and/or | ||
| 35 | * sell copies of the Software, and to permit persons to whom the | ||
| 36 | * Software is furnished to do so, subject to the following | ||
| 37 | * conditions: | ||
| 38 | * | ||
| 39 | * The above copyright notice and this permission notice shall be | ||
| 40 | * included in all copies or substantial portions of the Software. | ||
| 41 | * | ||
| 42 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 43 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
| 44 | * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 45 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT | ||
| 46 | * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
| 47 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
| 48 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
| 49 | * OTHER DEALINGS IN THE SOFTWARE. | ||
| 50 | */ | ||
| 51 | |||
| 52 | / { | ||
| 53 | compatible = "fsl,ls2085a"; | ||
| 54 | interrupt-parent = <&gic>; | ||
| 55 | #address-cells = <2>; | ||
| 56 | #size-cells = <2>; | ||
| 57 | |||
| 58 | cpus { | ||
| 59 | #address-cells = <2>; | ||
| 60 | #size-cells = <0>; | ||
| 61 | |||
| 62 | /* | ||
| 63 | * We expect the enable-method for cpu's to be "psci", but this | ||
| 64 | * is dependent on the SoC FW, which will fill this in. | ||
| 65 | * | ||
| 66 | * Currently supported enable-method is psci v0.2 | ||
| 67 | */ | ||
| 68 | |||
| 69 | /* We have 4 clusters having 2 Cortex-A57 cores each */ | ||
| 70 | cpu@0 { | ||
| 71 | device_type = "cpu"; | ||
| 72 | compatible = "arm,cortex-a57"; | ||
| 73 | reg = <0x0 0x0>; | ||
| 74 | }; | ||
| 75 | |||
| 76 | cpu@1 { | ||
| 77 | device_type = "cpu"; | ||
| 78 | compatible = "arm,cortex-a57"; | ||
| 79 | reg = <0x0 0x1>; | ||
| 80 | }; | ||
| 81 | |||
| 82 | cpu@100 { | ||
| 83 | device_type = "cpu"; | ||
| 84 | compatible = "arm,cortex-a57"; | ||
| 85 | reg = <0x0 0x100>; | ||
| 86 | }; | ||
| 87 | |||
| 88 | cpu@101 { | ||
| 89 | device_type = "cpu"; | ||
| 90 | compatible = "arm,cortex-a57"; | ||
| 91 | reg = <0x0 0x101>; | ||
| 92 | }; | ||
| 93 | |||
| 94 | cpu@200 { | ||
| 95 | device_type = "cpu"; | ||
| 96 | compatible = "arm,cortex-a57"; | ||
| 97 | reg = <0x0 0x200>; | ||
| 98 | }; | ||
| 99 | |||
| 100 | cpu@201 { | ||
| 101 | device_type = "cpu"; | ||
| 102 | compatible = "arm,cortex-a57"; | ||
| 103 | reg = <0x0 0x201>; | ||
| 104 | }; | ||
| 105 | |||
| 106 | cpu@300 { | ||
| 107 | device_type = "cpu"; | ||
| 108 | compatible = "arm,cortex-a57"; | ||
| 109 | reg = <0x0 0x300>; | ||
| 110 | }; | ||
| 111 | |||
| 112 | cpu@301 { | ||
| 113 | device_type = "cpu"; | ||
| 114 | compatible = "arm,cortex-a57"; | ||
| 115 | reg = <0x0 0x301>; | ||
| 116 | }; | ||
| 117 | }; | ||
| 118 | |||
| 119 | memory@80000000 { | ||
| 120 | device_type = "memory"; | ||
| 121 | reg = <0x00000000 0x80000000 0 0x80000000>; | ||
| 122 | /* DRAM space - 1, size : 2 GB DRAM */ | ||
| 123 | }; | ||
| 124 | |||
| 125 | gic: interrupt-controller@6000000 { | ||
| 126 | compatible = "arm,gic-v3"; | ||
| 127 | reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */ | ||
| 128 | <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */ | ||
| 129 | #interrupt-cells = <3>; | ||
| 130 | interrupt-controller; | ||
| 131 | interrupts = <1 9 0x4>; | ||
| 132 | }; | ||
| 133 | |||
| 134 | timer { | ||
| 135 | compatible = "arm,armv8-timer"; | ||
| 136 | interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */ | ||
| 137 | <1 14 0x8>, /* Physical Non-Secure PPI, active-low */ | ||
| 138 | <1 11 0x8>, /* Virtual PPI, active-low */ | ||
| 139 | <1 10 0x8>; /* Hypervisor PPI, active-low */ | ||
| 140 | }; | ||
| 141 | |||
| 142 | serial0: serial@21c0500 { | ||
| 143 | device_type = "serial"; | ||
| 144 | compatible = "fsl,ns16550", "ns16550a"; | ||
| 145 | reg = <0x0 0x21c0500 0x0 0x100>; | ||
| 146 | clock-frequency = <0>; /* Updated by bootloader */ | ||
| 147 | interrupts = <0 32 0x1>; /* edge triggered */ | ||
| 148 | }; | ||
| 149 | |||
| 150 | serial1: serial@21c0600 { | ||
| 151 | device_type = "serial"; | ||
| 152 | compatible = "fsl,ns16550", "ns16550a"; | ||
| 153 | reg = <0x0 0x21c0600 0x0 0x100>; | ||
| 154 | clock-frequency = <0>; /* Updated by bootloader */ | ||
| 155 | interrupts = <0 32 0x1>; /* edge triggered */ | ||
| 156 | }; | ||
| 157 | |||
| 158 | fsl_mc: fsl-mc@80c000000 { | ||
| 159 | compatible = "fsl,qoriq-mc"; | ||
| 160 | reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ | ||
| 161 | <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ | ||
| 162 | }; | ||
| 163 | }; | ||
diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/mediatek/Makefile new file mode 100644 index 000000000000..3ce24622b231 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/Makefile | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | dtb-$(CONFIG_ARCH_MEDIATEK) += mt8173-evb.dtb | ||
| 2 | |||
| 3 | always := $(dtb-y) | ||
| 4 | subdir-y := $(dts-dirs) | ||
| 5 | clean-files := *.dtb | ||
diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts new file mode 100644 index 000000000000..43d54017b779 --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2014 MediaTek Inc. | ||
| 3 | * Author: Eddie Huang <eddie.huang@mediatek.com> | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | */ | ||
| 14 | |||
| 15 | /dts-v1/; | ||
| 16 | #include "mt8173.dtsi" | ||
| 17 | |||
| 18 | / { | ||
| 19 | model = "mediatek,mt8173-evb"; | ||
| 20 | |||
| 21 | aliases { | ||
| 22 | serial0 = &uart0; | ||
| 23 | serial1 = &uart1; | ||
| 24 | serial2 = &uart2; | ||
| 25 | serial3 = &uart3; | ||
| 26 | }; | ||
| 27 | |||
| 28 | memory@40000000 { | ||
| 29 | device_type = "memory"; | ||
| 30 | reg = <0 0x40000000 0 0x80000000>; | ||
| 31 | }; | ||
| 32 | |||
| 33 | chosen { }; | ||
| 34 | }; | ||
| 35 | |||
| 36 | &uart0 { | ||
| 37 | status = "okay"; | ||
| 38 | }; | ||
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi new file mode 100644 index 000000000000..8554ec31dd9e --- /dev/null +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi | |||
| @@ -0,0 +1,168 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2014 MediaTek Inc. | ||
| 3 | * Author: Eddie Huang <eddie.huang@mediatek.com> | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #include <dt-bindings/interrupt-controller/irq.h> | ||
| 15 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
| 16 | |||
| 17 | / { | ||
| 18 | compatible = "mediatek,mt8173"; | ||
| 19 | interrupt-parent = <&sysirq>; | ||
| 20 | #address-cells = <2>; | ||
| 21 | #size-cells = <2>; | ||
| 22 | |||
| 23 | cpus { | ||
| 24 | #address-cells = <1>; | ||
| 25 | #size-cells = <0>; | ||
| 26 | |||
| 27 | cpu-map { | ||
| 28 | cluster0 { | ||
| 29 | core0 { | ||
| 30 | cpu = <&cpu0>; | ||
| 31 | }; | ||
| 32 | core1 { | ||
| 33 | cpu = <&cpu1>; | ||
| 34 | }; | ||
| 35 | }; | ||
| 36 | |||
| 37 | cluster1 { | ||
| 38 | core0 { | ||
| 39 | cpu = <&cpu2>; | ||
| 40 | }; | ||
| 41 | core1 { | ||
| 42 | cpu = <&cpu3>; | ||
| 43 | }; | ||
| 44 | }; | ||
| 45 | }; | ||
| 46 | |||
| 47 | cpu0: cpu@0 { | ||
| 48 | device_type = "cpu"; | ||
| 49 | compatible = "arm,cortex-a53"; | ||
| 50 | reg = <0x000>; | ||
| 51 | }; | ||
| 52 | |||
| 53 | cpu1: cpu@1 { | ||
| 54 | device_type = "cpu"; | ||
| 55 | compatible = "arm,cortex-a53"; | ||
| 56 | reg = <0x001>; | ||
| 57 | enable-method = "psci"; | ||
| 58 | }; | ||
| 59 | |||
| 60 | cpu2: cpu@100 { | ||
| 61 | device_type = "cpu"; | ||
| 62 | compatible = "arm,cortex-a57"; | ||
| 63 | reg = <0x100>; | ||
| 64 | enable-method = "psci"; | ||
| 65 | }; | ||
| 66 | |||
| 67 | cpu3: cpu@101 { | ||
| 68 | device_type = "cpu"; | ||
| 69 | compatible = "arm,cortex-a57"; | ||
| 70 | reg = <0x101>; | ||
| 71 | enable-method = "psci"; | ||
| 72 | }; | ||
| 73 | }; | ||
| 74 | |||
| 75 | psci { | ||
| 76 | compatible = "arm,psci"; | ||
| 77 | method = "smc"; | ||
| 78 | cpu_suspend = <0x84000001>; | ||
| 79 | cpu_off = <0x84000002>; | ||
| 80 | cpu_on = <0x84000003>; | ||
| 81 | }; | ||
| 82 | |||
| 83 | uart_clk: dummy26m { | ||
| 84 | compatible = "fixed-clock"; | ||
| 85 | clock-frequency = <26000000>; | ||
| 86 | #clock-cells = <0>; | ||
| 87 | }; | ||
| 88 | |||
| 89 | timer { | ||
| 90 | compatible = "arm,armv8-timer"; | ||
| 91 | interrupt-parent = <&gic>; | ||
| 92 | interrupts = <GIC_PPI 13 | ||
| 93 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
| 94 | <GIC_PPI 14 | ||
| 95 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
| 96 | <GIC_PPI 11 | ||
| 97 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
| 98 | <GIC_PPI 10 | ||
| 99 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; | ||
| 100 | }; | ||
| 101 | |||
| 102 | soc { | ||
| 103 | #address-cells = <2>; | ||
| 104 | #size-cells = <2>; | ||
| 105 | compatible = "simple-bus"; | ||
| 106 | ranges; | ||
| 107 | |||
| 108 | sysirq: intpol-controller@10200620 { | ||
| 109 | compatible = "mediatek,mt8173-sysirq", | ||
| 110 | "mediatek,mt6577-sysirq"; | ||
| 111 | interrupt-controller; | ||
| 112 | #interrupt-cells = <3>; | ||
| 113 | interrupt-parent = <&gic>; | ||
| 114 | reg = <0 0x10200620 0 0x20>; | ||
| 115 | }; | ||
| 116 | |||
| 117 | gic: interrupt-controller@10220000 { | ||
| 118 | compatible = "arm,gic-400"; | ||
| 119 | #interrupt-cells = <3>; | ||
| 120 | interrupt-parent = <&gic>; | ||
| 121 | interrupt-controller; | ||
| 122 | reg = <0 0x10221000 0 0x1000>, | ||
| 123 | <0 0x10222000 0 0x2000>, | ||
| 124 | <0 0x10224000 0 0x2000>, | ||
| 125 | <0 0x10226000 0 0x2000>; | ||
| 126 | interrupts = <GIC_PPI 9 | ||
| 127 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; | ||
| 128 | }; | ||
| 129 | |||
| 130 | uart0: serial@11002000 { | ||
| 131 | compatible = "mediatek,mt8173-uart", | ||
| 132 | "mediatek,mt6577-uart"; | ||
| 133 | reg = <0 0x11002000 0 0x400>; | ||
| 134 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>; | ||
| 135 | clocks = <&uart_clk>; | ||
| 136 | status = "disabled"; | ||
| 137 | }; | ||
| 138 | |||
| 139 | uart1: serial@11003000 { | ||
| 140 | compatible = "mediatek,mt8173-uart", | ||
| 141 | "mediatek,mt6577-uart"; | ||
| 142 | reg = <0 0x11003000 0 0x400>; | ||
| 143 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>; | ||
| 144 | clocks = <&uart_clk>; | ||
| 145 | status = "disabled"; | ||
| 146 | }; | ||
| 147 | |||
| 148 | uart2: serial@11004000 { | ||
| 149 | compatible = "mediatek,mt8173-uart", | ||
| 150 | "mediatek,mt6577-uart"; | ||
| 151 | reg = <0 0x11004000 0 0x400>; | ||
| 152 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>; | ||
| 153 | clocks = <&uart_clk>; | ||
| 154 | status = "disabled"; | ||
| 155 | }; | ||
| 156 | |||
| 157 | uart3: serial@11005000 { | ||
| 158 | compatible = "mediatek,mt8173-uart", | ||
| 159 | "mediatek,mt6577-uart"; | ||
| 160 | reg = <0 0x11005000 0 0x400>; | ||
| 161 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>; | ||
| 162 | clocks = <&uart_clk>; | ||
| 163 | status = "disabled"; | ||
| 164 | }; | ||
| 165 | }; | ||
| 166 | |||
| 167 | }; | ||
| 168 | |||
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 66b6cacc3251..be1f12a5a5f0 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig | |||
| @@ -31,6 +31,8 @@ CONFIG_MODULES=y | |||
| 31 | CONFIG_MODULE_UNLOAD=y | 31 | CONFIG_MODULE_UNLOAD=y |
| 32 | # CONFIG_BLK_DEV_BSG is not set | 32 | # CONFIG_BLK_DEV_BSG is not set |
| 33 | # CONFIG_IOSCHED_DEADLINE is not set | 33 | # CONFIG_IOSCHED_DEADLINE is not set |
| 34 | CONFIG_ARCH_FSL_LS2085A=y | ||
| 35 | CONFIG_ARCH_MEDIATEK=y | ||
| 34 | CONFIG_ARCH_THUNDER=y | 36 | CONFIG_ARCH_THUNDER=y |
| 35 | CONFIG_ARCH_VEXPRESS=y | 37 | CONFIG_ARCH_VEXPRESS=y |
| 36 | CONFIG_ARCH_XGENE=y | 38 | CONFIG_ARCH_XGENE=y |
| @@ -88,6 +90,7 @@ CONFIG_SERIO_AMBAKMI=y | |||
| 88 | CONFIG_LEGACY_PTY_COUNT=16 | 90 | CONFIG_LEGACY_PTY_COUNT=16 |
| 89 | CONFIG_SERIAL_8250=y | 91 | CONFIG_SERIAL_8250=y |
| 90 | CONFIG_SERIAL_8250_CONSOLE=y | 92 | CONFIG_SERIAL_8250_CONSOLE=y |
| 93 | CONFIG_SERIAL_8250_MT6577=y | ||
| 91 | CONFIG_SERIAL_AMBA_PL011=y | 94 | CONFIG_SERIAL_AMBA_PL011=y |
| 92 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | 95 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
| 93 | CONFIG_SERIAL_OF_PLATFORM=y | 96 | CONFIG_SERIAL_OF_PLATFORM=y |
