diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-06 20:08:30 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-06 20:08:30 +0000 |
commit | 19466216651014ab7bec94de51c79b9b6f07f42c (patch) | |
tree | 57bc6517209c56d5a1e2b5f4ffd809d788a27058 | |
parent | 990c69bdc337624645d8107305a873c2261e149f (diff) | |
download | upstream-19466216651014ab7bec94de51c79b9b6f07f42c.tar.gz upstream-19466216651014ab7bec94de51c79b9b6f07f42c.tar.bz2 upstream-19466216651014ab7bec94de51c79b9b6f07f42c.zip |
lantiq - vgv7519: load rt5362 eeprom from bootloader param patition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42824 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom | 2 | ||||
-rw-r--r-- | target/linux/lantiq/dts/VGV7519.dtsi | 7 | ||||
-rw-r--r-- | target/linux/lantiq/dts/VGV7519BRN.dts | 6 | ||||
-rw-r--r-- | target/linux/lantiq/dts/VGV7519NOR.dts | 6 |
4 files changed, 20 insertions, 1 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index 5664c13ea8..3ebd5e83b2 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -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) diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi index d652839d40..146d06ad71 100644 --- a/target/linux/lantiq/dts/VGV7519.dtsi +++ b/target/linux/lantiq/dts/VGV7519.dtsi @@ -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>; diff --git a/target/linux/lantiq/dts/VGV7519BRN.dts b/target/linux/lantiq/dts/VGV7519BRN.dts index 53692a37ea..b885952b05 100644 --- a/target/linux/lantiq/dts/VGV7519BRN.dts +++ b/target/linux/lantiq/dts/VGV7519BRN.dts @@ -22,6 +22,12 @@ label = "rootfs_data"; reg = <0x880000 0x780000>; }; + + partition@1f80000 { + label = "board_config"; + reg = <0x40000 0x10000>; + read-only; + }; }; }; }; diff --git a/target/linux/lantiq/dts/VGV7519NOR.dts b/target/linux/lantiq/dts/VGV7519NOR.dts index 283aa19bf4..744efe6e34 100644 --- a/target/linux/lantiq/dts/VGV7519NOR.dts +++ b/target/linux/lantiq/dts/VGV7519NOR.dts @@ -30,6 +30,12 @@ // 0x1b0000 - 0x1000000 : rootfs (squashfs) // 0x390000 - 0x1000000 : rootfs_data }; + + partition@1f80000 { + label = "board_config"; + reg = <0x40000 0x10000>; + read-only; + }; }; }; }; |