1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 #include "qcom-ipq8068-cryptid-common.dtsi"
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
10 compatible = "meraki,mr52", "qcom,ipq8064";
13 serial1 = &gsbi1_serial;
14 mdio-gpio0 = &mdio_gpio0;
18 led-boot = &led_active;
19 led-failsafe = &led_power;
20 led-running = &led_active;
21 led-upgrade = &led_active;
25 compatible = "gpio-keys";
26 pinctrl-0 = <&button_pins>;
27 pinctrl-names = "default";
31 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
39 compatible = "gpio-leds";
40 pinctrl-0 = <&led_pins>;
41 pinctrl-names = "default";
44 function = LED_FUNCTION_POWER;
45 color = <LED_COLOR_ID_ORANGE>;
46 gpios = <&qcom_pinmux 19 GPIO_ACTIVE_HIGH>;
51 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
56 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
60 label = "white:active";
61 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
65 label = "orange:lan2";
66 gpios = <&qcom_pinmux 60 GPIO_ACTIVE_HIGH>;
70 label = "orange:lan1";
71 gpios = <&qcom_pinmux 62 GPIO_ACTIVE_HIGH>;
85 nvmem-cells = <&mac_address 0>;
86 nvmem-cell-names = "mac-address";
93 mdiobus = <&mdio_gpio0>;
98 nvmem-cells = <&mac_address 1>;
99 nvmem-cell-names = "mac-address";
104 qcom,mode = <GSBI_PROT_I2C>;
110 pinctrl-0 = <&i2c_pins>;
111 pinctrl-names = "default";
114 compatible = "ina219";
115 shunt-resistor = <80000>;
120 #address-cells = <1>;
122 compatible = "ti,tlc59108";
131 label = "green:user";
142 compatible = "atmel,24c64";
148 compatible = "fixed-layout";
149 #address-cells = <1>;
152 mac_address: mac-address@66 {
153 compatible = "mac-base";
155 #nvmem-cell-cells = <1>;
164 pins = "gpio8", "gpio9";
166 drive-strength = <2>;
174 pins = "gpio19", "gpio26";
176 drive-strength = <12>;
182 button_pins: button_pins {
186 drive-strength = <2>;
195 compatible = "virtual,mdio-gpio";
196 #address-cells = <1>;
201 pinctrl-0 = <&mdio0_pins_active>, <&phy_active>;
202 pinctrl-names = "default";
204 gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH
205 &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
207 phy0: ethernet-phy0 {
209 reset-gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>;
210 reset-assert-us = <24000>;
213 phy4: ethernet-phy4 {
215 reset-gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
216 reset-assert-us = <24000>;
222 nvmem-cells = <&mac_address 4>;
223 nvmem-cell-names = "mac-address";
227 nvmem-cells = <&mac_address 3>;
228 nvmem-cell-names = "mac-address";
232 nvmem-cells = <&mac_address 2>;
233 nvmem-cell-names = "mac-address";