[lkml]   [2019]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 14/19] MIPS: Loongson64: Add generic dts

On 2019/9/7 上午10:53, Huacai Chen wrote:
> On Thu, Sep 5, 2019 at 10:47 PM Jiaxun Yang <> wrote:
>> Add generic device dts for Loongson-3 devices.
>> They seems identical but will be different later.
>> Signed-off-by: Jiaxun Yang <>
> Hi, Jiaxun,
> I'm very glad to see that dts files become less in this version, but I
> think we also don't need to distinguish cpu types (i.e.,
> 3a1000/3b1500/3a2000/3a3000). Then, we only need three dts files
> (loongson3_ls2h.dts, loongson3_ls7a.dts, loongson3_rs780.dts) which is
> the same as in our own git repository. If we really need to
> distinguish cpu type, PRID or CPUCFG in Loongson-3A4000 is more
> suitable than dts. In other words, I want dts only do as minimal as
> possible.

Hi Huacai,

I have the  same consideration with you. However, the reason why I split
this dts is that these chips have significant differences.

For example, 3B1x00 have different memory and config registers layout,
Their HT config space is a delicate node, HTMSI interrupts is not
functional until 3A3000, and their syscon registers are not identical.

You may say they can be identified by PRID, but I'm not intend to spread
PRID all the way in other subsystems, thus I think dts is still the best
way to tell these differences.



Jiaxun Yang

> Huacai

 \ /
  Last update: 2019-09-07 05:15    [W:0.089 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site