1 // SPDX-License-Identifier: GPL-1.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
11 led-failsafe = &led_user;
12 led-running = &led_user;
16 compatible = "gpio-leds";
19 label = "yellow:user";
20 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
26 gpios = <&cpld_gpio 0 GPIO_ACTIVE_LOW>;
31 gpios = <&cpld_gpio 2 GPIO_ACTIVE_LOW>;
36 gpios = <&cpld_gpio 1 GPIO_ACTIVE_LOW>;
41 gpios = <&cpld_gpio 3 GPIO_ACTIVE_LOW>;
46 gpios = <&cpld_gpio 8 GPIO_ACTIVE_LOW>;
54 "", "", "", "", "LED", "RDY", "", "MDC",
55 "MDIO", "", "", "", "", "", "", "",
56 "", "", "", "", "", "", "", "",
57 "", "", "", "", "", "", "", "";
67 compatible = "mikrotik,rb4xx-spi";
70 compatible = "pm25lv512", "jedec,spi-nor";
73 spi-max-frequency = <25000000>;
76 compatible = "mikrotik,routerboot-partitions";
81 label = "routerboot1";
96 label = "routerboot2";
106 compatible = "mikrotik,rb4xx-cpld";
109 spi-max-frequency = <25000000>;
112 compatible = "mikrotik,rb4xx-gpio";
119 "LED1", "LED2", "LED3", "LED4",
120 "FAN", "ALE", "CLE", "nCE",
125 compatible = "mikrotik,rb4xx-nand";
127 gpios = <&cpld_gpio 5 GPIO_ACTIVE_HIGH>, // ALE
128 <&cpld_gpio 6 GPIO_ACTIVE_HIGH>, // CLE
129 <&cpld_gpio 7 GPIO_ACTIVE_HIGH>, // nCE
130 <&gpio 5 GPIO_ACTIVE_HIGH>; // RDY
133 compatible = "fixed-partitions";
134 #address-cells = <1>;
139 reg = <0x0000000 0x0040000>;
145 reg = <0x0040000 0x0800000>;
150 reg = <0x0840000 0x77c0000>;
160 phy-handle = <&phy0>;
166 phy0: ethernet-phy@0 {