zephyr/dts/arm/nxp/nxp_rt1060.dtsi
Kumar Gala df56ce3efb drivers: ethernet: mcux: rework how unique mac is determined
Instead of having a Kconfig property, if there is no local-mac-address
property in the devicetree than we'll generate a unique MAC address
based on unique ID registers on the SoC.

We remove the local-mac-address properties in the SoC dtsi files to
match the default behavior that existed before (ie, unique MAC address)

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-05-09 16:29:57 +02:00

43 lines
951 B
Plaintext

/*
* Copyright (c) 2019, Linaro
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <nxp/nxp_rt.dtsi>
/* i.MX rt1060 has two continuous on-chip RAM, one is part of the
* FlexRAM mapped at 0x20280000 (vs 0x20280000 on rt1050) and is
* configurable (256KB by defaults), the other one is dedicated 512KB
* ram (OCRAM2) mapped at 0x20200000. In order to have a continuous
* region, we describe them in one 768Kb unique node.
*/
&ocram {
compatible = "mmio-sram";
reg = <0x20200000 0xC0000>;
};
/* i.MX rt1060 has a second Ethernet controller. */
/ {
aliases {
enet2 = &enet2;
};
soc {
enet2: ethernet@402d4000 {
compatible = "nxp,kinetis-ethernet";
reg = <0x402D4000 0x628>;
interrupts = <152 0>;
interrupt-names = "COMMON";
status = "disabled";
label = "ETH_1";
ptp {
compatible = "nxp,kinetis-ptp";
status = "disabled";
interrupts = <153 0>;
interrupt-names = "IEEE1588_TMR";
};
};
};
};