armada-38x.dtsi 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Device Tree Include file for Marvell Armada 38x family of SoCs.
  4. *
  5. * Copyright (C) 2014 Marvell
  6. *
  7. * Lior Amsalem <[email protected]>
  8. * Gregory CLEMENT <[email protected]>
  9. * Thomas Petazzoni <[email protected]>
  10. */
  11. #include <dt-bindings/interrupt-controller/arm-gic.h>
  12. #include <dt-bindings/interrupt-controller/irq.h>
  13. #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
  14. / {
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. model = "Marvell Armada 38x family SoC";
  18. compatible = "marvell,armada380";
  19. aliases {
  20. gpio0 = &gpio0;
  21. gpio1 = &gpio1;
  22. serial0 = &uart0;
  23. serial1 = &uart1;
  24. };
  25. pmu {
  26. compatible = "arm,cortex-a9-pmu";
  27. interrupts-extended = <&mpic 3>;
  28. };
  29. soc {
  30. compatible = "marvell,armada380-mbus", "simple-bus";
  31. #address-cells = <2>;
  32. #size-cells = <1>;
  33. controller = <&mbusc>;
  34. interrupt-parent = <&gic>;
  35. pcie-mem-aperture = <0xe0000000 0x8000000>;
  36. pcie-io-aperture = <0xe8000000 0x100000>;
  37. bootrom {
  38. compatible = "marvell,bootrom";
  39. reg = <MBUS_ID(0x01, 0x1d) 0 0x200000>;
  40. };
  41. devbus_bootcs: devbus-bootcs {
  42. compatible = "marvell,mvebu-devbus";
  43. reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>;
  44. ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>;
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. clocks = <&coreclk 0>;
  48. status = "disabled";
  49. };
  50. devbus_cs0: devbus-cs0 {
  51. compatible = "marvell,mvebu-devbus";
  52. reg = <MBUS_ID(0xf0, 0x01) 0x10408 0x8>;
  53. ranges = <0 MBUS_ID(0x01, 0x3e) 0 0xffffffff>;
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. clocks = <&coreclk 0>;
  57. status = "disabled";
  58. };
  59. devbus_cs1: devbus-cs1 {
  60. compatible = "marvell,mvebu-devbus";
  61. reg = <MBUS_ID(0xf0, 0x01) 0x10410 0x8>;
  62. ranges = <0 MBUS_ID(0x01, 0x3d) 0 0xffffffff>;
  63. #address-cells = <1>;
  64. #size-cells = <1>;
  65. clocks = <&coreclk 0>;
  66. status = "disabled";
  67. };
  68. devbus_cs2: devbus-cs2 {
  69. compatible = "marvell,mvebu-devbus";
  70. reg = <MBUS_ID(0xf0, 0x01) 0x10418 0x8>;
  71. ranges = <0 MBUS_ID(0x01, 0x3b) 0 0xffffffff>;
  72. #address-cells = <1>;
  73. #size-cells = <1>;
  74. clocks = <&coreclk 0>;
  75. status = "disabled";
  76. };
  77. devbus_cs3: devbus-cs3 {
  78. compatible = "marvell,mvebu-devbus";
  79. reg = <MBUS_ID(0xf0, 0x01) 0x10420 0x8>;
  80. ranges = <0 MBUS_ID(0x01, 0x37) 0 0xffffffff>;
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. clocks = <&coreclk 0>;
  84. status = "disabled";
  85. };
  86. internal-regs {
  87. compatible = "simple-bus";
  88. #address-cells = <1>;
  89. #size-cells = <1>;
  90. ranges = <0 MBUS_ID(0xf0, 0x01) 0 0x100000>;
  91. sdramc: sdramc@1400 {
  92. compatible = "marvell,armada-xp-sdram-controller";
  93. reg = <0x1400 0x500>;
  94. };
  95. L2: cache-controller@8000 {
  96. compatible = "arm,pl310-cache";
  97. reg = <0x8000 0x1000>;
  98. cache-unified;
  99. cache-level = <2>;
  100. arm,double-linefill-incr = <0>;
  101. arm,double-linefill-wrap = <0>;
  102. arm,double-linefill = <0>;
  103. prefetch-data = <1>;
  104. };
  105. scu@c000 {
  106. compatible = "arm,cortex-a9-scu";
  107. reg = <0xc000 0x58>;
  108. };
  109. timer@c200 {
  110. compatible = "arm,cortex-a9-global-timer";
  111. reg = <0xc200 0x20>;
  112. interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
  113. clocks = <&coreclk 2>;
  114. };
  115. timer@c600 {
  116. compatible = "arm,cortex-a9-twd-timer";
  117. reg = <0xc600 0x20>;
  118. interrupts = <GIC_PPI 13 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
  119. clocks = <&coreclk 2>;
  120. };
  121. gic: interrupt-controller@d000 {
  122. compatible = "arm,cortex-a9-gic";
  123. #interrupt-cells = <3>;
  124. #size-cells = <0>;
  125. interrupt-controller;
  126. reg = <0xd000 0x1000>,
  127. <0xc100 0x100>;
  128. };
  129. i2c0: i2c@11000 {
  130. compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c";
  131. reg = <0x11000 0x20>;
  132. #address-cells = <1>;
  133. #size-cells = <0>;
  134. interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
  135. clocks = <&coreclk 0>;
  136. status = "disabled";
  137. };
  138. i2c1: i2c@11100 {
  139. compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c";
  140. reg = <0x11100 0x20>;
  141. #address-cells = <1>;
  142. #size-cells = <0>;
  143. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  144. clocks = <&coreclk 0>;
  145. status = "disabled";
  146. };
  147. uart0: serial@12000 {
  148. compatible = "marvell,armada-38x-uart", "ns16550a";
  149. reg = <0x12000 0x100>;
  150. reg-shift = <2>;
  151. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
  152. reg-io-width = <1>;
  153. clocks = <&coreclk 0>;
  154. status = "disabled";
  155. };
  156. uart1: serial@12100 {
  157. compatible = "marvell,armada-38x-uart", "ns16550a";
  158. reg = <0x12100 0x100>;
  159. reg-shift = <2>;
  160. interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
  161. reg-io-width = <1>;
  162. clocks = <&coreclk 0>;
  163. status = "disabled";
  164. };
  165. pinctrl: pinctrl@18000 {
  166. reg = <0x18000 0x20>;
  167. ge0_rgmii_pins: ge-rgmii-pins-0 {
  168. marvell,pins = "mpp6", "mpp7", "mpp8",
  169. "mpp9", "mpp10", "mpp11",
  170. "mpp12", "mpp13", "mpp14",
  171. "mpp15", "mpp16", "mpp17";
  172. marvell,function = "ge0";
  173. };
  174. ge1_rgmii_pins: ge-rgmii-pins-1 {
  175. marvell,pins = "mpp21", "mpp27", "mpp28",
  176. "mpp29", "mpp30", "mpp31",
  177. "mpp32", "mpp37", "mpp38",
  178. "mpp39", "mpp40", "mpp41";
  179. marvell,function = "ge1";
  180. };
  181. i2c0_pins: i2c-pins-0 {
  182. marvell,pins = "mpp2", "mpp3";
  183. marvell,function = "i2c0";
  184. };
  185. mdio_pins: mdio-pins {
  186. marvell,pins = "mpp4", "mpp5";
  187. marvell,function = "ge";
  188. };
  189. ref_clk0_pins: ref-clk-pins-0 {
  190. marvell,pins = "mpp45";
  191. marvell,function = "ref";
  192. };
  193. ref_clk1_pins: ref-clk-pins-1 {
  194. marvell,pins = "mpp46";
  195. marvell,function = "ref";
  196. };
  197. spi0_pins: spi-pins-0 {
  198. marvell,pins = "mpp22", "mpp23", "mpp24",
  199. "mpp25";
  200. marvell,function = "spi0";
  201. };
  202. spi1_pins: spi-pins-1 {
  203. marvell,pins = "mpp56", "mpp57", "mpp58",
  204. "mpp59";
  205. marvell,function = "spi1";
  206. };
  207. nand_pins: nand-pins {
  208. marvell,pins = "mpp22", "mpp34", "mpp23",
  209. "mpp33", "mpp38", "mpp28",
  210. "mpp40", "mpp42", "mpp35",
  211. "mpp36", "mpp25", "mpp30",
  212. "mpp32";
  213. marvell,function = "dev";
  214. };
  215. nand_rb: nand-rb {
  216. marvell,pins = "mpp41";
  217. marvell,function = "nand";
  218. };
  219. uart0_pins: uart-pins-0 {
  220. marvell,pins = "mpp0", "mpp1";
  221. marvell,function = "ua0";
  222. };
  223. uart1_pins: uart-pins-1 {
  224. marvell,pins = "mpp19", "mpp20";
  225. marvell,function = "ua1";
  226. };
  227. sdhci_pins: sdhci-pins {
  228. marvell,pins = "mpp48", "mpp49", "mpp50",
  229. "mpp52", "mpp53", "mpp54",
  230. "mpp55", "mpp57", "mpp58",
  231. "mpp59";
  232. marvell,function = "sd0";
  233. };
  234. sata0_pins: sata-pins-0 {
  235. marvell,pins = "mpp20";
  236. marvell,function = "sata0";
  237. };
  238. sata1_pins: sata-pins-1 {
  239. marvell,pins = "mpp19";
  240. marvell,function = "sata1";
  241. };
  242. sata2_pins: sata-pins-2 {
  243. marvell,pins = "mpp47";
  244. marvell,function = "sata2";
  245. };
  246. sata3_pins: sata-pins-3 {
  247. marvell,pins = "mpp44";
  248. marvell,function = "sata3";
  249. };
  250. i2s_pins: i2s-pins {
  251. marvell,pins = "mpp48", "mpp49",
  252. "mpp50", "mpp51",
  253. "mpp52", "mpp53";
  254. marvell,function = "audio";
  255. };
  256. spdif_pins: spdif-pins {
  257. marvell,pins = "mpp51";
  258. marvell,function = "audio";
  259. };
  260. };
  261. gpio0: gpio@18100 {
  262. compatible = "marvell,armada-370-gpio",
  263. "marvell,orion-gpio";
  264. reg = <0x18100 0x40>, <0x181c0 0x08>;
  265. reg-names = "gpio", "pwm";
  266. ngpios = <32>;
  267. gpio-controller;
  268. gpio-ranges = <&pinctrl 0 0 32>;
  269. #gpio-cells = <2>;
  270. #pwm-cells = <2>;
  271. interrupt-controller;
  272. #interrupt-cells = <2>;
  273. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
  274. <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
  275. <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
  276. <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
  277. clocks = <&coreclk 0>;
  278. };
  279. gpio1: gpio@18140 {
  280. compatible = "marvell,armada-370-gpio",
  281. "marvell,orion-gpio";
  282. reg = <0x18140 0x40>, <0x181c8 0x08>;
  283. reg-names = "gpio", "pwm";
  284. ngpios = <28>;
  285. gpio-controller;
  286. gpio-ranges = <&pinctrl 0 32 28>;
  287. #gpio-cells = <2>;
  288. #pwm-cells = <2>;
  289. interrupt-controller;
  290. #interrupt-cells = <2>;
  291. interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
  292. <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
  293. <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
  294. <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
  295. clocks = <&coreclk 0>;
  296. };
  297. systemc: system-controller@18200 {
  298. compatible = "marvell,armada-380-system-controller",
  299. "marvell,armada-370-xp-system-controller";
  300. reg = <0x18200 0x100>;
  301. };
  302. gateclk: clock-gating-control@18220 {
  303. compatible = "marvell,armada-380-gating-clock";
  304. reg = <0x18220 0x4>;
  305. clocks = <&coreclk 0>;
  306. #clock-cells = <1>;
  307. };
  308. comphy: phy@18300 {
  309. compatible = "marvell,armada-380-comphy";
  310. reg-names = "comphy", "conf";
  311. reg = <0x18300 0x100>, <0x18460 4>;
  312. #address-cells = <1>;
  313. #size-cells = <0>;
  314. comphy0: phy@0 {
  315. reg = <0>;
  316. #phy-cells = <1>;
  317. };
  318. comphy1: phy@1 {
  319. reg = <1>;
  320. #phy-cells = <1>;
  321. };
  322. comphy2: phy@2 {
  323. reg = <2>;
  324. #phy-cells = <1>;
  325. };
  326. comphy3: phy@3 {
  327. reg = <3>;
  328. #phy-cells = <1>;
  329. };
  330. comphy4: phy@4 {
  331. reg = <4>;
  332. #phy-cells = <1>;
  333. };
  334. comphy5: phy@5 {
  335. reg = <5>;
  336. #phy-cells = <1>;
  337. };
  338. };
  339. coreclk: mvebu-sar@18600 {
  340. compatible = "marvell,armada-380-core-clock";
  341. reg = <0x18600 0x04>;
  342. #clock-cells = <1>;
  343. };
  344. mbusc: mbus-controller@20000 {
  345. compatible = "marvell,mbus-controller";
  346. reg = <0x20000 0x100>, <0x20180 0x20>,
  347. <0x20250 0x8>;
  348. };
  349. mpic: interrupt-controller@20a00 {
  350. compatible = "marvell,mpic";
  351. reg = <0x20a00 0x2d0>, <0x21070 0x58>;
  352. #interrupt-cells = <1>;
  353. #size-cells = <1>;
  354. interrupt-controller;
  355. msi-controller;
  356. interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
  357. };
  358. timer: timer@20300 {
  359. compatible = "marvell,armada-380-timer",
  360. "marvell,armada-xp-timer";
  361. reg = <0x20300 0x30>, <0x21040 0x30>;
  362. interrupts-extended = <&gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  363. <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
  364. <&gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
  365. <&gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
  366. <&mpic 5>,
  367. <&mpic 6>;
  368. clocks = <&coreclk 2>, <&refclk>;
  369. clock-names = "nbclk", "fixed";
  370. };
  371. watchdog: watchdog@20300 {
  372. compatible = "marvell,armada-380-wdt";
  373. reg = <0x20300 0x34>, <0x20704 0x4>, <0x18260 0x4>;
  374. clocks = <&coreclk 2>, <&refclk>;
  375. clock-names = "nbclk", "fixed";
  376. interrupts-extended = <&gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
  377. <&gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
  378. };
  379. cpurst: cpurst@20800 {
  380. compatible = "marvell,armada-370-cpu-reset";
  381. reg = <0x20800 0x10>;
  382. };
  383. mpcore-soc-ctrl@20d20 {
  384. compatible = "marvell,armada-380-mpcore-soc-ctrl";
  385. reg = <0x20d20 0x6c>;
  386. };
  387. coherencyfab: coherency-fabric@21010 {
  388. compatible = "marvell,armada-380-coherency-fabric";
  389. reg = <0x21010 0x1c>;
  390. };
  391. pmsu: pmsu@22000 {
  392. compatible = "marvell,armada-380-pmsu";
  393. reg = <0x22000 0x1000>;
  394. };
  395. /*
  396. * As a special exception to the "order by
  397. * register address" rule, the eth0 node is
  398. * placed here to ensure that it gets
  399. * registered as the first interface, since
  400. * the network subsystem doesn't allow naming
  401. * interfaces using DT aliases. Without this,
  402. * the ordering of interfaces is different
  403. * from the one used in U-Boot and the
  404. * labeling of interfaces on the boards, which
  405. * is very confusing for users.
  406. */
  407. eth0: ethernet@70000 {
  408. compatible = "marvell,armada-370-neta";
  409. reg = <0x70000 0x4000>;
  410. interrupts-extended = <&mpic 8>;
  411. clocks = <&gateclk 4>;
  412. tx-csum-limit = <9800>;
  413. status = "disabled";
  414. };
  415. eth1: ethernet@30000 {
  416. compatible = "marvell,armada-370-neta";
  417. reg = <0x30000 0x4000>;
  418. interrupts-extended = <&mpic 10>;
  419. clocks = <&gateclk 3>;
  420. status = "disabled";
  421. };
  422. eth2: ethernet@34000 {
  423. compatible = "marvell,armada-370-neta";
  424. reg = <0x34000 0x4000>;
  425. interrupts-extended = <&mpic 12>;
  426. clocks = <&gateclk 2>;
  427. status = "disabled";
  428. };
  429. usb0: usb@58000 {
  430. compatible = "marvell,orion-ehci";
  431. reg = <0x58000 0x500>;
  432. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
  433. clocks = <&gateclk 18>;
  434. status = "disabled";
  435. };
  436. xor0: xor@60800 {
  437. compatible = "marvell,armada-380-xor", "marvell,orion-xor";
  438. reg = <0x60800 0x100
  439. 0x60a00 0x100>;
  440. clocks = <&gateclk 22>;
  441. status = "okay";
  442. xor00 {
  443. interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
  444. dmacap,memcpy;
  445. dmacap,xor;
  446. };
  447. xor01 {
  448. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  449. dmacap,memcpy;
  450. dmacap,xor;
  451. dmacap,memset;
  452. };
  453. };
  454. xor1: xor@60900 {
  455. compatible = "marvell,armada-380-xor", "marvell,orion-xor";
  456. reg = <0x60900 0x100
  457. 0x60b00 0x100>;
  458. clocks = <&gateclk 28>;
  459. status = "okay";
  460. xor10 {
  461. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  462. dmacap,memcpy;
  463. dmacap,xor;
  464. };
  465. xor11 {
  466. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  467. dmacap,memcpy;
  468. dmacap,xor;
  469. dmacap,memset;
  470. };
  471. };
  472. mdio: mdio@72004 {
  473. #address-cells = <1>;
  474. #size-cells = <0>;
  475. compatible = "marvell,orion-mdio";
  476. reg = <0x72004 0x4>;
  477. clocks = <&gateclk 4>;
  478. };
  479. cesa: crypto@90000 {
  480. compatible = "marvell,armada-38x-crypto";
  481. reg = <0x90000 0x10000>;
  482. reg-names = "regs";
  483. interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
  484. <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
  485. clocks = <&gateclk 23>, <&gateclk 21>,
  486. <&gateclk 14>, <&gateclk 16>;
  487. clock-names = "cesa0", "cesa1",
  488. "cesaz0", "cesaz1";
  489. marvell,crypto-srams = <&crypto_sram0>,
  490. <&crypto_sram1>;
  491. marvell,crypto-sram-size = <0x800>;
  492. };
  493. rtc: rtc@a3800 {
  494. compatible = "marvell,armada-380-rtc";
  495. reg = <0xa3800 0x20>, <0x184a0 0x0c>;
  496. reg-names = "rtc", "rtc-soc";
  497. interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
  498. };
  499. ahci0: sata@a8000 {
  500. compatible = "marvell,armada-380-ahci";
  501. reg = <0xa8000 0x2000>;
  502. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  503. clocks = <&gateclk 15>;
  504. status = "disabled";
  505. };
  506. bm: bm@c8000 {
  507. compatible = "marvell,armada-380-neta-bm";
  508. reg = <0xc8000 0xac>;
  509. clocks = <&gateclk 13>;
  510. internal-mem = <&bm_bppi>;
  511. status = "disabled";
  512. };
  513. ahci1: sata@e0000 {
  514. compatible = "marvell,armada-380-ahci";
  515. reg = <0xe0000 0x2000>;
  516. interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
  517. clocks = <&gateclk 30>;
  518. status = "disabled";
  519. };
  520. coredivclk: clock@e4250 {
  521. compatible = "marvell,armada-380-corediv-clock";
  522. reg = <0xe4250 0xc>;
  523. #clock-cells = <1>;
  524. clocks = <&mainpll>;
  525. clock-output-names = "nand";
  526. };
  527. thermal: thermal@e8078 {
  528. compatible = "marvell,armada380-thermal";
  529. reg = <0xe4078 0x4>, <0xe4070 0x8>;
  530. status = "okay";
  531. };
  532. nand_controller: nand-controller@d0000 {
  533. compatible = "marvell,armada370-nand-controller";
  534. reg = <0xd0000 0x54>;
  535. #address-cells = <1>;
  536. #size-cells = <0>;
  537. interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
  538. clocks = <&coredivclk 0>;
  539. status = "disabled";
  540. };
  541. sdhci: sdhci@d8000 {
  542. compatible = "marvell,armada-380-sdhci";
  543. reg-names = "sdhci", "mbus", "conf-sdio3";
  544. reg = <0xd8000 0x1000>,
  545. <0xdc000 0x100>,
  546. <0x18454 0x4>;
  547. interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
  548. clocks = <&gateclk 17>;
  549. mrvl,clk-delay-cycles = <0x1F>;
  550. status = "disabled";
  551. };
  552. audio_controller: audio-controller@e8000 {
  553. #sound-dai-cells = <1>;
  554. compatible = "marvell,armada-380-audio";
  555. reg = <0xe8000 0x4000>, <0x18410 0xc>,
  556. <0x18204 0x4>;
  557. reg-names = "i2s_regs", "pll_regs", "soc_ctrl";
  558. interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  559. clocks = <&gateclk 0>;
  560. clock-names = "internal";
  561. status = "disabled";
  562. };
  563. usb3_0: usb3@f0000 {
  564. compatible = "marvell,armada-380-xhci";
  565. reg = <0xf0000 0x4000>,<0xf4000 0x4000>;
  566. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  567. clocks = <&gateclk 9>;
  568. status = "disabled";
  569. };
  570. usb3_1: usb3@f8000 {
  571. compatible = "marvell,armada-380-xhci";
  572. reg = <0xf8000 0x4000>,<0xfc000 0x4000>;
  573. interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
  574. clocks = <&gateclk 10>;
  575. status = "disabled";
  576. };
  577. };
  578. crypto_sram0: sa-sram0 {
  579. compatible = "mmio-sram";
  580. reg = <MBUS_ID(0x09, 0x19) 0 0x800>;
  581. clocks = <&gateclk 23>;
  582. #address-cells = <1>;
  583. #size-cells = <1>;
  584. ranges = <0 MBUS_ID(0x09, 0x19) 0 0x800>;
  585. };
  586. crypto_sram1: sa-sram1 {
  587. compatible = "mmio-sram";
  588. reg = <MBUS_ID(0x09, 0x15) 0 0x800>;
  589. clocks = <&gateclk 21>;
  590. #address-cells = <1>;
  591. #size-cells = <1>;
  592. ranges = <0 MBUS_ID(0x09, 0x15) 0 0x800>;
  593. };
  594. bm_bppi: bm-bppi {
  595. compatible = "mmio-sram";
  596. reg = <MBUS_ID(0x0c, 0x04) 0 0x100000>;
  597. ranges = <0 MBUS_ID(0x0c, 0x04) 0 0x100000>;
  598. #address-cells = <1>;
  599. #size-cells = <1>;
  600. clocks = <&gateclk 13>;
  601. no-memory-wc;
  602. status = "disabled";
  603. };
  604. spi0: spi@10600 {
  605. compatible = "marvell,armada-380-spi",
  606. "marvell,orion-spi";
  607. reg = <MBUS_ID(0xf0, 0x01) 0x10600 0x50>;
  608. #address-cells = <1>;
  609. #size-cells = <0>;
  610. cell-index = <0>;
  611. interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
  612. clocks = <&coreclk 0>;
  613. status = "disabled";
  614. };
  615. spi1: spi@10680 {
  616. compatible = "marvell,armada-380-spi",
  617. "marvell,orion-spi";
  618. reg = <MBUS_ID(0xf0, 0x01) 0x10680 0x50>;
  619. #address-cells = <1>;
  620. #size-cells = <0>;
  621. cell-index = <1>;
  622. interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
  623. clocks = <&coreclk 0>;
  624. status = "disabled";
  625. };
  626. };
  627. clocks {
  628. /* 1 GHz fixed main PLL */
  629. mainpll: mainpll {
  630. compatible = "fixed-clock";
  631. #clock-cells = <0>;
  632. clock-frequency = <1000000000>;
  633. };
  634. /* 25 MHz reference crystal */
  635. refclk: oscillator {
  636. compatible = "fixed-clock";
  637. #clock-cells = <0>;
  638. clock-frequency = <25000000>;
  639. };
  640. };
  641. };