1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "ar9344_mikrotik_routerboard.dtsi"
8 compatible = "mikrotik,routerboard-sxt-5nd-r2", "qca,ar9344";
9 model = "MikroTik RouterBOARD SXT 5nD r2 (SXT Lite5)";
12 compatible = "gpio-export";
15 gpio-export,name = "sxt5n:power:nand";
16 gpio-export,output = <0>;
17 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
22 compatible = "gpio-beeper";
23 gpios = <&gpio 19 GPIO_ACTIVE_HIGH>;
29 function = LED_FUNCTION_POWER;
30 color = <LED_COLOR_ID_GREEN>;
31 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
37 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <40000000>;
50 compatible = "fixed-partitions";
57 compatible = "mikrotik,routerboot-partitions";
62 label = "bootloader1";
80 label = "bootloader2";
81 reg = <0x10000 0x10000>;
92 nand-ecc-mode = "soft";
93 nand-ecc-step-size = <2048>;
98 compatible = "fixed-partitions";
104 reg = <0x0000000 0x0040000>;
110 reg = <0x0040000 0x03c0000>;
115 reg = <0x0400000 0x7c00000>;