From: Andrew Jeffery <andrew@aj.id.au>
To: joel@jms.id.au
Cc: Andrew Jeffery <andrew@aj.id.au>,
anoo@linux.vnet.ibm.com, openbmc@lists.ozlabs.org
Subject: [PATCH linux dev-4.10 3/3] arm: aspeed: Configure mbox and lpc nodes on Palmetto
Date: Fri, 2 Jun 2017 17:58:44 +0930 [thread overview]
Message-ID: <20170602082844.7370-4-andrew@aj.id.au> (raw)
In-Reply-To: <20170602082844.7370-1-andrew@aj.id.au>
Assign 16MB of reserved memory for mboxd to make use of via the
aspeed-lpc-ctrl device.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
index 60792f6ff7ec..8ebed01e7725 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
@@ -29,6 +29,11 @@
no-map;
reg = <0x5f000000 0x01000000>; /* 16MB */
};
+
+ flash_memory: region@98000000 {
+ no-map;
+ reg = <0x98000000 0x01000000>; /* 16MB */
+ };
};
leds {
@@ -309,3 +314,13 @@
&vuart {
status = "okay";
};
+
+&lpc_ctrl {
+ status = "okay";
+ memory-region = <&flash_memory>;
+ flash = <&spi>;
+};
+
+&mbox {
+ status = "okay";
+};
--
2.11.0
next prev parent reply other threads:[~2017-06-02 8:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-02 8:28 [PATCH linux dev-4.10 0/3] aspeed-g4: Enable mbox and lpc devices Andrew Jeffery
2017-06-02 8:28 ` [PATCH linux dev-4.10 1/3] mfd: dt: Add Aspeed Low Pin Count Controller bindings Andrew Jeffery
2017-06-05 8:05 ` Lee Jones
2017-06-05 8:08 ` Andrew Jeffery
2017-06-02 8:28 ` [PATCH linux dev-4.10 2/3] arm: aspeed: Add LPC devicetree node and children Andrew Jeffery
2017-06-02 8:28 ` Andrew Jeffery [this message]
2017-06-05 3:13 ` [PATCH linux dev-4.10 0/3] aspeed-g4: Enable mbox and lpc devices Joel Stanley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170602082844.7370-4-andrew@aj.id.au \
--to=andrew@aj.id.au \
--cc=anoo@linux.vnet.ibm.com \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.