]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - arch/powerpc/boot/dts/fsl/gef_sbc310.dts
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
[mirror_ubuntu-kernels.git] / arch / powerpc / boot / dts / fsl / gef_sbc310.dts
CommitLineData
2874c5fd 1// SPDX-License-Identifier: GPL-2.0-or-later
bb2b66dc 2/*
948e78c3 3 * GE SBC310 Device Tree Source
bb2b66dc 4 *
948e78c3 5 * Copyright 2008 GE Intelligent Platforms Embedded Systems, Inc.
bb2b66dc 6 *
bb2b66dc
MW
7 * Based on: SBS CM6 Device Tree Source
8 * Copyright 2007 SBS Technologies GmbH & Co. KG
9 * And: mpc8641_hpcn.dts (MPC8641 HPCN Device Tree Source)
10 * Copyright 2006 Freescale Semiconductor Inc.
11 */
12
13/*
14 * Compiled with dtc -I dts -O dtb -o gef_sbc310.dtb gef_sbc310.dts
15 */
16
334479d1 17/include/ "mpc8641si-pre.dtsi"
bb2b66dc
MW
18
19/ {
20 model = "GEF_SBC310";
21 compatible = "gef,sbc310";
bb2b66dc 22
bb2b66dc
MW
23 memory {
24 device_type = "memory";
25 reg = <0x0 0x40000000>; // set by uboot
26 };
27
334479d1 28 lbc: localbus@fef05000 {
bb2b66dc 29 reg = <0xfef05000 0x1000>;
bb2b66dc
MW
30
31 ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash
32 1 0 0xe0000000 0x08000000 // Paged Flash 0
33 2 0 0xe8000000 0x08000000 // Paged Flash 1
34 3 0 0xfc100000 0x00020000 // NVRAM
35 4 0 0xfc000000 0x00010000>; // FPGA
36
37 /* flash@0,0 is a mirror of part of the memory in flash@1,0
38 flash@0,0 {
433abcdf
MW
39 compatible = "gef,sbc310-firmware-mirror", "cfi-flash";
40 reg = <0x0 0x0 0x01000000>;
bb2b66dc
MW
41 bank-width = <2>;
42 device-width = <2>;
43 #address-cells = <1>;
44 #size-cells = <1>;
45 partition@0 {
46 label = "firmware";
433abcdf 47 reg = <0x0 0x01000000>;
bb2b66dc
MW
48 read-only;
49 };
50 };
51 */
52
53 flash@1,0 {
433abcdf
MW
54 compatible = "gef,sbc310-paged-flash", "cfi-flash";
55 reg = <0x1 0x0 0x8000000>;
bb2b66dc
MW
56 bank-width = <2>;
57 device-width = <2>;
58 #address-cells = <1>;
59 #size-cells = <1>;
60 partition@0 {
61 label = "user";
433abcdf 62 reg = <0x0 0x7800000>;
bb2b66dc
MW
63 };
64 partition@7800000 {
65 label = "firmware";
433abcdf 66 reg = <0x7800000 0x800000>;
bb2b66dc
MW
67 read-only;
68 };
69 };
70
9093067a
MW
71 nvram@3,0 {
72 device_type = "nvram";
73 compatible = "simtek,stk14ca8";
74 reg = <0x3 0x0 0x20000>;
75 };
76
bb2b66dc
MW
77 fpga@4,0 {
78 compatible = "gef,fpga-regs";
79 reg = <0x4 0x0 0x40>;
80 };
81
82 wdt@4,2000 {
433abcdf
MW
83 compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
84 "gef,fpga-wdt";
bb2b66dc
MW
85 reg = <0x4 0x2000 0x8>;
86 interrupts = <0x1a 0x4>;
87 interrupt-parent = <&gef_pic>;
88 };
89/*
90 wdt@4,2010 {
433abcdf
MW
91 compatible = "gef,sbc310-fpga-wdt", "gef,fpga-wdt-1.00",
92 "gef,fpga-wdt";
bb2b66dc
MW
93 reg = <0x4 0x2010 0x8>;
94 interrupts = <0x1b 0x4>;
95 interrupt-parent = <&gef_pic>;
96 };
97*/
98 gef_pic: pic@4,4000 {
99 #interrupt-cells = <1>;
100 interrupt-controller;
433abcdf 101 compatible = "gef,sbc310-fpga-pic", "gef,fpga-pic";
bb2b66dc 102 reg = <0x4 0x4000 0x20>;
595207b9 103 interrupts = <0x8 0x9 0 0>;
bb2b66dc
MW
104
105 };
106 gef_gpio: gpio@4,8000 {
107 #gpio-cells = <2>;
108 compatible = "gef,sbc310-gpio";
109 reg = <0x4 0x8000 0x24>;
110 gpio-controller;
111 };
112 };
113
334479d1 114 soc: soc@fef00000 {
bb2b66dc 115 ranges = <0x0 0xfef00000 0x00100000>;
da385780 116
595207b9 117 i2c@3000 {
bb2b66dc
MW
118 rtc@51 {
119 compatible = "epson,rx8581";
120 reg = <0x00000051>;
121 };
122 };
123
595207b9 124 i2c@3100 {
bb2b66dc
MW
125 hwmon@48 {
126 compatible = "national,lm92";
127 reg = <0x48>;
128 };
129
130 hwmon@4c {
131 compatible = "adi,adt7461";
132 reg = <0x4c>;
133 };
134
135 eti@6b {
136 compatible = "dallas,ds1682";
137 reg = <0x6b>;
138 };
139 };
140
bb2b66dc 141 enet0: ethernet@24000 {
62f3de91 142 tbi-handle = <&tbi0>;
bb2b66dc
MW
143 phy-handle = <&phy0>;
144 phy-connection-type = "gmii";
334479d1 145 };
d8bc55fb 146
334479d1
AIB
147 mdio@24520 {
148 phy0: ethernet-phy@0 {
149 interrupt-parent = <&gef_pic>;
150 interrupts = <0x9 0x4>;
151 reg = <1>;
152 };
153 phy2: ethernet-phy@2 {
154 interrupt-parent = <&gef_pic>;
155 interrupts = <0x8 0x4>;
156 reg = <3>;
157 };
158 tbi0: tbi-phy@11 {
159 reg = <0x11>;
160 device_type = "tbi-phy";
d8bc55fb 161 };
bb2b66dc
MW
162 };
163
164 enet1: ethernet@26000 {
62f3de91 165 tbi-handle = <&tbi2>;
bb2b66dc
MW
166 phy-handle = <&phy2>;
167 phy-connection-type = "gmii";
334479d1 168 };
62f3de91 169
334479d1
AIB
170 mdio@26520 {
171 tbi2: tbi-phy@11 {
172 reg = <0x11>;
173 device_type = "tbi-phy";
62f3de91 174 };
bb2b66dc
MW
175 };
176
334479d1
AIB
177 enet2: ethernet@25000 {
178 status = "disabled";
bb2b66dc
MW
179 };
180
334479d1
AIB
181 mdio@25520 {
182 status = "disabled";
bb2b66dc
MW
183 };
184
334479d1
AIB
185 enet3: ethernet@27000 {
186 status = "disabled";
bb2b66dc
MW
187 };
188
334479d1
AIB
189 mdio@27520 {
190 status = "disabled";
bb2b66dc
MW
191 };
192 };
193
194 pci0: pcie@fef08000 {
bb2b66dc 195 reg = <0xfef08000 0x1000>;
bb2b66dc
MW
196 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000
197 0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>;
9b952a39 198 interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
bb2b66dc
MW
199 interrupt-map = <
200 0x0000 0x0 0x0 0x1 &mpic 0x0 0x2
201 0x0000 0x0 0x0 0x2 &mpic 0x1 0x2
202 0x0000 0x0 0x0 0x3 &mpic 0x2 0x2
203 0x0000 0x0 0x0 0x4 &mpic 0x3 0x2
204 >;
205
206 pcie@0 {
bb2b66dc
MW
207 ranges = <0x02000000 0x0 0x80000000
208 0x02000000 0x0 0x80000000
209 0x0 0x40000000
210
211 0x01000000 0x0 0x00000000
212 0x01000000 0x0 0x00000000
213 0x0 0x00400000>;
214 };
215 };
8798b9df
MW
216
217 pci1: pcie@fef09000 {
8798b9df 218 reg = <0xfef09000 0x1000>;
8798b9df
MW
219 ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
220 0x01000000 0x0 0x00000000 0xfe400000 0x0 0x00400000>;
8798b9df
MW
221
222 pcie@0 {
8798b9df
MW
223 ranges = <0x02000000 0x0 0xc0000000
224 0x02000000 0x0 0xc0000000
225 0x0 0x20000000
226
227 0x01000000 0x0 0x00000000
228 0x01000000 0x0 0x00000000
229 0x0 0x00400000>;
230 };
231 };
bb2b66dc 232};
334479d1
AIB
233
234/include/ "mpc8641si-post.dtsi"