Krzysztof Kozlowski | c9cf996 | 2016-05-08 18:41:57 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Samsung's Exynos54xx SoC series common device tree source |
| 3 | * |
| 4 | * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. |
| 5 | * http://www.samsung.com |
| 6 | * Copyright (c) 2016 Krzysztof Kozlowski |
| 7 | * |
| 8 | * Device nodes common for Samsung Exynos5410/5420/5422/5800. Specific |
| 9 | * Exynos 54xx SoCs should include this file and customize it further |
| 10 | * (e.g. with clocks). |
| 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License version 2 as |
| 14 | * published by the Free Software Foundation. |
| 15 | */ |
| 16 | |
| 17 | #include "skeleton.dtsi" |
| 18 | #include "exynos5.dtsi" |
| 19 | |
| 20 | / { |
| 21 | compatible = "samsung,exynos5"; |
| 22 | |
Krzysztof Kozlowski | cb08965 | 2016-05-08 19:42:11 +0200 | [diff] [blame] | 23 | aliases { |
Krzysztof Kozlowski | 538fc7a | 2016-05-10 20:17:23 +0200 | [diff] [blame] | 24 | i2c4 = &hsi2c_4; |
| 25 | i2c5 = &hsi2c_5; |
| 26 | i2c6 = &hsi2c_6; |
| 27 | i2c7 = &hsi2c_7; |
Krzysztof Kozlowski | cb08965 | 2016-05-08 19:42:11 +0200 | [diff] [blame] | 28 | usbdrdphy0 = &usbdrd_phy0; |
| 29 | usbdrdphy1 = &usbdrd_phy1; |
| 30 | }; |
| 31 | |
Krzysztof Kozlowski | c9cf996 | 2016-05-08 18:41:57 +0200 | [diff] [blame] | 32 | soc: soc { |
| 33 | sysram@02020000 { |
| 34 | compatible = "mmio-sram"; |
| 35 | reg = <0x02020000 0x54000>; |
| 36 | #address-cells = <1>; |
| 37 | #size-cells = <1>; |
| 38 | ranges = <0 0x02020000 0x54000>; |
| 39 | |
| 40 | smp-sysram@0 { |
| 41 | compatible = "samsung,exynos4210-sysram"; |
| 42 | reg = <0x0 0x1000>; |
| 43 | }; |
| 44 | |
| 45 | smp-sysram@53000 { |
| 46 | compatible = "samsung,exynos4210-sysram-ns"; |
| 47 | reg = <0x53000 0x1000>; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | mct: mct@101c0000 { |
| 52 | compatible = "samsung,exynos4210-mct"; |
| 53 | reg = <0x101c0000 0xb00>; |
| 54 | interrupt-parent = <&mct_map>; |
| 55 | interrupts = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>, |
| 56 | <8>, <9>, <10>, <11>; |
| 57 | |
| 58 | mct_map: mct-map { |
| 59 | #interrupt-cells = <1>; |
| 60 | #address-cells = <0>; |
| 61 | #size-cells = <0>; |
| 62 | interrupt-map = <0 &combiner 23 3>, |
| 63 | <1 &combiner 23 4>, |
| 64 | <2 &combiner 25 2>, |
| 65 | <3 &combiner 25 3>, |
| 66 | <4 &gic 0 120 0>, |
| 67 | <5 &gic 0 121 0>, |
| 68 | <6 &gic 0 122 0>, |
| 69 | <7 &gic 0 123 0>, |
| 70 | <8 &gic 0 128 0>, |
| 71 | <9 &gic 0 129 0>, |
| 72 | <10 &gic 0 130 0>, |
| 73 | <11 &gic 0 131 0>; |
| 74 | }; |
| 75 | }; |
Krzysztof Kozlowski | cb08965 | 2016-05-08 19:42:11 +0200 | [diff] [blame] | 76 | |
Krzysztof Kozlowski | b8bd7e2 | 2016-06-01 11:45:51 +0200 | [diff] [blame] | 77 | watchdog: watchdog@101d0000 { |
| 78 | compatible = "samsung,exynos5420-wdt"; |
| 79 | reg = <0x101d0000 0x100>; |
| 80 | interrupts = <0 42 0>; |
| 81 | }; |
| 82 | |
| 83 | sss: sss@10830000 { |
| 84 | compatible = "samsung,exynos4210-secss"; |
| 85 | reg = <0x10830000 0x300>; |
| 86 | interrupts = <0 112 0>; |
| 87 | }; |
| 88 | |
Krzysztof Kozlowski | 538fc7a | 2016-05-10 20:17:23 +0200 | [diff] [blame] | 89 | /* i2c_0-3 are defined in exynos5.dtsi */ |
| 90 | hsi2c_4: i2c@12ca0000 { |
| 91 | compatible = "samsung,exynos5250-hsi2c"; |
| 92 | reg = <0x12ca0000 0x1000>; |
| 93 | interrupts = <0 60 0>; |
| 94 | #address-cells = <1>; |
| 95 | #size-cells = <0>; |
| 96 | status = "disabled"; |
| 97 | }; |
| 98 | |
| 99 | hsi2c_5: i2c@12cb0000 { |
| 100 | compatible = "samsung,exynos5250-hsi2c"; |
| 101 | reg = <0x12cb0000 0x1000>; |
| 102 | interrupts = <0 61 0>; |
| 103 | #address-cells = <1>; |
| 104 | #size-cells = <0>; |
| 105 | status = "disabled"; |
| 106 | }; |
| 107 | |
| 108 | hsi2c_6: i2c@12cc0000 { |
| 109 | compatible = "samsung,exynos5250-hsi2c"; |
| 110 | reg = <0x12cc0000 0x1000>; |
| 111 | interrupts = <0 62 0>; |
| 112 | #address-cells = <1>; |
| 113 | #size-cells = <0>; |
| 114 | status = "disabled"; |
| 115 | }; |
| 116 | |
| 117 | hsi2c_7: i2c@12cd0000 { |
| 118 | compatible = "samsung,exynos5250-hsi2c"; |
| 119 | reg = <0x12cd0000 0x1000>; |
| 120 | interrupts = <0 63 0>; |
| 121 | #address-cells = <1>; |
| 122 | #size-cells = <0>; |
| 123 | status = "disabled"; |
| 124 | }; |
| 125 | |
Krzysztof Kozlowski | cb08965 | 2016-05-08 19:42:11 +0200 | [diff] [blame] | 126 | usbdrd3_0: usb3-0 { |
| 127 | compatible = "samsung,exynos5250-dwusb3"; |
| 128 | #address-cells = <1>; |
| 129 | #size-cells = <1>; |
| 130 | ranges; |
| 131 | |
| 132 | usbdrd_dwc3_0: dwc3@12000000 { |
| 133 | compatible = "snps,dwc3"; |
| 134 | reg = <0x12000000 0x10000>; |
| 135 | interrupts = <0 72 0>; |
| 136 | phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; |
| 137 | phy-names = "usb2-phy", "usb3-phy"; |
| 138 | }; |
| 139 | }; |
| 140 | |
| 141 | usbdrd_phy0: phy@12100000 { |
| 142 | compatible = "samsung,exynos5420-usbdrd-phy"; |
| 143 | reg = <0x12100000 0x100>; |
| 144 | #phy-cells = <1>; |
| 145 | }; |
| 146 | |
| 147 | usbdrd3_1: usb3-1 { |
| 148 | compatible = "samsung,exynos5250-dwusb3"; |
| 149 | #address-cells = <1>; |
| 150 | #size-cells = <1>; |
| 151 | ranges; |
| 152 | |
| 153 | usbdrd_dwc3_1: dwc3@12400000 { |
| 154 | compatible = "snps,dwc3"; |
| 155 | reg = <0x12400000 0x10000>; |
Krzysztof Kozlowski | cb08965 | 2016-05-08 19:42:11 +0200 | [diff] [blame] | 156 | phys = <&usbdrd_phy1 0>, <&usbdrd_phy1 1>; |
| 157 | phy-names = "usb2-phy", "usb3-phy"; |
| 158 | }; |
| 159 | }; |
| 160 | |
| 161 | usbdrd_phy1: phy@12500000 { |
| 162 | compatible = "samsung,exynos5420-usbdrd-phy"; |
| 163 | reg = <0x12500000 0x100>; |
| 164 | #phy-cells = <1>; |
| 165 | }; |
| 166 | |
| 167 | usbhost2: usb@12110000 { |
| 168 | compatible = "samsung,exynos4210-ehci"; |
| 169 | reg = <0x12110000 0x100>; |
| 170 | interrupts = <0 71 0>; |
| 171 | |
| 172 | #address-cells = <1>; |
| 173 | #size-cells = <0>; |
| 174 | port@0 { |
| 175 | reg = <0>; |
| 176 | phys = <&usb2_phy 1>; |
| 177 | }; |
| 178 | }; |
| 179 | |
| 180 | usbhost1: usb@12120000 { |
| 181 | compatible = "samsung,exynos4210-ohci"; |
| 182 | reg = <0x12120000 0x100>; |
| 183 | interrupts = <0 71 0>; |
| 184 | |
| 185 | #address-cells = <1>; |
| 186 | #size-cells = <0>; |
| 187 | port@0 { |
| 188 | reg = <0>; |
| 189 | phys = <&usb2_phy 1>; |
| 190 | }; |
| 191 | }; |
| 192 | |
| 193 | usb2_phy: phy@12130000 { |
| 194 | compatible = "samsung,exynos5250-usb2-phy"; |
| 195 | reg = <0x12130000 0x100>; |
| 196 | #phy-cells = <1>; |
| 197 | }; |
Krzysztof Kozlowski | c9cf996 | 2016-05-08 18:41:57 +0200 | [diff] [blame] | 198 | }; |
| 199 | }; |