[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CO1PR11MB4865E913D083C1D80D4E1F80922F9@CO1PR11MB4865.namprd11.prod.outlook.com>
Date: Thu, 10 Feb 2022 11:52:23 +0000
From: <Kavyasree.Kotagiri@...rochip.com>
To: <michael@...le.cc>
CC: <Manohar.Puri@...rochip.com>, <UNGLinuxDriver@...rochip.com>,
<alexandre.belloni@...tlin.com>, <arnd@...db.de>,
<devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <Nicolas.Ferre@...rochip.com>,
<olof@...om.net>, <robh+dt@...nel.org>, <soc@...nel.org>
Subject: RE: [PATCH v4] ARM: dts: add DT for lan966 SoC and 2-port board
pcb8291
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> Am 2022-02-10 10:40, schrieb Kavyasree.Kotagiri@...rochip.com:
> >> EXTERNAL EMAIL: Do not click links or open attachments unless you know
> >> the
> >> content is safe
>
> >> > + clocks {
> >> [..]
> >> > +
> >> > + nic_clk: nic_clk {
> >>
> >> What does nic_clk stand for? If I had to guess, it
> >> has something to do with network. But..
> >>
> > NIC clock is the clock used by AXI, AHB fabric and APB bridges which
> > connects all the peripherals.
> > It is named so because the AXI fabric is based on NIC400 IP from ARM
>
> Ok, thanks for clarification.
>
>
> >> > + watchdog: watchdog@...90000 {
> >> > + compatible = "snps,dw-wdt";
> >> > + reg = <0xe0090000 0x1000>;
> >> > + interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
> >> > + clocks = <&nic_clk>;
> >>
> >> Btw. can we disable all nodes by default and enable them
> >> in the board dts files?
> > I would like to have only board specific nodes enabled in dts files
> > and rest of them in dtsi file
>
> And how do you know which ones are board specific? E.g. I would like
> to add our board which is also based on the lan9668. Maybe I don't
> want a watchdog (or whatever node). Of course I could use
>
> &watchdog {
> status = "disabled";
> };
>
> But IMHO opt-in is better. At least thats what we are doing for
> the layerscape over on arm64.
>
Basically, I am disabling only the nodes which have pinctrl settings in dtsi file
and enable in dts to make sure there are no conflicts on pins on the board.
> -michael
Powered by blists - more mailing lists