Re: [PATCH] ARC: AXS: prepare dts files for enabling PAE40 on axs103
From: Alexey Brodkin
Date: Fri Jul 07 2017 - 18:28:40 EST
Hi Vineet,
On Fri, 2017-07-07 at 12:57 -0700, Vineet Gupta wrote:
> 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@xxxxxxxxxxxx>
> > ---
> > Â 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 ?
Correct that's the case. So it looks misleading but as long as we want to share MB's .dtsi
for both axs101 and axs103 we need to keep that change.
-Alexey