diff options
author | André Valentin <avalentin@marcant.net> | 2023-01-17 23:07:42 +0100 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-01-19 13:26:15 +0100 |
commit | 952c738c0fe360ae074fbf6a87d03883157bc2dd (patch) | |
tree | b07ce383530848d0be4cd6920a77888976b8d3c4 /package/boot/uboot-envtools/files/ipq807x | |
parent | 116c73fd71c75e38c4d707dc5a74e6993874098f (diff) | |
download | upstream-952c738c0fe360ae074fbf6a87d03883157bc2dd.tar.gz upstream-952c738c0fe360ae074fbf6a87d03883157bc2dd.tar.bz2 upstream-952c738c0fe360ae074fbf6a87d03883157bc2dd.zip |
ipq807x: add nvmem uboot-env support
Enabling kernel symbol CONFIG_NVMEM_U_BOOT_ENV allows to use u-boot
environement variable ethaddr with nvmen. That way it is possible to assign
the MAC address to the ethernet device driver.
Example of usage in dts:
....
partition@600000 {
compatible = "u-boot,env";
label = "0:appsblenv";
reg = <0x600000 0x10000>;
macaddr_lan: ethaddr {
};
};
....
&dp5 {
status = "okay";
phy-handle = <&qca8081>;
label = "wan";
nvmem-cells = <&macaddr_lan>;
nvmem-cell-names = "mac-address-ascii";
mac-address-increment = <1>;
};
This is needed for Zyxel NBG7815.
Signed-off-by: André Valentin <avalentin@marcant.net>
Diffstat (limited to 'package/boot/uboot-envtools/files/ipq807x')
0 files changed, 0 insertions, 0 deletions