ipq806x: rename kernel files to generic name
[openwrt/openwrt.git] / target / linux / ipq806x / files / 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 &hs_phy_0 {
38 status = "okay";
39 };
40
41 &ss_phy_0 {
42 status = "okay";
43 };
44
45 &usb3_0 {
46 status = "okay";
47 };
48
49 &hs_phy_1 {
50 status = "okay";
51 };
52
53 &ss_phy_1 {
54 status = "okay";
55 };
56
57 &usb3_1 {
58 status = "okay";
59 };
60
61 &pcie0 {
62 status = "okay";
63 };
64
65 &pcie1 {
66 status = "okay";
67 max-link-speed = <1>;
68 };
69
70 &nand {
71 status = "okay";
72
73 nand@0 {
74 reg = <0>;
75 compatible = "qcom,nandcs";
76
77 nand-ecc-strength = <4>;
78 nand-bus-width = <8>;
79 nand-ecc-step-size = <512>;
80
81 partitions {
82 compatible = "qcom,smem-part";
83 };
84 };
85 };
86
87 &mdio0 {
88 status = "okay";
89
90 pinctrl-0 = <&mdio0_pins>;
91 pinctrl-names = "default";
92
93 phy0: ethernet-phy@0 {
94 reg = <0>;
95 qca,ar8327-initvals = <
96 0x00004 0x7600000 /* PAD0_MODE */
97 0x00008 0x1000000 /* PAD5_MODE */
98 0x0000c 0x80 /* PAD6_MODE */
99 0x000e4 0x6a545 /* MAC_POWER_SEL */
100 0x000e0 0xc74164de /* SGMII_CTRL */
101 0x0007c 0x4e /* PORT0_STATUS */
102 0x00094 0x4e /* PORT6_STATUS */
103 >;
104 };
105
106 phy4: ethernet-phy@4 {
107 reg = <4>;
108 };
109 };
110
111 &gmac1 {
112 status = "okay";
113 phy-mode = "rgmii";
114 qcom,id = <1>;
115
116 pinctrl-0 = <&rgmii2_pins>;
117 pinctrl-names = "default";
118
119 fixed-link {
120 speed = <1000>;
121 full-duplex;
122 };
123 };
124
125 &gmac2 {
126 status = "okay";
127 phy-mode = "sgmii";
128 qcom,id = <2>;
129
130 fixed-link {
131 speed = <1000>;
132 full-duplex;
133 };
134 };