net: ti: am65-cpsw-nuss: Drop custom property "mac_efuse"
Subsystems (2)
cover net: ti: am65-cpsw-nuss: Drop custom property "mac_efuse"
Hi,
We need to track the Device tree in Linux.
The approved property for MAC address EFUSE is "ti,syscon-efuse".
Use that and drop custom property "mac_efuse".
cheers,
-roger
Roger Quadros (2):
net: ti: am65-cpsw-nuss: Use approved property to get efuse address
arm: dts: k3-am625-sk-u-boot.dtsi: drop mac_efuse
arch/arm/dts/k3-am625-sk-u-boot.dtsi | 3 -- configs/am62x_evm_a53_defconfig | 1 + drivers/net/ti/am65-cpsw-nuss.c | 52 +++++++++++++++++++--------- 3 files changed, 37 insertions(+), 19 deletions(-)
Signature · 1 line
2.34.1
PATCH 1/2 net: ti: am65-cpsw-nuss: Use approved property to get efuse address
The approved DT property for MAC efuse (ROM) address is "ti,syscon-efuse".
Use that and drop custom property "mac_efuse".
--- configs/am62x_evm_a53_defconfig | 1 + drivers/net/ti/am65-cpsw-nuss.c | 52 +++++++++++++++++++++++---------- 2 files changed, 37 insertions(+), 16 deletions(-)
configs/am62x_evm_a53_defconfig +1 -0
@@ -102,3 +102,4 @@ CONFIG_SYSRESET=y CONFIG_SPL_SYSRESET=y CONFIG_SYSRESET_TI_SCI=y CONFIG_FS_FAT_MAX_CLUSTSIZE=16384 +CONFIG_SYSCON=y
drivers/net/ti/am65-cpsw-nuss.c +36 -16
82 lines not on this page · raw message
Signature · 1 line
2.34.1
RFC PATCH 2/2 arm: dts: k3-am625-sk-u-boot.dtsi: drop mac_efuse
In reply to Roger QuadrosThis was a custom property and we don't need it anymore. We are now using the standard property "ti,syscon-efuse".
---
RFC because Nishanth can squash this into his DT sync series.
The /delete-property/ ranges also needs to be deleted along with the duplicate cpsw-phy-sel@04044. But first will need to teach
the driver to deal with the syscon node properly. phys = <&phy_gmii_sel n>;
Will send a follow up patch for that soon.
arch/arm/dts/k3-am625-sk-u-boot.dtsi | 3 --- 1 file changed, 3 deletions(-)
arch/arm/dts/k3-am625-sk-u-boot.dtsi +0 -3
@@ -128,9 +128,6 @@ }; &cpsw3g { - reg = <0x0 0x8000000 0x0 0x200000>, - <0x0 0x43000200 0x0 0x8>; - reg-names = "cpsw_nuss", "mac_efuse"; /delete-property/ ranges; bootph-pre-ram;
Signature · 1 line
2.34.1
Hi,
Quoted 6 lines · Roger Quadros
Hi,
We need to track the Device tree in Linux.
The approved property for MAC address EFUSE is "ti,syscon-efuse".Use that and drop custom property "
mac_efuse".
On a SK-AM62:
Thanks!
Maxime