blob: aa46007b8d99eafe2820ca6c8840a4909e4791bd [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";
Christophe Leroy61d94852024-04-14 11:17:13 +020036 gpios = <&csspi 2 0
37 &csspi 0 0>;
Christophe Leroy1e5f6f92024-04-02 19:22:24 +020038
39 temp@0 {
40 reg = <0>;
41 compatible = "ti,lm74";
42 };
Christophe Leroy61d94852024-04-14 11:17:13 +020043 fpga@1 {
44 reg = <1>;
45 };
Christophe Leroy0ee1ff82024-04-12 12:01:25 +020046 };
47 };
48
49 localbus@ff000100 {
50 compatible = "s3k,mcr3000-localbus", "fsl,pq1-localbus", "simple-bus";
51 #address-cells = <2>;
52 #size-cells = <1>;
53 reg = <0xff000100 0x40>; // ORx and BRx register
54
55 ranges = <0 0 0x04000000 0x04000000 // BOOT
56 1 0 0x00000000 0x04000000 // SDRAM
57 2 0 0x08000000 0x04000000 // RAMDP
58 3 0 0x0C000000 0x04000000 // NAND
59 4 0 0x10000000 0x04000000 // Periphs
60 5 0 0x14000000 0x04000000 // FPGA
61 6 0 0x18000000 0x04000000 // mezzanine
62 7 0 0x1c000000 0x04000000>; // DSP
63
64 csspi: gpio-controller@2 {
65 #gpio-cells = <2>;
66 compatible = "s3k,mcr3000-cpld-csspi";
67 reg = <4 0x802 2>;
68 gpio-controller;
69 };
Christophe Leroy5d5675a2018-11-21 08:51:47 +000070 };
Christophe Leroy0fe1a202023-04-03 10:27:39 +020071
Christophe Leroyc5d71082018-11-21 08:51:51 +000072 SERIAL: smc@0 {
73 compatible = "fsl,pq1-smc";
74 };
75
Christophe Leroy69ef96d2022-05-12 15:48:51 +020076 FEC: fec@0 {
77 compatible = "fsl,pq1-fec1";
78 };
79
Christophe Leroyc5d71082018-11-21 08:51:51 +000080 chosen {
81 stdout-path = &SERIAL;
82 };
Christophe Leroydaf328a2018-11-21 08:51:43 +000083};