blob: edcd8358d099a32a7bbff1ebb203bf1bcce92193 [file] [log] [blame]
Christophe Leroydaf328a2018-11-21 08:51:43 +00001/*
2 * MCR3000 Device Tree Source
3 *
4 * Copyright 2017 CS Systemes d'Information
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9/dts-v1/;
10
11/ {
Christophe Leroy0fe1a202023-04-03 10:27:39 +020012 #address-cells = <1>;
13 #size-cells = <1>;
14
15 soc: immr@ff000000 {
16 #address-cells = <1>;
17 #size-cells = <1>;
18 device-type = "soc";
19 compatible = "simple-bus";
20 ranges = <0 0xff000000 0x4000>;
21 reg = <0xff000000 0x00000200>;
22
23 WDT: watchdog@0 {
24 compatible = "fsl,pq1-wdt";
25 reg = <0x0 0x10>;
26 timeout-sec = <2>;
27 hw_margin_ms = <1000>;
28 };
Christophe Leroy0ee1ff82024-04-12 12:01:25 +020029
30 spi: spi@aa0 {
31 status = "okay";
32 #address-cells = <1>;
33 #size-cells = <0>;
34 cell-index = <0>;
35 compatible = "fsl,mpc8xx-spi";
36 };
37 };
38
39 localbus@ff000100 {
40 compatible = "s3k,mcr3000-localbus", "fsl,pq1-localbus", "simple-bus";
41 #address-cells = <2>;
42 #size-cells = <1>;
43 reg = <0xff000100 0x40>; // ORx and BRx register
44
45 ranges = <0 0 0x04000000 0x04000000 // BOOT
46 1 0 0x00000000 0x04000000 // SDRAM
47 2 0 0x08000000 0x04000000 // RAMDP
48 3 0 0x0C000000 0x04000000 // NAND
49 4 0 0x10000000 0x04000000 // Periphs
50 5 0 0x14000000 0x04000000 // FPGA
51 6 0 0x18000000 0x04000000 // mezzanine
52 7 0 0x1c000000 0x04000000>; // DSP
53
54 csspi: gpio-controller@2 {
55 #gpio-cells = <2>;
56 compatible = "s3k,mcr3000-cpld-csspi";
57 reg = <4 0x802 2>;
58 gpio-controller;
59 };
Christophe Leroy5d5675a2018-11-21 08:51:47 +000060 };
Christophe Leroy0fe1a202023-04-03 10:27:39 +020061
Christophe Leroyc5d71082018-11-21 08:51:51 +000062 SERIAL: smc@0 {
63 compatible = "fsl,pq1-smc";
64 };
65
Christophe Leroy69ef96d2022-05-12 15:48:51 +020066 FEC: fec@0 {
67 compatible = "fsl,pq1-fec1";
68 };
69
Christophe Leroyc5d71082018-11-21 08:51:51 +000070 chosen {
71 stdout-path = &SERIAL;
72 };
Christophe Leroydaf328a2018-11-21 08:51:43 +000073};