[Skiboot] [PATCH 08/28] lpc: Example DT update for P9 LPC bus
Michael Neuling
mikey at neuling.org
Thu Jul 7 16:15:04 AEST 2016
On Thu, 2016-07-07 at 11:49 +1000, Benjamin Herrenschmidt wrote:
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
It looks like you're enabling a couple of extra PHBs too.
Acked-by: Michael Neuling <mikey at neuling.org>
> ---
> doc/device-tree/examples/power9-phb4.dts | 40 ++++++++++++++++++++++++++++++--
> 1 file changed, 38 insertions(+), 2 deletions(-)
>
> diff --git a/doc/device-tree/examples/power9-phb4.dts b/doc/device-tree/examples/power9-phb4.dts
> index 46e8999..f25114f 100644
> --- a/doc/device-tree/examples/power9-phb4.dts
> +++ b/doc/device-tree/examples/power9-phb4.dts
> @@ -91,7 +91,7 @@
> ibm,phb-index = <0x1>;
> compatible = "ibm,power9-phb-stack";
> /* ibm,lane-eq = < ????? >; */
> - status = "disabled";
> + status = "okay";
> };
> stack at 1 {
> /* Stack number */
> @@ -100,7 +100,7 @@
> ibm,phb-index = <0x2>;
> compatible = "ibm,power9-phb-stack";
> /* ibm,lane-eq = < ????? >; */
> - status = "disabled";
> + status = "okay";
};
> };
>
> @@ -153,4 +153,40 @@
> compatible = "ibm,power9-xive-x";
> };
> };
> +
> + lpcm-opb at 6030000000000 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + compatible = "ibm,power9-lpcm-opb", "simple-bus";
> + ibm,chip-id = <0x0>;
> + ranges = < 0x00000000 0x60300 0x00000000 0x80000000
> + 0x80000000 0x60300 0x80000000 0x80000000 >;
> + opb-master at c0010000 {
> + compatible = "ibm,power9-lpcm-opb-master";
> + reg = < 0xc0010000 0x60 >;
> + };
> + opb-arbiter at c0011000 {
> + compatible = "ibm,power9-lpcm-opb-arbiter";
> + reg = < 0xc0011000 0x8 >;
> + };
> + lpc-controller at c0012000 {
> + compatible = "ibm,power9-lpc-controller";
> + reg = < 0xc0012000 0x100 >;
> + };
> + lpc at f0000000 {
> + compatible = "ibm,power9-lpc";
> + #address-cells = <2>;
> + #size-cells = <1>;
> + ranges = < 3 0 0xf0000000 0x10000000 /* FW space */
> + 0 0 0xe0000000 0x10000000 /* MEM space */
> + 1 0 0xd0010000 0x00010000 /* IO space */ >;
> + serial at i3f8 {
> + compatible = "ns16550";
> + reg = < 1 0x3f8 0x10 >;
> + current-speed = < 115200 >;
> + clock-frequency = < 1843200 >;
> + };
> + };
> + };
> +
> };
More information about the Skiboot
mailing list