From: Bartosz Golaszewski Date: Thu, 22 Jun 2023 12:01:41 +0000 (+0200) Subject: arm64: dts: qcom: sa8775p-ride: add pin functions for ethernet0 X-Git-Tag: v6.6-rc1~130^2~6^2~154 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=48c99529998026e21a78f84261d24c0b93c1027e;p=thirdparty%2Flinux.git arm64: dts: qcom: sa8775p-ride: add pin functions for ethernet0 Add the MDC and MDIO pin functions for ethernet0 on sa8775p-ride. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio Tested-by: Andrew Halaney Link: https://lore.kernel.org/r/20230622120142.218055-5-brgl@bgdev.pl Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index 9f39ab59c2835..bf90f825ff672 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -371,6 +371,22 @@ }; &tlmm { + ethernet0_default: ethernet0-default-state { + ethernet0_mdc: ethernet0-mdc-pins { + pins = "gpio8"; + function = "emac0_mdc"; + drive-strength = <16>; + bias-pull-up; + }; + + ethernet0_mdio: ethernet0-mdio-pins { + pins = "gpio9"; + function = "emac0_mdio"; + drive-strength = <16>; + bias-pull-up; + }; + }; + qup_uart10_default: qup-uart10-state { pins = "gpio46", "gpio47"; function = "qup1_se3";