diff options
author | Johan Jonker <jbx6244@gmail.com> | 2022-06-03 19:35:39 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-09-10 01:58:36 +0300 |
commit | 1dabb74971b38d966ecef566bafddc4a34f4db9d (patch) | |
tree | 7e0cdd21085779321646563eb52696576b5575c8 /arch/arm/boot/dts/rk3066a-rayeager.dts | |
parent | d28b680a34948d7634b824b1fc7546e9dc8422fb (diff) | |
download | linux-1dabb74971b38d966ecef566bafddc4a34f4db9d.tar.xz |
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-rayeager.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3066a-rayeager.dts | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/rk3066a-rayeager.dts b/arch/arm/boot/dts/rk3066a-rayeager.dts index dbbc5170094e..3eee42137b6d 100644 --- a/arch/arm/boot/dts/rk3066a-rayeager.dts +++ b/arch/arm/boot/dts/rk3066a-rayeager.dts @@ -142,15 +142,20 @@ }; &emac { - pinctrl-names = "default"; - pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&rmii_rst>; phy = <&phy0>; phy-supply = <&vcc_rmii>; + pinctrl-names = "default"; + pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&rmii_rst>; status = "okay"; - phy0: ethernet-phy@0 { - reg = <0>; - reset-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>; + mdio { + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@0 { + reg = <0>; + reset-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_LOW>; + }; }; }; |