diff options
author | Xie Xiaobo <X.Xie@freescale.com> | 2012-01-17 04:59:50 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-03-16 11:46:32 -0400 |
commit | 955abacd983ef6f8c8bd6abcff7fab0df9f7ec11 (patch) | |
tree | 6cd9db7e4a150fdd796781856c41d20eff8e31f2 /arch/powerpc/boot | |
parent | b53804c70258000026d0b68b86aaecd571f2ba8b (diff) |
powerpc/85xx: Add some DTS nodes and attributes for mpc8536ds
Add partitions for NOR and NAND Flash.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8536ds.dts | 6 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mpc8536ds.dtsi | 93 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mpc8536ds_36b.dts | 8 |
3 files changed, 104 insertions, 3 deletions
diff --git a/arch/powerpc/boot/dts/mpc8536ds.dts b/arch/powerpc/boot/dts/mpc8536ds.dts index c15881574fdc..19736222a0b9 100644 --- a/arch/powerpc/boot/dts/mpc8536ds.dts +++ b/arch/powerpc/boot/dts/mpc8536ds.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * MPC8536 DS Device Tree Source | 2 | * MPC8536 DS Device Tree Source |
3 | * | 3 | * |
4 | * Copyright 2008 Freescale Semiconductor, Inc. | 4 | * Copyright 2008, 2011 Freescale Semiconductor, Inc. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms of the GNU General Public License as published by the | 7 | * under the terms of the GNU General Public License as published by the |
@@ -34,6 +34,10 @@ | |||
34 | 34 | ||
35 | lbc: localbus@ffe05000 { | 35 | lbc: localbus@ffe05000 { |
36 | reg = <0 0xffe05000 0 0x1000>; | 36 | reg = <0 0xffe05000 0 0x1000>; |
37 | |||
38 | ranges = <0x0 0x0 0x0 0xe8000000 0x08000000 | ||
39 | 0x2 0x0 0x0 0xffa00000 0x00040000 | ||
40 | 0x3 0x0 0x0 0xffdf0000 0x00008000>; | ||
37 | }; | 41 | }; |
38 | 42 | ||
39 | board_soc: soc: soc@ffe00000 { | 43 | board_soc: soc: soc@ffe00000 { |
diff --git a/arch/powerpc/boot/dts/mpc8536ds.dtsi b/arch/powerpc/boot/dts/mpc8536ds.dtsi index 1462e4cf49d7..cc46dbd9746d 100644 --- a/arch/powerpc/boot/dts/mpc8536ds.dtsi +++ b/arch/powerpc/boot/dts/mpc8536ds.dtsi | |||
@@ -32,6 +32,99 @@ | |||
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33 | */ | 33 | */ |
34 | 34 | ||
35 | &lbc { | ||
36 | nor@0,0 { | ||
37 | #address-cells = <1>; | ||
38 | #size-cells = <1>; | ||
39 | compatible = "cfi-flash"; | ||
40 | reg = <0x0 0x0 0x8000000>; | ||
41 | bank-width = <2>; | ||
42 | device-width = <1>; | ||
43 | |||
44 | partition@0 { | ||
45 | reg = <0x0 0x03000000>; | ||
46 | label = "ramdisk-nor"; | ||
47 | }; | ||
48 | |||
49 | partition@3000000 { | ||
50 | reg = <0x03000000 0x00e00000>; | ||
51 | label = "diagnostic-nor"; | ||
52 | read-only; | ||
53 | }; | ||
54 | |||
55 | partition@3e00000 { | ||
56 | reg = <0x03e00000 0x00200000>; | ||
57 | label = "dink-nor"; | ||
58 | read-only; | ||
59 | }; | ||
60 | |||
61 | partition@4000000 { | ||
62 | reg = <0x04000000 0x00400000>; | ||
63 | label = "kernel-nor"; | ||
64 | }; | ||
65 | |||
66 | partition@4400000 { | ||
67 | reg = <0x04400000 0x03b00000>; | ||
68 | label = "fs-nor"; | ||
69 | }; | ||
70 | |||
71 | partition@7f00000 { | ||
72 | reg = <0x07f00000 0x00080000>; | ||
73 | label = "dtb-nor"; | ||
74 | }; | ||
75 | |||
76 | partition@7f80000 { | ||
77 | reg = <0x07f80000 0x00080000>; | ||
78 | label = "u-boot-nor"; | ||
79 | read-only; | ||
80 | }; | ||
81 | }; | ||
82 | |||
83 | nand@2,0 { | ||
84 | #address-cells = <1>; | ||
85 | #size-cells = <1>; | ||
86 | compatible = "fsl,mpc8536-fcm-nand", | ||
87 | "fsl,elbc-fcm-nand"; | ||
88 | reg = <0x2 0x0 0x40000>; | ||
89 | |||
90 | partition@0 { | ||
91 | reg = <0x0 0x02000000>; | ||
92 | label = "u-boot-nand"; | ||
93 | read-only; | ||
94 | }; | ||
95 | |||
96 | partition@2000000 { | ||
97 | reg = <0x02000000 0x10000000>; | ||
98 | label = "fs-nand"; | ||
99 | }; | ||
100 | |||
101 | partition@12000000 { | ||
102 | reg = <0x12000000 0x08000000>; | ||
103 | label = "ramdisk-nand"; | ||
104 | }; | ||
105 | |||
106 | partition@1a000000 { | ||
107 | reg = <0x1a000000 0x04000000>; | ||
108 | label = "kernel-nand"; | ||
109 | }; | ||
110 | |||
111 | partition@1e000000 { | ||
112 | reg = <0x1e000000 0x01000000>; | ||
113 | label = "dtb-nand"; | ||
114 | }; | ||
115 | |||
116 | partition@1f000000 { | ||
117 | reg = <0x1f000000 0x21000000>; | ||
118 | label = "empty-nand"; | ||
119 | }; | ||
120 | }; | ||
121 | |||
122 | board-control@3,0 { | ||
123 | compatible = "fsl,mpc8536ds-fpga-pixis"; | ||
124 | reg = <0x3 0x0 0x8000>; | ||
125 | }; | ||
126 | }; | ||
127 | |||
35 | &board_soc { | 128 | &board_soc { |
36 | i2c@3100 { | 129 | i2c@3100 { |
37 | rtc@68 { | 130 | rtc@68 { |
diff --git a/arch/powerpc/boot/dts/mpc8536ds_36b.dts b/arch/powerpc/boot/dts/mpc8536ds_36b.dts index 8f4b929b1d1d..f8a3b3413176 100644 --- a/arch/powerpc/boot/dts/mpc8536ds_36b.dts +++ b/arch/powerpc/boot/dts/mpc8536ds_36b.dts | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * MPC8536DS Device Tree Source (36-bit address map) | 2 | * MPC8536DS Device Tree Source (36-bit address map) |
3 | * | 3 | * |
4 | * Copyright 2008-2009 Freescale Semiconductor, Inc. | 4 | * Copyright 2008-2009, 2011 Freescale Semiconductor, Inc. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms of the GNU General Public License as published by the | 7 | * under the terms of the GNU General Public License as published by the |
@@ -33,7 +33,11 @@ | |||
33 | }; | 33 | }; |
34 | 34 | ||
35 | lbc: localbus@ffe05000 { | 35 | lbc: localbus@ffe05000 { |
36 | reg = <0 0xffe05000 0 0x1000>; | 36 | reg = <0xf 0xffe05000 0 0x1000>; |
37 | |||
38 | ranges = <0x0 0x0 0xf 0xe8000000 0x08000000 | ||
39 | 0x2 0x0 0xf 0xffa00000 0x00040000 | ||
40 | 0x3 0x0 0xf 0xffdf0000 0x00008000>; | ||
37 | }; | 41 | }; |
38 | 42 | ||
39 | board_soc: soc: soc@fffe00000 { | 43 | board_soc: soc: soc@fffe00000 { |