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 0a6480b..a5bfa7e 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 a885daa..ef46850 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 fa78d48..3318a00 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";
++              };
+       };
+ };