aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts28
1 files changed, 13 insertions, 15 deletions
diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts b/target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts
index 8b2a3d6c9d..49c2a368d9 100644
--- a/target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts
+++ b/target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts
@@ -7,13 +7,13 @@
/ {
compatible = "xiaomi,miwifi-nano", "mediatek,mt7628an-soc";
- model = "MiWiFi Nano";
+ model = "Xiaomi MiWiFi Nano";
aliases {
- led-boot = &led_blue;
- led-failsafe = &led_blue;
- led-running = &led_blue;
- led-upgrade = &led_blue;
+ led-boot = &led_status_amber;
+ led-failsafe = &led_status_red;
+ led-running = &led_status_blue;
+ led-upgrade = &led_status_amber;
};
chosen {
@@ -23,17 +23,17 @@
leds {
compatible = "gpio-leds";
- led_blue: status_blue {
+ led_status_blue: status_blue {
label = "miwifi-nano:blue:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
- status_red {
+ led_status_red: status_red {
label = "miwifi-nano:red:status";
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
};
- status_amber {
+ led_status_amber: status_amber {
label = "miwifi-nano:amber:status";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
@@ -50,12 +50,10 @@
};
};
-&pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "gpio", "refclk", "wdt", "wled_an";
- ralink,function = "gpio";
- };
+&state_default {
+ gpio {
+ ralink,group = "gpio", "refclk", "wdt", "wled_an";
+ ralink,function = "gpio";
};
};
@@ -79,7 +77,7 @@
&spi0 {
status = "okay";
- m25p80@0 {
+ flash@0 {
compatible = "jedec,spi-nor";
reg = <0>;
spi-max-frequency = <40000000>;