projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: unielec-u7621-01: Increase SPI frequency to 50MHz
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
rt2880_asus_rt-n15.dts
diff --git
a/target/linux/ramips/dts/rt2880_asus_rt-n15.dts
b/target/linux/ramips/dts/rt2880_asus_rt-n15.dts
index 3bf3e21a4702ac47084025b1507f4382466f4d11..0275a84bde0f447ecf7064b2f200278185eb3df2 100644
(file)
--- a/
target/linux/ramips/dts/rt2880_asus_rt-n15.dts
+++ b/
target/linux/ramips/dts/rt2880_asus_rt-n15.dts
@@
-43,6
+43,20
@@
label = "factory";
reg = <0x40000 0x10000>;
read-only;
label = "factory";
reg = <0x40000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+ };
};
partition@50000 {
};
partition@50000 {
@@
-113,15
+127,6
@@
};
&wmac {
};
&wmac {
- ralink,mtd-eeprom = <&factory 0x0>;
-};
-
-&factory {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_factory_4: macaddr@4 {
- reg = <0x4 0x6>;
- };
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
};
};