aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rk3036-kylin.dts
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2022-06-03 18:35:39 +0200
committerHeiko Stuebner <heiko@sntech.de>2022-09-10 00:58:36 +0200
commit1dabb74971b38d966ecef566bafddc4a34f4db9d (patch)
tree7e0cdd21085779321646563eb52696576b5575c8 /arch/arm/boot/dts/rk3036-kylin.dts
parentARM: dts: rockchip: fix rk3036 emac node compatible string (diff)
downloadlinux-dev-1dabb74971b38d966ecef566bafddc4a34f4db9d.tar.xz
linux-dev-1dabb74971b38d966ecef566bafddc4a34f4db9d.zip
ARM: dts: rockchip: restyle emac nodes
The emac_rockchip.txt file is converted to YAML. Phy nodes are now a subnode of mdio, so restyle the emac nodes of rk3036/rk3066/rk3188. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/20220603163539.537-3-jbx6244@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3036-kylin.dts')
-rw-r--r--arch/arm/boot/dts/rk3036-kylin.dts16
1 files changed, 10 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts
index e817eba8c622..67e1e04139e7 100644
--- a/arch/arm/boot/dts/rk3036-kylin.dts
+++ b/arch/arm/boot/dts/rk3036-kylin.dts
@@ -80,16 +80,20 @@
};
&emac {
- pinctrl-names = "default";
- pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
phy = <&phy0>;
- phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
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";
- phy0: ethernet-phy@0 {
- reg = <0>;
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ phy0: ethernet-phy@0 {
+ reg = <0>;
+ };
};
};