ramips: improve Samsung CY-SWR1100 support
authorSungbo Eo <mans0n@gorani.run>
Wed, 13 Nov 2019 14:29:21 +0000 (23:29 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 13 Nov 2019 15:03:42 +0000 (16:03 +0100)
commitaabdf6991cce55a76540c91ff3b5177afd8dce99
treec3bcdf475a72d697f8b6eb243bff3cac14ffccad
parent7231c1edd99217c6baa8d7d5d841d75ad9de26f1
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>
target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts
target/linux/ramips/rt3883/base-files/etc/board.d/02_network