// SPDX-License-Identifier: GPL-1.0-or-later OR MIT
+#include "ar7100.dtsi"
+
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
-#include "ar7100.dtsi"
-
/ {
aliases {
led-boot = &led_user;
led-running = &led_user;
};
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-
leds {
compatible = "gpio-leds";
led_user: user {
- label = "mikrotik:yellow:user";
+ label = "yellow:user";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led1 {
- label = "mikrotik:green:led1";
+ label = "green:led1";
gpios = <&cpld_gpio 0 GPIO_ACTIVE_LOW>;
};
led2 {
- label = "mikrotik:green:led2";
+ label = "green:led2";
gpios = <&cpld_gpio 2 GPIO_ACTIVE_LOW>;
};
led3 {
- label = "mikrotik:green:led3";
+ label = "green:led3";
gpios = <&cpld_gpio 1 GPIO_ACTIVE_LOW>;
};
led4 {
- label = "mikrotik:green:led4";
+ label = "green:led4";
gpios = <&cpld_gpio 3 GPIO_ACTIVE_LOW>;
};
led5 {
- label = "mikrotik:green:led5";
+ label = "green:led5";
gpios = <&cpld_gpio 8 GPIO_ACTIVE_LOW>;
};
};
};
-&uart {
- status = "okay";
-};
-
&gpio {
ngpios = <31>;
gpio-line-names =
};
hard_config {
- label = "hard_config";
read-only;
};
bios {
- label = "bios";
size = <0x1000>;
read-only;
};
};
soft_config {
- label = "soft_config";
};
};
};