blob: ad8dc6808d2e111746ab30ba4bf7cbe8bdb5362f [file] [log] [blame]
Paul Gortmaker30340992008-01-24 18:41:28 -05001/*
2 * SBC8548 Device Tree Source
3 *
4 * Copyright 2007 Wind River Systems Inc.
5 *
6 * Paul Gortmaker (see MAINTAINERS for contact information)
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 */
13
14
15/dts-v1/;
16
Paul Gortmakerd1cf1c72013-01-23 15:13:30 -050017/include/ "sbc8548-pre.dtsi"
Paul Gortmaker30340992008-01-24 18:41:28 -050018
Paul Gortmakerd1cf1c72013-01-23 15:13:30 -050019/{
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040020 localbus@e0000000 {
21 #address-cells = <2>;
22 #size-cells = <1>;
23 compatible = "simple-bus";
24 reg = <0xe0000000 0x5000>;
25 interrupt-parent = <&mpic>;
26
27 ranges = <0x0 0x0 0xff800000 0x00800000 /*8MB Flash*/
28 0x3 0x0 0xf0000000 0x04000000 /*64MB SDRAM*/
29 0x4 0x0 0xf4000000 0x04000000 /*64MB SDRAM*/
30 0x5 0x0 0xf8000000 0x00b10000 /* EPLD */
31 0x6 0x0 0xfb800000 0x04000000>; /*64MB Flash*/
32
33
34 flash@0,0 {
35 #address-cells = <1>;
36 #size-cells = <1>;
37 compatible = "cfi-flash";
38 reg = <0x0 0x0 0x800000>;
39 bank-width = <1>;
40 device-width = <1>;
41 partition@0x0 {
42 label = "space";
43 reg = <0x00000000 0x00100000>;
44 };
45 partition@0x100000 {
46 label = "bootloader";
47 reg = <0x00100000 0x00700000>;
48 read-only;
49 };
50 };
51
52 epld@5,0 {
53 compatible = "wrs,epld-localbus";
54 #address-cells = <2>;
55 #size-cells = <1>;
56 reg = <0x5 0x0 0x00b10000>;
57 ranges = <
58 0x0 0x0 0x5 0x000000 0x1fff /* LED */
59 0x1 0x0 0x5 0x100000 0x1fff /* Switches */
60 0x3 0x0 0x5 0x300000 0x1fff /* HW Rev. */
61 0xb 0x0 0x5 0xb00000 0x1fff /* EEPROM */
62 >;
63
64 led@0,0 {
65 compatible = "led";
66 reg = <0x0 0x0 0x1fff>;
67 };
68
69 switches@1,0 {
70 compatible = "switches";
71 reg = <0x1 0x0 0x1fff>;
72 };
73
74 hw-rev@3,0 {
75 compatible = "hw-rev";
76 reg = <0x3 0x0 0x1fff>;
77 };
78
79 eeprom@b,0 {
80 compatible = "eeprom";
81 reg = <0xb 0 0x1fff>;
82 };
83
84 };
85
86 alt-flash@6,0 {
87 #address-cells = <1>;
88 #size-cells = <1>;
89 reg = <0x6 0x0 0x04000000>;
90 compatible = "cfi-flash";
91 bank-width = <4>;
92 device-width = <1>;
93 partition@0x0 {
94 label = "bootloader";
95 reg = <0x00000000 0x00100000>;
96 read-only;
97 };
98 partition@0x00100000 {
99 label = "file-system";
100 reg = <0x00100000 0x01f00000>;
101 };
102 partition@0x02000000 {
103 label = "boot-config";
104 reg = <0x02000000 0x00100000>;
105 };
106 partition@0x02100000 {
107 label = "space";
108 reg = <0x02100000 0x01f00000>;
109 };
110 };
111 };
Paul Gortmaker30340992008-01-24 18:41:28 -0500112};
Paul Gortmakerd1cf1c72013-01-23 15:13:30 -0500113
114/include/ "sbc8548-post.dtsi"