1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 * Device Tree Source for Linksys xx8300 (Dallas)
6 * Copyright (C) 2019, 2022 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";
35 compatible = "qcom,tcsr";
36 reg = <0x1949000 0x100>;
37 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
41 compatible = "qcom,tcsr";
42 reg = <0x194b000 0x100>;
43 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
47 compatible = "qcom,tcsr";
48 reg = <0x1953000 0x1000>;
49 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
53 compatible = "qcom,tcsr";
54 reg = <0x1957000 0x100>;
55 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
60 compatible = "regulator-fixed";
61 regulator-name = "USB_VBUS";
62 regulator-min-microvolt = <5000000>;
63 regulator-max-microvolt = <5000000>;
66 gpio = <&tlmm 68 GPIO_ACTIVE_LOW>;
88 pinctrl-0 = <&serial_0_pins>;
89 pinctrl-names = "default";
100 pinctrl-0 = <&nand_pins>;
101 pinctrl-names = "default";
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x0 0x100000>;
117 reg = <0x100000 0x100000>;
123 reg = <0x200000 0x100000>;
129 reg = <0x300000 0x80000>;
135 reg = <0x380000 0x80000>;
141 reg = <0x400000 0x80000>;
147 reg = <0x480000 0x200000>;
153 reg = <0x680000 0x80000>;
154 // writable -- U-Boot environment
159 reg = <0x700000 0x40000>;
160 // writable -- Boot counter records
165 reg = <0x740000 0x40000>;
171 reg = <0x780000 0x5800000>;
176 reg = <0xc80000 0x5300000>;
180 label = "alt_kernel";
181 reg = <0x5f80000 0x5800000>;
185 label = "alt_rootfs";
186 reg = <0x6480000 0x5300000>;
191 reg = <0xb780000 0x100000>;
197 reg = <0xb880000 0x4680000>;
207 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
208 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
211 reg = <0x00000000 0 0 0 0>;
212 #address-cells = <3>;
217 compatible = "qcom,ath10k";
218 reg = <0x00010000 0 0 0 0>;
228 serial_0_pins: serial0-pinmux {
229 pins = "gpio16", "gpio17";
230 function = "blsp_uart0";
234 nand_pins: nand_pins {
236 pins = "gpio53", "gpio58", "gpio59";
241 // gpio61 controls led_usb
244 pins = "gpio55", "gpio56", "gpio57",
245 "gpio60", "gpio62", "gpio63",
246 "gpio64", "gpio65", "gpio66",
262 #address-cells = <1>;
267 #trigger-source-cells = <0>;
285 #address-cells = <1>;
290 #trigger-source-cells = <0>;
295 #trigger-source-cells = <0>;