lantiq - vgv7519: load rt5362 eeprom from bootloader param patition
authorJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 20:08:30 +0000 (20:08 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 20:08:30 +0000 (20:08 +0000)
SVN-Revision: 42824

target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
target/linux/lantiq/dts/VGV7519.dtsi
target/linux/lantiq/dts/VGV7519BRN.dts
target/linux/lantiq/dts/VGV7519NOR.dts

index 5664c13ea81a3e8dadbfd1710772049c2e04d5ba..3ebd5e83b22c5d8d128ab8f27215882d92edb666 100644 (file)
@@ -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)
index d652839d40ade1e52c809f7c48cb6cb87d264e00..146d06ad710a9f71167b21ba2cd19c7a199de42c 100644 (file)
@@ -71,6 +71,8 @@
                                        lantiq,groups = "gphy0 led1", "gphy1 led0";
                                        lantiq,function = "gphy";
                                        lantiq,open-drain = <0>;
+                                       lantiq,pull = <0>;
+                                       lantiq,output = <1>;
                                };
                        };
                };
                phys = [ 00 01 ];
        };
 
+       ralink_eep {
+               compatible = "ralink,eeprom";
+               ralink,eeprom = "RT2860.eeprom";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
index 53692a37ea7c49fae45d7c8905e68cbbb486b1f6..b885952b05681c08dd2259e3194fd404a45040ed 100644 (file)
                                        label = "rootfs_data";
                                        reg = <0x880000 0x780000>;
                                };
+
+                               partition@1f80000 {
+                                       label = "board_config";
+                                       reg = <0x40000 0x10000>;
+                                       read-only;
+                               };
                        };
                };
        };
index 283aa19bf4a421dc7bfcadd2a97bd7e252f137b1..744efe6e348d4e1fdc8233d50c83d3a5527bba9c 100644 (file)
                                        // 0x1b0000 - 0x1000000 : rootfs (squashfs)
                                        // 0x390000 - 0x1000000 : rootfs_data
                                };
+
+                               partition@1f80000 {
+                                       label = "board_config";
+                                       reg = <0x40000 0x10000>;
+                                       read-only;
+                               };
                        };
                };
        };