diff options
author | Robert Marko <robimarko@gmail.com> | 2023-11-12 17:24:43 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-14 05:21:27 +0100 |
commit | cb1702041f8ccfa902b6e525b2268313aeaf1eb0 (patch) | |
tree | a70fc42260fe89c6662b91b2f5a7e69fa915839a /target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8070-cax1800.dts | |
parent | 8e162868abf0fc2356b54fcf0b5ec86a282d1387 (diff) | |
download | openwrt-cb1702041f8ccfa902b6e525b2268313aeaf1eb0.tar.gz openwrt-cb1702041f8ccfa902b6e525b2268313aeaf1eb0.tar.bz2 openwrt-cb1702041f8ccfa902b6e525b2268313aeaf1eb0.zip |
qualcommax: use defines for MAC mode setting
Now that we have the MAC modes defined in DT bindings, lets replace all of
the raw hex values with defines.
While we are here, we can drop the disabled UNIPHY-s as that is the default
value in the ESS DTSI.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8070-cax1800.dts')
-rw-r--r-- | target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8070-cax1800.dts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8070-cax1800.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8070-cax1800.dts index 3f19e4fee9..5b3a56fdd0 100644 --- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8070-cax1800.dts +++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8070-cax1800.dts @@ -273,9 +273,7 @@ switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */ switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */ - switch_mac_mode = <0x0>; /* mac mode for uniphy instance0*/ - switch_mac_mode1 = <0xff>; /* mac mode for uniphy instance1*/ - switch_mac_mode2 = <0xff>; /* mac mode for uniphy instance2*/ + switch_mac_mode = <MAC_MODE_PSGMII>; /* mac mode for uniphy instance0*/ bm_tick_mode = <0>; /* bm tick mode */ tm_tick_mode = <0>; /* tm tick mode */ |