diff options
author | Sungbo Eo <mans0n@gorani.run> | 2019-11-13 23:29:21 +0900 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-13 16:03:42 +0100 |
commit | aabdf6991cce55a76540c91ff3b5177afd8dce99 (patch) | |
tree | c3bcdf475a72d697f8b6eb243bff3cac14ffccad /target/linux/ramips/rt3883/base-files | |
parent | 7231c1edd99217c6baa8d7d5d841d75ad9de26f1 (diff) | |
download | upstream-aabdf6991cce55a76540c91ff3b5177afd8dce99.tar.gz upstream-aabdf6991cce55a76540c91ff3b5177afd8dce99.tar.bz2 upstream-aabdf6991cce55a76540c91ff3b5177afd8dce99.zip |
ramips: improve Samsung CY-SWR1100 support
This patch does the following:
- rename "devdata" flash partition and make it read-only
- switch from gpio-keys-polled to gpio-keys
- add missing power LED
- set correct PCI ID to compatible string in wifi node
- remove ralink,5ghz property in wifi node
- provide label MAC address
Rename devdata partition to devconf as indicated in the stock firmware
partition table:
00030000-00040000: "devdata"
00040000-00050000: "devconf"
Power LED can be controlled by SoC GPIO. Add it in the dts leds node.
RT3092L supports only bgn mode, so it is unnecessary to disable 5GHz band.
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ramips/rt3883/base-files')
-rwxr-xr-x | target/linux/ramips/rt3883/base-files/etc/board.d/02_network | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network index 2ef0e319bb..873c72cea3 100755 --- a/target/linux/ramips/rt3883/base-files/etc/board.d/02_network +++ b/target/linux/ramips/rt3883/base-files/etc/board.d/02_network @@ -72,6 +72,7 @@ ramips_setup_macs() samsung,cy-swr1100) lan_mac=$(mtd_get_mac_ascii nvram lanmac) wan_mac=$(mtd_get_mac_ascii nvram wanmac) + label_mac=$wan_mac ;; sitecom,wlr-6000) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x8004)" 2) |