summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/rk3066a-marsboard.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/rk3066a-marsboard.dts
parentd28b680a34948d7634b824b1fc7546e9dc8422fb (diff)
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/rk3066a-marsboard.dts')
-rw-r--r--arch/arm/boot/dts/rk3066a-marsboard.dts17
1 files changed, 10 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts
index a66d915aa0f6..8beecd628282 100644
--- a/arch/arm/boot/dts/rk3066a-marsboard.dts
+++ b/arch/arm/boot/dts/rk3066a-marsboard.dts
@@ -150,18 +150,21 @@
#include "tps65910.dtsi"
&emac {
- status = "okay";
-
phy = <&phy0>;
phy-supply = <&vcc_rmii>;
-
pinctrl-names = "default";
pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
+ status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
- phy0: ethernet-phy@0 {
- reg = <0>;
- interrupt-parent = <&gpio1>;
- interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
+ phy0: ethernet-phy@0 {
+ reg = <0>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>;
+ };
};
};