1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "meraki,mr18", "qca,qca9558";
11 model = "Meraki MR18";
14 label-mac-device = ð0;
16 led-failsafe = &orange;
22 compatible = "gpio-leds";
25 label = "mr18:white:power";
26 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
30 label = "mr18:orange:power";
31 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
37 compatible = "virtual-leds";
40 /* not supported by uleds driver */
42 function = LED_FUNCTION_POWER;
43 color = <LED_COLOR_ID_RGB>;
49 color = <LED_COLOR_ID_RED>;
54 color = <LED_COLOR_ID_GREEN>;
59 color = <LED_COLOR_ID_BLUE>;
64 label = "green:tricolor";
65 color = <LED_COLOR_ID_GREEN>;
69 color = <LED_COLOR_ID_BLUE>;
70 label = "mr18:blue:tricolor";
74 label = "mr18:red:tricolor";
75 color = <LED_COLOR_ID_RED>;
81 compatible = "gpio-keys";
85 linux,code = <KEY_RESTART>;
86 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
87 debounce-interval = <60>;
96 nand-ecc-mode = "soft";
97 nand-ecc-algo = "bch";
98 nand-ecc-strength = <4>;
99 nand-ecc-step-size = <512>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
108 label = "nandloader";
115 reg = <0x80000 0x800000>;
120 reg = <0x880000 0x800000>;
125 reg = <0x1080000 0x6f00000>;
129 label = "odm-caldata";
130 reg = <0x7fe0000 0x20000>;
140 compatible = "pci168c,0033";
141 reg = <0x0000 0 0 0 0>;
150 compatible = "pci168c,0033";
151 reg = <0x0000 0 0 0 0>;
163 phy: ethernet-phy@3 {
170 pll-data = <0xa6000000 0xa0000101 0x80001313>;