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
13 #include "qcom-ipq4019.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/soc/qcom,tcsr.h>
19 // OEM U-Boot provides either
20 // init=/sbin/init rootfstype=ubifs ubi.mtd=11,2048 \
21 // root=ubi0:ubifs rootwait rw
22 // or the same with ubi.mtd=13,2048
27 bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro";
45 compatible = "qcom,tcsr";
46 reg = <0x1949000 0x100>;
47 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
51 compatible = "qcom,tcsr";
52 reg = <0x194b000 0x100>;
53 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
57 compatible = "qcom,tcsr";
58 reg = <0x1953000 0x1000>;
59 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
63 compatible = "qcom,tcsr";
64 reg = <0x1957000 0x100>;
65 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
77 #trigger-source-cells = <0>;
91 #trigger-source-cells = <0>;
96 #trigger-source-cells = <0>;
126 pinctrl-0 = <&serial_0_pins>;
127 pinctrl-names = "default";
138 pinctrl-0 = <&nand_pins>;
139 pinctrl-names = "default";
143 compatible = "fixed-partitions";
144 #address-cells = <1>;
149 reg = <0x0 0x100000>;
155 reg = <0x100000 0x100000>;
161 reg = <0x200000 0x100000>;
167 reg = <0x300000 0x80000>;
173 reg = <0x380000 0x80000>;
179 reg = <0x400000 0x80000>;
185 reg = <0x480000 0x200000>;
191 reg = <0x680000 0x80000>;
192 // writable -- U-Boot environment
197 reg = <0x700000 0x40000>;
198 // writable -- Boot counter records
203 reg = <0x740000 0x40000>;
209 reg = <0x780000 0x5800000>;
214 reg = <0xa80000 0x5500000>;
218 label = "alt_kernel";
219 reg = <0x5f80000 0x5800000>;
223 label = "alt_rootfs";
224 reg = <0x6280000 0x5500000>;
229 reg = <0xb780000 0x100000>;
235 reg = <0xb880000 0x4680000>;
245 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
246 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
249 reg = <0x00000000 0 0 0 0>;
250 #address-cells = <3>;
255 compatible = "qcom,ath10k";
256 reg = <0x00010000 0 0 0 0>;
266 serial_0_pins: serial0-pinmux {
267 pins = "gpio16", "gpio17";
268 function = "blsp_uart0";
272 nand_pins: nand_pins {
274 pins = "gpio53", "gpio58", "gpio59";
279 // gpio61 controls led_usb
282 pins = "gpio55", "gpio56", "gpio57",
283 "gpio60", "gpio62", "gpio63",
284 "gpio64", "gpio65", "gpio66",
285 "gpio67", "gpio68", "gpio69";