1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 #include "qcom-ipq8068-cryptid-common.dtsi"
5 #include <dt-bindings/input/input.h>
9 compatible = "meraki,mr42", "qcom,ipq8064";
12 serial1 = &gsbi1_serial;
15 led-boot = &led_active;
16 led-failsafe = &led_power;
17 led-running = &led_active;
18 led-upgrade = &led_active;
22 compatible = "gpio-keys";
23 pinctrl-0 = <&button_pins>;
24 pinctrl-names = "default";
28 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
30 debounce-interval = <60>;
36 compatible = "gpio-leds";
37 pinctrl-0 = <&led_pins>;
38 pinctrl-names = "default";
41 label = "orange:power";
42 gpios = <&qcom_pinmux 31 GPIO_ACTIVE_HIGH>;
46 label = "white:active";
47 gpios = <&qcom_pinmux 32 GPIO_ACTIVE_HIGH>;
61 nvmem-cells = <&mac_address>;
62 nvmem-cell-names = "mac-address";
67 qcom,mode = <GSBI_PROT_I2C>;
73 pinctrl-0 = <&i2c0_pins>;
74 pinctrl-names = "default";
77 compatible = "ina219";
78 shunt-resistor = <40000>;
83 compatible = "atmel,24c64";
90 mac_address: mac-address@66 {
97 qcom,mode = <GSBI_PROT_I2C>;
104 pinctrl-0 = <&i2c1_pins>;
105 pinctrl-names = "default";
108 #address-cells = <1>;
110 compatible = "ti,tlc59108";
119 label = "green:user";
133 pinctrl-0 = <&mdio0_pins_active>, <&phy_active>;
134 pinctrl-names = "default";
136 phy2: ethernet-phy2 {
139 reset-gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
140 reset-assert-us = <24000>;
148 i2c0_pins: i2c0_pins {
150 pins = "gpio24", "gpio25";
152 drive-strength = <2>;
158 button_pins: button_pins {
162 drive-strength = <2>;
167 i2c1_pins: i2c1_pins {
169 pins = "gpio29", "gpio30";
171 drive-strength = <2>;
179 pins = "gpio31", "gpio32";
181 drive-strength = <12>;
189 nvmem-cells = <&mac_address>;
190 nvmem-cell-names = "mac-address";
191 mac-address-increment = <1>;
195 nvmem-cells = <&mac_address>;
196 nvmem-cell-names = "mac-address";
197 mac-address-increment = <2>;
201 nvmem-cells = <&mac_address>;
202 nvmem-cell-names = "mac-address";
203 mac-address-increment = <3>;