Add the fec node on i.MX8ULP platform
Subsystems (5)
Wei Fang
maintainercover Add the fec node on i.MX8ULP platform
Add the fec node for i.MX8ULP platform.
And enable the fec support on i.MX8ULP EVK board.
Wei Fang (3):
dt-bings: net: fsl,fec: update compatible item
arm64: dts: imx8ulp: Add the fec support
arm64: dts: imx8ulp-evk: Add the fec support
.../devicetree/bindings/net/fsl,fec.yaml | 4 ++ arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 42 +++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 29 +++++++++++++ 3 files changed, 75 insertions(+)
Signature · 1 line
2.25.1
Wei Fang
maintainerPATCH 1/3 dt-bings: net: fsl,fec: update compatible item
Add compatible item for i.MX8ULP platform.
--- Documentation/devicetree/bindings/net/fsl,fec.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/net/fsl,fec.yaml +4 -0
@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fec - const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fec - items: - const: fsl,imx8mq-fec - const: fsl,imx6sx-fec
Signature · 1 line
2.25.1
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 1 line · Wei Fang
Add compatible item for i.MX8ULP platform.
Wrong subject prefix (dt-bindings).
Wrong subject contents - do not use some generic sentences like "update X", just write what you are doing or what you want to achieve. For example:
dt-bindings: net: fsl,fec: add i.MX8 ULP FEC
Quoted 11 lines
Signed-off-by Wei Fang <[email protected]>--- Documentation/devicetree/bindings/net/fsl,fec.yaml | 4 ++++ 1 file changed, 4 insertions(+)Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fec - const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fec
This is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 49
Quoted 3 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0- items: - const: fsl,imx8mq-fec - const: fsl,imx6sx-fec
Best regards,
Krzysztof
Wei Fang
maintainerRE: [EXT] Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Hi Krzysztof,
Sorry, I'm still a little confused. Do you mean to modify as follows?
Documentation/devicetree/bindings/net/fsl,fec.yaml properties:
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +5
-0+ - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fec + - const: fsl,imx6q-fec
And as far as I know, the imx8ulp's fec is reused from imx6ul, they both have the same features. However, the fec of imx8ulp(and imx6ul) is a little different from imx6q, therefore, the functions supported by the driver are also somewhat different.
-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: 2022年7月4日 17:12
To: Wei Fang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; [email protected]; [email protected]; Aisheng Dong <[email protected]>
Subject: [EXT] Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Caution: EXT Email
Quoted 1 line · Wei Fang
Add compatible item for i.MX8ULP platform.
Wrong subject prefix (dt-bindings).
Wrong subject contents - do not use some generic sentences like "update X", just write what you are doing or what you want to achieve. For example:
dt-bindings: net: fsl,fec: add i.MX8 ULP FEC
Quoted 12 lines
Signed-off-by Wei Fang <[email protected]>--- Documentation/devicetree/bindings/net/fsl,fec.yaml | 4 ++++ 1 file changed, 4 insertions(+)Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fec - const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fec
This is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 49
Quoted 3 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0- items: - const: fsl,imx8mq-fec - const: fsl,imx6sx-fec
Best regards,
Krzysztof
Re: [EXT] Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 8 lines · Wei Fang
Hi Krzysztof,
Sorry, I'm still a little confused. Do you mean to modify as follows?
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +5
-0+ - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fec + - const: fsl,imx6q-fec
Yes
Quoted 2 lines
And as far as I know, the imx8ulp's fec is reused from imx6ul, they both have the same features. However, the fec of imx8ulp(and imx6ul) is a little different from imx6q, therefore, the functions supported by the driver are also somewhat different.
I understand. But if imx8ulp is the same as imx6ul and imx6ul is compatible with imx6q, then I expect imx8ulp to be compatible with imx6ul and with imx6q.
Best regards,
Krzysztof
Wei Fang
maintainerRE: [EXT] Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Hi Krzysztof,
Thanks for your suggestion, I will resubmit the patch.
-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: 2022年7月5日 15:27
To: Wei Fang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; [email protected]; [email protected]; Aisheng Dong <[email protected]>
Subject: Re: [EXT] Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Caution: EXT Email
Quoted 8 lines · Wei Fang
Hi Krzysztof,
Sorry, I'm still a little confused. Do you mean to modify as follows?
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +5
-0+ - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fec + - const: fsl,imx6q-fec
Yes
Quoted 2 lines
And as far as I know, the imx8ulp's fec is reused from imx6ul, they both have the same features. However, the fec of imx8ulp(and imx6ul) is a little different from imx6q, therefore, the functions supported by the driver are also somewhat different.
I understand. But if imx8ulp is the same as imx6ul and imx6ul is compatible with imx6q, then I expect imx8ulp to be compatible with imx6ul and with imx6q.
Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
In reply to Krzysztof KozlowskiQuoted 7 lines · Krzysztof Kozlowski
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fec
Quoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0- const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have "fsl,imx6q-fec" here?
fec: ethernet@29950000 {
compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec";
...
};Shawn
Quoted 4 lines
Quoted 4 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0- items: - const: fsl,imx8mq-fec - const: fsl,imx6sx-fec
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 17 lines · Shawn Guo
Quoted 7 lines · Krzysztof Kozlowski
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fecQuoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0- const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Quoted 8 lines
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have "fsl,imx6q-fec" here?
fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; ... };
Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec.
Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 22 lines · Krzysztof Kozlowski
Quoted 21 lines · Shawn Guo
Quoted 7 lines · Krzysztof Kozlowski
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fecQuoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0- const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have "fsl,imx6q-fec" here?
Quoted 7 lines
Quoted 4 lines
fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; ... };Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec.
The FEC driver OF match table suggests that fsl,imx6ul-fec and fsl,imx6q-fec are not really compatible.
static const struct of_device_id fec_dt_ids[] = {
{ .compatible = "fsl,imx25-fec", .data = &fec_devtype[IMX25_FEC], },
{ .compatible = "fsl,imx27-fec", .data = &fec_devtype[IMX27_FEC], },
{ .compatible = "fsl,imx28-fec", .data = &fec_devtype[IMX28_FEC], },
{ .compatible = "fsl,imx6q-fec", .data = &fec_devtype[IMX6Q_FEC], },
{ .compatible = "fsl,mvf600-fec", .data = &fec_devtype[MVF600_FEC], },
{ .compatible = "fsl,imx6sx-fec", .data = &fec_devtype[IMX6SX_FEC], },
{ .compatible = "fsl,imx6ul-fec", .data = &fec_devtype[IMX6UL_FEC], },
{ .compatible = "fsl,imx8mq-fec", .data = &fec_devtype[IMX8MQ_FEC], },
{ .compatible = "fsl,imx8qm-fec", .data = &fec_devtype[IMX8QM_FEC], },
{ /* sentinel */ }
};MODULE_DEVICE_TABLE(of, fec_dt_ids);
Should we fix the binding doc?
Shawn
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 34 lines · Shawn Guo
Quoted 22 lines · Krzysztof Kozlowski
Quoted 21 lines · Shawn Guo
Quoted 7 lines · Krzysztof Kozlowski
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fecQuoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0- const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have "fsl,imx6q-fec" here?
Quoted 7 lines
Quoted 4 lines
fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; ... };Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec.
The FEC driver OF match table suggests that fsl,imx6ul-fec and fsl,imx6q-fec are not really compatible.
Quoted 8 lines
static const struct of_device_id fec_dt_ids[] = {
{ .compatible = "fsl,imx25-fec", .data = &fec_devtype[IMX25_FEC], },
{ .compatible = "fsl,imx27-fec", .data = &fec_devtype[IMX27_FEC], },
{ .compatible = "fsl,imx28-fec", .data = &fec_devtype[IMX28_FEC], },
{ .compatible = "fsl,imx6q-fec", .data = &fec_devtype[IMX6Q_FEC], },
{ .compatible = "fsl,mvf600-fec", .data = &fec_devtype[MVF600_FEC], },
{ .compatible = "fsl,imx6sx-fec", .data = &fec_devtype[IMX6SX_FEC], },
{ .compatible = "fsl,imx6ul-fec", .data = &fec_devtype[IMX6UL_FEC], },I don't see here any incompatibility. Binding driver with different driver data is not a proof of incompatible devices. Additionally, the binding describes the hardware, not the driver.
Quoted 7 lines
{ .compatible = "fsl,imx8mq-fec", .data = &fec_devtype[IMX8MQ_FEC], }, { .compatible = "fsl,imx8qm-fec", .data = &fec_devtype[IMX8QM_FEC], }, { /* sentinel */ } };
MODULE_DEVICE_TABLE(of, fec_dt_ids);Should we fix the binding doc?
Maybe, I don't know. The binding describes the hardware, so based on it the devices are compatible. Changing this, except ABI impact, would be possible with proper reason, but not based on Linux driver code.
Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 44 lines · Krzysztof Kozlowski
Quoted 34 lines · Shawn Guo
Quoted 22 lines · Krzysztof Kozlowski
Quoted 21 lines · Shawn Guo
Quoted 7 lines · Krzysztof Kozlowski
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fecQuoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0- const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have "fsl,imx6q-fec" here?
Quoted 7 lines
Quoted 4 lines
fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; ... };Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec.
The FEC driver OF match table suggests that fsl,imx6ul-fec and fsl,imx6q-fec are not really compatible.
Quoted 8 lines
static const struct of_device_id fec_dt_ids[] = { { .compatible = "fsl,imx25-fec", .data = &fec_devtype[IMX25_FEC], }, { .compatible = "fsl,imx27-fec", .data = &fec_devtype[IMX27_FEC], }, { .compatible = "fsl,imx28-fec", .data = &fec_devtype[IMX28_FEC], }, { .compatible = "fsl,imx6q-fec", .data = &fec_devtype[IMX6Q_FEC], }, { .compatible = "fsl,mvf600-fec", .data = &fec_devtype[MVF600_FEC], }, { .compatible = "fsl,imx6sx-fec", .data = &fec_devtype[IMX6SX_FEC], }, { .compatible = "fsl,imx6ul-fec", .data = &fec_devtype[IMX6UL_FEC], },
Quoted 2 lines
I don't see here any incompatibility. Binding driver with different driver data is not a proof of incompatible devices.
To me, different driver data is a good sign of incompatibility. It mostly means that software needs to program the hardware block differently.
Quoted 9 lines
Additionally, the
binding describes the hardware, not the driver.Quoted 6 lines
{ .compatible = "fsl,imx8mq-fec", .data = &fec_devtype[IMX8MQ_FEC], }, { .compatible = "fsl,imx8qm-fec", .data = &fec_devtype[IMX8QM_FEC], }, { /* sentinel */ } };
MODULE_DEVICE_TABLE(of, fec_dt_ids);
Quoted 5 lines
Quoted 1 line
Should we fix the binding doc?
Maybe, I don't know. The binding describes the hardware, so based on it the devices are compatible. Changing this, except ABI impact, would be possible with proper reason, but not based on Linux driver code.
Well, if Linux driver code is written in the way that hardware requires, I guess that's just based on hardware characteristics.
To me, having a device compatible to two devices that require different programming model is unnecessary and confusing.
Shawn
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 45 lines · Shawn Guo
Quoted 44 lines · Krzysztof Kozlowski
Quoted 42 lines · Shawn Guo
Quoted 22 lines · Krzysztof Kozlowski
Quoted 21 lines · Shawn Guo
Quoted 7 lines · Krzysztof Kozlowski
Quoted 7 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fecQuoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0- const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a mess.
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have "fsl,imx6q-fec" here?
Quoted 7 lines
Quoted 4 lines
fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; ... };Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec.
The FEC driver OF match table suggests that fsl,imx6ul-fec and fsl,imx6q-fec are not really compatible.
static const struct of_device_id fec_dt_ids[] = { { .compatible = "fsl,imx25-fec", .data = &fec_devtype[IMX25_FEC], }, { .compatible = "fsl,imx27-fec", .data = &fec_devtype[IMX27_FEC], }, { .compatible = "fsl,imx28-fec", .data = &fec_devtype[IMX28_FEC], }, { .compatible = "fsl,imx6q-fec", .data = &fec_devtype[IMX6Q_FEC], }, { .compatible = "fsl,mvf600-fec", .data = &fec_devtype[MVF600_FEC], }, { .compatible = "fsl,imx6sx-fec", .data = &fec_devtype[IMX6SX_FEC], }, { .compatible = "fsl,imx6ul-fec", .data = &fec_devtype[IMX6UL_FEC], },
Quoted 6 lines
Quoted 2 lines
I don't see here any incompatibility. Binding driver with different driver data is not a proof of incompatible devices.
To me, different driver data is a good sign of incompatibility. It mostly means that software needs to program the hardware block differently.
Any device being 100% compatible with old one and having additional features will have different driver data... so no, it's not a proof. There are many of such examples and we call them compatible, because the device could operate when bound by the fallback compatible.
If this is the case here - how do I know? I raised and the answer was affirmative...
Quoted 17 lines
Quoted 11 lines
Additionally, the
binding describes the hardware, not the driver.Quoted 6 lines
{ .compatible = "fsl,imx8mq-fec", .data = &fec_devtype[IMX8MQ_FEC], }, { .compatible = "fsl,imx8qm-fec", .data = &fec_devtype[IMX8QM_FEC], }, { /* sentinel */ } };
MODULE_DEVICE_TABLE(of, fec_dt_ids);Quoted 5 lines
Quoted 1 line
Should we fix the binding doc?
Maybe, I don't know. The binding describes the hardware, so based on it the devices are compatible. Changing this, except ABI impact, would be possible with proper reason, but not based on Linux driver code.
Quoted 5 lines
Well, if Linux driver code is written in the way that hardware requires, I guess that's just based on hardware characteristics.
To me, having a device compatible to two devices that require different programming model is unnecessary and confusing.
It's the first time anyone mentions here the programming model is different... If it is different, the devices are likely not compatible.
However when I raised this issue last time, there were no concerns with calling them all compatible. Therefore I wonder if the folks working on this driver actually know what's there... I don't know, I gave recommendations based on what is described in the binding and expect the engineer to come with that knowledge.
Best regards,
Krzysztof
Wei Fang
maintainerRE: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 112 lines
-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: 2022年8月18日 22:04
To: Shawn Guo <[email protected]>
Cc: Wei Fang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; [email protected]; [email protected]; Aisheng Dong <[email protected]>
Subject: Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible itemQuoted 5 lines · Shawn Guo
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Shawn Guo
Quoted 2 lines · Krzysztof Kozlowski
Quoted 1 line · Shawn Guo
On Mon, Jul 04, 2022 at 11:12:09AM +0200, Krzysztof Kozlowski wrote:
Quoted 16 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fecQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 5 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0- const: fsl,imx6sx-fec + - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a
mess.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have
"fsl,imx6q-fec"
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
here?
fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; ... };Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec.
The FEC driver OF match table suggests that fsl,imx6ul-fec and fsl,imx6q-fec are not really compatible.
static const struct of_device_id fec_dt_ids[] = { { .compatible = "fsl,imx25-fec", .data =&fec_devtype[IMX25_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx27-fec", .data =&fec_devtype[IMX27_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx28-fec", .data =&fec_devtype[IMX28_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx6q-fec", .data =&fec_devtype[IMX6Q_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,mvf600-fec", .data =&fec_devtype[MVF600_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx6sx-fec", .data =&fec_devtype[IMX6SX_FEC], },
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
{ .compatible = "fsl,imx6ul-fec", .data =&fec_devtype[IMX6UL_FEC], },
I don't see here any incompatibility. Binding driver with different driver data is not a proof of incompatible devices.
To me, different driver data is a good sign of incompatibility. It mostly means that software needs to program the hardware block differently.
Any device being 100% compatible with old one and having additional features will have different driver data... so no, it's not a proof. There are many of such examples and we call them compatible, because the device could operate when bound by the fallback compatible.
If this is the case here - how do I know? I raised and the answer was affirmative...
Quoted 6 lines
Quoted 6 lines
Additionally, the
binding describes the hardware, not the driver.Quoted 1 line
{ .compatible = "fsl,imx8mq-fec", .data =&fec_devtype[IMX8MQ_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx8qm-fec", .data =&fec_devtype[IMX8QM_FEC], },
Quoted 10 lines
Quoted 9 lines
Quoted 5 lines
{ /* sentinel */ } };
MODULE_DEVICE_TABLE(of, fec_dt_ids);Should we fix the binding doc?
Maybe, I don't know. The binding describes the hardware, so based on it the devices are compatible. Changing this, except ABI impact, would be possible with proper reason, but not based on Linux driver code.
Quoted 5 lines
Well, if Linux driver code is written in the way that hardware requires, I guess that's just based on hardware characteristics.
To me, having a device compatible to two devices that require different programming model is unnecessary and confusing.
Quoted 10 lines
It's the first time anyone mentions here the programming model is different... If it is different, the devices are likely not compatible.
However when I raised this issue last time, there were no concerns with calling them all compatible. Therefore I wonder if the folks working on this driver actually know what's there... I don't know, I gave recommendations based on what is described in the binding and expect the engineer to come with that knowledge.
Sorry, I did not explain clearly last time, I just mentioned that imx8ulp fec was totally reused from imx6ul and was a little different from imx6q.
So what should I do next? Should I fix the binding doc ?
RE: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 131 lines
Subject: RE: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 23 lines
-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: 2022年8月18日 22:04
To: Shawn Guo <[email protected]>
Cc: Wei Fang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; [email protected]; [email protected]; Aisheng Dong <[email protected]>
Subject: Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible itemQuoted 5 lines · Shawn Guo
Quoted 4 lines · Krzysztof Kozlowski
Quoted 3 lines · Shawn Guo
Quoted 2 lines · Krzysztof Kozlowski
Quoted 1 line · Shawn Guo
On Mon, Jul 04, 2022 at 11:12:09AM +0200, Krzysztof Kozlowski
Quoted 69 lines · wrote:
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
diff --git
a/Documentation/devicetree/bindings/net/fsl,fec.yamlb/Documentation/devicetree/bindings/net/fsl,fec.yamlindexdaa2f79a294f..6642c246951b100644Documentation/devicetree/bindings/net/fsl,fec.yaml +0
-0@@ -40,6 +40,10 @@ properties: - enum: - fsl,imx7d-fec - const: fsl,imx6sx-fecQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml properties: · line 46
Quoted 4 lines
Documentation/devicetree/bindings/net/fsl,fec.yaml +4
-0+ - items: + - enum: + - fsl,imx8ulp-fec + - const: fsl,imx6ul-fecThis is wrong. fsl,imx6ul-fec has to be followed by fsl,imx6q-fec. I think someone made similar mistakes earlier so this is a
mess.
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Hmm, not sure I follow this. Supposing we want to have the following compatible for i.MX8ULP FEC, why do we have to have
"fsl,imx6q-fec"
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
here?
fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; ... };Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Because a bit earlier this bindings is saying that fsl,imx6ul-fec must be followed by fsl,imx6q-fec.
The FEC driver OF match table suggests that fsl,imx6ul-fec and fsl,imx6q-fec are not really compatible.
static const struct of_device_id fec_dt_ids[] = { { .compatible = "fsl,imx25-fec", .data =&fec_devtype[IMX25_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx27-fec", .data =&fec_devtype[IMX27_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx28-fec", .data =&fec_devtype[IMX28_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx6q-fec", .data =&fec_devtype[IMX6Q_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,mvf600-fec", .data =&fec_devtype[MVF600_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx6sx-fec", .data =&fec_devtype[IMX6SX_FEC], },
Quoted 9 lines
Quoted 5 lines
Quoted 2 lines
{ .compatible = "fsl,imx6ul-fec", .data =&fec_devtype[IMX6UL_FEC], },
I don't see here any incompatibility. Binding driver with different driver data is not a proof of incompatible devices.
To me, different driver data is a good sign of incompatibility. It mostly means that software needs to program the hardware block differently.
Any device being 100% compatible with old one and having additional features will have different driver data... so no, it's not a proof. There are many of such examples and we call them compatible, because the device could operate when bound by the fallback compatible.
If this is the case here - how do I know? I raised and the answer was affirmative...
Quoted 2 lines
Quoted 16 lines
Quoted 4 lines
Quoted 4 lines
Additionally, the
binding describes the hardware, not the driver.Quoted 1 line
{ .compatible = "fsl,imx8mq-fec", .data =&fec_devtype[IMX8MQ_FEC], },
Quoted 1 line
Quoted 1 line
Quoted 1 line
{ .compatible = "fsl,imx8qm-fec", .data =&fec_devtype[IMX8QM_FEC], },
Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
{ /* sentinel */ } };
MODULE_DEVICE_TABLE(of, fec_dt_ids);Should we fix the binding doc?
Maybe, I don't know. The binding describes the hardware, so based on it the devices are compatible. Changing this, except ABI impact, would be possible with proper reason, but not based on Linux driver
code.
Quoted 7 lines
Quoted 6 lines
Well, if Linux driver code is written in the way that hardware requires, I guess that's just based on hardware characteristics.
To me, having a device compatible to two devices that require different programming model is unnecessary and confusing.
Quoted 10 lines
It's the first time anyone mentions here the programming model is different... If it is different, the devices are likely not compatible.
However when I raised this issue last time, there were no concerns with calling them all compatible. Therefore I wonder if the folks working on this driver actually know what's there... I don't know, I gave recommendations based on what is described in the binding and expect the engineer to come with that knowledge.
Quoted 3 lines
Sorry, I did not explain clearly last time, I just mentioned that imx8ulp fec was totally reused from imx6ul and was a little different from imx6q. So what should I do next? Should I fix the binding doc ?
Just my understanding, saying i.MX6Q supports feature A, i.MX6UL support feature A + B, Then i.MX6UL is compatible with i.MX6Q.
If upper is true from hardware level, then i.MX8ULP FEC node should contain 8ulp, 6ul, 6q.
But the list may expand too long if more and more devices are supported and hardware backward compatible
Regards,
Peng.
Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 7 lines · Peng Fan
Quoted 4 lines
Quoted 1 line
Sorry, I did not explain clearly last time, I just mentioned that imx8ulp fec was totally reused from imx6ul and was a little different from imx6q. So what should I do next? Should I fix the binding doc ?
Just my understanding, saying i.MX6Q supports feature A, i.MX6UL support feature A + B, Then i.MX6UL is compatible with i.MX6Q.
Or if i.MX8ULP can bind with any previous compatible and still work (with limited subset of features).
Quoted 6 lines
If upper is true from hardware level, then i.MX8ULP FEC node should contain 8ulp, 6ul, 6q.
But the list may expand too long if more and more devices are supported and hardware backward compatible
True. I guess three items is the limit and anything newer should restart the sequence.
Best regards,
Krzysztof
Wei Fang
maintainerRE: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible item
Quoted 30 lines
-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: 2022年8月19日 14:32
To: Peng Fan <[email protected]>; Wei Fang <[email protected]>; Shawn Guo <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; Jacky Bai <[email protected]>; [email protected]; [email protected]; Aisheng Dong <[email protected]>
Subject: Re: [PATCH 1/3] dt-bings: net: fsl,fec: update compatible itemQuoted 3 lines · Peng Fan
Quoted 3 lines
Quoted 1 line
Sorry, I did not explain clearly last time, I just mentioned that imx8ulp fec was totally reused from imx6ul and was a little different from
imx6q.
Quoted 4 lines
Quoted 1 line
So what should I do next? Should I fix the binding doc ?
Just my understanding, saying i.MX6Q supports feature A, i.MX6UL support feature A + B, Then i.MX6UL is compatible with i.MX6Q.
Or if i.MX8ULP can bind with any previous compatible and still work (with limited subset of features).
Quoted 1 line
Quoted 9 lines
Quoted 5 lines
If upper is true from hardware level, then i.MX8ULP FEC node should contain 8ulp, 6ul, 6q.
But the list may expand too long if more and more devices are supported and hardware backward compatible
True. I guess three items is the limit and anything newer should restart the sequence.
So, the binding doc doesn't need to be fixed ?
Wei Fang
maintainerPATCH 2/3 arm64: dts: imx8ulp: Add the fec support
In reply to Wei FangAdd the fec support on i.MX8ULP platforms.
--- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+)
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +29 -0
@@ -16,6 +16,7 @@ / { #size-cells = <2>; aliases { + ethernet0 = &fec; gpio0 = &gpiod; gpio1 = &gpioe; gpio2 = &gpiof;
@@ -137,6 +138,19 @@ scmi_sensor: protocol@15 { }; }; + clock_ext_rmii: clock-ext-rmii { + compatible = "fixed-clock"; + clock-frequency = <50000000>; + #clock-cells = <0>; + clock-output-names = "ext_rmii_clk"; + }; + + clock_ext_ts: clock-ext-ts { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "ext_ts_clk"; + }; + soc: soc@0 { compatible = "simple-bus"; #address-cells = <1>;
@@ -365,6 +379,21 @@ usdhc2: mmc@298f0000 { bus-width = <4>; status = "disabled"; }; + + fec: ethernet@29950000 { + compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec"; + reg = <0x29950000 0x10000>; + interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "int0"; + clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, + <&pcc4 IMX8ULP_CLK_ENET>, + <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>, + <&clock_ext_rmii>; + clock-names = "ipg", "ahb", "ptp", "enet_clk_ref"; + fsl,num-tx-queues = <1>; + fsl,num-rx-queues = <1>; + status = "disabled"; + }; }; gpioe: gpio@2d000080 {
Signature · 1 line
2.25.1
Re: [PATCH 2/3] arm64: dts: imx8ulp: Add the fec support
Hello Wei,
arch/arm64/boot/dts/freescale/imx8ulp.dtsi scmi_sensor: protocol@15 { · line 152
Quoted 12 lines · Wei Fang
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +12
-0+ clock_ext_rmii: clock-ext-rmii { + compatible = "fixed-clock"; + clock-frequency = <50000000>; + #clock-cells = <0>; + clock-output-names = "ext_rmii_clk"; + }; + + clock_ext_ts: clock-ext-ts { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "ext_ts_clk"; + };
How are these SoC-specific? They sound like they belong into board DT.
arch/arm64/boot/dts/freescale/imx8ulp.dtsi usdhc2: mmc@298f0000 { · line 392
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +5
-0+ clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, + <&pcc4 IMX8ULP_CLK_ENET>, + <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>, + <&clock_ext_rmii>; + clock-names = "ipg", "ahb", "ptp", "enet_clk_ref";
I think the default should be the other way round, assume MAC to provide reference clock and allow override on board-level if PHY does it instead.
Cheers,
Ahmad
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Re: [PATCH 2/3] arm64: dts: imx8ulp: Add the fec support
Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi usdhc2: mmc@298f0000 { · line 392
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +5
-0+ clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, + <&pcc4 IMX8ULP_CLK_ENET>, + <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>, + <&clock_ext_rmii>; + clock-names = "ipg", "ahb", "ptp", "enet_clk_ref";I think the default should be the other way round, assume MAC to provide reference clock and allow override on board-level if PHY does it instead.
I would make it the same as all the other instances of FEC in the IMX7, IMX6, IMX5, IMX4, Vybrid etc
Andrew
Wei Fang
maintainerRE: [EXT] Re: [PATCH 2/3] arm64: dts: imx8ulp: Add the fec support
In reply to Ahmad FatoumHi Ahmad:
Thanks for your reply. clock_ext_rmii and clock_ext_ts indeed belong into board DT, I will move them to imx.8ulp-evk.dts and resubmit the patch. And refer to imx8ulp reference manual, the enet_clk_ref only has external clock source, so it is related to specifical board. Therefore, can I delete the enet_clk_ref clock in imx8ulp.dtsi (as shown below) and override the clock and clock-names properties in imx8ulp-evk.dts ?
arch/arm64/boot/dts/freescale/imx8ulp.dtsi usdhc2: mmc@298f0000 {
Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +4
-0+ clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, + <&pcc4 IMX8ULP_CLK_ENET>, + <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>; + clock-names = "ipg", "ahb", "ptp";
-----Original Message-----
From: Ahmad Fatoum <[email protected]>
Sent: 2022年7月4日 15:07
To: Wei Fang <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: Aisheng Dong <[email protected]>; [email protected]; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; [email protected]; [email protected]; dl-linux-imx <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]
Subject: [EXT] Re: [PATCH 2/3] arm64: dts: imx8ulp: Add the fec support
Caution: EXT Email
Hello Wei,
arch/arm64/boot/dts/freescale/imx8ulp.dtsi scmi_sensor: protocol@15 { · line 152
Quoted 12 lines · Wei Fang
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +12
-0+ clock_ext_rmii: clock-ext-rmii { + compatible = "fixed-clock"; + clock-frequency = <50000000>; + #clock-cells = <0>; + clock-output-names = "ext_rmii_clk"; + }; + + clock_ext_ts: clock-ext-ts { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-output-names = "ext_ts_clk"; + };
How are these SoC-specific? They sound like they belong into board DT.
arch/arm64/boot/dts/freescale/imx8ulp.dtsi usdhc2: mmc@298f0000 {
Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +6
-0+ clocks = <&cgc1 IMX8ULP_CLK_XBAR_DIVBUS>, + <&pcc4 IMX8ULP_CLK_ENET>, + <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>, + <&clock_ext_rmii>; + clock-names = "ipg", "ahb", "ptp", + "enet_clk_ref";
I think the default should be the other way round, assume MAC to provide reference clock and allow override on board-level if PHY does it instead.
Cheers,
Ahmad
--
Pengutronix e.K. | | Steuerwalder Str. 21 | https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pengutronix.de%2F&data=05%7C01%7Cwei.fang%40nxp.com%7C9dad0367d54b427c5e8008da5d8bd912%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637925152473535653%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3tkqsToqq7%2BvNDkC7ZaMm0DsisugDpkVQXCr2zqPbF8%3D&reserved=0 | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Wei Fang
maintainerPATCH 3/3 arm64: dts: imx8ulp-evk: Add the fec support
In reply to Wei FangEnable the fec on i.MX8ULP EVK board.
--- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+)
arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +42 -0
@@ -38,7 +38,49 @@ &usdhc0 { status = "okay"; }; +&clock_ext_ts { + /* External ts clock is 50MHZ from PHY on EVK board. */ + clock-frequency = <50000000>; +}; + +&fec { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_enet>; + pinctrl-1 = <&pinctrl_enet>; + assigned-clocks = <&cgc1 IMX8ULP_CLK_ENET_TS_SEL>; + assigned-clock-parents = <&clock_ext_ts>; + phy-mode = "rmii"; + phy-handle = <ðphy>; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethernet-phy { + reg = <1>; + micrel,led-mode = <1>; + }; + }; +}; + &iomuxc1 { + pinctrl_enet: enetgrp { + fsl,pins = < + MX8ULP_PAD_PTE15__ENET0_MDC 0x43 + MX8ULP_PAD_PTE14__ENET0_MDIO 0x43 + MX8ULP_PAD_PTE17__ENET0_RXER 0x43 + MX8ULP_PAD_PTE18__ENET0_CRS_DV 0x43 + MX8ULP_PAD_PTF1__ENET0_RXD0 0x43 + MX8ULP_PAD_PTE20__ENET0_RXD1 0x43 + MX8ULP_PAD_PTE16__ENET0_TXEN 0x43 + MX8ULP_PAD_PTE23__ENET0_TXD0 0x43 + MX8ULP_PAD_PTE22__ENET0_TXD1 0x43 + MX8ULP_PAD_PTE19__ENET0_REFCLK 0x43 + MX8ULP_PAD_PTF10__ENET0_1588_CLKIN 0x43 + >; + }; + pinctrl_lpuart5: lpuart5grp { fsl,pins = < MX8ULP_PAD_PTF14__LPUART5_TX 0x3
Signature · 1 line
2.25.1