mirror of https://github.com/hak5/openwrt.git
lantiq - vgv7519: load rt5362 eeprom from bootloader param patition
SVN-Revision: 42824lede-17.01
parent
6a961da231
commit
c085d07ee3
|
@ -35,7 +35,7 @@ case "$FIRMWARE" in
|
|||
"RT2860.eeprom" )
|
||||
local board=$(lantiq_board_name)
|
||||
case $board in
|
||||
ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22)
|
||||
ARV7510PW22|ARV7519PW|ARV752DPW|ARV752DPW22|VGV7519)
|
||||
rt2x00_eeprom_extract "board_config" 520 256 1
|
||||
;;
|
||||
ARV7525PW)
|
||||
|
|
|
@ -71,6 +71,8 @@
|
|||
lantiq,groups = "gphy0 led1", "gphy1 led0";
|
||||
lantiq,function = "gphy";
|
||||
lantiq,open-drain = <0>;
|
||||
lantiq,pull = <0>;
|
||||
lantiq,output = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -217,6 +219,11 @@
|
|||
phys = [ 00 01 ];
|
||||
};
|
||||
|
||||
ralink_eep {
|
||||
compatible = "ralink,eeprom";
|
||||
ralink,eeprom = "RT2860.eeprom";
|
||||
};
|
||||
|
||||
gpio-keys-polled {
|
||||
compatible = "gpio-keys-polled";
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -22,6 +22,12 @@
|
|||
label = "rootfs_data";
|
||||
reg = <0x880000 0x780000>;
|
||||
};
|
||||
|
||||
partition@1f80000 {
|
||||
label = "board_config";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -30,6 +30,12 @@
|
|||
// 0x1b0000 - 0x1000000 : rootfs (squashfs)
|
||||
// 0x390000 - 0x1000000 : rootfs_data
|
||||
};
|
||||
|
||||
partition@1f80000 {
|
||||
label = "board_config";
|
||||
reg = <0x40000 0x10000>;
|
||||
read-only;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue