diff options
author | Johan Jonker <jbx6244@gmail.com> | 2022-06-03 18:35:39 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-09-10 00:58:36 +0200 |
commit | 1dabb74971b38d966ecef566bafddc4a34f4db9d (patch) | |
tree | 7e0cdd21085779321646563eb52696576b5575c8 /arch/arm/boot/dts/rk3188-radxarock.dts | |
parent | ARM: dts: rockchip: fix rk3036 emac node compatible string (diff) | |
download | linux-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/rk3188-radxarock.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3188-radxarock.dts | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts index a9ed3cd2c2da..e7cf18823558 100644 --- a/arch/arm/boot/dts/rk3188-radxarock.dts +++ b/arch/arm/boot/dts/rk3188-radxarock.dts @@ -126,18 +126,21 @@ }; &emac { - status = "okay"; - + phy = <&phy0>; + phy-supply = <&vcc_rmii>; pinctrl-names = "default"; pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>; + status = "okay"; - phy = <&phy0>; - phy-supply = <&vcc_rmii>; + mdio { + #address-cells = <1>; + #size-cells = <0>; - phy0: ethernet-phy@0 { - reg = <0>; - interrupt-parent = <&gpio3>; - interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>; + phy0: ethernet-phy@0 { + reg = <0>; + interrupt-parent = <&gpio3>; + interrupts = <RK_PD2 IRQ_TYPE_LEVEL_LOW>; + }; }; }; |