diff options
author | Martyn Welch <martyn.welch@gefanuc.com> | 2010-01-11 07:23:31 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-02-17 22:48:05 -0500 |
commit | ae1f7553b9c9ac3762dc91ecb92574bb9fac0b1e (patch) | |
tree | 3236393a1a86242354a33348969169a2326fbb86 /arch/powerpc/boot | |
parent | 6459ba984a57e90326b3eaf7a35cc2f3fffe26a0 (diff) |
powerpc/86xx: Basic flash support for GE SBC610
Support for the SBC610 VPX Single Board Computer from GE (PowerPC MPC8641D).
This patch adds basic support for the on-board flash.
Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/gef_sbc610.dts | 50 |
1 files changed, 42 insertions, 8 deletions
diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/boot/dts/gef_sbc610.dts index 78c336f0fcb8..bb7060078fb4 100644 --- a/arch/powerpc/boot/dts/gef_sbc610.dts +++ b/arch/powerpc/boot/dts/gef_sbc610.dts | |||
@@ -75,14 +75,48 @@ | |||
75 | interrupts = <19 2>; | 75 | interrupts = <19 2>; |
76 | interrupt-parent = <&mpic>; | 76 | interrupt-parent = <&mpic>; |
77 | 77 | ||
78 | ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash | 78 | ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash |
79 | 1 0 0xe8000000 0x08000000 // Paged Flash 0 | 79 | 1 0 0xe8000000 0x08000000 // Paged Flash 0 |
80 | 2 0 0xe0000000 0x08000000 // Paged Flash 1 | 80 | 2 0 0xe0000000 0x08000000 // Paged Flash 1 |
81 | 3 0 0xfc100000 0x00020000 // NVRAM | 81 | 3 0 0xfc100000 0x00020000 // NVRAM |
82 | 4 0 0xfc000000 0x00008000 // FPGA | 82 | 4 0 0xfc000000 0x00008000 // FPGA |
83 | 5 0 0xfc008000 0x00008000 // AFIX FPGA | 83 | 5 0 0xfc008000 0x00008000 // AFIX FPGA |
84 | 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) | 84 | 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) |
85 | 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) | 85 | 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) |
86 | |||
87 | /* flash@0,0 is a mirror of part of the memory in flash@1,0 | ||
88 | flash@0,0 { | ||
89 | compatible = "gef,sbc610-firmware-mirror", "cfi-flash"; | ||
90 | reg = <0x0 0x0 0x1000000>; | ||
91 | bank-width = <4>; | ||
92 | device-width = <2>; | ||
93 | #address-cells = <1>; | ||
94 | #size-cells = <1>; | ||
95 | partition@0 { | ||
96 | label = "firmware"; | ||
97 | reg = <0x0 0x1000000>; | ||
98 | read-only; | ||
99 | }; | ||
100 | }; | ||
101 | */ | ||
102 | |||
103 | flash@1,0 { | ||
104 | compatible = "gef,sbc610-paged-flash", "cfi-flash"; | ||
105 | reg = <0x1 0x0 0x8000000>; | ||
106 | bank-width = <4>; | ||
107 | device-width = <2>; | ||
108 | #address-cells = <1>; | ||
109 | #size-cells = <1>; | ||
110 | partition@0 { | ||
111 | label = "user"; | ||
112 | reg = <0x0 0x7800000>; | ||
113 | }; | ||
114 | partition@7800000 { | ||
115 | label = "firmware"; | ||
116 | reg = <0x7800000 0x800000>; | ||
117 | read-only; | ||
118 | }; | ||
119 | }; | ||
86 | 120 | ||
87 | nvram@3,0 { | 121 | nvram@3,0 { |
88 | device_type = "nvram"; | 122 | device_type = "nvram"; |