projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: use DT trigger for 2G WiFi on ASUS RT-AC51U
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
mt7621_gnubee_gb-pc1.dts
diff --git
a/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
b/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
index e09e9f75a9269673a7ebcc0224c8691af256e1b1..e33838a8b93e47d209e1807b57d76200dd4779e5 100644
(file)
--- a/
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
+++ b/
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
@@
-16,22
+16,16
@@
led-upgrade = &led_status;
};
led-upgrade = &led_status;
};
- memory@0 {
- device_type = "memory";
- reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
- };
-
chosen {
bootargs = "console=ttyS0,57600";
};
keys {
chosen {
bootargs = "console=ttyS0,57600";
};
keys {
- compatible = "gpio-keys-polled";
- poll-interval = <20>;
+ compatible = "gpio-keys";
reset {
label = "reset";
reset {
label = "reset";
- gpios = <&gpio
0
18 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RESTART>;
};
};
linux,code = <KEY_RESTART>;
};
};
@@
-41,22
+35,22
@@
system {
label = "gb-pc1:green:system";
system {
label = "gb-pc1:green:system";
- gpios = <&gpio
0
6 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
};
led_status: status {
label = "gb-pc1:green:status";
};
led_status: status {
label = "gb-pc1:green:status";
- gpios = <&gpio
0
8 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
};
lan1 {
label = "gb-pc1:green:lan1";
};
lan1 {
label = "gb-pc1:green:lan1";
- gpios = <&gpio
0
24 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
};
lan2 {
label = "gb-pc1:green:lan2";
};
lan2 {
label = "gb-pc1:green:lan2";
- gpios = <&gpio
0
25 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
};
};
};
};
};
@@
-68,10
+62,11
@@
&spi0 {
status = "okay";
&spi0 {
status = "okay";
-
m25p80
@0 {
+
flash
@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <80000000>;
+ broken-flash-reset;
m25p,fast-read;
partitions {
m25p,fast-read;
partitions {
@@
-110,15
+105,27
@@
status = "okay";
};
status = "okay";
};
-&
ethernet
{
+&
gmac0
{
mtd-mac-address = <&factory 0xe000>;
};
mtd-mac-address = <&factory 0xe000>;
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "jtag", "rgmii2", "uart3", "wdt";
- ralink,function = "gpio";
+&switch0 {
+ ports {
+ port@0 {
+ status = "okay";
+ label = "lan1";
+ };
+
+ port@4 {
+ status = "okay";
+ label = "lan2";
};
};
};
};
};
};
+
+&state_default {
+ gpio {
+ groups = "jtag", "rgmii2", "uart3", "wdt";
+ function = "gpio";
+ };
+};