1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Device Tree Include file for Marvell Armada 4 * 5 * Copyright (C) 2012 Marvell 6 * 7 * Lior Amsalem <alior@marvell.com> 8 * Gregory CLEMENT <gregory.clement@free-electr 9 * Thomas Petazzoni <thomas.petazzoni@free-elec 10 * Ben Dooks <ben.dooks@codethink.co.uk> 11 * 12 * Contains definitions specific to the Armada 13 * common to all Armada SoCs. 14 */ 15 16 #include "armada-370-xp.dtsi" 17 18 / { 19 #address-cells = <2>; 20 #size-cells = <2>; 21 22 model = "Marvell Armada XP family SoC" 23 compatible = "marvell,armadaxp", "marv 24 25 aliases { 26 serial2 = &uart2; 27 serial3 = &uart3; 28 }; 29 30 soc { 31 compatible = "marvell,armadaxp 32 33 bootrom { 34 compatible = "marvell, 35 reg = <MBUS_ID(0x01, 0 36 }; 37 38 internal-regs { 39 sdramc: sdramc@1400 { 40 compatible = " 41 reg = <0x1400 42 }; 43 44 L2: l2-cache@8000 { 45 compatible = " 46 reg = <0x08000 47 cache-id-part 48 cache-level = 49 cache-unified; 50 wt-override; 51 }; 52 53 uart2: serial@12200 { 54 compatible = " 55 pinctrl-0 = <& 56 pinctrl-names 57 reg = <0x12200 58 reg-shift = <2 59 interrupts = < 60 reg-io-width = 61 clocks = <&cor 62 status = "disa 63 }; 64 65 uart3: serial@12300 { 66 compatible = " 67 pinctrl-0 = <& 68 pinctrl-names 69 reg = <0x12300 70 reg-shift = <2 71 interrupts = < 72 reg-io-width = 73 clocks = <&cor 74 status = "disa 75 }; 76 77 systemc: system-contro 78 compatible = " 79 reg = <0x18200 80 }; 81 82 gateclk: clock-gating- 83 compatible = " 84 reg = <0x18220 85 clocks = <&cor 86 #clock-cells = 87 }; 88 89 coreclk: mvebu-sar@182 90 compatible = " 91 reg = <0x18230 92 #clock-cells = 93 }; 94 95 thermal: thermal@182b0 96 compatible = " 97 reg = <0x182b0 98 0x184d 99 status = "okay 100 }; 101 102 cpuclk: clock-complex@ 103 #clock-cells = 104 compatible = " 105 reg = <0x18700 106 clocks = <&cor 107 }; 108 109 cpu-config@21000 { 110 compatible = " 111 reg = <0x21000 112 }; 113 114 eth2: ethernet@30000 { 115 compatible = " 116 reg = <0x30000 117 interrupts = < 118 clocks = <&gat 119 status = "disa 120 }; 121 122 usb2: usb@52000 { 123 compatible = " 124 reg = <0x52000 125 interrupts = < 126 clocks = <&gat 127 status = "disa 128 }; 129 130 xor1: xor@60900 { 131 compatible = " 132 reg = <0x60900 133 0x60b00 134 clocks = <&gat 135 status = "okay 136 137 xor10 { 138 interr 139 dmacap 140 dmacap 141 }; 142 xor11 { 143 interr 144 dmacap 145 dmacap 146 dmacap 147 }; 148 }; 149 150 ethernet@70000 { 151 compatible = " 152 }; 153 154 ethernet@74000 { 155 compatible = " 156 }; 157 158 cesa: crypto@90000 { 159 compatible = " 160 reg = <0x90000 161 reg-names = "r 162 interrupts = < 163 clocks = <&gat 164 clock-names = 165 marvell,crypto 166 167 marvell,crypto 168 }; 169 170 bm: bm@c0000 { 171 compatible = " 172 reg = <0xc0000 173 clocks = <&gat 174 internal-mem = 175 status = "disa 176 }; 177 178 xor0: xor@f0900 { 179 compatible = " 180 reg = <0xF0900 181 0xF0B00 182 clocks = <&gat 183 status = "okay 184 185 xor00 { 186 interr 187 dmacap 188 dmacap 189 }; 190 xor01 { 191 interr 192 dmacap 193 dmacap 194 dmacap 195 }; 196 }; 197 }; 198 199 crypto_sram0: sa-sram0 { 200 compatible = "mmio-sra 201 reg = <MBUS_ID(0x09, 0 202 clocks = <&gateclk 23> 203 #address-cells = <1>; 204 #size-cells = <1>; 205 ranges = <0 MBUS_ID(0x 206 }; 207 208 crypto_sram1: sa-sram1 { 209 compatible = "mmio-sra 210 reg = <MBUS_ID(0x09, 0 211 clocks = <&gateclk 23> 212 #address-cells = <1>; 213 #size-cells = <1>; 214 ranges = <0 MBUS_ID(0x 215 }; 216 217 bm_bppi: bm-bppi { 218 compatible = "mmio-sra 219 reg = <MBUS_ID(0x0c, 0 220 ranges = <0 MBUS_ID(0x 221 #address-cells = <1>; 222 #size-cells = <1>; 223 clocks = <&gateclk 13> 224 no-memory-wc; 225 status = "disabled"; 226 }; 227 }; 228 229 clocks { 230 /* 25 MHz reference crystal */ 231 refclk: oscillator { 232 compatible = "fixed-cl 233 #clock-cells = <0>; 234 clock-frequency = <250 235 }; 236 }; 237 }; 238 239 &i2c0 { 240 compatible = "marvell,mv78230-i2c", "m 241 reg = <0x11000 0x100>; 242 }; 243 244 &i2c1 { 245 compatible = "marvell,mv78230-i2c", "m 246 reg = <0x11100 0x100>; 247 }; 248 249 &mpic { 250 reg = <0x20a00 0x2d0>, <0x21070 0x58>; 251 }; 252 253 &timer { 254 compatible = "marvell,armada-xp-timer" 255 clocks = <&coreclk 2>, <&refclk>; 256 clock-names = "nbclk", "fixed"; 257 }; 258 259 &watchdog { 260 compatible = "marvell,armada-xp-wdt"; 261 clocks = <&coreclk 2>, <&refclk>; 262 clock-names = "nbclk", "fixed"; 263 interrupts = <93>, <38>; 264 }; 265 266 &cpurst { 267 reg = <0x20800 0x20>; 268 }; 269 270 &usb0 { 271 clocks = <&gateclk 18>; 272 }; 273 274 &usb1 { 275 clocks = <&gateclk 19>; 276 }; 277 278 &pinctrl { 279 ge0_gmii_pins: ge0-gmii-pins { 280 marvell,pins = 281 "mpp0", "mpp1", "mpp2", 282 "mpp4", "mpp5", "mpp6", 283 "mpp8", "mpp9", "mpp10" 284 "mpp12", "mpp13", "mpp14" 285 "mpp16", "mpp17", "mpp18" 286 "mpp20", "mpp21", "mpp22" 287 marvell,function = "ge0"; 288 }; 289 290 ge0_rgmii_pins: ge0-rgmii-pins { 291 marvell,pins = 292 "mpp0", "mpp1", "mpp2", " 293 "mpp4", "mpp5", "mpp6", " 294 "mpp8", "mpp9", "mpp10", 295 marvell,function = "ge0"; 296 }; 297 298 ge1_rgmii_pins: ge1-rgmii-pins { 299 marvell,pins = 300 "mpp12", "mpp13", "mpp14" 301 "mpp16", "mpp17", "mpp18" 302 "mpp20", "mpp21", "mpp22" 303 marvell,function = "ge1"; 304 }; 305 306 sdio_pins: sdio-pins { 307 marvell,pins = "mpp30", "mpp31 308 "mpp33", "mpp34 309 marvell,function = "sd0"; 310 }; 311 312 spi0_pins: spi0-pins { 313 marvell,pins = "mpp36", "mpp37 314 "mpp38", "mpp39 315 marvell,function = "spi0"; 316 }; 317 318 spi1_pins: spi1-pins { 319 marvell,pins = "mpp13", "mpp14 320 "mpp16", "mpp17 321 marvell,function = "spi1"; 322 }; 323 324 uart2_pins: uart2-pins { 325 marvell,pins = "mpp42", "mpp43 326 marvell,function = "uart2"; 327 }; 328 329 uart3_pins: uart3-pins { 330 marvell,pins = "mpp44", "mpp45 331 marvell,function = "uart3"; 332 }; 333 }; 334 335 &spi0 { 336 compatible = "marvell,armada-xp-spi", 337 pinctrl-0 = <&spi0_pins>; 338 pinctrl-names = "default"; 339 }; 340 341 &spi1 { 342 compatible = "marvell,armada-xp-spi", 343 pinctrl-0 = <&spi1_pins>; 344 pinctrl-names = "default"; 345 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.