ramips: apply LED_POLARITY rt3050-esw on MT7628AN/MT7688
authorMaximilian Pachl <m@ximilian.info>
Wed, 13 Nov 2019 11:57:28 +0000 (12:57 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 19 Jan 2020 09:55:31 +0000 (10:55 +0100)
commit9e799f3eee9878bc8240f1de06d4eabdea7a2093
treef32898657180a7045e83d4650b1dd1adb0dbb747
parent7a8bfbf0ffaea14e15ae2016a54adf48337c6251
ramips: apply LED_POLARITY rt3050-esw on MT7628AN/MT7688

The device tree property "mediatek,led_polarity" is ignored for
MT7628AN and MT7688. According to the datasheet both SoCs have
the matching register. Therefore the property should be applied
on these two devices as well.

Signed-off-by: Maximilian Pachl <m@ximilian.info>
Reviewed-by: Sungbo Eo <mans0n@gorani.run>
Tested-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.c