Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / arch / powerpc / boot / dts / uc101.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Manroland uc101 board Device Tree Source
4  *
5  * Copyright (C) 2009 DENX Software Engineering GmbH
6  * Heiko Schocher <hs@denx.de>
7  * Copyright 2006-2007 Secret Lab Technologies Ltd.
8  */
9
10 /include/ "mpc5200b.dtsi"
11
12 &gpt0 { gpio-controller; };
13 &gpt1 { gpio-controller; };
14 &gpt2 { gpio-controller; };
15 &gpt3 { gpio-controller; };
16 &gpt4 { gpio-controller; };
17 &gpt5 { gpio-controller; };
18 &gpt6 { gpio-controller; };
19 &gpt7 { gpio-controller; };
20
21 / {
22         model = "manroland,uc101";
23         compatible = "manroland,uc101";
24
25         soc5200@f0000000 {
26                 rtc@800 {
27                         status = "disabled";
28                 };
29
30                 can@900 {
31                         status = "disabled";
32                 };
33
34                 can@980 {
35                         status = "disabled";
36                 };
37
38                 spi@f00 {
39                         status = "disabled";
40                 };
41
42                 usb@1000 {
43                         status = "disabled";
44                 };
45
46                 psc@2000 {      // PSC1
47                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
48                 };
49
50                 psc@2200 {      // PSC2
51                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
52                 };
53
54                 psc@2400 {      // PSC3
55                         status = "disabled";
56                 };
57
58                 psc@2600 {      // PSC4
59                         status = "disabled";
60                 };
61
62                 psc@2800 {      // PSC5
63                         status = "disabled";
64                 };
65
66                 psc@2c00 {      // PSC6
67                         compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
68                 };
69
70                 ethernet@3000 {
71                         phy-handle = <&phy0>;
72                 };
73
74                 mdio@3000 {
75                         phy0: ethernet-phy@0 {
76                                 compatible = "intel,lxt971";
77                                 reg = <0>;
78                         };
79                 };
80
81                 i2c@3d00 {
82                         status = "disabled";
83                 };
84
85                 i2c@3d40 {
86                         fsl,preserve-clocking;
87                         clock-frequency = <400000>;
88
89                         hwmon@2c {
90                                 compatible = "ad,adm9240";
91                                 reg = <0x2c>;
92                         };
93                         rtc@51 {
94                                 compatible = "nxp,pcf8563";
95                                 reg = <0x51>;
96                         };
97                 };
98         };
99
100         pci@f0000d00 {
101                 status = "disabled";
102         };
103
104         localbus {
105                 ranges = <0 0 0xff800000 0x00800000
106                           1 0 0x80000000 0x00800000
107                           3 0 0x80000000 0x00800000>;
108
109                 flash@0,0 {
110                         compatible = "cfi-flash";
111                         reg = <0 0 0x00800000>;
112                         bank-width = <2>;
113                         device-width = <2>;
114                         #size-cells = <1>;
115                         #address-cells = <1>;
116
117                         partition@0 {
118                                 label = "DTS";
119                                 reg = <0x0 0x00100000>;
120                         };
121                         partition@100000 {
122                                 label = "Kernel";
123                                 reg = <0x100000 0x00200000>;
124                         };
125                         partition@300000 {
126                                 label = "RootFS";
127                                 reg = <0x00300000 0x00200000>;
128                         };
129                         partition@500000 {
130                                 label = "user";
131                                 reg = <0x00500000 0x00200000>;
132                         };
133                         partition@700000 {
134                                 label = "U-Boot";
135                                 reg = <0x00700000 0x00040000>;
136                         };
137                         partition@740000 {
138                                 label = "Env";
139                                 reg = <0x00740000 0x00010000>;
140                         };
141                         partition@750000 {
142                                 label = "red. Env";
143                                 reg = <0x00750000 0x00010000>;
144                         };
145                         partition@760000 {
146                                 label = "reserve";
147                                 reg = <0x00760000 0x000a0000>;
148                         };
149                 };
150
151         };
152 };