ipq806x: r7800: add missing wifi definition for pcie
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 5 Dec 2019 01:24:44 +0000 (02:24 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 19 Dec 2019 21:41:57 +0000 (22:41 +0100)
Add missing wifi compatible definition for r7800 device.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-r7800.dts

index 82a4f348eddb88eb775f7a7b515019cf57171df0..c6c066aade48446af698448136d2067df46b861c 100644 (file)
 
                pcie0: pci@1b500000 {
                        status = "okay";
+
+                       bridge@0,0 {
+                               reg = <0x00000000 0 0 0 0>;
+                               #address-cells = <3>;
+                               #size-cells = <2>;
+                               ranges;
+
+                               wifi@1,0 {
+                                       compatible = "pci168c,0046";
+                                       reg = <0x00010000 0 0 0 0>;
+
+                                       mtd-mac-address = <&art 6>;
+                                       mtd-mac-address-increment = <(1)>;
+                               };
+                       };
                };
 
                pcie1: pci@1b700000 {
                        status = "okay";
                        force_gen1 = <1>;
+
+                       bridge@0,0 {
+                               reg = <0x00000000 0 0 0 0>;
+                               #address-cells = <3>;
+                               #size-cells = <2>;
+                               ranges;
+
+                               wifi@1,0 {
+                                       compatible = "pci168c,0046";
+                                       reg = <0x00010000 0 0 0 0>;
+
+                                       mtd-mac-address = <&art 6>;
+                                       mtd-mac-address-increment = <(2)>;
+                               };
+                       };
                };
 
                nand@1ac00000 {