diff options
Diffstat (limited to 'target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts b/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts index e84c9d9cb7..4fe519780d 100644 --- a/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts +++ b/target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts @@ -33,9 +33,16 @@ }; devdata: partition@30000 { + compatible = "nvmem-cells"; label = "devdata"; reg = <0x30000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; read-only; + + eeprom_devdata_4000: eeprom@4000 { + reg = <0x4000 0x200>; + }; }; partition@40000 { @@ -105,7 +112,8 @@ }; &wmac { - ralink,mtd-eeprom = <&devdata 0x4000>; + nvmem-cells = <&eeprom_devdata_4000>; + nvmem-cell-names = "eeprom"; }; &state_default { |