[openwrt/openwrt] mediatek: fix PCI device tree node for elecom wrc-2533gent

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 12 07:02:34 EDT 2020


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/74a66c02042decd93e6ff9803fa9349ea05dc1ab

commit 74a66c02042decd93e6ff9803fa9349ea05dc1ab
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Aug 12 12:58:06 2020 +0200

    mediatek: fix PCI device tree node for elecom wrc-2533gent
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 .../arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts    | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
index d905edc94f..c0d4b502ea 100644
--- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
+++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7622-elecom-wrc-2533gent.dts
@@ -169,10 +169,13 @@
         pinctrl-names = "default";
         pinctrl-0 = <&pcie0_pins>;
         status = "okay";
-        mt7615 at 0,0 {
+};
+
+&slot0 {
+	mt7615 at 0,0 {
 		reg = <0x0000 0 0 0 0>;
 		mediatek,mtd-eeprom = <&factory 0x05000>;
-        };
+	};
 };
 
 &pio {



More information about the lede-commits mailing list