1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq8065-smb208.dtsi"
4 #include <dt-bindings/input/input.h>
7 model = "Nokia AC400i";
8 compatible = "nokia,ac400i", "qcom,ipq8065", "qcom,ipq8064";
16 led-failsafe = &pwr_red;
17 led-running = &pwr_green;
18 led-upgrade = &pwr_green;
22 bootargs-override = " console=ttyMSM0,115200n8 ubi.mtd=ubi root=/dev/ubiblock0_2";
26 compatible = "gpio-keys";
27 pinctrl-0 = <&button_pins>;
28 pinctrl-names = "default";
32 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 compatible = "gpio-leds";
39 pinctrl-0 = <&led_pins>;
40 pinctrl-names = "default";
44 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_HIGH>;
49 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
54 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
59 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_HIGH>;
64 gpios = <&qcom_pinmux 68 GPIO_ACTIVE_HIGH>;
69 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>;
74 gpios = <&qcom_pinmux 67 GPIO_ACTIVE_HIGH>;
79 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_LOW>;
84 gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
89 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
94 gpios = <&qcom_pinmux 2 GPIO_ACTIVE_LOW>;
97 pwr_green: pwr_green {
99 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
107 pins = "gpio18", "gpio19";
109 drive-strength = <10>;
116 drive-strength = <12>;
123 drive-strength = <10>;
130 pins = "gpio65", "gpio64",
137 drive-strength = <2>;
142 button_pins: button_pins {
146 drive-strength = <2>;
154 qcom,mode = <GSBI_PROT_SPI>;
159 spi-max-frequency = <50000000>;
161 pinctrl-0 = <&spi_pins>;
162 pinctrl-names = "default";
164 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
167 compatible = "jedec,spi-nor";
168 #address-cells = <1>;
170 spi-max-frequency = <50000000>;
174 compatible = "qcom,smem-part";
191 /delete-property/ pinctrl-0;
192 /delete-property/ pinctrl-names;
193 /delete-property/ perst-gpios;
196 reg = <0x00000000 0 0 0 0>;
197 #address-cells = <3>;
202 compatible = "qcom,ath10k";
204 reg = <0x00010000 0 0 0 0>;
205 qcom,ath10k-calibration-variant = "Nokia-AC400i";
213 /delete-property/ pinctrl-0;
214 /delete-property/ pinctrl-names;
215 /delete-property/ perst-gpios;
218 reg = <0x00000000 0 0 0 0>;
219 #address-cells = <3>;
224 compatible = "qcom,ath10k";
226 reg = <0x00010000 0 0 0 0>;
227 qcom,ath10k-calibration-variant = "Nokia-AC400i";
234 pinctrl-0 = <&mdio0_pins>;
235 pinctrl-names = "default";
237 phy0: ethernet-phy@0 {
241 phy1: ethernet-phy@1 {
252 pinctrl-0 = <&rgmii2_pins>;
253 pinctrl-names = "default";
256 phy-handle = <&phy0>;
271 phy-handle = <&phy1>;
282 pinctrl-0 = <&nand_pins>;
283 pinctrl-names = "default";
287 compatible = "qcom,nandcs";
289 nand-ecc-strength = <4>;
290 nand-bus-width = <8>;
291 nand-ecc-step-size = <512>;
294 compatible = "fixed-partitions";
295 #address-cells = <1>;
300 reg = <0x0000000 0x4000000>;
305 reg = <0x4000000 0x4000000>;
310 reg = <0x8000000 0x8000000>;