kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_phicomm_k2p.dts
index a71e5f63b800c3e4b0ded6bc955fb61e0d048802..761b690d1e3b725ccc57f27c0d004744d25fba4a 100644 (file)
 
                stat_r {
                        label = "k2p:red:status";
-                       gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                };
 
                stat_y {
                        label = "k2p:yellow:status";
-                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                led_blue: stat_b {
                        label = "k2p:blue:status";
-                       gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
        };
 };
 
-&ethernet {
-       mtd-mac-address = <&factory 0xe006>;
+&gmac0 {
+       mtd-mac-address = <&factory 0xe000>;
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c", "jtag";
-                       ralink,function = "gpio";
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "lan1";
                };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&factory 0xe006>;
+               };
+       };
+};
+
+&state_default {
+       gpio {
+               groups = "i2c", "jtag";
+               function = "gpio";
        };
 };