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,mr52", "qcom,ipq8064";
12 serial1 = &gsbi1_serial;
13 mdio-gpio0 = &mdio_gpio0;
17 led-boot = &led_active;
18 led-failsafe = &led_power;
19 led-running = &led_active;
20 led-upgrade = &led_active;
24 compatible = "gpio-keys";
25 pinctrl-0 = <&button_pins>;
26 pinctrl-names = "default";
30 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RESTART>;
32 debounce-interval = <60>;
38 compatible = "gpio-leds";
39 pinctrl-0 = <&led_pins>;
40 pinctrl-names = "default";
43 label = "orange:power";
44 gpios = <&qcom_pinmux 19 GPIO_ACTIVE_HIGH>;
49 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
54 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
58 label = "white:active";
59 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
63 label = "orange:lan2";
64 gpios = <&qcom_pinmux 60 GPIO_ACTIVE_HIGH>;
68 label = "orange:lan1";
69 gpios = <&qcom_pinmux 62 GPIO_ACTIVE_HIGH>;
83 nvmem-cells = <&mac_address>;
84 nvmem-cell-names = "mac-address";
91 mdiobus = <&mdio_gpio0>;
96 nvmem-cells = <&mac_address>;
97 nvmem-cell-names = "mac-address";
98 mac-address-increment = <1>;
103 qcom,mode = <GSBI_PROT_I2C>;
109 pinctrl-0 = <&i2c_pins>;
110 pinctrl-names = "default";
113 compatible = "ina219";
114 shunt-resistor = <80000>;
119 #address-cells = <1>;
121 compatible = "ti,tlc59108";
130 label = "green:user";
141 compatible = "atmel,24c64";
145 #address-cells = <1>;
148 mac_address: mac-address@66 {
157 pins = "gpio8", "gpio9";
159 drive-strength = <2>;
167 pins = "gpio19", "gpio26";
169 drive-strength = <12>;
175 button_pins: button_pins {
179 drive-strength = <2>;
188 compatible = "virtual,mdio-gpio";
189 #address-cells = <1>;
194 pinctrl-0 = <&mdio0_pins_active>, <&phy_active>;
195 pinctrl-names = "default";
197 gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH
198 &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
200 phy0: ethernet-phy0 {
202 reset-gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>;
203 reset-assert-us = <24000>;
206 phy4: ethernet-phy4 {
208 reset-gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
209 reset-assert-us = <24000>;
215 nvmem-cells = <&mac_address>;
216 nvmem-cell-names = "mac-address";
217 mac-address-increment = <4>;
221 nvmem-cells = <&mac_address>;
222 nvmem-cell-names = "mac-address";
223 mac-address-increment = <3>;
227 nvmem-cells = <&mac_address>;
228 nvmem-cell-names = "mac-address";
229 mac-address-increment = <2>;