1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 * Device Tree Source for Linksys xx8300 (Dallas)
6 * Copyright (C) 2019 Jeff Kletsky
7 * Updated 2020 Hans Geiblinger
11 #include "qcom-ipq4019.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/soc/qcom,tcsr.h>
17 // OEM U-Boot provides either
18 // init=/sbin/init rootfstype=ubifs ubi.mtd=11,2048 \
19 // root=ubi0:ubifs rootwait rw
20 // or the same with ubi.mtd=13,2048
25 bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro";
43 compatible = "qcom,tcsr";
44 reg = <0x1949000 0x100>;
45 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
49 compatible = "qcom,tcsr";
50 reg = <0x194b000 0x100>;
51 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
55 compatible = "qcom,tcsr";
56 reg = <0x1953000 0x1000>;
57 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
61 compatible = "qcom,tcsr";
62 reg = <0x1957000 0x100>;
63 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
75 #trigger-source-cells = <0>;
89 #trigger-source-cells = <0>;
94 #trigger-source-cells = <0>;
124 pinctrl-0 = <&serial_0_pins>;
125 pinctrl-names = "default";
136 pinctrl-0 = <&nand_pins>;
137 pinctrl-names = "default";
141 compatible = "fixed-partitions";
142 #address-cells = <1>;
147 reg = <0x0 0x100000>;
153 reg = <0x100000 0x100000>;
159 reg = <0x200000 0x100000>;
165 reg = <0x300000 0x80000>;
171 reg = <0x380000 0x80000>;
177 reg = <0x400000 0x80000>;
183 reg = <0x480000 0x200000>;
189 reg = <0x680000 0x80000>;
190 // writable -- U-Boot environment
195 reg = <0x700000 0x40000>;
196 // writable -- Boot counter records
201 reg = <0x740000 0x40000>;
207 reg = <0x780000 0x5800000>;
212 reg = <0xa80000 0x5500000>;
216 label = "alt_kernel";
217 reg = <0x5f80000 0x5800000>;
221 label = "alt_rootfs";
222 reg = <0x6280000 0x5500000>;
227 reg = <0xb780000 0x100000>;
233 reg = <0xb880000 0x4680000>;
243 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
244 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
247 reg = <0x00000000 0 0 0 0>;
248 #address-cells = <3>;
253 compatible = "qcom,ath10k";
254 reg = <0x00010000 0 0 0 0>;
264 serial_0_pins: serial0-pinmux {
265 pins = "gpio16", "gpio17";
266 function = "blsp_uart0";
270 nand_pins: nand_pins {
272 pins = "gpio53", "gpio58", "gpio59";
277 // gpio61 controls led_usb
280 pins = "gpio55", "gpio56", "gpio57",
281 "gpio60", "gpio62", "gpio63",
282 "gpio64", "gpio65", "gpio66",
283 "gpio67", "gpio68", "gpio69";