diff options
author | Robert Marko <robert.marko@sartura.hr> | 2020-10-19 18:49:29 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-12-23 16:36:08 +0100 |
commit | 2a5bfb6600d5d8a20cf361b7b99ef66027fe412e (patch) | |
tree | e8c04b18a58aca98acd76b99b6b2f4b8ec80bb1c /target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts | |
parent | c8af7ea205daa60a24862ed3e43c4af92304284d (diff) | |
download | upstream-2a5bfb6600d5d8a20cf361b7b99ef66027fe412e.tar.gz upstream-2a5bfb6600d5d8a20cf361b7b99ef66027fe412e.tar.bz2 upstream-2a5bfb6600d5d8a20cf361b7b99ef66027fe412e.zip |
ipq40xx: dts: convert PHY GPIO bindings
Since the new PHY driver manages each PHY individually and therefore
registers each PHY that is marked with gpio-controller; DT property as a
GPIO controller we need to convert old DT bindings to account for this.
Only 2 boards use this so its not much of an issue.
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Diffstat (limited to 'target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts')
-rw-r--r-- | target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts index 28d27d9959..c35ce5ccc4 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts @@ -37,7 +37,7 @@ wan { label = "amber:wan"; - gpios = <&qca8075 19 GPIO_ACTIVE_HIGH>; + gpios = <ðphy4 1 GPIO_ACTIVE_HIGH>; }; wlan2g { @@ -119,14 +119,11 @@ status = "okay"; }; - qca8075: ess-switch@c000000 { + ess-switch@c000000 { status = "okay"; switch_lan_bmp = <0x10>; switch_wan_bmp = <0x20>; - - #gpio-cells = <2>; - gpio-controller; }; edma@c080000 { @@ -264,6 +261,11 @@ status = "okay"; }; +ðphy4 { + gpio-controller; + #gpio-cells = <2>; +}; + &gmac0 { qcom,forced_duplex = <1>; qcom,forced_speed = <1000>; |