diff options
author | Vinh Nguyen Huu Tuong <vhtnguyen@apm.com> | 2012-07-03 00:52:30 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-01-10 05:08:37 +0100 |
commit | c19d82486216b1c674208f76fed6b9eb4ee45ad3 (patch) | |
tree | ddaa0f230e5be8b84e349c1aed873410e190c00a /arch/powerpc/boot/dts/bluestone.dts | |
parent | powerpc/pseries: Cleanup best_energy_hcall detection (diff) | |
download | linux-c19d82486216b1c674208f76fed6b9eb4ee45ad3.tar.xz linux-c19d82486216b1c674208f76fed6b9eb4ee45ad3.zip |
powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board
This patch consists of:
- Add driver for OCM component
- Export OCM Information at /sys/kernel/debug/ppc4xx_ocm/info
Signed-off-by: Vinh Nguyen Huu Tuong <vhtnguyen@apm.com>
Acked-by: Josh Boyer <jwboyer@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/bluestone.dts')
-rw-r--r-- | arch/powerpc/boot/dts/bluestone.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/bluestone.dts b/arch/powerpc/boot/dts/bluestone.dts index 9d4917aebe6b..7daaca324c01 100644 --- a/arch/powerpc/boot/dts/bluestone.dts +++ b/arch/powerpc/boot/dts/bluestone.dts @@ -107,6 +107,14 @@ interrupt-parent = <&UIC0>; }; + OCM: ocm@400040000 { + compatible = "ibm,ocm"; + status = "ok"; + cell-index = <1>; + /* configured in U-Boot */ + reg = <4 0x00040000 0x8000>; /* 32K */ + }; + SDR0: sdr { compatible = "ibm,sdr-apm821xx"; dcr-reg = <0x00e 0x002>; |