Skip to content

Commit

Permalink
ipq40xx: Split map-ac2200 and rt-ac42u .dts to common .dtsi
Browse files Browse the repository at this point in the history
Split qcom-ipq4019-rt-ac42u.dts to qcom-ipq4019-asus.dtsi
Splir qcom-ipq4019-map-ac2200.dts to qcom-ipq4019-asus.dtsi and qcom-ipq401x-map-acxx00.dtsi

Converted manually overridden labels to ones that exsists in qcom-ipq2019.dtsi

Signed-off-by: Erkki Hietaranta <[email protected]>
  • Loading branch information
sbeach92 authored and robimarko committed Feb 17, 2024
1 parent 6e2962d commit 27f2ea1
Show file tree
Hide file tree
Showing 4 changed files with 265 additions and 370 deletions.
135 changes: 135 additions & 0 deletions target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-asus.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include <dt-bindings/input/input.h>
#include <dt-bindings/soc/qcom,tcsr.h>
#include <dt-bindings/gpio/gpio.h>

/ {
memory {
device_type = "memory";
reg = <0x80000000 0x10000000>; /* 256MB */
};

soc {
tcsr@1949000 {
compatible = "qcom,tcsr";
reg = <0x1949000 0x100>;
qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
};

tcsr@194b000 {
compatible = "qcom,tcsr";
reg = <0x194b000 0x100>;
qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
};

ess_tcsr@1953000 {
compatible = "qcom,tcsr";
reg = <0x1953000 0x1000>;
qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
};

tcsr@1957000 {
compatible = "qcom,tcsr";
reg = <0x1957000 0x100>;
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
};
};
};

&nand {
pinctrl-0 = <&nand_pins>;
pinctrl-names = "default";
status = "okay";

nand@0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

partition@0 {
label = "SBL1";
reg = <0x0 0x80000>;
read-only;
};

partition@80000 {
label = "MIBIB";
reg = <0x80000 0x80000>;
read-only;
};

partition@100000 {
label = "QSEE";
reg = <0x100000 0x100000>;
read-only;
};

partition@200000 {
label = "CDT";
reg = <0x200000 0x80000>;
read-only;
};

partition@280000 {
label = "APPSBL";
reg = <0x280000 0x140000>;
read-only;
};

partition@3c0000 {
label = "APPSBLENV";
reg = <0x3c0000 0x40000>;
read-only;
};

partition@400000 {
label = "ubi";
reg = <0x400000 0x7c00000>;
};
};
};
};

&blsp1_uart1 {
pinctrl-0 = <&serial_pins>;
pinctrl-names = "default";
status = "okay";
};

&blsp_dma {
status = "okay";
};

&crypto {
status = "okay";
};

&cryptobam {
status = "okay";
};

&gmac {
status = "okay";
};

&mdio {
status = "okay";
};

&prng {
status = "okay";
};

&qpic_bam {
status = "okay";
};

&switch {
status = "okay";
};

&watchdog {
status = "okay";
};
Loading

0 comments on commit 27f2ea1

Please sign in to comment.