Hi,
Actually i tried this previously and my dtsi looks like this:
&fec1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet1>;
phy-mode = "rmii";
phy-handle = <ðphy0_>;
phy-supply = <®_peri_3v3>;
status = "okay";
nvmem-cells = <&fec_mac_address>;
nvmem-cell-names = "mac-address";
};
ocotp: efuse@21bc000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "fsl,imx6ul-ocotp", "syscon";
reg = <0x021bc000 0x4000>;
clocks = <&clks IMX6UL_CLK_OCOTP>;
imx6ull_uid: unique-id@410 {
reg = <0x410 0x8>;
};
tempmon_calib: calib@38 {
reg = <0x38 4>;
};
tempmon_temp_grade: temp-grade@20 {
reg = <0x20 4>;
};
cpu_speed_grade: speed-grade@10 {
reg = <0x10 4>;
};
fec_mac_address: mac-address@620 {
reg = <0x620 6>;
};
imx6ull_soc: imx6ull-soc {
compatible = "fsl,imx6ull-soc";
nvmem-cells = <&imx6ull_uid>;
nvmem-cell-names = "soc_unique_id";
};
};
Can you please go through the configuration and if anything went wrong please correct me because even after adding nvmem-cells = <&fec_mac_address>;
nvmem-cell-names = "mac-address";
i am not getting fixed mac id for eth1, I have added this same under fec2 and tried but still not getting.