projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: mt7621: update dts/defconfig for DSA
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_zbtlink_zbt-wg2626.dts
diff --git
a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
index 1a2a89a31e86b787efbed6180c74d12c676ba3dd..6461302154f900736e371216c35ac7b66e51f29e 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
+++ b/
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
@@
-27,12
+27,11
@@
};
keys {
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
reset {
label = "reset";
reset {
label = "reset";
- gpios = <&gpio
0
18 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
};
linux,code = <KEY_RESTART>;
};
};
@@
-42,7
+41,7
@@
led_status: status {
label = "zbt-wg2626:green:status";
led_status: status {
label = "zbt-wg2626:green:status";
- gpios = <&gpio
0
24 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
};
};
};
};
};
@@
-111,15
+110,44
@@
};
};
};
};
-&
ethernet
{
+&
gmac0
{
mtd-mac-address = <&factory 0xe000>;
};
mtd-mac-address = <&factory 0xe000>;
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "wdt", "rgmii2", "jtag", "mdio";
- 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 0xe000>;
+ mtd-mac-address-increment = <1>;
};
};
};
};
};
};
+
+&state_default {
+ gpio {
+ groups = "wdt", "rgmii2", "jtag", "mdio";
+ function = "gpio";
+ };
+};