Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 1 | /* |
| 2 | * SAMSUNG EXYNOS5410 SoC device tree source |
| 3 | * |
| 4 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * |
| 7 | * SAMSUNG EXYNOS5410 SoC device nodes are listed in this file. |
| 8 | * EXYNOS5410 based board files can include this file and provide |
| 9 | * values for board specfic bindings. |
| 10 | * |
| 11 | * This program is free software; you can redistribute it and/or modify |
| 12 | * it under the terms of the GNU General Public License version 2 as |
| 13 | * published by the Free Software Foundation. |
| 14 | */ |
| 15 | |
Krzysztof Kozlowski | c9cf996 | 2016-05-08 18:41:57 +0200 | [diff] [blame^] | 16 | #include "exynos54xx.dtsi" |
Javier Martinez Canillas | 1462b13 | 2016-02-16 12:25:48 -0300 | [diff] [blame] | 17 | #include "exynos-syscon-restart.dtsi" |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 18 | #include <dt-bindings/clock/exynos5410.h> |
| 19 | |
| 20 | / { |
| 21 | compatible = "samsung,exynos5410", "samsung,exynos5"; |
| 22 | interrupt-parent = <&gic>; |
| 23 | |
Tomasz Figa | 1e64f48 | 2014-06-26 13:24:35 +0200 | [diff] [blame] | 24 | aliases { |
Hakjoo Kim | 1eca825 | 2015-03-15 23:00:33 +0100 | [diff] [blame] | 25 | pinctrl0 = &pinctrl_0; |
| 26 | pinctrl1 = &pinctrl_1; |
| 27 | pinctrl2 = &pinctrl_2; |
| 28 | pinctrl3 = &pinctrl_3; |
Tomasz Figa | 1e64f48 | 2014-06-26 13:24:35 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 31 | cpus { |
| 32 | #address-cells = <1>; |
| 33 | #size-cells = <0>; |
| 34 | |
Krzysztof Kozlowski | c37ccce | 2016-05-03 13:56:51 +0200 | [diff] [blame] | 35 | cpu0: cpu@0 { |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 36 | device_type = "cpu"; |
| 37 | compatible = "arm,cortex-a15"; |
| 38 | reg = <0x0>; |
Andreas Faerber | 22298d6 | 2014-07-08 08:17:14 +0900 | [diff] [blame] | 39 | clock-frequency = <1600000000>; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 40 | }; |
| 41 | |
Krzysztof Kozlowski | c37ccce | 2016-05-03 13:56:51 +0200 | [diff] [blame] | 42 | cpu1: cpu@1 { |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 43 | device_type = "cpu"; |
| 44 | compatible = "arm,cortex-a15"; |
| 45 | reg = <0x1>; |
Andreas Faerber | 22298d6 | 2014-07-08 08:17:14 +0900 | [diff] [blame] | 46 | clock-frequency = <1600000000>; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 47 | }; |
| 48 | |
Krzysztof Kozlowski | c37ccce | 2016-05-03 13:56:51 +0200 | [diff] [blame] | 49 | cpu2: cpu@2 { |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 50 | device_type = "cpu"; |
| 51 | compatible = "arm,cortex-a15"; |
| 52 | reg = <0x2>; |
Andreas Faerber | 22298d6 | 2014-07-08 08:17:14 +0900 | [diff] [blame] | 53 | clock-frequency = <1600000000>; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 54 | }; |
| 55 | |
Krzysztof Kozlowski | c37ccce | 2016-05-03 13:56:51 +0200 | [diff] [blame] | 56 | cpu3: cpu@3 { |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 57 | device_type = "cpu"; |
| 58 | compatible = "arm,cortex-a15"; |
| 59 | reg = <0x3>; |
Andreas Faerber | 22298d6 | 2014-07-08 08:17:14 +0900 | [diff] [blame] | 60 | clock-frequency = <1600000000>; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 61 | }; |
| 62 | }; |
| 63 | |
| 64 | soc: soc { |
| 65 | compatible = "simple-bus"; |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <1>; |
| 68 | ranges; |
| 69 | |
Andreas Faerber | 0a8f594 | 2014-07-29 06:09:56 +0900 | [diff] [blame] | 70 | pmu_system_controller: system-controller@10040000 { |
| 71 | compatible = "samsung,exynos5410-pmu", "syscon"; |
| 72 | reg = <0x10040000 0x5000>; |
Krzysztof Kozlowski | 2cbc0de | 2016-05-16 10:26:48 +0200 | [diff] [blame] | 73 | clock-names = "clkout16"; |
| 74 | clocks = <&fin_pll>; |
| 75 | #clock-cells = <1>; |
Andreas Faerber | 0a8f594 | 2014-07-29 06:09:56 +0900 | [diff] [blame] | 76 | }; |
| 77 | |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 78 | clock: clock-controller@10010000 { |
| 79 | compatible = "samsung,exynos5410-clock"; |
| 80 | reg = <0x10010000 0x30000>; |
| 81 | #clock-cells = <1>; |
| 82 | }; |
| 83 | |
| 84 | mmc_0: mmc@12200000 { |
| 85 | compatible = "samsung,exynos5250-dw-mshc"; |
| 86 | reg = <0x12200000 0x1000>; |
| 87 | interrupts = <0 75 0>; |
| 88 | #address-cells = <1>; |
| 89 | #size-cells = <0>; |
| 90 | clocks = <&clock CLK_MMC0>, <&clock CLK_SCLK_MMC0>; |
| 91 | clock-names = "biu", "ciu"; |
| 92 | fifo-depth = <0x80>; |
| 93 | status = "disabled"; |
| 94 | }; |
| 95 | |
| 96 | mmc_1: mmc@12210000 { |
| 97 | compatible = "samsung,exynos5250-dw-mshc"; |
| 98 | reg = <0x12210000 0x1000>; |
| 99 | interrupts = <0 76 0>; |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <0>; |
| 102 | clocks = <&clock CLK_MMC1>, <&clock CLK_SCLK_MMC1>; |
| 103 | clock-names = "biu", "ciu"; |
| 104 | fifo-depth = <0x80>; |
| 105 | status = "disabled"; |
| 106 | }; |
| 107 | |
| 108 | mmc_2: mmc@12220000 { |
| 109 | compatible = "samsung,exynos5250-dw-mshc"; |
| 110 | reg = <0x12220000 0x1000>; |
| 111 | interrupts = <0 77 0>; |
| 112 | #address-cells = <1>; |
| 113 | #size-cells = <0>; |
| 114 | clocks = <&clock CLK_MMC2>, <&clock CLK_SCLK_MMC2>; |
| 115 | clock-names = "biu", "ciu"; |
| 116 | fifo-depth = <0x80>; |
| 117 | status = "disabled"; |
| 118 | }; |
| 119 | |
Hakjoo Kim | 1eca825 | 2015-03-15 23:00:33 +0100 | [diff] [blame] | 120 | pinctrl_0: pinctrl@13400000 { |
| 121 | compatible = "samsung,exynos5410-pinctrl"; |
| 122 | reg = <0x13400000 0x1000>; |
| 123 | interrupts = <0 45 0>; |
| 124 | |
| 125 | wakeup-interrupt-controller { |
| 126 | compatible = "samsung,exynos4210-wakeup-eint"; |
| 127 | interrupt-parent = <&gic>; |
| 128 | interrupts = <0 32 0>; |
| 129 | }; |
| 130 | }; |
| 131 | |
| 132 | pinctrl_1: pinctrl@14000000 { |
| 133 | compatible = "samsung,exynos5410-pinctrl"; |
| 134 | reg = <0x14000000 0x1000>; |
| 135 | interrupts = <0 46 0>; |
| 136 | }; |
| 137 | |
| 138 | pinctrl_2: pinctrl@10d10000 { |
| 139 | compatible = "samsung,exynos5410-pinctrl"; |
| 140 | reg = <0x10d10000 0x1000>; |
| 141 | interrupts = <0 50 0>; |
| 142 | }; |
| 143 | |
| 144 | pinctrl_3: pinctrl@03860000 { |
| 145 | compatible = "samsung,exynos5410-pinctrl"; |
| 146 | reg = <0x03860000 0x1000>; |
| 147 | interrupts = <0 47 0>; |
| 148 | }; |
Tarek Dakhran | 107e6aa | 2014-05-27 06:54:13 +0900 | [diff] [blame] | 149 | }; |
| 150 | }; |
Hakjoo Kim | 1eca825 | 2015-03-15 23:00:33 +0100 | [diff] [blame] | 151 | |
Krzysztof Kozlowski | c9cf996 | 2016-05-08 18:41:57 +0200 | [diff] [blame^] | 152 | &mct { |
| 153 | clocks = <&fin_pll>, <&clock CLK_MCT>; |
| 154 | clock-names = "fin_pll", "mct"; |
| 155 | }; |
| 156 | |
Krzysztof Kozlowski | 88ad58b | 2016-05-03 14:53:22 +0200 | [diff] [blame] | 157 | &pwm { |
| 158 | clocks = <&clock CLK_PWM>; |
| 159 | clock-names = "timers"; |
| 160 | }; |
| 161 | |
| 162 | &serial_0 { |
| 163 | clocks = <&clock CLK_UART0>, <&clock CLK_SCLK_UART0>; |
| 164 | clock-names = "uart", "clk_uart_baud0"; |
| 165 | }; |
| 166 | |
| 167 | &serial_1 { |
| 168 | clocks = <&clock CLK_UART1>, <&clock CLK_SCLK_UART1>; |
| 169 | clock-names = "uart", "clk_uart_baud0"; |
| 170 | }; |
| 171 | |
| 172 | &serial_2 { |
| 173 | clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>; |
| 174 | clock-names = "uart", "clk_uart_baud0"; |
| 175 | }; |
| 176 | |
| 177 | &serial_3 { |
Krzysztof Kozlowski | 594127a | 2016-05-03 19:37:19 +0200 | [diff] [blame] | 178 | clocks = <&clock CLK_UART3>, <&clock CLK_SCLK_UART3>; |
| 179 | clock-names = "uart", "clk_uart_baud0"; |
Krzysztof Kozlowski | 88ad58b | 2016-05-03 14:53:22 +0200 | [diff] [blame] | 180 | }; |
| 181 | |
| 182 | &sromc { |
| 183 | #address-cells = <2>; |
| 184 | #size-cells = <1>; |
| 185 | ranges = <0 0 0x04000000 0x20000 |
| 186 | 1 0 0x05000000 0x20000 |
| 187 | 2 0 0x06000000 0x20000 |
| 188 | 3 0 0x07000000 0x20000>; |
| 189 | }; |
| 190 | |
Hakjoo Kim | 1eca825 | 2015-03-15 23:00:33 +0100 | [diff] [blame] | 191 | #include "exynos5410-pinctrl.dtsi" |