diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2008-01-28 10:27:51 +0300 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-28 18:02:09 +0300 |
commit | 390167efa329d11099957108fc23d1ad15c3f37e (patch) | |
tree | 2ce8fd64951541ca4e04f27710583d90999b4e22 /arch/powerpc/boot/dts/mpc836x_mds.dts | |
parent | 762931571edcf4067bc8f0de929752eb424b039e (diff) | |
download | linux-390167efa329d11099957108fc23d1ad15c3f37e.tar.xz |
[POWERPC] QE: Explicitly set address-cells and size cells for muram
Currently there are several dts that don't specify address or size
cells for the muram. This causes dtc to use default values, one of
which is an address-cells of two, and this breaks the parsing of the
muram ranges, which is assuming an address-cells of one. For example:
Warning (reg_format): "reg" property in
/qe@e0100000/muram@10000/data-only@0 has invalid length
(8 bytes) (#address-cells == 2, #size-cells == 1)
Explicitly setting the address and size cells gets it parsed properly
and gets rid of the four dtc warnings.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc836x_mds.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc836x_mds.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/mpc836x_mds.dts b/arch/powerpc/boot/dts/mpc836x_mds.dts index d3b8262df686..dc6caf0b4c2d 100644 --- a/arch/powerpc/boot/dts/mpc836x_mds.dts +++ b/arch/powerpc/boot/dts/mpc836x_mds.dts @@ -214,10 +214,12 @@ bus-frequency = <179A7B00>; muram@10000 { + #address-cells = <1>; + #size-cells = <1>; compatible = "fsl,qe-muram", "fsl,cpm-muram"; ranges = <0 00010000 0000c000>; - data-only@0{ + data-only@0 { compatible = "fsl,qe-muram-data", "fsl,cpm-muram-data"; reg = <0 c000>; |