ath25: switch default kernel to 5.15
[openwrt/staging/ldir.git] / target / linux / ipq806x / files-5.10 / arch / arm / boot / dts / qcom-ipq8064-ap148.dts
1 #include "qcom-ipq8064-v1.0.dtsi"
2
3 / {
4 model = "Qualcomm Technologies, Inc. IPQ8064/AP-148";
5 compatible = "qcom,ipq8064-ap148", "qcom,ipq8064";
6
7 memory@0 {
8 reg = <0x42000000 0x1e000000>;
9 device_type = "memory";
10 };
11
12 reserved-memory {
13 #address-cells = <1>;
14 #size-cells = <1>;
15 ranges;
16 rsvd@41200000 {
17 reg = <0x41200000 0x300000>;
18 no-map;
19 };
20 };
21
22 aliases {
23 mdio-gpio0 = &mdio0;
24 };
25 };
26
27 &adm_dma {
28 status = "okay";
29 };
30
31 &flash {
32 partitions {
33 compatible = "qcom,smem-part";
34 };
35 };
36
37 &usb3_0 {
38 status = "okay";
39 };
40
41 &usb3_1 {
42 status = "okay";
43 };
44
45 &pcie0 {
46 status = "okay";
47 };
48
49 &pcie1 {
50 status = "okay";
51 max-link-speed = <1>;
52 };
53
54 &nand {
55 status = "okay";
56
57 pinctrl-0 = <&nand_pins>;
58 pinctrl-names = "default";
59
60 nand@0 {
61 reg = <0>;
62 compatible = "qcom,nandcs";
63
64 nand-ecc-strength = <4>;
65 nand-bus-width = <8>;
66 nand-ecc-step-size = <512>;
67
68 partitions {
69 compatible = "qcom,smem-part";
70 };
71 };
72 };
73
74 &mdio0 {
75 status = "okay";
76
77 pinctrl-0 = <&mdio0_pins>;
78 pinctrl-names = "default";
79
80 phy0: ethernet-phy@0 {
81 reg = <0>;
82 qca,ar8327-initvals = <
83 0x00004 0x7600000 /* PAD0_MODE */
84 0x00008 0x1000000 /* PAD5_MODE */
85 0x0000c 0x80 /* PAD6_MODE */
86 0x000e4 0x6a545 /* MAC_POWER_SEL */
87 0x000e0 0xc74164de /* SGMII_CTRL */
88 0x0007c 0x4e /* PORT0_STATUS */
89 0x00094 0x4e /* PORT6_STATUS */
90 >;
91 };
92
93 phy4: ethernet-phy@4 {
94 reg = <4>;
95 };
96 };
97
98 &gmac1 {
99 status = "okay";
100 phy-mode = "rgmii";
101 qcom,id = <1>;
102
103 pinctrl-0 = <&rgmii2_pins>;
104 pinctrl-names = "default";
105
106 fixed-link {
107 speed = <1000>;
108 full-duplex;
109 };
110 };
111
112 &gmac2 {
113 status = "okay";
114 phy-mode = "sgmii";
115 qcom,id = <2>;
116
117 fixed-link {
118 speed = <1000>;
119 full-duplex;
120 };
121 };