From: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
To: linux-snps-arc@lists.infradead.org,
Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>,
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,
linux-kernel@vger.kernel.org
Subject: [RFC 4/6] ARC: HAPS: add HIGHMEM memory zone to DTS
Date: Fri, 18 Oct 2019 15:15:43 +0300 [thread overview]
Message-ID: <20191018121545.8907-5-Eugeniy.Paltsev@synopsys.com> (raw)
In-Reply-To: <20191018121545.8907-1-Eugeniy.Paltsev@synopsys.com>
This is required as a preparation of merging nSIM and HASP
defonfig and device tree.
As we have HIGHMEM disabled in both HAPS and nSIM defconfigs
this doesn't lead to any functional change.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
---
arch/arc/boot/dts/haps_hs.dts | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/arch/arc/boot/dts/haps_hs.dts b/arch/arc/boot/dts/haps_hs.dts
index 11fad2f79056..60d578e2781f 100644
--- a/arch/arc/boot/dts/haps_hs.dts
+++ b/arch/arc/boot/dts/haps_hs.dts
@@ -9,13 +9,15 @@
/ {
model = "snps,zebu_hs";
compatible = "snps,zebu_hs";
- #address-cells = <1>;
- #size-cells = <1>;
+ #address-cells = <2>;
+ #size-cells = <2>;
interrupt-parent = <&core_intc>;
memory {
device_type = "memory";
- reg = <0x80000000 0x20000000>; /* 512 */
+ /* CONFIG_LINUX_RAM_BASE needs to match low mem start */
+ reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MB low mem */
+ 0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */
};
chosen {
@@ -31,8 +33,9 @@
#address-cells = <1>;
#size-cells = <1>;
- /* child and parent address space 1:1 mapped */
- ranges;
+ /* only perip space at end of low mem accessible
+ bus addr, parent bus addr, size */
+ ranges = <0x80000000 0x0 0x80000000 0x80000000>;
core_clk: core_clk {
#clock-cells = <0>;
--
2.21.0
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
next prev parent reply other threads:[~2019-10-18 12:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-18 12:15 [RFC 0/6] ARC: merge HAPS-HS with nSIM-HS configs Eugeniy Paltsev
2019-10-18 12:15 ` [RFC 1/6] ARC: regenerate nSIM and HAPS defconfigs Eugeniy Paltsev
2019-10-18 12:15 ` [RFC 2/6] ARC: HAPS: cleanup defconfigs from unused IO-related options Eugeniy Paltsev
2019-10-18 12:15 ` [RFC 3/6] ARC: HAPS: use same UART configuration everywhere Eugeniy Paltsev
2019-10-18 12:15 ` Eugeniy Paltsev [this message]
2019-10-18 12:15 ` [RFC 5/6] ARC: HAPS: cleanup defconfigs from unused ETH drivers Eugeniy Paltsev
2019-10-18 12:15 ` [RFC 6/6] ARC: merge HAPS-HS with nSIM-HS configs Eugeniy Paltsev
2019-10-18 19:07 ` Vineet Gupta
2019-10-18 18:48 ` [RFC 0/6] " Vineet Gupta
2019-10-22 18:18 ` Eugeniy Paltsev
2019-10-22 18:24 ` Vineet Gupta
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=20191018121545.8907-5-Eugeniy.Paltsev@synopsys.com \
--to=eugeniy.paltsev@synopsys.com \
--cc=Alexey.Brodkin@synopsys.com \
--cc=Vineet.Gupta1@synopsys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox