Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 | /* |
| 3 | * sam9x60.dtsi - Device Tree Include file for SAM9X60 SoC. |
| 4 | * |
| 5 | * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries |
| 6 | * |
| 7 | * Author: Sandeep Sheriker M <sandeepsheriker.mallikarjun@microchip.com> |
| 8 | */ |
| 9 | |
| 10 | #include "skeleton.dtsi" |
| 11 | #include <dt-bindings/dma/at91.h> |
| 12 | #include <dt-bindings/pinctrl/at91.h> |
| 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | #include <dt-bindings/gpio/gpio.h> |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 15 | #include <dt-bindings/clk/at91.h> |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 16 | |
| 17 | /{ |
| 18 | model = "Microchip SAM9X60 SoC"; |
| 19 | compatible = "microchip,sam9x60"; |
| 20 | |
| 21 | aliases { |
| 22 | serial0 = &dbgu; |
| 23 | gpio0 = &pioA; |
| 24 | gpio1 = &pioB; |
Mihai Sain | 62cf34d | 2021-10-27 10:28:35 +0300 | [diff] [blame] | 25 | gpio2 = &pioC; |
Eugen Hristev | 223cab5 | 2019-09-30 07:28:58 +0000 | [diff] [blame] | 26 | gpio3 = &pioD; |
Tudor Ambarus | 228f9e0 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 27 | spi0 = &qspi; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 28 | }; |
| 29 | |
Alexander Dahl | a2283b3 | 2023-07-05 22:16:57 +0200 | [diff] [blame] | 30 | cpus { |
| 31 | #address-cells = <1>; |
| 32 | #size-cells = <0>; |
| 33 | |
| 34 | ARM9260_0: cpu@0 { |
| 35 | device_type = "cpu"; |
| 36 | compatible = "arm,arm926ej-s"; |
| 37 | clocks = <&pmc PMC_TYPE_CORE 19>, <&pmc PMC_TYPE_CORE 11>, <&main_xtal>; |
| 38 | clock-names = "cpu", "master", "xtal"; |
| 39 | }; |
| 40 | }; |
| 41 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 42 | clocks { |
Claudiu Beznea | dbe10b6 | 2020-10-07 18:17:11 +0300 | [diff] [blame] | 43 | slow_rc_osc: slow_rc_osc { |
| 44 | compatible = "fixed-clock"; |
| 45 | #clock-cells = <0>; |
| 46 | clock-frequency = <18500>; |
| 47 | }; |
| 48 | |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 49 | main_rc: main_rc { |
| 50 | compatible = "fixed-clock"; |
| 51 | #clock-cells = <0>; |
| 52 | clock-frequency = <12000000>; |
| 53 | }; |
| 54 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 55 | slow_xtal: slow_xtal { |
| 56 | compatible = "fixed-clock"; |
| 57 | #clock-cells = <0>; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 58 | }; |
| 59 | |
| 60 | main_xtal: main_xtal { |
| 61 | compatible = "fixed-clock"; |
| 62 | #clock-cells = <0>; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 63 | }; |
| 64 | }; |
| 65 | |
| 66 | ahb { |
| 67 | compatible = "simple-bus"; |
| 68 | #address-cells = <1>; |
| 69 | #size-cells = <1>; |
| 70 | ranges; |
| 71 | |
Sergiu Moga | 3631be3 | 2023-01-04 16:04:10 +0200 | [diff] [blame] | 72 | usb1: usb@600000 { |
| 73 | compatible = "atmel,at91rm9200-ohci", "usb-ohci"; |
| 74 | reg = <0x00600000 0x100000>; |
| 75 | clocks = <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_PERIPHERAL 22>, <&pmc PMC_TYPE_SYSTEM 21>; |
| 76 | clock-names = "ohci_clk", "hclk", "uhpck"; |
| 77 | status = "disabled"; |
| 78 | }; |
| 79 | |
| 80 | usb2: usb@700000 { |
| 81 | compatible = "atmel,at91sam9g45-ehci", "usb-ehci"; |
| 82 | reg = <0x00700000 0x100000>; |
| 83 | clocks = <&pmc PMC_TYPE_CORE 8>, <&pmc PMC_TYPE_PERIPHERAL 22>; |
| 84 | clock-names = "usb_clk", "ehci_clk"; |
| 85 | assigned-clocks = <&pmc PMC_TYPE_CORE 8>; |
| 86 | assigned-clock-rates = <480000000>; |
| 87 | status = "disabled"; |
| 88 | }; |
| 89 | |
Balamanikandan Gunasundar | 2d35bf2 | 2022-10-25 16:21:07 +0530 | [diff] [blame] | 90 | ebi: ebi@10000000 { |
| 91 | compatible = "microchip,sam9x60-ebi"; |
| 92 | #address-cells = <2>; |
| 93 | #size-cells = <1>; |
| 94 | atmel,smc = <&smc>; |
| 95 | microchip,sfr = <&sfr>; |
| 96 | reg = <0x10000000 0x60000000>; |
| 97 | ranges = <0x0 0x0 0x10000000 0x10000000 |
| 98 | 0x1 0x0 0x20000000 0x10000000 |
| 99 | 0x2 0x0 0x30000000 0x10000000 |
| 100 | 0x3 0x0 0x40000000 0x10000000 |
| 101 | 0x4 0x0 0x50000000 0x10000000 |
| 102 | 0x5 0x0 0x60000000 0x10000000>; |
| 103 | clocks = <&pmc PMC_TYPE_CORE 11>; |
| 104 | status = "disabled"; |
| 105 | |
| 106 | nand_controller: nand-controller { |
| 107 | compatible = "microchip,sam9x60-nand-controller"; |
| 108 | ecc-engine = <&pmecc>; |
| 109 | #address-cells = <2>; |
| 110 | #size-cells = <1>; |
| 111 | ranges; |
| 112 | status = "disabled"; |
| 113 | }; |
| 114 | }; |
| 115 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 116 | sdhci0: sdhci-host@80000000 { |
| 117 | compatible = "microchip,sam9x60-sdhci"; |
| 118 | reg = <0x80000000 0x300>; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 119 | clocks = <&pmc PMC_TYPE_PERIPHERAL 12>, <&pmc PMC_TYPE_GCK 12>; |
| 120 | clock-names = "hclock", "multclk"; |
| 121 | assigned-clocks = <&pmc PMC_TYPE_GCK 12>; |
| 122 | assigned-clock-rates = <100000000>; |
| 123 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* ID_PLL_A_DIV */ |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 124 | bus-width = <4>; |
| 125 | pinctrl-names = "default"; |
| 126 | pinctrl-0 = <&pinctrl_sdhci0>; |
| 127 | }; |
| 128 | |
Mihai Sain | ee43b1e | 2022-12-23 08:47:17 +0200 | [diff] [blame] | 129 | sdhci1: sdhci-host@90000000 { |
| 130 | compatible = "microchip,sam9x60-sdhci"; |
| 131 | reg = <0x90000000 0x300>; |
| 132 | clocks = <&pmc PMC_TYPE_PERIPHERAL 26>, <&pmc PMC_TYPE_GCK 26>; |
| 133 | clock-names = "hclock", "multclk"; |
| 134 | assigned-clocks = <&pmc PMC_TYPE_GCK 26>; |
| 135 | assigned-clock-rates = <100000000>; |
| 136 | assigned-clock-parents = <&pmc PMC_TYPE_CORE 10>; /* ID_PLL_A_DIV */ |
| 137 | bus-width = <4>; |
| 138 | pinctrl-names = "default"; |
| 139 | pinctrl-0 = <&pinctrl_sdhci1>; |
| 140 | }; |
| 141 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 142 | apb { |
| 143 | compatible = "simple-bus"; |
| 144 | #address-cells = <1>; |
| 145 | #size-cells = <1>; |
| 146 | ranges; |
| 147 | |
Tudor Ambarus | 228f9e0 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 148 | qspi: spi@f0014000 { |
| 149 | compatible = "microchip,sam9x60-qspi"; |
| 150 | reg = <0xf0014000 0x100>, <0x70000000 0x10000000>; |
| 151 | reg-names = "qspi_base", "qspi_mmap"; |
Alexander Dahl | a2283b3 | 2023-07-05 22:16:57 +0200 | [diff] [blame] | 152 | clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_SYSTEM 18>; /* ID_QSPI */ |
Tudor Ambarus | 228f9e0 | 2019-09-27 13:09:19 +0000 | [diff] [blame] | 153 | clock-names = "pclk", "qspick"; |
| 154 | #address-cells = <1>; |
| 155 | #size-cells = <0>; |
| 156 | status = "disabled"; |
| 157 | }; |
| 158 | |
Alexander Dahl | a2283b3 | 2023-07-05 22:16:57 +0200 | [diff] [blame] | 159 | pit64b0: timer@f0028000 { |
| 160 | compatible = "microchip,sam9x60-pit64b"; |
| 161 | reg = <0xf0028000 0xec>; |
| 162 | clocks = <&pmc PMC_TYPE_PERIPHERAL 37>, <&pmc PMC_TYPE_GCK 37>; |
| 163 | clock-names = "pclk", "gclk"; |
| 164 | }; |
| 165 | |
Eugen Hristev | 2d604ed | 2019-10-09 09:23:40 +0000 | [diff] [blame] | 166 | flx0: flexcom@f801c600 { |
| 167 | compatible = "atmel,sama5d2-flexcom"; |
| 168 | reg = <0xf801c000 0x200>; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 169 | clocks = <&pmc PMC_TYPE_PERIPHERAL 5>; |
Eugen Hristev | 2d604ed | 2019-10-09 09:23:40 +0000 | [diff] [blame] | 170 | #address-cells = <1>; |
| 171 | #size-cells = <1>; |
| 172 | ranges = <0x0 0xf801c000 0x800>; |
| 173 | status = "disabled"; |
| 174 | }; |
| 175 | |
Nicolas Ferre | 8855543 | 2019-09-27 13:08:48 +0000 | [diff] [blame] | 176 | macb0: ethernet@f802c000 { |
| 177 | compatible = "cdns,sam9x60-macb", "cdns,macb"; |
| 178 | reg = <0xf802c000 0x100>; |
| 179 | pinctrl-names = "default"; |
| 180 | pinctrl-0 = <&pinctrl_macb0_rmii>; |
| 181 | clock-names = "hclk", "pclk"; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 182 | clocks = <&pmc PMC_TYPE_PERIPHERAL 24>, <&pmc PMC_TYPE_PERIPHERAL 24>; |
Nicolas Ferre | 8855543 | 2019-09-27 13:08:48 +0000 | [diff] [blame] | 183 | status = "disabled"; |
| 184 | }; |
| 185 | |
Balamanikandan Gunasundar | 2d35bf2 | 2022-10-25 16:21:07 +0530 | [diff] [blame] | 186 | sfr: sfr@f8050000 { |
| 187 | compatible = "microchip,sam9x60-sfr", "syscon"; |
| 188 | reg = <0xf8050000 0x100>; |
| 189 | }; |
| 190 | |
Alexander Dahl | a2283b3 | 2023-07-05 22:16:57 +0200 | [diff] [blame] | 191 | pmecc: ecc-engine@ffffe000 { |
| 192 | compatible = "microchip,sam9x60-pmecc", "atmel,at91sam9g45-pmecc"; |
| 193 | reg = <0xffffe000 0x300>, |
| 194 | <0xffffe600 0x100>; |
| 195 | }; |
| 196 | |
| 197 | smc: smc@ffffea00 { |
| 198 | compatible = "microchip,sam9x60-smc", "atmel,at91sam9260-smc", "syscon"; |
| 199 | reg = <0xffffea00 0x100>; |
| 200 | }; |
| 201 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 202 | dbgu: serial@fffff200 { |
| 203 | compatible = "atmel,at91sam9260-dbgu", "atmel,at91sam9260-usart"; |
| 204 | reg = <0xfffff200 0x200>; |
| 205 | pinctrl-names = "default"; |
| 206 | pinctrl-0 = <&pinctrl_dbgu>; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 207 | clocks = <&pmc PMC_TYPE_PERIPHERAL 47>; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 208 | clock-names = "usart"; |
| 209 | }; |
| 210 | |
Alexander Dahl | a2283b3 | 2023-07-05 22:16:57 +0200 | [diff] [blame] | 211 | pinctrl: pinctrl@fffff400 { |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 212 | #address-cells = <1>; |
| 213 | #size-cells = <1>; |
| 214 | compatible = "microchip,sam9x60-pinctrl", "simple-bus"; |
| 215 | ranges = <0xfffff400 0xfffff400 0x800>; |
| 216 | reg = <0xfffff400 0x200 /* pioA */ |
| 217 | 0xfffff600 0x200 /* pioB */ |
| 218 | 0xfffff800 0x200 /* pioC */ |
| 219 | 0xfffffa00 0x200>; /* pioD */ |
| 220 | |
| 221 | /* shared pinctrl settings */ |
| 222 | dbgu { |
| 223 | pinctrl_dbgu: dbgu-0 { |
| 224 | atmel,pins = |
| 225 | <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP |
Alexander Dahl | a2283b3 | 2023-07-05 22:16:57 +0200 | [diff] [blame] | 226 | AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 227 | }; |
| 228 | }; |
| 229 | |
Nicolas Ferre | 8855543 | 2019-09-27 13:08:48 +0000 | [diff] [blame] | 230 | macb0 { |
| 231 | pinctrl_macb0_rmii: macb0_rmii-0 { |
| 232 | atmel,pins = |
| 233 | <AT91_PIOB 0 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB0 periph A */ |
| 234 | AT91_PIOB 1 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB1 periph A */ |
| 235 | AT91_PIOB 2 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB2 periph A */ |
| 236 | AT91_PIOB 3 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB3 periph A */ |
| 237 | AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB4 periph A */ |
| 238 | AT91_PIOB 5 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB5 periph A */ |
| 239 | AT91_PIOB 6 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB6 periph A */ |
| 240 | AT91_PIOB 7 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB7 periph A */ |
| 241 | AT91_PIOB 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB9 periph A */ |
| 242 | AT91_PIOB 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB10 periph A */ |
| 243 | }; |
| 244 | }; |
| 245 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 246 | sdhci0 { |
| 247 | pinctrl_sdhci0: sdhci0 { |
| 248 | atmel,pins = |
Eugen Hristev | 1a5c5b7 | 2020-11-09 17:35:01 +0200 | [diff] [blame] | 249 | <AT91_PIOA 17 AT91_PERIPH_A |
| 250 | (AT91_PINCTRL_DRIVE_STRENGTH_HI | AT91_PINCTRL_SLEWRATE_ENA) /* PA17 CK periph A with pullup */ |
| 251 | AT91_PIOA 16 AT91_PERIPH_A |
| 252 | (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI | AT91_PINCTRL_SLEWRATE_ENA) /* PA16 CMD periph A with pullup */ |
| 253 | AT91_PIOA 15 AT91_PERIPH_A |
| 254 | (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI | AT91_PINCTRL_SLEWRATE_ENA) /* PA15 DAT0 periph A */ |
| 255 | AT91_PIOA 18 AT91_PERIPH_A |
| 256 | (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI | AT91_PINCTRL_SLEWRATE_ENA) /* PA18 DAT1 periph A with pullup */ |
| 257 | AT91_PIOA 19 AT91_PERIPH_A |
| 258 | (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI | AT91_PINCTRL_SLEWRATE_ENA) /* PA19 DAT2 periph A with pullup */ |
| 259 | AT91_PIOA 20 AT91_PERIPH_A |
| 260 | (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI | AT91_PINCTRL_SLEWRATE_ENA)>; /* PA20 DAT3 periph A with pullup */ |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 261 | }; |
| 262 | }; |
Mihai Sain | ee43b1e | 2022-12-23 08:47:17 +0200 | [diff] [blame] | 263 | |
| 264 | sdhci1 { |
| 265 | pinctrl_sdhci1: sdhci1 { |
| 266 | atmel,pins = |
| 267 | <AT91_PIOA 13 AT91_PERIPH_B (AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA13 CK periph B */ |
| 268 | AT91_PIOA 12 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA12 CMD periph B with pullup */ |
| 269 | AT91_PIOA 11 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA11 DAT0 periph B with pullup */ |
| 270 | AT91_PIOA 2 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA2 DAT1 periph B with pullup */ |
| 271 | AT91_PIOA 3 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI) /* PA3 DAT2 periph B with pullup */ |
| 272 | AT91_PIOA 4 AT91_PERIPH_B (AT91_PINCTRL_PULL_UP | AT91_PINCTRL_DRIVE_STRENGTH_HI)>; /* PA4 DAT3 periph B with pullup */ |
| 273 | }; |
| 274 | }; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 275 | }; |
| 276 | |
| 277 | pioA: gpio@fffff400 { |
| 278 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 279 | reg = <0xfffff400 0x200>; |
| 280 | #gpio-cells = <2>; |
| 281 | gpio-controller; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 282 | clocks = <&pmc PMC_TYPE_PERIPHERAL 2>; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 283 | }; |
| 284 | |
| 285 | pioB: gpio@fffff600 { |
| 286 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 287 | reg = <0xfffff600 0x200>; |
| 288 | #gpio-cells = <2>; |
| 289 | gpio-controller; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 290 | clocks = <&pmc PMC_TYPE_PERIPHERAL 3>; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 291 | }; |
| 292 | |
Mihai Sain | 62cf34d | 2021-10-27 10:28:35 +0300 | [diff] [blame] | 293 | pioC: gpio@fffff800 { |
| 294 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 295 | reg = <0xfffff800 0x200>; |
| 296 | #gpio-cells = <2>; |
| 297 | gpio-controller; |
| 298 | clocks = <&pmc PMC_TYPE_PERIPHERAL 4>; |
| 299 | }; |
| 300 | |
Eugen Hristev | 223cab5 | 2019-09-30 07:28:58 +0000 | [diff] [blame] | 301 | pioD: gpio@fffffa00 { |
| 302 | compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio"; |
| 303 | reg = <0xfffffa00 0x200>; |
| 304 | #gpio-cells = <2>; |
| 305 | gpio-controller; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 306 | clocks = <&pmc PMC_TYPE_PERIPHERAL 44>; |
Eugen Hristev | 223cab5 | 2019-09-30 07:28:58 +0000 | [diff] [blame] | 307 | }; |
| 308 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 309 | pmc: pmc@fffffc00 { |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 310 | compatible = "microchip,sam9x60-pmc"; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 311 | reg = <0xfffffc00 0x200>; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 312 | #clock-cells = <2>; |
| 313 | clocks = <&clk32 1>, <&clk32 0>, <&main_xtal>, <&main_rc>; |
| 314 | clock-names = "td_slck", "md_slck", "main_xtal", "main_rc"; |
| 315 | status = "okay"; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 316 | }; |
| 317 | |
Sergiu Moga | 2016585 | 2022-04-01 12:27:23 +0300 | [diff] [blame] | 318 | reset_controller: rstc@fffffe00 { |
| 319 | compatible = "microchip,sam9x60-rstc"; |
| 320 | reg = <0xfffffe00 0x10>; |
| 321 | clocks = <&clk32 0>; |
| 322 | }; |
| 323 | |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 324 | pit: timer@fffffe40 { |
| 325 | compatible = "atmel,at91sam9260-pit"; |
| 326 | reg = <0xfffffe40 0x10>; |
Claudiu Beznea | c37d59a | 2020-10-07 18:17:12 +0300 | [diff] [blame] | 327 | clocks = <&pmc PMC_TYPE_CORE 11>; /* ID_MCK. */ |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 328 | }; |
| 329 | |
Claudiu Beznea | dbe10b6 | 2020-10-07 18:17:11 +0300 | [diff] [blame] | 330 | clk32: sckc@fffffe50 { |
| 331 | compatible = "microchip,sam9x60-sckc"; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 332 | reg = <0xfffffe50 0x4>; |
Claudiu Beznea | dbe10b6 | 2020-10-07 18:17:11 +0300 | [diff] [blame] | 333 | clocks = <&slow_rc_osc>, <&slow_xtal>; |
| 334 | #clock-cells = <1>; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 335 | }; |
| 336 | }; |
| 337 | }; |
Eugen Hristev | 223cab5 | 2019-09-30 07:28:58 +0000 | [diff] [blame] | 338 | |
| 339 | onewire_tm: onewire { |
| 340 | compatible = "w1-gpio"; |
| 341 | status = "disabled"; |
| 342 | }; |
Sandeep Sheriker Mallikarjun | f99e0ad | 2019-09-27 13:08:45 +0000 | [diff] [blame] | 343 | }; |