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 function = LED_FUNCTION_POWER;
26 color = <LED_COLOR_ID_WHITE>;
27 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
31 function = LED_FUNCTION_POWER;
32 color = <LED_COLOR_ID_ORANGE>;
33 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
39 compatible = "virtual-leds";
42 * RGB leds are not supported by uleds driver.
43 * but this is what the definitions for a as
44 * of yet unwritten leds_nu801 would look like.
48 function = LED_FUNCTION_POWER;
49 color = <LED_COLOR_ID_RGB>;
55 color = <LED_COLOR_ID_RED>;
60 color = <LED_COLOR_ID_GREEN>;
65 color = <LED_COLOR_ID_BLUE>;
71 color = <LED_COLOR_ID_RED>;
75 color = <LED_COLOR_ID_GREEN>;
79 color = <LED_COLOR_ID_BLUE>;
85 compatible = "gpio-keys";
89 linux,code = <KEY_RESTART>;
90 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
91 debounce-interval = <60>;
100 nand-ecc-mode = "soft";
101 nand-ecc-algo = "bch";
102 nand-ecc-strength = <4>;
103 nand-ecc-step-size = <512>;
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
112 label = "nandloader";
119 reg = <0x80000 0x800000>;
124 reg = <0x880000 0x800000>;
129 reg = <0x1080000 0x6f00000>;
134 * This is not always present. And if
135 * it is, then Meraki (or contractor)
136 * used a different ecc method than
137 * the one we need for the UBI partition.
138 * Reading this causes various reading
141 * As a result: Please don't convert
142 * this to nvmem-cells. Instead there's
143 * a ubi-volume "caldata" that has the
147 label = "odm-caldata";
148 reg = <0x7fe0000 0x20000>;
158 compatible = "pci168c,0033";
159 reg = <0x0000 0 0 0 0>;
168 compatible = "pci168c,0033";
169 reg = <0x0000 0 0 0 0>;
181 phy: ethernet-phy@3 {
188 pll-data = <0xa6000000 0xa0000101 0x80001313>;