blob: 1df2a0955668d280195cb79700bedc16f097ffdc [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 */
Paul Gortmaker7e83f2a2013-01-23 15:13:31 -050031 0x6 0x0 0xec000000 0x04000000>; /*64MB Flash*/
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040032
33
34 flash@0,0 {
35 #address-cells = <1>;
36 #size-cells = <1>;
Paul Gortmaker7e83f2a2013-01-23 15:13:31 -050037 compatible = "intel,JS28F640", "cfi-flash";
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040038 reg = <0x0 0x0 0x800000>;
39 bank-width = <1>;
40 device-width = <1>;
41 partition@0x0 {
42 label = "space";
Paul Gortmaker7e83f2a2013-01-23 15:13:31 -050043 /* FF800000 -> FFF9FFFF */
44 reg = <0x00000000 0x007a0000>;
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040045 };
Paul Gortmaker7e83f2a2013-01-23 15:13:31 -050046 partition@0x7a0000 {
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040047 label = "bootloader";
Paul Gortmaker7e83f2a2013-01-23 15:13:31 -050048 /* FFFA0000 -> FFFFFFFF */
49 reg = <0x007a0000 0x00060000>;
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040050 read-only;
51 };
52 };
53
54 epld@5,0 {
55 compatible = "wrs,epld-localbus";
56 #address-cells = <2>;
57 #size-cells = <1>;
58 reg = <0x5 0x0 0x00b10000>;
59 ranges = <
60 0x0 0x0 0x5 0x000000 0x1fff /* LED */
61 0x1 0x0 0x5 0x100000 0x1fff /* Switches */
62 0x3 0x0 0x5 0x300000 0x1fff /* HW Rev. */
63 0xb 0x0 0x5 0xb00000 0x1fff /* EEPROM */
64 >;
65
66 led@0,0 {
67 compatible = "led";
68 reg = <0x0 0x0 0x1fff>;
69 };
70
71 switches@1,0 {
72 compatible = "switches";
73 reg = <0x1 0x0 0x1fff>;
74 };
75
76 hw-rev@3,0 {
77 compatible = "hw-rev";
78 reg = <0x3 0x0 0x1fff>;
79 };
80
81 eeprom@b,0 {
82 compatible = "eeprom";
83 reg = <0xb 0 0x1fff>;
84 };
85
86 };
87
88 alt-flash@6,0 {
89 #address-cells = <1>;
90 #size-cells = <1>;
91 reg = <0x6 0x0 0x04000000>;
Paul Gortmaker7e83f2a2013-01-23 15:13:31 -050092 compatible = "intel,JS28F128", "cfi-flash";
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040093 bank-width = <4>;
94 device-width = <1>;
95 partition@0x0 {
Jeremy McNicollbfd123b2008-05-05 18:17:24 -040096 label = "space";
Paul Gortmaker7e83f2a2013-01-23 15:13:31 -050097 /* EC000000 -> EFEFFFFF */
98 reg = <0x00000000 0x03f00000>;
99 };
100 partition@0x03f00000 {
101 label = "bootloader";
102 /* EFF00000 -> EFFFFFFF */
103 reg = <0x03f00000 0x00100000>;
104 read-only;
Jeremy McNicollbfd123b2008-05-05 18:17:24 -0400105 };
106 };
107 };
Paul Gortmaker30340992008-01-24 18:41:28 -0500108};
Paul Gortmakerd1cf1c72013-01-23 15:13:30 -0500109
110/include/ "sbc8548-post.dtsi"