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,mr42", "qcom,ipq8064";
13 serial1 = &gsbi1_serial;
16 led-boot = &led_active;
17 led-failsafe = &led_power;
18 led-running = &led_active;
19 led-upgrade = &led_active;
23 compatible = "gpio-keys";
24 pinctrl-0 = <&button_pins>;
25 pinctrl-names = "default";
29 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
37 compatible = "gpio-leds";
38 pinctrl-0 = <&led_pins>;
39 pinctrl-names = "default";
42 function = LED_FUNCTION_POWER;
43 color = <LED_COLOR_ID_ORANGE>;
44 gpios = <&qcom_pinmux 31 GPIO_ACTIVE_HIGH>;
48 label = "white:active";
49 gpios = <&qcom_pinmux 32 GPIO_ACTIVE_HIGH>;
63 nvmem-cells = <&mac_address 0>;
64 nvmem-cell-names = "mac-address";
69 qcom,mode = <GSBI_PROT_I2C>;
75 pinctrl-0 = <&i2c0_pins>;
76 pinctrl-names = "default";
79 compatible = "ina219";
80 shunt-resistor = <40000>;
85 compatible = "atmel,24c64";
91 compatible = "fixed-layout";
95 mac_address: mac-address@66 {
96 compatible = "mac-base";
98 #nvmem-cell-cells = <1>;
105 qcom,mode = <GSBI_PROT_I2C>;
112 pinctrl-0 = <&i2c1_pins>;
113 pinctrl-names = "default";
116 #address-cells = <1>;
118 compatible = "ti,tlc59108";
127 label = "green:user";
141 pinctrl-0 = <&mdio0_pins_active>, <&phy_active>;
142 pinctrl-names = "default";
144 phy2: ethernet-phy2 {
147 reset-gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
148 reset-assert-us = <24000>;
156 i2c0_pins: i2c0_pins {
158 pins = "gpio24", "gpio25";
160 drive-strength = <2>;
166 button_pins: button_pins {
170 drive-strength = <2>;
175 i2c1_pins: i2c1_pins {
177 pins = "gpio29", "gpio30";
179 drive-strength = <2>;
187 pins = "gpio31", "gpio32";
189 drive-strength = <12>;
197 nvmem-cells = <&mac_address 1>;
198 nvmem-cell-names = "mac-address";
202 nvmem-cells = <&mac_address 2>;
203 nvmem-cell-names = "mac-address";
207 nvmem-cells = <&mac_address 3>;
208 nvmem-cell-names = "mac-address";