powerpc/scom: Add support for "reg" property
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 29 Aug 2013 06:56:16 +0000 (16:56 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:53:37 +0000 (16:53 +1100)
commit5f33af4c0059255bcbf82a98a3789a01171b72e5
treea2daef32b34be24efb3569d6c3d897e204f220f4
parentaaa63093dd4c393391a3368e1c7305b0cc620571
powerpc/scom: Add support for "reg" property

When devices are direct children of a scom controller node, they
should be able to use the normal "reg" property instead of "scom-reg".

In that case, they also use #address-cells rather than #scom-cells
to indicate the size of an entry.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/scom.c