-/dts-v1/;
-
#include "rt3050_alphanetworks_asl26555.dtsi"
/ {
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <10000000>;
read-only;
};
- devdata: partition@30000 {
+ partition@30000 {
label = "uboot-env";
reg = <0x30000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_devdata_4000: eeprom@4000 {
+ reg = <0x4000 0x200>;
+ };
+
+ macaddr_devdata_4004: macaddr@4004 {
+ reg = <0x4004 0x6>;
+ };
+ };
};
partition@40000 {
};
};
};
+
+ðernet {
+ nvmem-cells = <&macaddr_devdata_4004>;
+ nvmem-cell-names = "mac-address";
+};