1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-ipq8064.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "Qualcomm Technologies, Inc. IPQ8064-v1.0";
10 serial0 = &gsbi4_serial;
14 stdout-path = "serial0:115200n8";
19 qcom,mode = <GSBI_PROT_I2C_UART>;
27 gsbi5: gsbi@1a200000 {
28 qcom,mode = <GSBI_PROT_SPI>;
33 spi-max-frequency = <50000000>;
35 pinctrl-0 = <&spi_pins>;
36 pinctrl-names = "default";
38 cs-gpios = <&qcom_pinmux 20 0>;
41 compatible = "s25fl256s1";
44 spi-max-frequency = <50000000>;
49 reg = <0x0 0x1000000>;
54 reg = <0x1000000 0x1000000>;
65 ports-implemented = <0x1>;
70 compatible = "gpio-keys";
71 pinctrl-0 = <&buttons_pins>;
72 pinctrl-names = "default";
76 linux,code = <KEY_RESTART>;
77 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
78 linux,input-type = <1>;
79 debounce-interval = <60>;
83 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
85 linux,input-type = <1>;
86 debounce-interval = <60>;
91 compatible = "gpio-leds";
92 pinctrl-0 = <&leds_pins>;
93 pinctrl-names = "default";
97 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
98 linux,default-trigger = "usbdev";
99 default-state = "off";
104 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
105 linux,default-trigger = "usbdev";
106 default-state = "off";
110 label = "status_led_fail";
111 function = LED_FUNCTION_STATUS;
112 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
113 default-state = "off";
118 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
119 default-state = "off";
123 label = "status_led_pass";
124 function = LED_FUNCTION_STATUS;
125 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
126 default-state = "off";