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 0>;
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";
89 compatible = "fixed-layout";
93 mac_address: mac-address@66 {
94 compatible = "mac-base";
96 #nvmem-cell-cells = <1>;
103 qcom,mode = <GSBI_PROT_I2C>;
110 pinctrl-0 = <&i2c1_pins>;
111 pinctrl-names = "default";
114 #address-cells = <1>;
116 compatible = "ti,tlc59108";
125 label = "green:user";
139 pinctrl-0 = <&mdio0_pins_active>, <&phy_active>;
140 pinctrl-names = "default";
142 phy2: ethernet-phy2 {
145 reset-gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
146 reset-assert-us = <24000>;
154 i2c0_pins: i2c0_pins {
156 pins = "gpio24", "gpio25";
158 drive-strength = <2>;
164 button_pins: button_pins {
168 drive-strength = <2>;
173 i2c1_pins: i2c1_pins {
175 pins = "gpio29", "gpio30";
177 drive-strength = <2>;
185 pins = "gpio31", "gpio32";
187 drive-strength = <12>;
195 nvmem-cells = <&mac_address 1>;
196 nvmem-cell-names = "mac-address";
200 nvmem-cells = <&mac_address 2>;
201 nvmem-cell-names = "mac-address";
205 nvmem-cells = <&mac_address 3>;
206 nvmem-cell-names = "mac-address";