blob: adda0f3e9dd57b0d21ef42bb67d25b2ff034dd64 [file] [log] [blame]
Christophe Leroy1fc46f52022-10-14 12:54:50 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * CMPC885 Device Tree Source
4 *
5 * Copyright 2020 CS Group
6 *
7 */
8
9/dts-v1/;
10
11/ {
12 model = "CMPC885";
13 compatible = "fsl, cmpc885", "fsl,mod885";
14 #address-cells = <1>;
15 #size-cells = <1>;
16
17 chosen {
18 stdout-path = &SERIAL;
19 };
20
21 WDT: watchdog@0 {
22 device_type = "watchdog";
23 compatible = "fsl,pq1-wdt";
24 };
25
26 SERIAL: serial {
27 compatible = "fsl,pq1-smc";
28 };
29
30 FEC1: fec@0 {
31 compatible = "fsl,pq1-fec1";
32 };
33
34 FEC2: fec@1 {
35 compatible = "fsl,pq1-fec2";
36 };
37
38 soc: immr@ff000000 {
39 #address-cells = <1>;
40 #size-cells = <1>;
41 device-type = "soc";
42 compatible = "simple-bus";
43 ranges = <0 0xff000000 0x4000>;
44 reg = <0xff000000 0x00000200>;
45
46 CPM1_PIO_B: gpio-controller@ab8 {
47 #gpio-cells = <2>;
48 compatible = "fsl,cpm1-pario-bank-b";
49 reg = <0xab8 0x10>;
50 gpio-controller;
51 };
52
53 CPM1_PIO_D: gpio-controller@970 {
54 #gpio-cells = <2>;
55 compatible = "fsl,cpm1-pario-bank-d";
56 reg = <0x970 0x10>;
57 gpio-controller;
58 };
59
60 CPM1_PIO_A: gpio-controller@950 {
61 #gpio-cells = <2>;
62 compatible = "fsl,cpm1-pario-bank-a";
63 reg = <0x950 0x10>;
64 gpio-controller;
65 };
66
67 CPM1_PIO_C: gpio-controller@960 {
68 #gpio-cells = <2>;
69 compatible = "fsl,cpm1-pario-bank-c";
70 reg = <0x960 0x10>;
71 gpio-controller;
72 };
73
74 CPM1_PIO_E: gpio-controller@ac8 {
75 #gpio-cells = <2>;
76 compatible = "fsl,cpm1-pario-bank-e";
77 reg = <0xac8 0x18>;
78 gpio-controller;
79 };
80
81 spi: spi@aa0 {
82 status = "okay";
83 #address-cells = <1>;
84 #size-cells = <1>;
85 cell-index = <0>;
86 compatible = "fsl,mpc8xx-spi";
87 gpios = <&CPM1_PIO_B 21 1>; /* /EEPROM_CS ACTIVE_LOW */
88
89 eeprom@0 {
90 cell-index = <1>;
91 };
92 };
93 };
94};