Paul Gortmaker | 3034099 | 2008-01-24 18:41:28 -0500 | [diff] [blame] | 1 | /* |
| 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 Gortmaker | d1cf1c7 | 2013-01-23 15:13:30 -0500 | [diff] [blame] | 17 | /include/ "sbc8548-pre.dtsi" |
Paul Gortmaker | 3034099 | 2008-01-24 18:41:28 -0500 | [diff] [blame] | 18 | |
Paul Gortmaker | d1cf1c7 | 2013-01-23 15:13:30 -0500 | [diff] [blame] | 19 | /{ |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 20 | 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 Gortmaker | 7e83f2a | 2013-01-23 15:13:31 -0500 | [diff] [blame] | 31 | 0x6 0x0 0xec000000 0x04000000>; /*64MB Flash*/ |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 32 | |
| 33 | |
| 34 | flash@0,0 { |
| 35 | #address-cells = <1>; |
| 36 | #size-cells = <1>; |
Paul Gortmaker | 7e83f2a | 2013-01-23 15:13:31 -0500 | [diff] [blame] | 37 | compatible = "intel,JS28F640", "cfi-flash"; |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 38 | reg = <0x0 0x0 0x800000>; |
| 39 | bank-width = <1>; |
| 40 | device-width = <1>; |
| 41 | partition@0x0 { |
| 42 | label = "space"; |
Paul Gortmaker | 7e83f2a | 2013-01-23 15:13:31 -0500 | [diff] [blame] | 43 | /* FF800000 -> FFF9FFFF */ |
| 44 | reg = <0x00000000 0x007a0000>; |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 45 | }; |
Paul Gortmaker | 7e83f2a | 2013-01-23 15:13:31 -0500 | [diff] [blame] | 46 | partition@0x7a0000 { |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 47 | label = "bootloader"; |
Paul Gortmaker | 7e83f2a | 2013-01-23 15:13:31 -0500 | [diff] [blame] | 48 | /* FFFA0000 -> FFFFFFFF */ |
| 49 | reg = <0x007a0000 0x00060000>; |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 50 | 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 Gortmaker | 7e83f2a | 2013-01-23 15:13:31 -0500 | [diff] [blame] | 92 | compatible = "intel,JS28F128", "cfi-flash"; |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 93 | bank-width = <4>; |
| 94 | device-width = <1>; |
| 95 | partition@0x0 { |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 96 | label = "space"; |
Paul Gortmaker | 7e83f2a | 2013-01-23 15:13:31 -0500 | [diff] [blame] | 97 | /* EC000000 -> EFEFFFFF */ |
| 98 | reg = <0x00000000 0x03f00000>; |
| 99 | }; |
| 100 | partition@0x03f00000 { |
| 101 | label = "bootloader"; |
| 102 | /* EFF00000 -> EFFFFFFF */ |
| 103 | reg = <0x03f00000 0x00100000>; |
| 104 | read-only; |
Jeremy McNicoll | bfd123b | 2008-05-05 18:17:24 -0400 | [diff] [blame] | 105 | }; |
| 106 | }; |
| 107 | }; |
Paul Gortmaker | 3034099 | 2008-01-24 18:41:28 -0500 | [diff] [blame] | 108 | }; |
Paul Gortmaker | d1cf1c7 | 2013-01-23 15:13:30 -0500 | [diff] [blame] | 109 | |
| 110 | /include/ "sbc8548-post.dtsi" |