GNU Linux-libre 5.4.274-gnu1
[releases.git] / arch / powerpc / boot / dts / sbc8548.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * SBC8548 Device Tree Source
4  *
5  * Copyright 2007 Wind River Systems Inc.
6  *
7  * Paul Gortmaker (see MAINTAINERS for contact information)
8  */
9
10
11 /dts-v1/;
12
13 /include/ "sbc8548-pre.dtsi"
14
15 /{
16         localbus@e0000000 {
17                 #address-cells = <2>;
18                 #size-cells = <1>;
19                 compatible = "simple-bus";
20                 reg = <0xe0000000 0x5000>;
21                 interrupt-parent = <&mpic>;
22
23                 ranges = <0x0 0x0 0xff800000 0x00800000         /*8MB Flash*/
24                           0x3 0x0 0xf0000000 0x04000000         /*64MB SDRAM*/
25                           0x4 0x0 0xf4000000 0x04000000         /*64MB SDRAM*/
26                           0x5 0x0 0xf8000000 0x00b10000         /* EPLD */
27                           0x6 0x0 0xec000000 0x04000000>;       /*64MB Flash*/
28
29
30                 flash@0,0 {
31                         #address-cells = <1>;
32                         #size-cells = <1>;
33                         compatible = "intel,JS28F640", "cfi-flash";
34                         reg = <0x0 0x0 0x800000>;
35                         bank-width = <1>;
36                         device-width = <1>;
37                         partition@0 {
38                                 label = "space";
39                                 /* FF800000 -> FFF9FFFF */
40                                 reg = <0x00000000 0x007a0000>;
41                         };
42                         partition@7a0000 {
43                                 label = "bootloader";
44                                 /* FFFA0000 -> FFFFFFFF */
45                                 reg = <0x007a0000 0x00060000>;
46                                 read-only;
47                         };
48                 };
49
50                 epld@5,0 {
51                         compatible = "wrs,epld-localbus";
52                         #address-cells = <2>;
53                         #size-cells = <1>;
54                         reg = <0x5 0x0 0x00b10000>;
55                         ranges = <
56                                 0x0 0x0 0x5 0x000000 0x1fff     /* LED */
57                                 0x1 0x0 0x5 0x100000 0x1fff     /* Switches */
58                                 0x3 0x0 0x5 0x300000 0x1fff     /* HW Rev. */
59                                 0xb 0x0 0x5 0xb00000 0x1fff     /* EEPROM */
60                         >;
61
62                         led@0,0 {
63                                 compatible = "led";
64                                 reg = <0x0 0x0 0x1fff>;
65                         };
66
67                         switches@1,0 {
68                                 compatible = "switches";
69                                 reg = <0x1 0x0 0x1fff>;
70                         };
71
72                         hw-rev@3,0 {
73                                 compatible = "hw-rev";
74                                 reg = <0x3 0x0 0x1fff>;
75                         };
76
77                         eeprom@b,0 {
78                                 compatible = "eeprom";
79                                 reg = <0xb 0 0x1fff>;
80                         };
81
82                 };
83
84                 alt-flash@6,0 {
85                         #address-cells = <1>;
86                         #size-cells = <1>;
87                         reg = <0x6 0x0 0x04000000>;
88                         compatible = "intel,JS28F128", "cfi-flash";
89                         bank-width = <4>;
90                         device-width = <1>;
91                         partition@0 {
92                                 label = "space";
93                                 /* EC000000 -> EFEFFFFF */
94                                 reg = <0x00000000 0x03f00000>;
95                         };
96                         partition@3f00000 {
97                                 label = "bootloader";
98                                 /* EFF00000 -> EFFFFFFF */
99                                 reg = <0x03f00000 0x00100000>;
100                                 read-only;
101                         };
102                 };
103         };
104 };
105
106 /include/ "sbc8548-post.dtsi"