mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
ARM: dts: rockchip: Move PHY reset to ethernet-phy node on rk3036 boards
According to rockchip,emac.yaml, 'phy-reset-duration' and 'phy-reset-gpios'
are not valid properties.
Use the valid 'reset-gpios' and 'reset-assert-us' properties under
the etherne-phy node.
This fixes the following dt-schema warning:
Unevaluated properties are not allowed ('phy-reset-duration',
'phy-reset-gpios' were unexpected)
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://patch.msgid.link/20260228013257.256973-1-festevam@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
ba9e4ce2e3
commit
6485417ed9
|
|
@ -16,8 +16,6 @@ memory@60000000 {
|
|||
|
||||
&emac {
|
||||
phy = <&phy0>;
|
||||
phy-reset-duration = <10>; /* millisecond */
|
||||
phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
|
||||
status = "okay";
|
||||
|
|
@ -28,6 +26,8 @@ mdio {
|
|||
|
||||
phy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
reset-assert-us = <10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -102,8 +102,6 @@ &acodec {
|
|||
|
||||
&emac {
|
||||
phy = <&phy0>;
|
||||
phy-reset-duration = <10>; /* millisecond */
|
||||
phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
|
||||
status = "okay";
|
||||
|
|
@ -114,6 +112,8 @@ mdio {
|
|||
|
||||
phy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>;
|
||||
reset-assert-us = <10000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user