1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq8064-v2.0.dtsi"
5 #include <dt-bindings/input/input.h>
9 bootargs = "console=ttyMSM0,115200n8";
10 /* append to bootargs adding the root deviceblock nbr from bootloader */
11 append-rootblock = "ubi.mtd=";
40 pinctrl-0 = <&nand_pins>;
41 pinctrl-names = "default";
45 compatible = "qcom,nandcs";
47 nand-ecc-strength = <4>;
49 nand-ecc-step-size = <512>;
52 qcom,boot_pages_size = <0x0c80000>;
54 partitions: partitions {
55 compatible = "fixed-partitions";
61 reg = <0x0000000 0x0040000>;
67 reg = <0x0040000 0x0140000>;
73 reg = <0x0180000 0x0140000>;
79 reg = <0x02c0000 0x0280000>;
85 reg = <0x0540000 0x0120000>;
91 reg = <0x0660000 0x0120000>;
97 reg = <0x0780000 0x0280000>;
103 reg = <0x0a00000 0x0280000>;
107 art: partition@c80000 {
109 reg = <0x0c80000 0x0140000>;
115 reg = <0x0dc0000 0x0100000>;
121 reg = <0x0ec0000 0x0040000>;
126 reg = <0x0f00000 0x0040000>;
131 reg = <0x0f40000 0x0040000>;
136 reg = <0x0f80000 0x2800000>; /* 4 MB, spill to rootfs */
141 reg = <0x1380000 0x2400000>;
146 reg = <0x3780000 0x2800000>;
151 reg = <0x3b80000 0x2400000>;
160 pinctrl-0 = <&mdio0_pins>;
161 pinctrl-names = "default";
163 phy0: ethernet-phy@0 {
165 qca,ar8327-initvals = <
166 0x00004 0x7600000 /* PAD0_MODE */
167 0x00008 0x1000000 /* PAD5_MODE */
168 0x0000c 0x80 /* PAD6_MODE */
169 0x00010 0x2613a0 /* PWS_REG */
170 0x000e4 0x6a545 /* MAC_POWER_SEL */
171 0x000e0 0xc74164de /* SGMII_CTRL */
172 0x0007c 0x4e /* PORT0_STATUS */
173 0x00094 0x4e /* PORT6_STATUS */
184 pinctrl-0 = <&rgmii2_pins>;
185 pinctrl-names = "default";