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