ath79: apply Engenius ECB1750 style to OpenMesh MR900 RGMII cfg
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_librerouter_librerouter-v1.dts
index 4862083f706ecae4f5cac1abadb9c4f01f4228c3..5be931bcd049d97b97312a2ef412b3c5b712daf0 100644 (file)
@@ -1,48 +1,43 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "qca955x.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "qca9557.dtsi"
-
 / {
        compatible = "librerouter,librerouter-v1", "qca,qca9558";
        model = "LibreRouter v1";
 
-       chosen {
-               bootargs = "console=ttyS0,115200n8";
-       };
-
        aliases {
-               led-boot = &system;
-               led-failsafe = &system;
-               led-running = &system;
-               led-upgrade = &system;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
        };
 
        leds {
                compatible = "gpio-leds";
 
-               system: system {
-                       label = "librerouter-v1:green:system";
+               led_system: system {
+                       label = "green:system";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                wifi_green {
-                       label = "librerouter-v1:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                status_blue {
-                       label = "librerouter-v1:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
                };
        };
 
-       button {
+       keys {
                compatible = "gpio-keys";
 
                reset {
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb_phy0 {
        status = "okay";
 };
 
 &spi {
        status = "okay";
-       num-cs = <1>;
 
        flash@0 {
                compatible = "jedec,spi-nor";
 &eth1 {
        status = "okay";
 
-       phy-mode = "sgmii";
        pll-data = <0x03000101 0x00000101 0x00001616>;
        mtd-mac-address = <&art 0x6>;