ipq806x: ipq4019: dts: move ap-dk01 networking entries to dtsi
authorRoman Yeryomin <roman@advem.lv>
Sun, 29 Oct 2017 23:19:02 +0000 (01:19 +0200)
committerJohn Crispin <john@phrozen.org>
Sun, 29 Oct 2017 23:19:02 +0000 (01:19 +0200)
That is mdio/ethernet and wifi are present on all ap-dk01 boards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts
target/linux/ipq806x/patches-4.9/864-04-dts-ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch [new file with mode: 0644]

index 0a6480bf530990c56aa048821b84c7c061f4a581..a5bfa7e5ae2453dd90832c9957c2263a2ddc276b 100644 (file)
 */
 
        soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
                qca8075: ess-switch@c000000 {
                        status = "okay";
 
                                output-high;
                        };
                };
-
-               ess-psgmii@98000 {
-                       status = "okay";
-               };
-
-               edma@c080000 {
-                       status = "okay";
-               };
-
-               wifi@a000000 {
-                       status = "okay";
-               };
-
-               wifi@a800000 {
-                       status = "okay";
-               };
        };
 
        gpio-keys {
index a885daa83142bfd9e990cda5605e8a975755b86c..ef468506ab09850207077a9863164822f32d505e 100644 (file)
                                };
                        };
                };
-
-               mdio@90000 {
-                       status = "okay";
-               };
-
-               ess-switch@c000000 {
-                       status = "okay";
-               };
-
-               ess-psgmii@98000 {
-                       status = "okay";
-               };
-
-               edma@c080000 {
-                       status = "okay";
-               };
-
-               wifi@a000000 {
-                       status = "okay";
-               };
-
-               wifi@a800000 {
-                       status = "okay";
-               };
        };
 
        gpio-keys {
index fa78d48150ddb9698b81583a19a1f37c73e893d7..3318a003c94ac943764bb8769a706f417fb1625d 100644 (file)
                };
        };
 
-       soc {
-               mdio@90000 {
-                       status = "okay";
-               };
-
-               ess-switch@c000000 {
-                       status = "okay";
-               };
-
-               ess-psgmii@98000 {
-                       status = "okay";
-               };
-
-               edma@c080000 {
-                       status = "okay";
-               };
-
-               wifi@a000000 {
-                       status = "okay";
-               };
-
-               wifi@a800000 {
-                       status = "okay";
-               };
-       };
-
        gpio-keys {
                compatible = "gpio-keys";
 
diff --git a/target/linux/ipq806x/patches-4.9/864-04-dts-ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch b/target/linux/ipq806x/patches-4.9/864-04-dts-ipq4019-ap-dk01-add-network-nodes-to-dtsi.patch
new file mode 100644 (file)
index 0000000..02a102e
--- /dev/null
@@ -0,0 +1,32 @@
+--- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
++++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
+@@ -136,5 +136,29 @@
+               usb2: usb2@60f8800 {
+                       status = "ok";
+               };
++
++              mdio@90000 {
++                      status = "okay";
++              };
++
++              ess-switch@c000000 {
++                      status = "okay";
++              };
++
++              ess-psgmii@98000 {
++                      status = "okay";
++              };
++
++              edma@c080000 {
++                      status = "okay";
++              };
++
++              wifi@a000000 {
++                      status = "okay";
++              };
++
++              wifi@a800000 {
++                      status = "okay";
++              };
+       };
+ };