OSDN Git Service

staging: mt7621-dts: fix pci phy register addresses
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 15 Feb 2019 06:18:37 +0000 (07:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Feb 2019 10:12:08 +0000 (11:12 +0100)
Both pci-phy0 and pci-phy1 are using bad addresses to search
for its registers. Use proper register values.

Fixes: 06184ba5a33a: staging: mt7621-dts: add pci-phy related bindings to board's device tree
Reported-by: NeilBrown <neil@brown.name>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/mt7621.dtsi

index f0c5162..851b035 100644 (file)
                };
        };
 
-       pcie0_phy: pcie-phy@1a149000 {
+       pcie0_phy: pcie-phy@1e149000 {
                compatible = "mediatek,mt7621-pci-phy";
-               reg = <0x1a149000 0x0700>;
+               reg = <0x1e149000 0x0700>;
                #address-cells = <1>;
                #size-cells = <0>;
 
                };
        };
 
-       pcie1_phy: pcie-phy@1a14a000 {
+       pcie1_phy: pcie-phy@1e14a000 {
                compatible = "mediatek,mt7621-pci-phy";
-               reg = <0x1a14a000 0x0700>;
+               reg = <0x1e14a000 0x0700>;
                #address-cells = <1>;
                #size-cells = <0>;