1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-ipq8064-v2.0-smb208.dtsi"
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/soc/qcom,tcsr.h>
8 compatible = "asrock,g10", "qcom,ipq8064";
15 led-boot = &led_status_blue;
16 led-failsafe = &led_status_amber;
17 led-running = &led_status_blue;
18 led-upgrade = &led_status_amber;
22 bootargs-override = "console=ttyMSM0,115200n8";
26 compatible = "gpio-leds";
28 pinctrl-0 = <&led_pins>;
29 pinctrl-names = "default";
32 * this is a bit misleading. Because there are about seven
33 * multicolor LEDs connected all wired together in parallel.
37 label = "yellow:status";
38 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
41 led_status_amber: status_amber {
42 label = "amber:status";
43 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
46 led_status_blue: status_blue {
47 label = "blue:status";
48 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
52 * LED is declared in vendors boardfile but it's not
53 * working and the manual doesn't mention anything
54 * about the LED being white.
57 label = "white:status";
58 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
67 compatible = "i2c-gpio";
68 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>, /* sda */
69 <&qcom_pinmux 54 GPIO_ACTIVE_HIGH>; /* scl */
70 i2c-gpio,delay-us = <5>;
71 i2c-gpio,scl-output-only;
75 compatible = "sonix,sn8f25e21";
80 compatible = "gpio-keys";
82 pinctrl-0 = <&button_pins>;
83 pinctrl-names = "default";
87 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_LOW>;
89 debounce-interval = <60>;
95 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
96 linux,code = <KEY_RESTART>;
97 debounce-interval = <60>;
103 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_WPS_BUTTON>;
105 debounce-interval = <60>;
111 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
112 linux,code = <KEY_WPS_BUTTON>;
113 debounce-interval = <60>;
126 pinctrl-0 = <&rgmii2_pins>;
127 pinctrl-names = "default";
151 pinctrl-0 = <&uart0_pins>;
152 pinctrl-names = "default";
158 pinctrl-0 = <&mdio0_pins>;
159 pinctrl-names = "default";
162 compatible = "qca,qca8337";
163 #address-cells = <1>;
170 #address-cells = <1>;
177 phy-mode = "rgmii-id";
234 compatible = "qcom,nandcs";
236 nand-ecc-strength = <4>;
237 nand-bus-width = <8>;
238 nand-ecc-step-size = <512>;
241 qcom,boot-partitions = <0x0 0x1200000>;
244 compatible = "qcom,smem-part";
253 reg = <0x00000000 0 0 0 0>;
254 #address-cells = <3>;
259 reg = <0x00010000 0 0 0 0>;
260 compatible = "qcom,ath10k";
261 qcom,ath10k-calibration-variant = "ASRock-G10";
270 reg = <0x00000000 0 0 0 0>;
271 #address-cells = <3>;
276 reg = <0x00010000 0 0 0 0>;
277 compatible = "qcom,ath10k";
278 qcom,ath10k-calibration-variant = "ASRock-G10";
286 pins = "gpio7", "gpio8", "gpio9", "gpio26";
288 drive-strength = <2>;
293 button_pins: button_pins {
295 pins = "gpio15", "gpio16", "gpio64", "gpio65";
297 drive-strength = <2>;
302 uart0_pins: uart0_pins {
304 pins = "gpio10", "gpio11";
306 drive-strength = <10>;
313 pinctrl-0 = <&i2c4_pins>;
314 pinctrl-names = "default";
342 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
345 /delete-node/ &pcie2_pins;
346 /delete-node/ &pcie2;