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