From: Vineet Gupta <Vineet.Gupta1-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
To: Eugeniy Paltsev
<Eugeniy.Paltsev-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>,
"linux-snps-arc-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-snps-arc-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Cc: "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Alexey Brodkin
<Alexey.Brodkin-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH] ARC: AXS: prepare dts files for enabling PAE40 on axs103
Date: Fri, 7 Jul 2017 12:57:29 -0700 [thread overview]
Message-ID: <b6f3e4d2-0569-6f06-f690-eed3de402723@synopsys.com> (raw)
In-Reply-To: <20170626114725.9678-1-Eugeniy.Paltsev-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
On 06/26/2017 04:47 AM, Eugeniy Paltsev wrote:
> Enable 64bit adressing, where it needed, to make possible
> enabling PAE40 on axs103.
>
> This patch doesn't affect on any functionality.
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
> ---
> arch/arc/boot/dts/axc001.dtsi | 20 +++++++++-----------
> arch/arc/boot/dts/axc003.dtsi | 21 ++++++++++-----------
> arch/arc/boot/dts/axc003_idu.dtsi | 21 ++++++++++-----------
> arch/arc/boot/dts/axs10x_mb.dtsi | 2 +-
> 4 files changed, 30 insertions(+), 34 deletions(-)
>
> diff --git a/arch/arc/boot/dts/axc001.dtsi b/arch/arc/boot/dts/axc001.dtsi
> index 53ce226..a380ffa 100644
> --- a/arch/arc/boot/dts/axc001.dtsi
> +++ b/arch/arc/boot/dts/axc001.dtsi
> @@ -15,15 +15,15 @@
>
> / {
> compatible = "snps,arc";
> - #address-cells = <1>;
> - #size-cells = <1>;
> + #address-cells = <2>;
> + #size-cells = <2>;
>
> cpu_card {
> compatible = "simple-bus";
> #address-cells = <1>;
> #size-cells = <1>;
>
> - ranges = <0x00000000 0xf0000000 0x10000000>;
> + ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
AXS101 can't support PAE etc - but I guess you still need to make the change here
because the DT bits for MB are shared ?
>
> core_clk: core_clk {
> #clock-cells = <0>;
> @@ -91,23 +91,21 @@
> mb_intc: dw-apb-ictl@0xe0012000 {
> #interrupt-cells = <1>;
> compatible = "snps,dw-apb-ictl";
> - reg = < 0xe0012000 0x200 >;
> + reg = < 0x0 0xe0012000 0x0 0x200 >;
> interrupt-controller;
> interrupt-parent = <&core_intc>;
> interrupts = < 7 >;
> };
>
> memory {
> - #address-cells = <1>;
> - #size-cells = <1>;
> - ranges = <0x00000000 0x80000000 0x20000000>;
> device_type = "memory";
> - reg = <0x80000000 0x1b000000>; /* (512 - 32) MiB */
> + /* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
> + reg = <0x0 0x80000000 0x0 0x1b000000>; /* (512 - 32) MiB */
> };
>
> reserved-memory {
> - #address-cells = <1>;
> - #size-cells = <1>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> ranges;
> /*
> * We just move frame buffer area to the very end of
> @@ -118,7 +116,7 @@
> */
> frame_buffer: frame_buffer@9e000000 {
> compatible = "shared-dma-pool";
> - reg = <0x9e000000 0x2000000>;
> + reg = <0x0 0x9e000000 0x0 0x2000000>;
> no-map;
> };
> };
> diff --git a/arch/arc/boot/dts/axc003.dtsi b/arch/arc/boot/dts/axc003.dtsi
> index 14df46f..cc9239e 100644
> --- a/arch/arc/boot/dts/axc003.dtsi
> +++ b/arch/arc/boot/dts/axc003.dtsi
> @@ -14,15 +14,15 @@
>
> / {
> compatible = "snps,arc";
> - #address-cells = <1>;
> - #size-cells = <1>;
> + #address-cells = <2>;
> + #size-cells = <2>;
>
> cpu_card {
> compatible = "simple-bus";
> #address-cells = <1>;
> #size-cells = <1>;
>
> - ranges = <0x00000000 0xf0000000 0x10000000>;
> + ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
>
> core_clk: core_clk {
> #clock-cells = <0>;
> @@ -94,30 +94,29 @@
> mb_intc: dw-apb-ictl@0xe0012000 {
> #interrupt-cells = <1>;
> compatible = "snps,dw-apb-ictl";
> - reg = < 0xe0012000 0x200 >;
> + reg = < 0x0 0xe0012000 0x0 0x200 >;
> interrupt-controller;
> interrupt-parent = <&core_intc>;
> interrupts = < 24 >;
> };
>
> memory {
> - #address-cells = <1>;
> - #size-cells = <1>;
> - ranges = <0x00000000 0x80000000 0x40000000>;
> device_type = "memory";
> - reg = <0x80000000 0x20000000>; /* 512MiB */
> + /* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
> + reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MiB low mem */
> + 0x1 0xc0000000 0x0 0x40000000>; /* 1 GiB highmem */
> };
>
> reserved-memory {
> - #address-cells = <1>;
> - #size-cells = <1>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> ranges;
> /*
> * Move frame buffer out of IOC aperture (0x8z-0xAz).
> */
> frame_buffer: frame_buffer@be000000 {
> compatible = "shared-dma-pool";
> - reg = <0xbe000000 0x2000000>;
> + reg = <0x0 0xbe000000 0x0 0x2000000>;
> no-map;
> };
> };
> diff --git a/arch/arc/boot/dts/axc003_idu.dtsi b/arch/arc/boot/dts/axc003_idu.dtsi
> index 695f9fa..4ebb2170 100644
> --- a/arch/arc/boot/dts/axc003_idu.dtsi
> +++ b/arch/arc/boot/dts/axc003_idu.dtsi
> @@ -14,15 +14,15 @@
>
> / {
> compatible = "snps,arc";
> - #address-cells = <1>;
> - #size-cells = <1>;
> + #address-cells = <2>;
> + #size-cells = <2>;
>
> cpu_card {
> compatible = "simple-bus";
> #address-cells = <1>;
> #size-cells = <1>;
>
> - ranges = <0x00000000 0xf0000000 0x10000000>;
> + ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
>
> core_clk: core_clk {
> #clock-cells = <0>;
> @@ -100,30 +100,29 @@
> mb_intc: dw-apb-ictl@0xe0012000 {
> #interrupt-cells = <1>;
> compatible = "snps,dw-apb-ictl";
> - reg = < 0xe0012000 0x200 >;
> + reg = < 0x0 0xe0012000 0x0 0x200 >;
> interrupt-controller;
> interrupt-parent = <&idu_intc>;
> interrupts = <0>;
> };
>
> memory {
> - #address-cells = <1>;
> - #size-cells = <1>;
> - ranges = <0x00000000 0x80000000 0x40000000>;
> device_type = "memory";
> - reg = <0x80000000 0x20000000>; /* 512MiB */
> + /* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
> + reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MiB low mem */
> + 0x1 0xc0000000 0x0 0x40000000>; /* 1 GiB highmem */
> };
>
> reserved-memory {
> - #address-cells = <1>;
> - #size-cells = <1>;
> + #address-cells = <2>;
> + #size-cells = <2>;
> ranges;
> /*
> * Move frame buffer out of IOC aperture (0x8z-0xAz).
> */
> frame_buffer: frame_buffer@be000000 {
> compatible = "shared-dma-pool";
> - reg = <0xbe000000 0x2000000>;
> + reg = <0x0 0xbe000000 0x0 0x2000000>;
> no-map;
> };
> };
> diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi
> index 41cfb29..0ff7e07 100644
> --- a/arch/arc/boot/dts/axs10x_mb.dtsi
> +++ b/arch/arc/boot/dts/axs10x_mb.dtsi
> @@ -13,7 +13,7 @@
> compatible = "simple-bus";
> #address-cells = <1>;
> #size-cells = <1>;
> - ranges = <0x00000000 0xe0000000 0x10000000>;
> + ranges = <0x00000000 0x0 0xe0000000 0x10000000>;
> interrupt-parent = <&mb_intc>;
>
> i2sclk: i2sclk@100a0 {
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-07-07 19:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 11:47 [PATCH] ARC: AXS: prepare dts files for enabling PAE40 on axs103 Eugeniy Paltsev
[not found] ` <20170626114725.9678-1-Eugeniy.Paltsev-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
2017-07-07 19:57 ` Vineet Gupta [this message]
[not found] ` <b6f3e4d2-0569-6f06-f690-eed3de402723-HKixBCOQz3hWk0Htik3J/w@public.gmane.org>
2017-07-07 22:28 ` Alexey Brodkin
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=b6f3e4d2-0569-6f06-f690-eed3de402723@synopsys.com \
--to=vineet.gupta1-hkixbcoqz3hwk0htik3j/w@public.gmane.org \
--cc=Alexey.Brodkin-HKixBCOQz3hWk0Htik3J/w@public.gmane.org \
--cc=Eugeniy.Paltsev-HKixBCOQz3hWk0Htik3J/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-snps-arc-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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;
as well as URLs for NNTP newsgroup(s).