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>;
51 partitions: partitions {
52 compatible = "fixed-partitions";
58 reg = <0x0000000 0x0040000>;
64 reg = <0x0040000 0x0140000>;
70 reg = <0x0180000 0x0140000>;
76 reg = <0x02c0000 0x0280000>;
82 reg = <0x0540000 0x0120000>;
88 reg = <0x0660000 0x0120000>;
94 reg = <0x0780000 0x0280000>;
100 reg = <0x0a00000 0x0280000>;
104 art: partition@c80000 {
106 reg = <0x0c80000 0x0140000>;
112 reg = <0x0dc0000 0x0100000>;
118 reg = <0x0ec0000 0x0040000>;
123 reg = <0x0f00000 0x0040000>;
128 reg = <0x0f40000 0x0040000>;
133 reg = <0x0f80000 0x2800000>; /* 3 MB spill to rootfs */
138 reg = <0x1280000 0x2500000>;
143 reg = <0x3780000 0x2800000>;
148 reg = <0x3a80000 0x2500000>;
157 pinctrl-0 = <&mdio0_pins>;
158 pinctrl-names = "default";
160 phy0: ethernet-phy@0 {
162 qca,ar8327-initvals = <
163 0x00004 0x7600000 /* PAD0_MODE */
164 0x00008 0x1000000 /* PAD5_MODE */
165 0x0000c 0x80 /* PAD6_MODE */
166 0x00010 0x2613a0 /* PWS_REG */
167 0x000e4 0x6a545 /* MAC_POWER_SEL */
168 0x000e0 0xc74164de /* SGMII_CTRL */
169 0x0007c 0x4e /* PORT0_STATUS */
170 0x00094 0x4e /* PORT6_STATUS */
181 pinctrl-0 = <&rgmii2_pins>;
182 pinctrl-names = "default";