Commit 066438ae authored by Joakim Zhang's avatar Joakim Zhang Committed by Shawn Guo

arm64: dts: imx8m: add mac address for FEC

Add mac address in efuse, so that FEC driver can parse it from nvmem
cell.
Signed-off-by: default avatarJoakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 6c17f2d6
......@@ -527,6 +527,10 @@ imx8mm_uid: unique-id@410 {
cpu_speed_grade: speed-grade@10 {
reg = <0x10 4>;
};
fec_mac_address: mac-address@90 {
reg = <0x90 6>;
};
};
anatop: anatop@30360000 {
......@@ -923,6 +927,9 @@ fec1: ethernet@30be0000 {
assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
fsl,num-tx-queues = <3>;
fsl,num-rx-queues = <3>;
nvmem-cells = <&fec_mac_address>;
nvmem-cell-names = "mac-address";
nvmem_macaddr_swap;
status = "disabled";
};
......
......@@ -540,6 +540,10 @@ imx8mn_uid: unique-id@410 {
cpu_speed_grade: speed-grade@10 {
reg = <0x10 4>;
};
fec_mac_address: mac-address@90 {
reg = <0x90 6>;
};
};
anatop: anatop@30360000 {
......@@ -921,6 +925,9 @@ fec1: ethernet@30be0000 {
assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
fsl,num-tx-queues = <3>;
fsl,num-rx-queues = <3>;
nvmem-cells = <&fec_mac_address>;
nvmem-cell-names = "mac-address";
nvmem_macaddr_swap;
status = "disabled";
};
......
......@@ -337,6 +337,10 @@ imx8mp_uid: unique-id@420 {
cpu_speed_grade: speed-grade@10 {
reg = <0x10 4>;
};
eth_mac1: mac-address@90 {
reg = <0x90 6>;
};
};
anatop: anatop@30360000 {
......@@ -776,6 +780,9 @@ fec: ethernet@30be0000 {
assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
fsl,num-tx-queues = <3>;
fsl,num-rx-queues = <3>;
nvmem-cells = <&eth_mac1>;
nvmem-cell-names = "mac-address";
nvmem_macaddr_swap;
status = "disabled";
};
};
......
......@@ -567,6 +567,10 @@ imx8mq_uid: soc-uid@410 {
cpu_speed_grade: speed-grade@10 {
reg = <0x10 4>;
};
fec_mac_address: mac-address@90 {
reg = <0x90 6>;
};
};
anatop: syscon@30360000 {
......@@ -1183,6 +1187,9 @@ fec1: ethernet@30be0000 {
assigned-clock-rates = <0>, <100000000>, <125000000>, <0>;
fsl,num-tx-queues = <3>;
fsl,num-rx-queues = <3>;
nvmem-cells = <&fec_mac_address>;
nvmem-cell-names = "mac-address";
nvmem_macaddr_swap;
status = "disabled";
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment