[PATCH v2 3/7] lantiq: add DTS for Fritzbox 3490
Torsten Duwe
duwe at lst.de
Sun Oct 23 05:51:42 PDT 2022
Signed-off-by: Torsten Duwe <duwe at lst.de>
---
.../boot/dts/lantiq/vr9_avm_fritz3490.dts | 58 +++++++++++++++++++
1 file changed, 58 insertions(+)
create mode 100644 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts
new file mode 100644
index 0000000000..3e140a59cc
--- /dev/null
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz3490.dts
@@ -0,0 +1,58 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "vr9_avm_fritzx490.dtsi"
+
+/ {
+ compatible = "avm,fritz3490", "avm,fritzx490", "lantiq,xway", "lantiq,vr9";
+ model = "AVM FRITZ!Box 3490";
+
+ aliases {
+ led-boot = &led_power;
+ led-failsafe = &led_info_red;
+ led-running = &led_power;
+ led-upgrade = &led_info_red;
+
+ led-dsl = &led_dsl;
+ led-internet = &led_lan;
+ led-wifi = &led_wlan;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ // led 5 "Power"
+ led_power: power {
+ label = "green:power";
+ gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
+ default-state = "keep";
+ };
+
+ // led 4 "LAN"
+ led_lan: lan {
+ label = "green:lan";
+ gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
+ };
+
+ // led 3 "WLAN"
+ led_wlan: wlan {
+ label = "green:wlan";
+ gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
+ };
+
+ // led 2 "DSL"
+ led_dsl: dsl {
+ label = "green:dsl";
+ gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
+ };
+
+ // led 1 "Info"
+ led_info_green: info_green {
+ label = "green:info";
+ gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
+ };
+ led_info_red: info_red {
+ label = "red:info";
+ gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
+ };
+ };
+};
--
2.35.3
More information about the openwrt-devel
mailing list