dove.dtsi 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <dt-bindings/gpio/gpio.h>
  3. #include <dt-bindings/interrupt-controller/irq.h>
  4. #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
  5. / {
  6. #address-cells = <1>;
  7. #size-cells = <1>;
  8. compatible = "marvell,dove";
  9. model = "Marvell Armada 88AP510 SoC";
  10. interrupt-parent = <&intc>;
  11. aliases {
  12. gpio0 = &gpio0;
  13. gpio1 = &gpio1;
  14. gpio2 = &gpio2;
  15. };
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. cpu0: cpu@0 {
  20. compatible = "marvell,pj4a", "marvell,sheeva-v7";
  21. device_type = "cpu";
  22. next-level-cache = <&l2>;
  23. reg = <0>;
  24. };
  25. };
  26. l2: l2-cache {
  27. compatible = "marvell,tauros2-cache";
  28. marvell,tauros2-cache-features = <0>;
  29. };
  30. gpu-subsystem {
  31. compatible = "marvell,dove-gpu-subsystem";
  32. cores = <&gpu>;
  33. status = "disabled";
  34. };
  35. i2c-mux {
  36. compatible = "i2c-mux-pinctrl";
  37. #address-cells = <1>;
  38. #size-cells = <0>;
  39. i2c-parent = <&i2c>;
  40. pinctrl-names = "i2c0", "i2c1", "i2c2";
  41. pinctrl-0 = <&pmx_i2cmux_0>;
  42. pinctrl-1 = <&pmx_i2cmux_1>;
  43. pinctrl-2 = <&pmx_i2cmux_2>;
  44. i2c0: i2c@0 {
  45. reg = <0>;
  46. #address-cells = <1>;
  47. #size-cells = <0>;
  48. status = "okay";
  49. };
  50. i2c1: i2c@1 {
  51. reg = <1>;
  52. #address-cells = <1>;
  53. #size-cells = <0>;
  54. /* Requires pmx_i2c1 on i2c controller node */
  55. status = "disabled";
  56. };
  57. i2c2: i2c@2 {
  58. reg = <2>;
  59. #address-cells = <1>;
  60. #size-cells = <0>;
  61. /* Requires pmx_i2c2 on i2c controller node */
  62. status = "disabled";
  63. };
  64. };
  65. mbus {
  66. compatible = "marvell,dove-mbus", "marvell,mbus", "simple-bus";
  67. #address-cells = <2>;
  68. #size-cells = <1>;
  69. controller = <&mbusc>;
  70. pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256M MEM space */
  71. pcie-io-aperture = <0xf2000000 0x00200000>; /* 2M I/O space */
  72. ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x0100000 /* MBUS regs 1M */
  73. MBUS_ID(0xf0, 0x02) 0 0xf1800000 0x1000000 /* AXI regs 16M */
  74. MBUS_ID(0x01, 0xfd) 0 0xf8000000 0x8000000 /* BootROM 128M */
  75. MBUS_ID(0x03, 0x01) 0 0xc8000000 0x0100000 /* CESA SRAM 1M */
  76. MBUS_ID(0x0d, 0x00) 0 0xf0000000 0x0100000>; /* PMU SRAM 1M */
  77. pcie: pcie {
  78. compatible = "marvell,dove-pcie";
  79. status = "disabled";
  80. device_type = "pci";
  81. #address-cells = <3>;
  82. #size-cells = <2>;
  83. msi-parent = <&intc>;
  84. bus-range = <0x00 0xff>;
  85. ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000
  86. 0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000
  87. 0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 Mem */
  88. 0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 I/O */
  89. 0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 Mem */
  90. 0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */
  91. pcie0: pcie@1 {
  92. device_type = "pci";
  93. status = "disabled";
  94. assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
  95. reg = <0x0800 0 0 0 0>;
  96. clocks = <&gate_clk 4>;
  97. marvell,pcie-port = <0>;
  98. #address-cells = <3>;
  99. #size-cells = <2>;
  100. ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
  101. 0x81000000 0 0 0x81000000 0x1 0 1 0>;
  102. bus-range = <0x00 0xff>;
  103. #interrupt-cells = <1>;
  104. interrupt-names = "intx", "error";
  105. interrupts = <16>, <15>;
  106. interrupt-map-mask = <0 0 0 7>;
  107. interrupt-map = <0 0 0 1 &pcie0_intc 0>,
  108. <0 0 0 2 &pcie0_intc 1>,
  109. <0 0 0 3 &pcie0_intc 2>,
  110. <0 0 0 4 &pcie0_intc 3>;
  111. pcie0_intc: interrupt-controller {
  112. interrupt-controller;
  113. #interrupt-cells = <1>;
  114. };
  115. };
  116. pcie1: pcie@2 {
  117. device_type = "pci";
  118. status = "disabled";
  119. assigned-addresses = <0x82001000 0 0x80000 0 0x2000>;
  120. reg = <0x1000 0 0 0 0>;
  121. clocks = <&gate_clk 5>;
  122. marvell,pcie-port = <1>;
  123. #address-cells = <3>;
  124. #size-cells = <2>;
  125. ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
  126. 0x81000000 0 0 0x81000000 0x2 0 1 0>;
  127. bus-range = <0x00 0xff>;
  128. #interrupt-cells = <1>;
  129. interrupt-names = "intx", "error";
  130. interrupts = <18>, <17>;
  131. interrupt-map-mask = <0 0 0 7>;
  132. interrupt-map = <0 0 0 1 &pcie1_intc 0>,
  133. <0 0 0 2 &pcie1_intc 1>,
  134. <0 0 0 3 &pcie1_intc 2>,
  135. <0 0 0 4 &pcie1_intc 3>;
  136. pcie1_intc: interrupt-controller {
  137. interrupt-controller;
  138. #interrupt-cells = <1>;
  139. };
  140. };
  141. };
  142. internal-regs {
  143. compatible = "simple-bus";
  144. #address-cells = <1>;
  145. #size-cells = <1>;
  146. ranges = <0x00000000 MBUS_ID(0xf0, 0x01) 0 0x0100000 /* MBUS regs 1M */
  147. 0x00800000 MBUS_ID(0xf0, 0x02) 0 0x1000000 /* AXI regs 16M */
  148. 0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800 /* CESA SRAM 2k */
  149. 0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU SRAM 2k */
  150. spi0: spi@10600 {
  151. compatible = "marvell,orion-spi";
  152. #address-cells = <1>;
  153. #size-cells = <0>;
  154. cell-index = <0>;
  155. interrupts = <6>;
  156. reg = <0x10600 0x28>;
  157. clocks = <&core_clk 0>;
  158. pinctrl-0 = <&pmx_spi0>;
  159. pinctrl-names = "default";
  160. status = "disabled";
  161. };
  162. i2c: i2c@11000 {
  163. compatible = "marvell,mv64xxx-i2c";
  164. reg = <0x11000 0x20>;
  165. #address-cells = <1>;
  166. #size-cells = <0>;
  167. interrupts = <11>;
  168. clock-frequency = <400000>;
  169. clocks = <&core_clk 0>;
  170. status = "okay";
  171. };
  172. uart0: serial@12000 {
  173. compatible = "ns16550a";
  174. reg = <0x12000 0x100>;
  175. reg-shift = <2>;
  176. interrupts = <7>;
  177. clocks = <&core_clk 0>;
  178. status = "disabled";
  179. };
  180. uart1: serial@12100 {
  181. compatible = "ns16550a";
  182. reg = <0x12100 0x100>;
  183. reg-shift = <2>;
  184. interrupts = <8>;
  185. clocks = <&core_clk 0>;
  186. pinctrl-0 = <&pmx_uart1>;
  187. pinctrl-names = "default";
  188. status = "disabled";
  189. };
  190. uart2: serial@12200 {
  191. compatible = "ns16550a";
  192. reg = <0x12200 0x100>;
  193. reg-shift = <2>;
  194. interrupts = <9>;
  195. clocks = <&core_clk 0>;
  196. status = "disabled";
  197. };
  198. uart3: serial@12300 {
  199. compatible = "ns16550a";
  200. reg = <0x12300 0x100>;
  201. reg-shift = <2>;
  202. interrupts = <10>;
  203. clocks = <&core_clk 0>;
  204. status = "disabled";
  205. };
  206. spi1: spi@14600 {
  207. compatible = "marvell,orion-spi";
  208. #address-cells = <1>;
  209. #size-cells = <0>;
  210. cell-index = <1>;
  211. interrupts = <5>;
  212. reg = <0x14600 0x28>;
  213. clocks = <&core_clk 0>;
  214. status = "disabled";
  215. };
  216. mbusc: mbus-ctrl@20000 {
  217. compatible = "marvell,mbus-controller";
  218. reg = <0x20000 0x80>, <0x800100 0x8>;
  219. };
  220. sysc: system-ctrl@20000 {
  221. compatible = "marvell,orion-system-controller";
  222. reg = <0x20000 0x110>;
  223. };
  224. bridge_intc: bridge-interrupt-ctrl@20110 {
  225. compatible = "marvell,orion-bridge-intc";
  226. interrupt-controller;
  227. #interrupt-cells = <1>;
  228. reg = <0x20110 0x8>;
  229. interrupts = <0>;
  230. marvell,#interrupts = <5>;
  231. };
  232. intc: interrupt-controller@20200 {
  233. compatible = "marvell,orion-intc";
  234. interrupt-controller;
  235. #interrupt-cells = <1>;
  236. reg = <0x20200 0x10>, <0x20210 0x10>;
  237. };
  238. timer: timer@20300 {
  239. compatible = "marvell,orion-timer";
  240. reg = <0x20300 0x20>;
  241. interrupt-parent = <&bridge_intc>;
  242. interrupts = <1>, <2>;
  243. clocks = <&core_clk 0>;
  244. };
  245. watchdog@20300 {
  246. compatible = "marvell,orion-wdt";
  247. reg = <0x20300 0x28>, <0x20108 0x4>;
  248. interrupt-parent = <&bridge_intc>;
  249. interrupts = <3>;
  250. clocks = <&core_clk 0>;
  251. };
  252. crypto: crypto-engine@30000 {
  253. compatible = "marvell,dove-crypto";
  254. reg = <0x30000 0x10000>;
  255. reg-names = "regs";
  256. interrupts = <31>;
  257. clocks = <&gate_clk 15>;
  258. marvell,crypto-srams = <&crypto_sram>;
  259. marvell,crypto-sram-size = <0x800>;
  260. status = "okay";
  261. };
  262. ehci0: usb-host@50000 {
  263. compatible = "marvell,orion-ehci";
  264. reg = <0x50000 0x1000>;
  265. interrupts = <24>;
  266. clocks = <&gate_clk 0>;
  267. status = "okay";
  268. };
  269. ehci1: usb-host@51000 {
  270. compatible = "marvell,orion-ehci";
  271. reg = <0x51000 0x1000>;
  272. interrupts = <25>;
  273. clocks = <&gate_clk 1>;
  274. status = "okay";
  275. };
  276. xor0: dma-engine@60800 {
  277. compatible = "marvell,orion-xor";
  278. reg = <0x60800 0x100
  279. 0x60a00 0x100>;
  280. clocks = <&gate_clk 23>;
  281. status = "okay";
  282. channel0 {
  283. interrupts = <39>;
  284. dmacap,memcpy;
  285. dmacap,xor;
  286. };
  287. channel1 {
  288. interrupts = <40>;
  289. dmacap,memcpy;
  290. dmacap,xor;
  291. };
  292. };
  293. xor1: dma-engine@60900 {
  294. compatible = "marvell,orion-xor";
  295. reg = <0x60900 0x100
  296. 0x60b00 0x100>;
  297. clocks = <&gate_clk 24>;
  298. status = "okay";
  299. channel0 {
  300. interrupts = <42>;
  301. dmacap,memcpy;
  302. dmacap,xor;
  303. };
  304. channel1 {
  305. interrupts = <43>;
  306. dmacap,memcpy;
  307. dmacap,xor;
  308. };
  309. };
  310. sdio1: sdio-host@90000 {
  311. compatible = "marvell,dove-sdhci";
  312. reg = <0x90000 0x100>;
  313. interrupts = <36>, <38>;
  314. clocks = <&gate_clk 9>;
  315. pinctrl-0 = <&pmx_sdio1>;
  316. pinctrl-names = "default";
  317. status = "disabled";
  318. };
  319. eth: ethernet-ctrl@72000 {
  320. compatible = "marvell,orion-eth";
  321. #address-cells = <1>;
  322. #size-cells = <0>;
  323. reg = <0x72000 0x4000>;
  324. clocks = <&gate_clk 2>;
  325. marvell,tx-checksum-limit = <1600>;
  326. status = "disabled";
  327. ethernet-port@0 {
  328. compatible = "marvell,orion-eth-port";
  329. reg = <0>;
  330. interrupts = <29>;
  331. /* overwrite MAC address in bootloader */
  332. local-mac-address = [00 00 00 00 00 00];
  333. phy-handle = <&ethphy>;
  334. };
  335. };
  336. mdio: mdio-bus@72004 {
  337. compatible = "marvell,orion-mdio";
  338. #address-cells = <1>;
  339. #size-cells = <0>;
  340. reg = <0x72004 0x84>;
  341. interrupts = <30>;
  342. clocks = <&gate_clk 2>;
  343. status = "disabled";
  344. ethphy: ethernet-phy {
  345. /* set phy address in board file */
  346. };
  347. };
  348. sdio0: sdio-host@92000 {
  349. compatible = "marvell,dove-sdhci";
  350. reg = <0x92000 0x100>;
  351. interrupts = <35>, <37>;
  352. clocks = <&gate_clk 8>;
  353. pinctrl-0 = <&pmx_sdio0>;
  354. pinctrl-names = "default";
  355. status = "disabled";
  356. };
  357. sata0: sata-host@a0000 {
  358. compatible = "marvell,orion-sata";
  359. reg = <0xa0000 0x2400>;
  360. interrupts = <62>;
  361. clocks = <&gate_clk 3>;
  362. phys = <&sata_phy0>;
  363. phy-names = "port0";
  364. nr-ports = <1>;
  365. status = "disabled";
  366. };
  367. sata_phy0: sata-phy@a2000 {
  368. compatible = "marvell,mvebu-sata-phy";
  369. reg = <0xa2000 0x0334>;
  370. clocks = <&gate_clk 3>;
  371. clock-names = "sata";
  372. #phy-cells = <0>;
  373. status = "ok";
  374. };
  375. audio0: audio-controller@b0000 {
  376. compatible = "marvell,dove-audio";
  377. reg = <0xb0000 0x2210>;
  378. interrupts = <19>, <20>;
  379. clocks = <&gate_clk 12>;
  380. clock-names = "internal";
  381. status = "disabled";
  382. };
  383. audio1: audio-controller@b4000 {
  384. compatible = "marvell,dove-audio";
  385. reg = <0xb4000 0x2210>;
  386. interrupts = <21>, <22>;
  387. clocks = <&gate_clk 13>;
  388. clock-names = "internal";
  389. status = "disabled";
  390. };
  391. pmu: power-management@d0000 {
  392. compatible = "marvell,dove-pmu", "simple-bus";
  393. reg = <0xd0000 0x8000>, <0xd8000 0x8000>;
  394. ranges = <0x00000000 0x000d0000 0x8000
  395. 0x00008000 0x000d8000 0x8000>;
  396. interrupts = <33>;
  397. interrupt-controller;
  398. #address-cells = <1>;
  399. #size-cells = <1>;
  400. #interrupt-cells = <1>;
  401. #reset-cells = <1>;
  402. domains {
  403. vpu_domain: vpu-domain {
  404. #power-domain-cells = <0>;
  405. marvell,pmu_pwr_mask = <0x00000008>;
  406. marvell,pmu_iso_mask = <0x00000001>;
  407. resets = <&pmu 16>;
  408. };
  409. gpu_domain: gpu-domain {
  410. #power-domain-cells = <0>;
  411. marvell,pmu_pwr_mask = <0x00000004>;
  412. marvell,pmu_iso_mask = <0x00000002>;
  413. resets = <&pmu 18>;
  414. };
  415. };
  416. thermal: thermal-diode@1c {
  417. compatible = "marvell,dove-thermal";
  418. reg = <0x001c 0x0c>, <0x005c 0x08>;
  419. };
  420. gate_clk: clock-gating-ctrl@38 {
  421. compatible = "marvell,dove-gating-clock";
  422. reg = <0x0038 0x4>;
  423. clocks = <&core_clk 0>;
  424. #clock-cells = <1>;
  425. };
  426. divider_clk: core-clock@64 {
  427. compatible = "marvell,dove-divider-clock";
  428. reg = <0x0064 0x8>;
  429. #clock-cells = <1>;
  430. };
  431. pinctrl: pin-ctrl@200 {
  432. compatible = "marvell,dove-pinctrl";
  433. reg = <0x0200 0x14>,
  434. <0x0440 0x04>;
  435. clocks = <&gate_clk 22>;
  436. pmx_gpio_0: pmx-gpio-0 {
  437. marvell,pins = "mpp0";
  438. marvell,function = "gpio";
  439. };
  440. pmx_gpio_1: pmx-gpio-1 {
  441. marvell,pins = "mpp1";
  442. marvell,function = "gpio";
  443. };
  444. pmx_gpio_2: pmx-gpio-2 {
  445. marvell,pins = "mpp2";
  446. marvell,function = "gpio";
  447. };
  448. pmx_gpio_3: pmx-gpio-3 {
  449. marvell,pins = "mpp3";
  450. marvell,function = "gpio";
  451. };
  452. pmx_gpio_4: pmx-gpio-4 {
  453. marvell,pins = "mpp4";
  454. marvell,function = "gpio";
  455. };
  456. pmx_gpio_5: pmx-gpio-5 {
  457. marvell,pins = "mpp5";
  458. marvell,function = "gpio";
  459. };
  460. pmx_gpio_6: pmx-gpio-6 {
  461. marvell,pins = "mpp6";
  462. marvell,function = "gpio";
  463. };
  464. pmx_gpio_7: pmx-gpio-7 {
  465. marvell,pins = "mpp7";
  466. marvell,function = "gpio";
  467. };
  468. pmx_gpio_8: pmx-gpio-8 {
  469. marvell,pins = "mpp8";
  470. marvell,function = "gpio";
  471. };
  472. pmx_gpio_9: pmx-gpio-9 {
  473. marvell,pins = "mpp9";
  474. marvell,function = "gpio";
  475. };
  476. pmx_pcie1_clkreq: pmx-pcie1-clkreq {
  477. marvell,pins = "mpp9";
  478. marvell,function = "pex1";
  479. };
  480. pmx_gpio_10: pmx-gpio-10 {
  481. marvell,pins = "mpp10";
  482. marvell,function = "gpio";
  483. };
  484. pmx_gpio_11: pmx-gpio-11 {
  485. marvell,pins = "mpp11";
  486. marvell,function = "gpio";
  487. };
  488. pmx_pcie0_clkreq: pmx-pcie0-clkreq {
  489. marvell,pins = "mpp11";
  490. marvell,function = "pex0";
  491. };
  492. pmx_gpio_12: pmx-gpio-12 {
  493. marvell,pins = "mpp12";
  494. marvell,function = "gpio";
  495. };
  496. pmx_gpio_13: pmx-gpio-13 {
  497. marvell,pins = "mpp13";
  498. marvell,function = "gpio";
  499. };
  500. pmx_audio1_extclk: pmx-audio1-extclk {
  501. marvell,pins = "mpp13";
  502. marvell,function = "audio1";
  503. };
  504. pmx_gpio_14: pmx-gpio-14 {
  505. marvell,pins = "mpp14";
  506. marvell,function = "gpio";
  507. };
  508. pmx_gpio_15: pmx-gpio-15 {
  509. marvell,pins = "mpp15";
  510. marvell,function = "gpio";
  511. };
  512. pmx_gpio_16: pmx-gpio-16 {
  513. marvell,pins = "mpp16";
  514. marvell,function = "gpio";
  515. };
  516. pmx_gpio_17: pmx-gpio-17 {
  517. marvell,pins = "mpp17";
  518. marvell,function = "gpio";
  519. };
  520. pmx_gpio_18: pmx-gpio-18 {
  521. marvell,pins = "mpp18";
  522. marvell,function = "gpio";
  523. };
  524. pmx_gpio_19: pmx-gpio-19 {
  525. marvell,pins = "mpp19";
  526. marvell,function = "gpio";
  527. };
  528. pmx_gpio_20: pmx-gpio-20 {
  529. marvell,pins = "mpp20";
  530. marvell,function = "gpio";
  531. };
  532. pmx_gpio_21: pmx-gpio-21 {
  533. marvell,pins = "mpp21";
  534. marvell,function = "gpio";
  535. };
  536. pmx_camera: pmx-camera {
  537. marvell,pins = "mpp_camera";
  538. marvell,function = "camera";
  539. };
  540. pmx_camera_gpio: pmx-camera-gpio {
  541. marvell,pins = "mpp_camera";
  542. marvell,function = "gpio";
  543. };
  544. pmx_sdio0: pmx-sdio0 {
  545. marvell,pins = "mpp_sdio0";
  546. marvell,function = "sdio0";
  547. };
  548. pmx_sdio0_gpio: pmx-sdio0-gpio {
  549. marvell,pins = "mpp_sdio0";
  550. marvell,function = "gpio";
  551. };
  552. pmx_sdio1: pmx-sdio1 {
  553. marvell,pins = "mpp_sdio1";
  554. marvell,function = "sdio1";
  555. };
  556. pmx_sdio1_gpio: pmx-sdio1-gpio {
  557. marvell,pins = "mpp_sdio1";
  558. marvell,function = "gpio";
  559. };
  560. pmx_audio1_gpio: pmx-audio1-gpio {
  561. marvell,pins = "mpp_audio1";
  562. marvell,function = "gpio";
  563. };
  564. pmx_audio1_i2s1_spdifo: pmx-audio1-i2s1-spdifo {
  565. marvell,pins = "mpp_audio1";
  566. marvell,function = "i2s1/spdifo";
  567. };
  568. pmx_spi0: pmx-spi0 {
  569. marvell,pins = "mpp_spi0";
  570. marvell,function = "spi0";
  571. };
  572. pmx_spi0_gpio: pmx-spi0-gpio {
  573. marvell,pins = "mpp_spi0";
  574. marvell,function = "gpio";
  575. };
  576. pmx_spi1_4_7: pmx-spi1-4-7 {
  577. marvell,pins = "mpp4", "mpp5",
  578. "mpp6", "mpp7";
  579. marvell,function = "spi1";
  580. };
  581. pmx_spi1_20_23: pmx-spi1-20-23 {
  582. marvell,pins = "mpp20", "mpp21",
  583. "mpp22", "mpp23";
  584. marvell,function = "spi1";
  585. };
  586. pmx_uart1: pmx-uart1 {
  587. marvell,pins = "mpp_uart1";
  588. marvell,function = "uart1";
  589. };
  590. pmx_uart1_gpio: pmx-uart1-gpio {
  591. marvell,pins = "mpp_uart1";
  592. marvell,function = "gpio";
  593. };
  594. pmx_nand: pmx-nand {
  595. marvell,pins = "mpp_nand";
  596. marvell,function = "nand";
  597. };
  598. pmx_nand_gpo: pmx-nand-gpo {
  599. marvell,pins = "mpp_nand";
  600. marvell,function = "gpo";
  601. };
  602. pmx_i2c1: pmx-i2c1 {
  603. marvell,pins = "mpp17", "mpp19";
  604. marvell,function = "twsi";
  605. };
  606. pmx_i2c2: pmx-i2c2 {
  607. marvell,pins = "mpp_audio1";
  608. marvell,function = "twsi";
  609. };
  610. pmx_ssp_i2c2: pmx-ssp-i2c2 {
  611. marvell,pins = "mpp_audio1";
  612. marvell,function = "ssp/twsi";
  613. };
  614. pmx_i2cmux_0: pmx-i2cmux-0 {
  615. marvell,pins = "twsi";
  616. marvell,function = "twsi-opt1";
  617. };
  618. pmx_i2cmux_1: pmx-i2cmux-1 {
  619. marvell,pins = "twsi";
  620. marvell,function = "twsi-opt2";
  621. };
  622. pmx_i2cmux_2: pmx-i2cmux-2 {
  623. marvell,pins = "twsi";
  624. marvell,function = "twsi-opt3";
  625. };
  626. };
  627. core_clk: core-clocks@214 {
  628. compatible = "marvell,dove-core-clock";
  629. reg = <0x0214 0x4>;
  630. #clock-cells = <1>;
  631. };
  632. gpio0: gpio-ctrl@400 {
  633. compatible = "marvell,orion-gpio";
  634. #gpio-cells = <2>;
  635. gpio-controller;
  636. reg = <0x0400 0x20>;
  637. ngpios = <32>;
  638. interrupt-controller;
  639. #interrupt-cells = <2>;
  640. interrupt-parent = <&intc>;
  641. interrupts = <12>, <13>, <14>, <60>;
  642. };
  643. gpio1: gpio-ctrl@420 {
  644. compatible = "marvell,orion-gpio";
  645. #gpio-cells = <2>;
  646. gpio-controller;
  647. reg = <0x0420 0x20>;
  648. ngpios = <32>;
  649. interrupt-controller;
  650. #interrupt-cells = <2>;
  651. interrupt-parent = <&intc>;
  652. interrupts = <61>;
  653. };
  654. rtc: real-time-clock@8500 {
  655. compatible = "marvell,orion-rtc";
  656. reg = <0x8500 0x20>;
  657. interrupts = <5>;
  658. };
  659. };
  660. gconf: global-config@e802c {
  661. compatible = "marvell,dove-global-config",
  662. "syscon";
  663. reg = <0xe802c 0x14>;
  664. };
  665. gpio2: gpio-ctrl@e8400 {
  666. compatible = "marvell,orion-gpio";
  667. #gpio-cells = <2>;
  668. gpio-controller;
  669. reg = <0xe8400 0x0c>;
  670. ngpios = <8>;
  671. };
  672. lcd1: lcd-controller@810000 {
  673. compatible = "marvell,dove-lcd";
  674. reg = <0x810000 0x1000>;
  675. interrupts = <46>;
  676. status = "disabled";
  677. };
  678. lcd0: lcd-controller@820000 {
  679. compatible = "marvell,dove-lcd";
  680. reg = <0x820000 0x1000>;
  681. interrupts = <47>;
  682. status = "disabled";
  683. };
  684. crypto_sram: sram@ffffe000 {
  685. compatible = "mmio-sram";
  686. reg = <0xffffe000 0x800>;
  687. clocks = <&gate_clk 15>;
  688. #address-cells = <1>;
  689. #size-cells = <1>;
  690. };
  691. gpu: gpu@840000 {
  692. clocks = <&divider_clk 1>;
  693. clock-names = "core";
  694. compatible = "vivante,gc";
  695. interrupts = <48>;
  696. power-domains = <&gpu_domain>;
  697. reg = <0x840000 0x4000>;
  698. status = "disabled";
  699. };
  700. };
  701. };
  702. };