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 = "white:power";
26 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
30 label = "orange:power";
31 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
37 compatible = "virtual-leds";
40 * RGB leds are not supported by uleds driver.
41 * but this is what the definitions for a as
42 * of yet unwritten leds_nu801 would look like.
46 function = LED_FUNCTION_POWER;
47 color = <LED_COLOR_ID_RGB>;
53 color = <LED_COLOR_ID_RED>;
58 color = <LED_COLOR_ID_GREEN>;
63 color = <LED_COLOR_ID_BLUE>;
69 color = <LED_COLOR_ID_RED>;
73 color = <LED_COLOR_ID_GREEN>;
77 color = <LED_COLOR_ID_BLUE>;
83 compatible = "gpio-keys";
87 linux,code = <KEY_RESTART>;
88 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
89 debounce-interval = <60>;
98 nand-ecc-mode = "soft";
99 nand-ecc-algo = "bch";
100 nand-ecc-strength = <4>;
101 nand-ecc-step-size = <512>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
110 label = "nandloader";
117 reg = <0x80000 0x800000>;
122 reg = <0x880000 0x800000>;
127 reg = <0x1080000 0x6f00000>;
132 * This is not always present. And if
133 * it is, then Meraki (or contractor)
134 * used a different ecc method than
135 * the one we need for the UBI partition.
136 * Reading this causes various reading
139 * As a result: Please don't convert
140 * this to nvmem-cells. Instead there's
141 * a ubi-volume "caldata" that has the
145 label = "odm-caldata";
146 reg = <0x7fe0000 0x20000>;
156 compatible = "pci168c,0033";
157 reg = <0x0000 0 0 0 0>;
166 compatible = "pci168c,0033";
167 reg = <0x0000 0 0 0 0>;
179 phy: ethernet-phy@3 {
186 pll-data = <0xa6000000 0xa0000101 0x80001313>;