aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/dts/cmpc885.dts
blob: 454ceb91ca06edce6dc87ca6f11755b91438c9b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// SPDX-License-Identifier: GPL-2.0+
/*
 * CMPC885 Device Tree Source
 *
 * Copyright 2020 CS Group
 *
 */

/dts-v1/;

/ {
	model = "CMPC885";
	compatible = "fsl, cmpc885", "fsl,mod885";
	#address-cells = <1>;
	#size-cells = <1>;

	chosen {
		stdout-path = &SERIAL;
	};

	SERIAL: serial {
		compatible = "fsl,pq1-smc";
	};

	FEC1: fec@0 {
		compatible = "fsl,pq1-fec1";
	};

	FEC2: fec@1 {
		compatible = "fsl,pq1-fec2";
	};

	soc: immr@ff000000 {
		#address-cells = <1>;
		#size-cells = <1>;
		device-type = "soc";
		compatible = "simple-bus";
		ranges = <0 0xff000000 0x4000>;
		reg = <0xff000000 0x00000200>;

		WDT: watchdog@0 {
			compatible = "fsl,pq1-wdt";
			reg = <0x0 0x10>;
			timeout-sec = <2>;
			hw_margin_ms = <1000>;
		};

		CPM1_PIO_B: gpio-controller@ab8 {
			#gpio-cells = <2>;
			compatible = "fsl,cpm1-pario-bank-b";
			reg = <0xab8 0x10>;
			gpio-controller;
		};

		CPM1_PIO_D: gpio-controller@970 {
			#gpio-cells = <2>;
			compatible = "fsl,cpm1-pario-bank-d";
			reg = <0x970 0x10>;
			gpio-controller;
		};

		CPM1_PIO_A: gpio-controller@950 {
			#gpio-cells = <2>;
			compatible = "fsl,cpm1-pario-bank-a";
			reg = <0x950 0x10>;
			gpio-controller;
		};

		CPM1_PIO_C: gpio-controller@960 {
			#gpio-cells = <2>;
			compatible = "fsl,cpm1-pario-bank-c";
			reg = <0x960 0x10>;
			gpio-controller;
		};

		CPM1_PIO_E: gpio-controller@ac8 {
			#gpio-cells = <2>;
			compatible = "fsl,cpm1-pario-bank-e";
			reg = <0xac8 0x18>;
			gpio-controller;
		};

		spi: spi@aa0 {
			status = "okay";
			#address-cells = <1>;
			#size-cells = <0>;
			compatible = "fsl,mpc8xx-spi";
			gpios = <&CPM1_PIO_B 21 1	/* /EEPROM_CS ACTIVE_LOW */
				 &CPM1_PIO_B 23 1	/* Temperature mother board */
				 &CPM1_PIO_B 14 1>;	/* Temperature CPU board */

			eeprom@0 {
				reg = <0>;
				compatible = "atmel,at25", "cs,eeprom";
			};
			temp@1 {
				reg = <1>;
				compatible = "ti,lm74";
			};
			temp@2 {
				reg = <2>;
				compatible = "ti,lm74";
			};
		};
	};
};