Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2013 SAMSUNG Electronics |
| 4 | * SAMSUNG EXYNOS5420 SoC device tree source |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 5 | */ |
| 6 | |
Simon Glass | 78cefc0 | 2014-10-20 19:48:29 -0600 | [diff] [blame] | 7 | #include "exynos5.dtsi" |
Simon Glass | 89e5838 | 2014-10-20 19:48:32 -0600 | [diff] [blame] | 8 | #include "exynos54xx-pinctrl.dtsi" |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 9 | |
| 10 | / { |
| 11 | config { |
| 12 | machine-arch-id = <4151>; |
| 13 | }; |
| 14 | |
| 15 | aliases { |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 16 | i2c0 = "/i2c@12C60000"; |
| 17 | i2c1 = "/i2c@12C70000"; |
| 18 | i2c2 = "/i2c@12C80000"; |
| 19 | i2c3 = "/i2c@12C90000"; |
| 20 | i2c4 = "/i2c@12CA0000"; |
| 21 | i2c5 = "/i2c@12CB0000"; |
| 22 | i2c6 = "/i2c@12CC0000"; |
| 23 | i2c7 = "/i2c@12CD0000"; |
| 24 | i2c8 = "/i2c@12E00000"; |
| 25 | i2c9 = "/i2c@12E10000"; |
| 26 | i2c10 = "/i2c@12E20000"; |
Simon Glass | 144cb55 | 2014-10-20 19:48:30 -0600 | [diff] [blame] | 27 | pinctrl0 = &pinctrl_0; |
| 28 | pinctrl1 = &pinctrl_1; |
| 29 | pinctrl2 = &pinctrl_2; |
| 30 | pinctrl3 = &pinctrl_3; |
| 31 | pinctrl4 = &pinctrl_4; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 32 | spi0 = "/spi@12d20000"; |
| 33 | spi1 = "/spi@12d30000"; |
| 34 | spi2 = "/spi@12d40000"; |
| 35 | spi3 = "/spi@131a0000"; |
| 36 | spi4 = "/spi@131b0000"; |
| 37 | mmc0 = "/mmc@12200000"; |
| 38 | mmc1 = "/mmc@12210000"; |
| 39 | mmc2 = "/mmc@12220000"; |
| 40 | xhci0 = "/xhci@12000000"; |
| 41 | xhci1 = "/xhci@12400000"; |
| 42 | }; |
| 43 | |
Przemyslaw Marczak | 91c2547 | 2015-10-27 13:08:03 +0100 | [diff] [blame] | 44 | adc@12D10000 { |
| 45 | compatible = "samsung,exynos-adc-v2"; |
| 46 | reg = <0x12D10000 0x100>; |
| 47 | interrupts = <0 106 0>; |
| 48 | status = "disabled"; |
| 49 | }; |
| 50 | |
Simon Glass | 6706367 | 2016-02-21 21:08:58 -0700 | [diff] [blame] | 51 | hsi2c_4: i2c@12CA0000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 52 | #address-cells = <1>; |
| 53 | #size-cells = <0>; |
| 54 | compatible = "samsung,exynos5-hsi2c"; |
| 55 | reg = <0x12CA0000 0x100>; |
| 56 | interrupts = <0 60 0>; |
| 57 | }; |
| 58 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 59 | i2c@12CB0000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 60 | #address-cells = <1>; |
| 61 | #size-cells = <0>; |
| 62 | compatible = "samsung,exynos5-hsi2c"; |
| 63 | reg = <0x12CB0000 0x100>; |
| 64 | interrupts = <0 61 0>; |
| 65 | }; |
| 66 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 67 | i2c@12CC0000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 68 | #address-cells = <1>; |
| 69 | #size-cells = <0>; |
| 70 | compatible = "samsung,exynos5-hsi2c"; |
| 71 | reg = <0x12CC0000 0x100>; |
| 72 | interrupts = <0 62 0>; |
| 73 | }; |
| 74 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 75 | i2c@12CD0000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 76 | #address-cells = <1>; |
| 77 | #size-cells = <0>; |
| 78 | compatible = "samsung,exynos5-hsi2c"; |
| 79 | reg = <0x12CD0000 0x100>; |
| 80 | interrupts = <0 63 0>; |
| 81 | }; |
| 82 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 83 | i2c@12E00000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 84 | #address-cells = <1>; |
| 85 | #size-cells = <0>; |
| 86 | compatible = "samsung,exynos5-hsi2c"; |
| 87 | reg = <0x12E00000 0x100>; |
| 88 | interrupts = <0 87 0>; |
| 89 | }; |
| 90 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 91 | i2c@12E10000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 92 | #address-cells = <1>; |
| 93 | #size-cells = <0>; |
| 94 | compatible = "samsung,exynos5-hsi2c"; |
| 95 | reg = <0x12E10000 0x100>; |
| 96 | interrupts = <0 88 0>; |
| 97 | }; |
| 98 | |
Simon Glass | 2a61b44 | 2015-07-02 18:15:48 -0600 | [diff] [blame] | 99 | i2c@12E20000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 100 | #address-cells = <1>; |
| 101 | #size-cells = <0>; |
| 102 | compatible = "samsung,exynos5-hsi2c"; |
| 103 | reg = <0x12E20000 0x100>; |
| 104 | interrupts = <0 203 0>; |
| 105 | }; |
| 106 | |
Simon Glass | 38d0bb3 | 2018-12-10 10:37:44 -0700 | [diff] [blame] | 107 | i2s0: i2s@3830000 { |
| 108 | compatible = "samsung,s5pv210-i2s"; |
| 109 | reg = <0x03830000 0x100>; |
| 110 | #sound-dai-cells = <1>; |
| 111 | samsung,idma-addr = <0x03000000>; |
| 112 | samsung,i2s-epll-clock-frequency = <192000000>; |
| 113 | samsung,i2s-sampling-rate = <48000>; |
| 114 | samsung,i2s-bits-per-sample = <16>; |
| 115 | samsung,i2s-channels = <2>; |
| 116 | samsung,i2s-lr-clk-framesize = <256>; |
| 117 | samsung,i2s-bit-clk-framesize = <32>; |
| 118 | samsung,i2s-id = <0>; |
| 119 | }; |
| 120 | |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 121 | mmc@12200000 { |
Sam Protsenko | b0ed27b | 2024-08-07 22:14:20 -0500 | [diff] [blame] | 122 | bus-width = <8>; |
Sam Protsenko | b0ed27b | 2024-08-07 22:14:20 -0500 | [diff] [blame] | 123 | samsung,dw-mshc-ciu-div = <3>; |
| 124 | samsung,dw-mshc-sdr-timing = <1 3>; |
Sam Protsenko | b0ed27b | 2024-08-07 22:14:20 -0500 | [diff] [blame] | 125 | non-removable; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 126 | samsung,pre-init; |
| 127 | }; |
| 128 | |
| 129 | mmc@12210000 { |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | mmc@12220000 { |
Sam Protsenko | b0ed27b | 2024-08-07 22:14:20 -0500 | [diff] [blame] | 134 | bus-width = <4>; |
Sam Protsenko | b0ed27b | 2024-08-07 22:14:20 -0500 | [diff] [blame] | 135 | samsung,dw-mshc-ciu-div = <3>; |
| 136 | samsung,dw-mshc-sdr-timing = <1 2>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 137 | }; |
| 138 | |
| 139 | mmc@12230000 { |
| 140 | status = "disabled"; |
| 141 | }; |
| 142 | |
Ajay Kumar | e24c502 | 2014-09-05 16:53:33 +0530 | [diff] [blame] | 143 | fimdm0_sysmmu@0x14640000 { |
| 144 | compatible = "samsung,sysmmu-v3.3"; |
| 145 | reg = <0x14640000 0x100>; |
| 146 | }; |
| 147 | |
| 148 | fimdm1_sysmmu@0x14680000 { |
| 149 | compatible = "samsung,sysmmu-v3.3"; |
| 150 | reg = <0x14680000 0x100>; |
| 151 | }; |
| 152 | |
Simon Glass | 144cb55 | 2014-10-20 19:48:30 -0600 | [diff] [blame] | 153 | pinctrl_0: pinctrl@13400000 { |
| 154 | compatible = "samsung,exynos5420-pinctrl"; |
| 155 | reg = <0x13400000 0x1000>; |
| 156 | interrupts = <0 45 0>; |
| 157 | |
| 158 | wakeup-interrupt-controller { |
| 159 | compatible = "samsung,exynos4210-wakeup-eint"; |
| 160 | interrupt-parent = <&gic>; |
| 161 | interrupts = <0 32 0>; |
| 162 | }; |
| 163 | }; |
| 164 | |
| 165 | pinctrl_1: pinctrl@13410000 { |
| 166 | compatible = "samsung,exynos5420-pinctrl"; |
| 167 | reg = <0x13410000 0x1000>; |
| 168 | interrupts = <0 78 0>; |
| 169 | }; |
| 170 | |
| 171 | pinctrl_2: pinctrl@14000000 { |
| 172 | compatible = "samsung,exynos5420-pinctrl"; |
| 173 | reg = <0x14000000 0x1000>; |
| 174 | interrupts = <0 46 0>; |
| 175 | }; |
| 176 | |
| 177 | pinctrl_3: pinctrl@14010000 { |
| 178 | compatible = "samsung,exynos5420-pinctrl"; |
| 179 | reg = <0x14010000 0x1000>; |
| 180 | interrupts = <0 50 0>; |
| 181 | }; |
| 182 | |
| 183 | pinctrl_4: pinctrl@03860000 { |
| 184 | compatible = "samsung,exynos5420-pinctrl"; |
| 185 | reg = <0x03860000 0x1000>; |
| 186 | interrupts = <0 47 0>; |
| 187 | }; |
| 188 | |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 189 | fimd@14400000 { |
| 190 | /* sysmmu is not used in U-Boot */ |
| 191 | samsung,disable-sysmmu; |
Ajay Kumar | b8441ae | 2015-03-04 19:05:28 +0530 | [diff] [blame] | 192 | samsung,pwm-out-gpio = <&gpb2 0 GPIO_ACTIVE_HIGH>; |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 193 | }; |
| 194 | |
Simon Glass | 6706367 | 2016-02-21 21:08:58 -0700 | [diff] [blame] | 195 | dp: dp@145b0000 { |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 196 | samsung,lt-status = <0>; |
| 197 | |
| 198 | samsung,master-mode = <0>; |
| 199 | samsung,bist-mode = <0>; |
| 200 | samsung,bist-pattern = <0>; |
| 201 | samsung,h-sync-polarity = <0>; |
| 202 | samsung,v-sync-polarity = <0>; |
| 203 | samsung,interlaced = <0>; |
| 204 | samsung,color-space = <0>; |
| 205 | samsung,dynamic-range = <0>; |
| 206 | samsung,ycbcr-coeff = <0>; |
| 207 | samsung,color-depth = <1>; |
| 208 | }; |
| 209 | |
| 210 | dmc { |
| 211 | mem-type = "ddr3"; |
| 212 | }; |
| 213 | |
Simon Glass | df8d8b8 | 2016-02-21 21:08:51 -0700 | [diff] [blame] | 214 | pwm: pwm@12dd0000 { |
| 215 | compatible = "samsung,exynos4210-pwm"; |
| 216 | reg = <0x12dd0000 0x100>; |
| 217 | samsung,pwm-outputs = <0>, <1>, <2>, <3>; |
| 218 | #pwm-cells = <3>; |
| 219 | }; |
| 220 | |
Akshay Saraswat | fdd9df3 | 2014-06-18 17:53:58 +0530 | [diff] [blame] | 221 | xhci1: xhci@12400000 { |
| 222 | compatible = "samsung,exynos5250-xhci"; |
| 223 | reg = <0x12400000 0x10000>; |
| 224 | #address-cells = <1>; |
| 225 | #size-cells = <1>; |
| 226 | |
| 227 | phy { |
| 228 | compatible = "samsung,exynos5250-usb3-phy"; |
| 229 | reg = <0x12500000 0x100>; |
| 230 | }; |
| 231 | }; |
| 232 | }; |