Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 1 | #include "skeleton.dtsi" |
| 2 | |
| 3 | / { |
| 4 | model = "Atmel SAMA5D2 family SoC"; |
| 5 | compatible = "atmel,sama5d2"; |
| 6 | |
| 7 | aliases { |
| 8 | spi0 = &spi0; |
| 9 | spi1 = &qspi0; |
| 10 | i2c0 = &i2c0; |
| 11 | i2c1 = &i2c1; |
| 12 | }; |
| 13 | |
| 14 | clocks { |
| 15 | slow_xtal: slow_xtal { |
| 16 | compatible = "fixed-clock"; |
| 17 | #clock-cells = <0>; |
| 18 | clock-frequency = <0>; |
| 19 | }; |
| 20 | |
| 21 | main_xtal: main_xtal { |
| 22 | compatible = "fixed-clock"; |
| 23 | #clock-cells = <0>; |
| 24 | clock-frequency = <0>; |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | ahb { |
| 29 | compatible = "simple-bus"; |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <1>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 32 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 33 | |
| 34 | usb1: ohci@00400000 { |
| 35 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 36 | reg = <0x00400000 0x100000>; |
| 37 | clocks = <&uhphs_clk>, <&uhphs_clk>, <&uhpck>; |
| 38 | clock-names = "ohci_clk", "hclk", "uhpck"; |
| 39 | status = "disabled"; |
| 40 | }; |
| 41 | |
| 42 | usb2: ehci@00500000 { |
| 43 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; |
| 44 | reg = <0x00500000 0x100000>; |
| 45 | clocks = <&utmi>, <&uhphs_clk>; |
| 46 | clock-names = "usb_clk", "ehci_clk"; |
| 47 | status = "disabled"; |
| 48 | }; |
| 49 | |
| 50 | sdmmc0: sdio-host@a0000000 { |
| 51 | compatible = "atmel,sama5d2-sdhci"; |
| 52 | reg = <0xa0000000 0x300>; |
| 53 | clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>; |
| 54 | clock-names = "hclock", "multclk", "baseclk"; |
| 55 | status = "disabled"; |
| 56 | }; |
| 57 | |
| 58 | sdmmc1: sdio-host@b0000000 { |
| 59 | compatible = "atmel,sama5d2-sdhci"; |
| 60 | reg = <0xb0000000 0x300>; |
| 61 | clocks = <&sdmmc1_hclk>, <&sdmmc1_gclk>, <&main>; |
| 62 | clock-names = "hclock", "multclk", "baseclk"; |
| 63 | status = "disabled"; |
| 64 | }; |
| 65 | |
| 66 | apb { |
| 67 | compatible = "simple-bus"; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <1>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 70 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 71 | |
| 72 | pmc: pmc@f0014000 { |
| 73 | compatible = "atmel,sama5d2-pmc", "syscon"; |
| 74 | reg = <0xf0014000 0x160>; |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
| 77 | #interrupt-cells = <1>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 78 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 79 | |
| 80 | main: mainck { |
| 81 | compatible = "atmel,at91sam9x5-clk-main"; |
| 82 | #clock-cells = <0>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 83 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 84 | }; |
| 85 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 86 | plla: pllack@0 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 87 | compatible = "atmel,sama5d3-clk-pll"; |
| 88 | #clock-cells = <0>; |
| 89 | clocks = <&main>; |
| 90 | reg = <0>; |
| 91 | atmel,clk-input-range = <12000000 12000000>; |
| 92 | #atmel,pll-clk-output-range-cells = <4>; |
| 93 | atmel,pll-clk-output-ranges = <600000000 1200000000 0 0>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 94 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 95 | }; |
| 96 | |
| 97 | plladiv: plladivck { |
| 98 | compatible = "atmel,at91sam9x5-clk-plldiv"; |
| 99 | #clock-cells = <0>; |
| 100 | clocks = <&plla>; |
| 101 | }; |
| 102 | |
| 103 | audio_pll_frac: audiopll_fracck { |
| 104 | compatible = "atmel,sama5d2-clk-audio-pll-frac"; |
| 105 | #clock-cells = <0>; |
| 106 | clocks = <&main>; |
| 107 | }; |
| 108 | |
| 109 | audio_pll_pad: audiopll_padck { |
| 110 | compatible = "atmel,sama5d2-clk-audio-pll-pad"; |
| 111 | #clock-cells = <0>; |
| 112 | clocks = <&audio_pll_frac>; |
| 113 | }; |
| 114 | |
| 115 | audio_pll_pmc: audiopll_pmcck { |
| 116 | compatible = "atmel,sama5d2-clk-audio-pll-pmc"; |
| 117 | #clock-cells = <0>; |
| 118 | clocks = <&audio_pll_frac>; |
| 119 | }; |
| 120 | |
| 121 | utmi: utmick { |
| 122 | compatible = "atmel,at91sam9x5-clk-utmi"; |
| 123 | #clock-cells = <0>; |
| 124 | clocks = <&main>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 125 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 126 | }; |
| 127 | |
| 128 | mck: masterck { |
| 129 | compatible = "atmel,at91sam9x5-clk-master"; |
| 130 | #clock-cells = <0>; |
| 131 | clocks = <&main>, <&plladiv>, <&utmi>; |
| 132 | atmel,clk-output-range = <124000000 166000000>; |
| 133 | atmel,clk-divisors = <1 2 4 3>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 134 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 135 | }; |
| 136 | |
| 137 | h32ck: h32mxck { |
| 138 | #clock-cells = <0>; |
| 139 | compatible = "atmel,sama5d4-clk-h32mx"; |
| 140 | clocks = <&mck>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 141 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 142 | }; |
| 143 | |
| 144 | usb: usbck { |
| 145 | compatible = "atmel,at91sam9x5-clk-usb"; |
| 146 | #clock-cells = <0>; |
| 147 | clocks = <&plladiv>, <&utmi>; |
| 148 | }; |
| 149 | |
| 150 | prog: progck { |
| 151 | compatible = "atmel,at91sam9x5-clk-programmable"; |
| 152 | #address-cells = <1>; |
| 153 | #size-cells = <0>; |
| 154 | interrupt-parent = <&pmc>; |
| 155 | clocks = <&main>, <&plladiv>, <&utmi>, <&mck>; |
| 156 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 157 | prog0: prog@0 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 158 | #clock-cells = <0>; |
| 159 | reg = <0>; |
| 160 | }; |
| 161 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 162 | prog1: prog@1 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 163 | #clock-cells = <0>; |
| 164 | reg = <1>; |
| 165 | }; |
| 166 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 167 | prog2: prog@2 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 168 | #clock-cells = <0>; |
| 169 | reg = <2>; |
| 170 | }; |
| 171 | }; |
| 172 | |
| 173 | systemck { |
| 174 | compatible = "atmel,at91rm9200-clk-system"; |
| 175 | #address-cells = <1>; |
| 176 | #size-cells = <0>; |
| 177 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 178 | ddrck: ddrck@2 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 179 | #clock-cells = <0>; |
| 180 | reg = <2>; |
| 181 | clocks = <&mck>; |
| 182 | }; |
| 183 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 184 | lcdck: lcdck@3 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 185 | #clock-cells = <0>; |
| 186 | reg = <3>; |
| 187 | clocks = <&mck>; |
| 188 | }; |
| 189 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 190 | uhpck: uhpck@6 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 191 | #clock-cells = <0>; |
| 192 | reg = <6>; |
| 193 | clocks = <&usb>; |
| 194 | }; |
| 195 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 196 | udpck: udpck@7 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 197 | #clock-cells = <0>; |
| 198 | reg = <7>; |
| 199 | clocks = <&usb>; |
| 200 | }; |
| 201 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 202 | pck0: pck0@8 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 203 | #clock-cells = <0>; |
| 204 | reg = <8>; |
| 205 | clocks = <&prog0>; |
| 206 | }; |
| 207 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 208 | pck1: pck1@9 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 209 | #clock-cells = <0>; |
| 210 | reg = <9>; |
| 211 | clocks = <&prog1>; |
| 212 | }; |
| 213 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 214 | pck2: pck2@10 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 215 | #clock-cells = <0>; |
| 216 | reg = <10>; |
| 217 | clocks = <&prog2>; |
| 218 | }; |
| 219 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 220 | iscck: iscck@18 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 221 | #clock-cells = <0>; |
| 222 | reg = <18>; |
| 223 | clocks = <&mck>; |
| 224 | }; |
| 225 | }; |
| 226 | |
| 227 | periph32ck { |
| 228 | compatible = "atmel,at91sam9x5-clk-peripheral"; |
| 229 | #address-cells = <1>; |
| 230 | #size-cells = <0>; |
| 231 | clocks = <&h32ck>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 232 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 233 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 234 | macb0_clk: macb0_clk@5 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 235 | #clock-cells = <0>; |
| 236 | reg = <5>; |
| 237 | atmel,clk-output-range = <0 83000000>; |
| 238 | }; |
| 239 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 240 | tdes_clk: tdes_clk@11 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 241 | #clock-cells = <0>; |
| 242 | reg = <11>; |
| 243 | atmel,clk-output-range = <0 83000000>; |
| 244 | }; |
| 245 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 246 | matrix1_clk: matrix1_clk@14 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 247 | #clock-cells = <0>; |
| 248 | reg = <14>; |
| 249 | }; |
| 250 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 251 | hsmc_clk: hsmc_clk@17 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 252 | #clock-cells = <0>; |
| 253 | reg = <17>; |
| 254 | }; |
| 255 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 256 | pioA_clk: pioA_clk@18 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 257 | #clock-cells = <0>; |
| 258 | reg = <18>; |
| 259 | atmel,clk-output-range = <0 83000000>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 260 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 261 | }; |
| 262 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 263 | flx0_clk: flx0_clk@19 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 264 | #clock-cells = <0>; |
| 265 | reg = <19>; |
| 266 | atmel,clk-output-range = <0 83000000>; |
| 267 | }; |
| 268 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 269 | flx1_clk: flx1_clk@20 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 270 | #clock-cells = <0>; |
| 271 | reg = <20>; |
| 272 | atmel,clk-output-range = <0 83000000>; |
| 273 | }; |
| 274 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 275 | flx2_clk: flx2_clk@21 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 276 | #clock-cells = <0>; |
| 277 | reg = <21>; |
| 278 | atmel,clk-output-range = <0 83000000>; |
| 279 | }; |
| 280 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 281 | flx3_clk: flx3_clk@22 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 282 | #clock-cells = <0>; |
| 283 | reg = <22>; |
| 284 | atmel,clk-output-range = <0 83000000>; |
| 285 | }; |
| 286 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 287 | flx4_clk: flx4_clk@23 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 288 | #clock-cells = <0>; |
| 289 | reg = <23>; |
| 290 | atmel,clk-output-range = <0 83000000>; |
| 291 | }; |
| 292 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 293 | uart0_clk: uart0_clk@24 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 294 | #clock-cells = <0>; |
| 295 | reg = <24>; |
| 296 | atmel,clk-output-range = <0 83000000>; |
| 297 | }; |
| 298 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 299 | uart1_clk: uart1_clk@25 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 300 | #clock-cells = <0>; |
| 301 | reg = <25>; |
| 302 | atmel,clk-output-range = <0 83000000>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 303 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 304 | }; |
| 305 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 306 | uart2_clk: uart2_clk@26 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 307 | #clock-cells = <0>; |
| 308 | reg = <26>; |
| 309 | atmel,clk-output-range = <0 83000000>; |
| 310 | }; |
| 311 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 312 | uart3_clk: uart3_clk@27 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 313 | #clock-cells = <0>; |
| 314 | reg = <27>; |
| 315 | atmel,clk-output-range = <0 83000000>; |
| 316 | }; |
| 317 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 318 | uart4_clk: uart4_clk@28 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 319 | #clock-cells = <0>; |
| 320 | reg = <28>; |
| 321 | atmel,clk-output-range = <0 83000000>; |
| 322 | }; |
| 323 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 324 | twi0_clk: twi0_clk@29 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 325 | reg = <29>; |
| 326 | #clock-cells = <0>; |
| 327 | atmel,clk-output-range = <0 83000000>; |
| 328 | }; |
| 329 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 330 | twi1_clk: twi1_clk@30 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 331 | #clock-cells = <0>; |
| 332 | reg = <30>; |
| 333 | atmel,clk-output-range = <0 83000000>; |
| 334 | }; |
| 335 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 336 | spi0_clk: spi0_clk@33 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 337 | #clock-cells = <0>; |
| 338 | reg = <33>; |
| 339 | atmel,clk-output-range = <0 83000000>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 340 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 341 | }; |
| 342 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 343 | spi1_clk: spi1_clk@34 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 344 | #clock-cells = <0>; |
| 345 | reg = <34>; |
| 346 | atmel,clk-output-range = <0 83000000>; |
| 347 | }; |
| 348 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 349 | tcb0_clk: tcb0_clk@35 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 350 | #clock-cells = <0>; |
| 351 | reg = <35>; |
| 352 | atmel,clk-output-range = <0 83000000>; |
| 353 | }; |
| 354 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 355 | tcb1_clk: tcb1_clk@36 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 356 | #clock-cells = <0>; |
| 357 | reg = <36>; |
| 358 | atmel,clk-output-range = <0 83000000>; |
| 359 | }; |
| 360 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 361 | pwm_clk: pwm_clk@38 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 362 | #clock-cells = <0>; |
| 363 | reg = <38>; |
| 364 | atmel,clk-output-range = <0 83000000>; |
| 365 | }; |
| 366 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 367 | adc_clk: adc_clk@40 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 368 | #clock-cells = <0>; |
| 369 | reg = <40>; |
| 370 | atmel,clk-output-range = <0 83000000>; |
| 371 | }; |
| 372 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 373 | uhphs_clk: uhphs_clk@41 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 374 | #clock-cells = <0>; |
| 375 | reg = <41>; |
| 376 | atmel,clk-output-range = <0 83000000>; |
| 377 | }; |
| 378 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 379 | udphs_clk: udphs_clk@42 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 380 | #clock-cells = <0>; |
| 381 | reg = <42>; |
| 382 | atmel,clk-output-range = <0 83000000>; |
| 383 | }; |
| 384 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 385 | ssc0_clk: ssc0_clk@43 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 386 | #clock-cells = <0>; |
| 387 | reg = <43>; |
| 388 | atmel,clk-output-range = <0 83000000>; |
| 389 | }; |
| 390 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 391 | ssc1_clk: ssc1_clk@44 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 392 | #clock-cells = <0>; |
| 393 | reg = <44>; |
| 394 | atmel,clk-output-range = <0 83000000>; |
| 395 | }; |
| 396 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 397 | trng_clk: trng_clk@47 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 398 | #clock-cells = <0>; |
| 399 | reg = <47>; |
| 400 | atmel,clk-output-range = <0 83000000>; |
| 401 | }; |
| 402 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 403 | pdmic_clk: pdmic_clk@48 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 404 | #clock-cells = <0>; |
| 405 | reg = <48>; |
| 406 | atmel,clk-output-range = <0 83000000>; |
| 407 | }; |
| 408 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 409 | i2s0_clk: i2s0_clk@54 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 410 | #clock-cells = <0>; |
| 411 | reg = <54>; |
| 412 | atmel,clk-output-range = <0 83000000>; |
| 413 | }; |
| 414 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 415 | i2s1_clk: i2s1_clk@55 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 416 | #clock-cells = <0>; |
| 417 | reg = <55>; |
| 418 | atmel,clk-output-range = <0 83000000>; |
| 419 | }; |
| 420 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 421 | can0_clk: can0_clk@56 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 422 | #clock-cells = <0>; |
| 423 | reg = <56>; |
| 424 | atmel,clk-output-range = <0 83000000>; |
| 425 | }; |
| 426 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 427 | can1_clk: can1_clk@57 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 428 | #clock-cells = <0>; |
| 429 | reg = <57>; |
| 430 | atmel,clk-output-range = <0 83000000>; |
| 431 | }; |
| 432 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 433 | classd_clk: classd_clk@59 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 434 | #clock-cells = <0>; |
| 435 | reg = <59>; |
| 436 | atmel,clk-output-range = <0 83000000>; |
| 437 | }; |
| 438 | }; |
| 439 | |
| 440 | periph64ck { |
| 441 | compatible = "atmel,at91sam9x5-clk-peripheral"; |
| 442 | #address-cells = <1>; |
| 443 | #size-cells = <0>; |
| 444 | clocks = <&mck>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 445 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 446 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 447 | dma0_clk: dma0_clk@6 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 448 | #clock-cells = <0>; |
| 449 | reg = <6>; |
| 450 | }; |
| 451 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 452 | dma1_clk: dma1_clk@7 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 453 | #clock-cells = <0>; |
| 454 | reg = <7>; |
| 455 | }; |
| 456 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 457 | aes_clk: aes_clk@9 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 458 | #clock-cells = <0>; |
| 459 | reg = <9>; |
| 460 | }; |
| 461 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 462 | aesb_clk: aesb_clk@10 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 463 | #clock-cells = <0>; |
| 464 | reg = <10>; |
| 465 | }; |
| 466 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 467 | sha_clk: sha_clk@12 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 468 | #clock-cells = <0>; |
| 469 | reg = <12>; |
| 470 | }; |
| 471 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 472 | mpddr_clk: mpddr_clk@13 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 473 | #clock-cells = <0>; |
| 474 | reg = <13>; |
| 475 | }; |
| 476 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 477 | matrix0_clk: matrix0_clk@15 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 478 | #clock-cells = <0>; |
| 479 | reg = <15>; |
| 480 | }; |
| 481 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 482 | sdmmc0_hclk: sdmmc0_hclk@31 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 483 | #clock-cells = <0>; |
| 484 | reg = <31>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 485 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 486 | }; |
| 487 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 488 | sdmmc1_hclk: sdmmc1_hclk@32 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 489 | #clock-cells = <0>; |
| 490 | reg = <32>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 491 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 492 | }; |
| 493 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 494 | lcdc_clk: lcdc_clk@45 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 495 | #clock-cells = <0>; |
| 496 | reg = <45>; |
| 497 | }; |
| 498 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 499 | isc_clk: isc_clk@46 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 500 | #clock-cells = <0>; |
| 501 | reg = <46>; |
| 502 | }; |
| 503 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 504 | qspi0_clk: qspi0_clk@52 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 505 | #clock-cells = <0>; |
| 506 | reg = <52>; |
| 507 | }; |
| 508 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 509 | qspi1_clk: qspi1_clk@53 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 510 | #clock-cells = <0>; |
| 511 | reg = <53>; |
| 512 | }; |
| 513 | }; |
| 514 | |
| 515 | gck { |
| 516 | compatible = "atmel,sama5d2-clk-generated"; |
| 517 | #address-cells = <1>; |
| 518 | #size-cells = <0>; |
| 519 | interrupt-parent = <&pmc>; |
| 520 | clocks = <&main>, <&plla>, <&utmi>, <&mck>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 521 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 522 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 523 | sdmmc0_gclk: sdmmc0_gclk@31 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 524 | #clock-cells = <0>; |
| 525 | reg = <31>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 526 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 527 | }; |
| 528 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 529 | sdmmc1_gclk: sdmmc1_gclk@32 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 530 | #clock-cells = <0>; |
| 531 | reg = <32>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 532 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 533 | }; |
| 534 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 535 | tcb0_gclk: tcb0_gclk@35 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 536 | #clock-cells = <0>; |
| 537 | reg = <35>; |
| 538 | atmel,clk-output-range = <0 83000000>; |
| 539 | }; |
| 540 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 541 | tcb1_gclk: tcb1_gclk@36 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 542 | #clock-cells = <0>; |
| 543 | reg = <36>; |
| 544 | atmel,clk-output-range = <0 83000000>; |
| 545 | }; |
| 546 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 547 | pwm_gclk: pwm_gclk@38 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 548 | #clock-cells = <0>; |
| 549 | reg = <38>; |
| 550 | atmel,clk-output-range = <0 83000000>; |
| 551 | }; |
| 552 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 553 | pdmic_gclk: pdmic_gclk@48 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 554 | #clock-cells = <0>; |
| 555 | reg = <48>; |
| 556 | }; |
| 557 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 558 | i2s0_gclk: i2s0_gclk@54 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 559 | #clock-cells = <0>; |
| 560 | reg = <54>; |
| 561 | }; |
| 562 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 563 | i2s1_gclk: i2s1_gclk@55 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 564 | #clock-cells = <0>; |
| 565 | reg = <55>; |
| 566 | }; |
| 567 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 568 | can0_gclk: can0_gclk@56 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 569 | #clock-cells = <0>; |
| 570 | reg = <56>; |
| 571 | atmel,clk-output-range = <0 80000000>; |
| 572 | }; |
| 573 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 574 | can1_gclk: can1_gclk@57 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 575 | #clock-cells = <0>; |
| 576 | reg = <57>; |
| 577 | atmel,clk-output-range = <0 80000000>; |
| 578 | }; |
| 579 | |
Wenyou Yang | 9e63c49 | 2016-09-18 15:37:47 +0800 | [diff] [blame] | 580 | classd_gclk: classd_gclk@59 { |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 581 | #clock-cells = <0>; |
| 582 | reg = <59>; |
| 583 | atmel,clk-output-range = <0 100000000>; |
| 584 | }; |
| 585 | }; |
| 586 | }; |
| 587 | |
| 588 | qspi0: spi@f0020000 { |
| 589 | compatible = "atmel,sama5d2-qspi"; |
| 590 | reg = <0xf0020000 0x100>, <0xd0000000 0x08000000>; |
| 591 | reg-names = "qspi_base", "qspi_mmap"; |
| 592 | #address-cells = <1>; |
| 593 | #size-cells = <0>; |
| 594 | clocks = <&qspi0_clk>; |
| 595 | status = "disabled"; |
| 596 | }; |
| 597 | |
| 598 | spi0: spi@f8000000 { |
| 599 | compatible = "atmel,at91rm9200-spi"; |
| 600 | reg = <0xf8000000 0x100>; |
| 601 | clocks = <&spi0_clk>; |
| 602 | clock-names = "spi_clk"; |
| 603 | #address-cells = <1>; |
| 604 | #size-cells = <0>; |
| 605 | status = "disabled"; |
| 606 | }; |
| 607 | |
| 608 | macb0: ethernet@f8008000 { |
| 609 | compatible = "cdns,macb"; |
| 610 | reg = <0xf8008000 0x1000>; |
| 611 | #address-cells = <1>; |
| 612 | #size-cells = <0>; |
| 613 | clocks = <&macb0_clk>, <&macb0_clk>; |
| 614 | clock-names = "hclk", "pclk"; |
| 615 | status = "disabled"; |
| 616 | }; |
| 617 | |
| 618 | uart1: serial@f8020000 { |
| 619 | compatible = "atmel,at91sam9260-usart"; |
| 620 | reg = <0xf8020000 0x100>; |
Wenyou Yang | 20bb165 | 2017-03-23 14:26:22 +0800 | [diff] [blame] | 621 | clocks = <&uart1_clk>; |
| 622 | clock-names = "usart"; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 623 | status = "disabled"; |
| 624 | }; |
| 625 | |
| 626 | i2c0: i2c@f8028000 { |
| 627 | compatible = "atmel,sama5d2-i2c"; |
| 628 | reg = <0xf8028000 0x100>; |
| 629 | #address-cells = <1>; |
| 630 | #size-cells = <0>; |
| 631 | clocks = <&twi0_clk>; |
| 632 | status = "disabled"; |
| 633 | }; |
| 634 | |
| 635 | sckc@f8048050 { |
| 636 | compatible = "atmel,at91sam9x5-sckc"; |
| 637 | reg = <0xf8048050 0x4>; |
| 638 | |
| 639 | slow_rc_osc: slow_rc_osc { |
| 640 | compatible = "atmel,at91sam9x5-clk-slow-rc-osc"; |
| 641 | #clock-cells = <0>; |
| 642 | clock-frequency = <32768>; |
| 643 | clock-accuracy = <250000000>; |
| 644 | atmel,startup-time-usec = <75>; |
| 645 | }; |
| 646 | |
| 647 | slow_osc: slow_osc { |
| 648 | compatible = "atmel,at91sam9x5-clk-slow-osc"; |
| 649 | #clock-cells = <0>; |
| 650 | clocks = <&slow_xtal>; |
| 651 | atmel,startup-time-usec = <1200000>; |
| 652 | }; |
| 653 | |
| 654 | clk32k: slowck { |
| 655 | compatible = "atmel,at91sam9x5-clk-slow"; |
| 656 | #clock-cells = <0>; |
| 657 | clocks = <&slow_rc_osc &slow_osc>; |
| 658 | }; |
| 659 | }; |
| 660 | |
| 661 | spi1: spi@fc000000 { |
| 662 | compatible = "atmel,at91rm9200-spi"; |
| 663 | reg = <0xfc000000 0x100>; |
| 664 | #address-cells = <1>; |
| 665 | #size-cells = <0>; |
| 666 | status = "disabled"; |
| 667 | }; |
| 668 | |
| 669 | i2c1: i2c@fc028000 { |
| 670 | compatible = "atmel,sama5d2-i2c"; |
| 671 | reg = <0xfc028000 0x100>; |
| 672 | #address-cells = <1>; |
| 673 | #size-cells = <0>; |
| 674 | clocks = <&twi1_clk>; |
| 675 | status = "disabled"; |
| 676 | }; |
| 677 | |
| 678 | pioA: gpio@fc038000 { |
| 679 | compatible = "atmel,sama5d2-gpio"; |
| 680 | reg = <0xfc038000 0x600>; |
| 681 | clocks = <&pioA_clk>; |
| 682 | gpio-controller; |
| 683 | #gpio-cells = <2>; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 684 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 685 | |
| 686 | pinctrl { |
| 687 | compatible = "atmel,sama5d2-pinctrl"; |
Wenyou Yang | 4529ee3 | 2017-03-23 14:26:23 +0800 | [diff] [blame] | 688 | u-boot,dm-pre-reloc; |
Wenyou Yang | 2c4b2dd | 2016-07-25 17:46:17 +0800 | [diff] [blame] | 689 | }; |
| 690 | }; |
| 691 | }; |
| 692 | }; |
| 693 | }; |