From: Horatiu Vultur - M31836 <Horatiu.Vultur@microchip.com>
To: Claudiu Beznea - M18063 <Claudiu.Beznea@microchip.com>
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
Nicolas Ferre - M43238 <Nicolas.Ferre@microchip.com>,
"alexandre.belloni@bootlin.com" <alexandre.belloni@bootlin.com>,
"arnd@arndb.de" <arnd@arndb.de>,
"olof@lixom.net" <olof@lixom.net>,
"soc@kernel.org" <soc@kernel.org>,
UNGLinuxDriver <UNGLinuxDriver@microchip.com>,
"maxime.chevallier@bootlin.com" <maxime.chevallier@bootlin.com>
Subject: Re: [PATCH 2/2] ARM: dts: lan966x: add support for pcb8309
Date: Fri, 22 Jul 2022 14:48:18 +0200 [thread overview]
Message-ID: <20220722124818.k42twnzd6wpz3inp@soft-dev3-1.localhost> (raw)
In-Reply-To: <89d7f6cc-a22d-b428-4677-f918df25901d@microchip.com>
The 07/21/2022 07:39, Claudiu Beznea - M18063 wrote:
> > +&flx4 {
> > + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
> > + status = "okay";
>
> Embed i2c4 node here as you did for usart3 above. It's easy to follow the
> connection b/w flx node and it's enabled child.
Yes, I will do that.
>
> > +};
> > +
> > +&gpio {
> > + fc3_b_pins: fc3-b-pins {
> > + /* RXD, TXD */
> > + pins = "GPIO_52", "GPIO_53";
> > + function = "fc3_b";
> > + };
> > +
> > + fc4_b_pins: fc4-b-pins {
> > + /* SCL, SDA */
> > + pins = "GPIO_57", "GPIO_58";
> > + function = "fc4_b";
> > + };
> > +
> > + sgpio_a_pins: sgpio-a-pins {
> > + /* SCK, D0, D1, LD */
> > + pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35";
> > + function = "sgpio_a";
> > + };
> > +};
> > +
> > +&i2c4 {
> > + compatible = "microchip,sam9x60-i2c";
> > + reg = <0x600 0x200>;
> > + interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + clocks = <&nic_clk>;
> > + pinctrl-0 = <&fc4_b_pins>;
> > + pinctrl-names = "default";
> > + i2c-analog-filter;
> > + i2c-digital-filter;
> > + i2c-digital-filter-width-ns = <35>;
> > + i2c-sda-hold-time-ns = <1500>;
> > + status = "okay";
> > +};
> > +
> > +&mdio1 {
> > + status = "okay";
> > +};
> > +
> > +&phy0 {
> > + status = "okay";
> > +};
> > +
> > +&phy1 {
> > + status = "okay";
> > +};
> > +
> > +&port0 {
> > + status = "okay";
>
> Keep status at the end of node description for uniformity with the nodes
> enabled above. Same for the rest of nodes below.
OK. I will do that in the next version.
>
> > + phy-handle = <&phy0>;
> > + phy-mode = "gmii";
> > + phys = <&serdes 0 CU(0)>;
> > +};
> > +
> > +&port1 {
> > + status = "okay";
> > + phy-handle = <&phy1>;
> > + phy-mode = "gmii";
> > + phys = <&serdes 1 CU(1)>;
> > +};
> > +
> > +&port2 {
> > + status = "okay";
> > + sfp = <&sfp2>;
> > + managed = "in-band-status";
> > + phy-mode = "sgmii";
> > + phys = <&serdes 2 SERDES6G(0)>;
> > +};
> > +
> > +&port3 {
> > + status = "okay";
> > + sfp = <&sfp3>;
> > + managed = "in-band-status";
> > + phy-mode = "sgmii";
> > + phys = <&serdes 3 SERDES6G(1)>;
> > +};
> > +
> > +&serdes {
> > + status = "okay";
> > +};
> > +
> > +&sgpio {
> > + status = "okay";
> > + pinctrl-0 = <&sgpio_a_pins>;
> > + pinctrl-names = "default";
> > + microchip,sgpio-port-ranges = <0 3>, <8 11>;
>
> Except this one. For this would be nice to have status here before
> describing childs.
OK. I will do that in the next version.
>
> > + gpio@0 {
> > + ngpios = <64>;
> > + };
> > + gpio@1 {
> > + ngpios = <64>;
> > + };
> > +};
> > +
> > +&switch {
> > + status = "okay";
> > +};
>
--
/Horatiu
prev parent reply other threads:[~2022-07-22 12:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-20 19:49 [PATCH 0/2] ARM: add support for pcb8309 Horatiu Vultur
2022-07-20 19:49 ` [PATCH 1/2] dt-bindings: arm: at91: add lan966 pcb8309 board Horatiu Vultur
2022-07-21 6:46 ` Krzysztof Kozlowski
2022-07-22 12:52 ` Horatiu Vultur
2022-07-20 19:49 ` [PATCH 2/2] ARM: dts: lan966x: add support for pcb8309 Horatiu Vultur
2022-07-21 6:08 ` Kavyasree.Kotagiri
2022-07-22 12:46 ` Horatiu Vultur - M31836
2022-07-21 7:39 ` Claudiu.Beznea
2022-07-22 12:48 ` Horatiu Vultur - M31836 [this message]
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=20220722124818.k42twnzd6wpz3inp@soft-dev3-1.localhost \
--to=horatiu.vultur@microchip.com \
--cc=Claudiu.Beznea@microchip.com \
--cc=Nicolas.Ferre@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime.chevallier@bootlin.com \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.org \
--cc=soc@kernel.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).