Created
September 24, 2025 08:32
-
-
Save a3f/f364667ac3590e92d66d5408de5717c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&gmac0 { /* Ethernet MAC node */ | |
nvmem-cells = <&gmac0_address>; | |
nvmem-cell-names = "mac-address"; | |
}; | |
&eeprom { /* or some other device with NVMEM driver */ | |
#address-cells = <1>; | |
#size-cells = <1>; | |
gmac0_address: mac-addr@0 { | |
reg = <0x0 6>; /* adapt to actual offset */ | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment