]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: net: wireless: mt76: introduce big-endian property
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 27 Nov 2019 14:46:34 +0000 (16:46 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:06:00 +0000 (10:06 +0100)
Introduce big-endian property to specify mtd radio partition endianness

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt

index 7e675dafc256ee716df4de317b077f45194a96d9..d4d982f7ab375747fdf7ee31ecbea86e6ef6bd1b 100644 (file)
@@ -15,6 +15,8 @@ Optional properties:
 
 - ieee80211-freq-limit: See ieee80211.txt
 - mediatek,mtd-eeprom: Specify a MTD partition + offset containing EEPROM data
+- big-endian: if the radio eeprom partition is written in big-endian, specify
+  this property
 
 The MAC address can as well be set with corresponding optional properties
 defined in net/ethernet.txt.
@@ -31,6 +33,7 @@ Optional nodes:
                        reg = <0x0000 0 0 0 0>;
                        ieee80211-freq-limit = <5000000 6000000>;
                        mediatek,mtd-eeprom = <&factory 0x8000>;
+                       big-endian;
 
                        led {
                                led-sources = <2>;