From 34abfb6e91d1375f9c0a890d91f8e0c3fef579e9 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sun, 8 Dec 2019 00:09:25 +0100 Subject: ramips: convert mediatek,mtd-eeprom from decimal to hex notation A small subset of devices uses decimal notation for mediatek,mtd-eeprom in DTS files. Convert to hexadecimal notation to be consistent with all the rest. Also change "0" to "0x0" in the same files for consistency. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts') diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts index 1da2f483dc..e085162531 100644 --- a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts +++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts @@ -149,7 +149,7 @@ }; &wmac { - ralink,mtd-eeprom = <&radio 0>; + ralink,mtd-eeprom = <&radio 0x0>; }; &pcie { @@ -159,7 +159,7 @@ &pcie0 { mt76@0,0 { reg = <0x0000 0 0 0 0>; - mediatek,mtd-eeprom = <&radio 32768>; + mediatek,mtd-eeprom = <&radio 0x8000>; ieee80211-freq-limit = <5000000 6000000>; }; }; -- cgit v1.2.3