};
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 {
+ led_system: system {
label = "librerouter-v1:green:system";
gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
default-state = "on";
label = "librerouter-v1:blue:status";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
-
};
- button {
+ keys {
compatible = "gpio-keys";
reset {
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
debounce-interval = <60>;
};
-
};
watchdog {
hw_margin_ms = <1000>;
always-running;
};
-
};
&pcie0 {
&spi {
status = "okay";
+
num-cs = <1>;
flash@0 {
reg = <0xfd0000 0x20000>;
};
- ART: partition@ff0000 {
- label = "ART";
+ art: partition@ff0000 {
+ label = "art";
reg = <0xff0000 0x010000>;
read-only;
};
status = "okay";
pll-data = <0xa6000000 0x00000101 0x00001616>;
- mtd-mac-address = <&ART 0x0>;
+ mtd-mac-address = <&art 0x0>;
phy-handle = <&phy0>;
-
};
ð1 {
phy-mode = "sgmii";
pll-data = <0x03000101 0x00000101 0x00001616>;
- mtd-mac-address = <&ART 0x6>;
+ mtd-mac-address = <&art 0x6>;
fixed-link {
speed = <1000>;
&wmac {
status = "okay";
- mtd-cal-data = <&ART 0x1000>;
- mtd-mac-address = <&ART 0xc>;
+ mtd-cal-data = <&art 0x1000>;
+ mtd-mac-address = <&art 0xc>;
};