diff options
author | Wade Farnsworth <wfarnsworth@mvista.com> | 2008-01-22 15:13:39 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-23 20:34:59 -0500 |
commit | 0ac247d5690570b825088a5752817eff42488897 (patch) | |
tree | c68ead864127f5ce5bf637ba7477ff85c63347c0 /arch/powerpc | |
parent | de7566bff359bbd7f6a4a37b4b5ce93225067786 (diff) |
[POWERPC] 86xx: Add localbus and flash nodes to mpc8641_hpcn.dts
Add local bus, flash, and MTD partition nodes to mpc8641_hpcn.dts
Also add compatible field for the soc node, so that it will be picked up
by of_platform_bus_probe().
Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8641_hpcn.dts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts index a7191799ee94..556a9cac0793 100644 --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts | |||
@@ -60,10 +60,52 @@ | |||
60 | reg = <00000000 40000000>; // 1G at 0x0 | 60 | reg = <00000000 40000000>; // 1G at 0x0 |
61 | }; | 61 | }; |
62 | 62 | ||
63 | localbus@f8005000 { | ||
64 | #address-cells = <2>; | ||
65 | #size-cells = <1>; | ||
66 | compatible = "fsl,mpc8641-localbus", "simple-bus"; | ||
67 | reg = <f8005000 1000>; | ||
68 | interrupts = <13 2>; | ||
69 | interrupt-parent = <&mpic>; | ||
70 | |||
71 | ranges = <0 0 ff800000 00800000 | ||
72 | 1 0 fe000000 01000000 | ||
73 | 2 0 f8200000 00100000 | ||
74 | 3 0 f8100000 00100000>; | ||
75 | |||
76 | flash@0,0 { | ||
77 | compatible = "cfi-flash"; | ||
78 | reg = <0 0 00800000>; | ||
79 | bank-width = <2>; | ||
80 | device-width = <2>; | ||
81 | #address-cells = <1>; | ||
82 | #size-cells = <1>; | ||
83 | partition@0 { | ||
84 | label = "kernel"; | ||
85 | reg = <00000000 00300000>; | ||
86 | }; | ||
87 | partition@300000 { | ||
88 | label = "firmware b"; | ||
89 | reg = <00300000 00100000>; | ||
90 | read-only; | ||
91 | }; | ||
92 | partition@400000 { | ||
93 | label = "fs"; | ||
94 | reg = <00400000 00300000>; | ||
95 | }; | ||
96 | partition@700000 { | ||
97 | label = "firmware a"; | ||
98 | reg = <00700000 00100000>; | ||
99 | read-only; | ||
100 | }; | ||
101 | }; | ||
102 | }; | ||
103 | |||
63 | soc8641@f8000000 { | 104 | soc8641@f8000000 { |
64 | #address-cells = <1>; | 105 | #address-cells = <1>; |
65 | #size-cells = <1>; | 106 | #size-cells = <1>; |
66 | device_type = "soc"; | 107 | device_type = "soc"; |
108 | compatible = "simple-bus"; | ||
67 | ranges = <00000000 f8000000 00100000>; | 109 | ranges = <00000000 f8000000 00100000>; |
68 | reg = <f8000000 00001000>; // CCSRBAR | 110 | reg = <f8000000 00001000>; // CCSRBAR |
69 | bus-frequency = <0>; | 111 | bus-frequency = <0>; |